[Kernel-packages] [Bug 1985956] Re: linux-libc-dev and libc6-dev do not agree who owns fsconfig_command
** Tags removed: update-excuse -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1985956 Title: linux-libc-dev and libc6-dev do not agree who owns fsconfig_command Status in glibc package in Ubuntu: Fix Released Status in libvirt package in Ubuntu: New Status in linux package in Ubuntu: Confirmed Bug description: Right now in kinetic-proposed builds are failing due to both sets of headers defining fsconfig_command. (kinetic-amd64)root@Keschdeichel:/build/libvirt-LTnG76/libvirt-8.6.0/debian/build# apt-cache policy libc6-dev linux-libc-dev libc6-dev: Installed: 2.36-0ubuntu1 Candidate: 2.36-0ubuntu1 Version table: *** 2.36-0ubuntu1 500 500 http://archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 2.35-0ubuntu3 500 500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages linux-libc-dev: Installed: 5.19.0-15.15 Candidate: 5.19.0-15.15 Version table: *** 5.19.0-15.15 500 500 http://archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 5.15.0-27.28 500 500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages Actually also with "just the kernel" from proposed this happens as in the past only: linux-libc-dev:amd64: /usr/include/linux/mount.h included that struct. File ownership $ dpkg -S /usr/include/x86_64-linux-gnu/sys/mount.h /usr/include/linux/mount.h libc6-dev:amd64: /usr/include/x86_64-linux-gnu/sys/mount.h linux-libc-dev:amd64: /usr/include/linux/mount.h Example error from building libvirt: In file included from /usr/include/linux/fs.h:19, from ../../src/util/virfile.c:74: /usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command' 95 | enum fsconfig_command { | ^~~~ In file included from ../../src/util/virfile.c:46: /usr/include/x86_64-linux-gnu/sys/mount.h:189:6: note: originally defined here 189 | enum fsconfig_command | ^~~~ Repro-test: $ cat test.c # include # include #include int main() { printf("Hello %d", FSCONFIG_SET_FLAG); return 0; } gcc test.c -o /dev/null In file included from /usr/include/linux/fs.h:19, from test.c:2: /usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command' 95 | enum fsconfig_command { | ^~~~ In file included from test.c:1: /usr/include/x86_64-linux-gnu/sys/mount.h:189:6: note: originally defined here 189 | enum fsconfig_command | ^~~~ /usr/include/linux/mount.h:96:9: error: redeclaration of enumerator 'FSCONFIG_SET_FLAG' 96 | FSCONFIG_SET_FLAG = 0,/* Set parameter, supplying no value */ | ^ /usr/include/x86_64-linux-gnu/sys/mount.h:191:3: note: previous definition of 'FSCONFIG_SET_FLAG' with type 'enum fsconfig_command' 191 | FSCONFIG_SET_FLAG = 0,/* Set parameter, supplying no value */ | ^ /usr/include/linux/mount.h:97:9: error: redeclaration of enumerator 'FSCONFIG_SET_STRING' 97 | FSCONFIG_SET_STRING = 1,/* Set parameter, supplying a string value */ | ^~~ /usr/include/x86_64-linux-gnu/sys/mount.h:193:3: note: previous definition of 'FSCONFIG_SET_STRING' with type 'enum fsconfig_command' 193 | FSCONFIG_SET_STRING = 1,/* Set parameter, supplying a string value */ | ^~~ /usr/include/linux/mount.h:98:9: error: redeclaration of enumerator 'FSCONFIG_SET_BINARY' 98 | FSCONFIG_SET_BINARY = 2,/* Set parameter, supplying a binary blob value */ | ^~~ /usr/include/x86_64-linux-gnu/sys/mount.h:195:3: note: previous definition of 'FSCONFIG_SET_BINARY' with type 'enum fsconfig_command' 195 | FSCONFIG_SET_BINARY = 2,/* Set parameter, supplying a binary blob value */ | ^~~ /usr/include/linux/mount.h:99:9: error: redeclaration of enumerator 'FSCONFIG_SET_PATH' 99 | FSCONFIG_SET_PATH = 3,/* Set parameter, supplying an object by path */ | ^ /usr/include/x86_64-linux-gnu/sys/mount.h:197:3: note: previous definition of 'FSCONFIG_SET_PATH' with type 'enum fsconfig_command' 197 | FSCONFIG_SET_PATH = 3,/* Set parameter, supplying an object by path */ | ^ /usr/include/linux/mount.h:100:9: error: redeclaration of enumerator 'FSCONFIG_SET_PATH_EMPTY' 100 | FSCONFIG_SET_PATH_EMPTY = 4,/* Set parameter, supplying an object by (empty) path */ |
[Kernel-packages] [Bug 1985956] Re: linux-libc-dev and libc6-dev do not agree who owns fsconfig_command
This bug was fixed in the package glibc - 2.36-0ubuntu2 --- glibc (2.36-0ubuntu2) kinetic; urgency=medium * Add patches to fix build with GCC 12: - d/patches/0001-Avoid-undefined-behaviour-in-ibm128-implementation-o.patch - d/patches/0001-Ensure-calculations-happen-with-desired-rounding-mod.patch - d/patches/0001-Fix-BZ-29463-in-the-ibm128-implementation-of-y1l-too.patch * Switch back to building with the default GCC (i.e. 12) * Add patches to fix incompatibility between kernel and glibc mount.h headers (LP: #1985956): - d/patches/0001-glibcextract.py-Add-compile_c_snippet.patch - d/patches/0003-linux-Mimic-kernel-defition-for-BLOCK_SIZE.patch - d/patches/0004-linux-Use-compile_c_snippet-to-check-linux-mount.h-a.patch - d/patches/0005-linux-Fix-sys-mount.h-usage-with-kernel-headers.patch - d/patches/0006-Linux-Fix-enum-fsconfig_command-detection-in-sys-mou.patch * Add patch to restore DT_HASH tag/SHT_HASH section (see https://sourceware.org/bugzilla/show_bug.cgi?id=29456): - d/patches/restore-libc-DT_HASH.patch * Add nss/tst-reload2 to xfails as it fails in autopkgtests in check_prof run. -- Michael Hudson-Doyle Mon, 22 Aug 2022 13:24:16 +1200 ** Changed in: glibc (Ubuntu) Status: New => Fix Released ** Bug watch added: Sourceware.org Bugzilla #29456 https://sourceware.org/bugzilla/show_bug.cgi?id=29456 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1985956 Title: linux-libc-dev and libc6-dev do not agree who owns fsconfig_command Status in glibc package in Ubuntu: Fix Released Status in libvirt package in Ubuntu: New Status in linux package in Ubuntu: Confirmed Bug description: Right now in kinetic-proposed builds are failing due to both sets of headers defining fsconfig_command. (kinetic-amd64)root@Keschdeichel:/build/libvirt-LTnG76/libvirt-8.6.0/debian/build# apt-cache policy libc6-dev linux-libc-dev libc6-dev: Installed: 2.36-0ubuntu1 Candidate: 2.36-0ubuntu1 Version table: *** 2.36-0ubuntu1 500 500 http://archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 2.35-0ubuntu3 500 500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages linux-libc-dev: Installed: 5.19.0-15.15 Candidate: 5.19.0-15.15 Version table: *** 5.19.0-15.15 500 500 http://archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 5.15.0-27.28 500 500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages Actually also with "just the kernel" from proposed this happens as in the past only: linux-libc-dev:amd64: /usr/include/linux/mount.h included that struct. File ownership $ dpkg -S /usr/include/x86_64-linux-gnu/sys/mount.h /usr/include/linux/mount.h libc6-dev:amd64: /usr/include/x86_64-linux-gnu/sys/mount.h linux-libc-dev:amd64: /usr/include/linux/mount.h Example error from building libvirt: In file included from /usr/include/linux/fs.h:19, from ../../src/util/virfile.c:74: /usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command' 95 | enum fsconfig_command { | ^~~~ In file included from ../../src/util/virfile.c:46: /usr/include/x86_64-linux-gnu/sys/mount.h:189:6: note: originally defined here 189 | enum fsconfig_command | ^~~~ Repro-test: $ cat test.c # include # include #include int main() { printf("Hello %d", FSCONFIG_SET_FLAG); return 0; } gcc test.c -o /dev/null In file included from /usr/include/linux/fs.h:19, from test.c:2: /usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command' 95 | enum fsconfig_command { | ^~~~ In file included from test.c:1: /usr/include/x86_64-linux-gnu/sys/mount.h:189:6: note: originally defined here 189 | enum fsconfig_command | ^~~~ /usr/include/linux/mount.h:96:9: error: redeclaration of enumerator 'FSCONFIG_SET_FLAG' 96 | FSCONFIG_SET_FLAG = 0,/* Set parameter, supplying no value */ | ^ /usr/include/x86_64-linux-gnu/sys/mount.h:191:3: note: previous definition of 'FSCONFIG_SET_FLAG' with type 'enum fsconfig_command' 191 | FSCONFIG_SET_FLAG = 0,/* Set parameter, supplying no value */ | ^ /usr/include/linux/mount.h:97:9: error: redeclaration of enumerator 'FSCONFIG_SET_STRING' 97 | FSCONFIG_SET_STRING = 1,/* Set parameter, supplying a string value */ | ^~~ /usr/include/x86_64-linux-gnu/sys/mount.h:193:3: note: previous definition of
[Kernel-packages] [Bug 1985956] Re: linux-libc-dev and libc6-dev do not agree who owns fsconfig_command
FYI: Adding libvirt here and marking it as update-excuse, so that the to-be-expected FTBFS can be understood. Once fixed in either package I can hit rebuild and move on through migration. It built fine on a PPA overriding this problem in an ugly way and otherwise than this build issue here works fine through all tests. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1985956 Title: linux-libc-dev and libc6-dev do not agree who owns fsconfig_command Status in glibc package in Ubuntu: New Status in libvirt package in Ubuntu: New Status in linux package in Ubuntu: Confirmed Bug description: Right now in kinetic-proposed builds are failing due to both sets of headers defining fsconfig_command. (kinetic-amd64)root@Keschdeichel:/build/libvirt-LTnG76/libvirt-8.6.0/debian/build# apt-cache policy libc6-dev linux-libc-dev libc6-dev: Installed: 2.36-0ubuntu1 Candidate: 2.36-0ubuntu1 Version table: *** 2.36-0ubuntu1 500 500 http://archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 2.35-0ubuntu3 500 500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages linux-libc-dev: Installed: 5.19.0-15.15 Candidate: 5.19.0-15.15 Version table: *** 5.19.0-15.15 500 500 http://archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 5.15.0-27.28 500 500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages Actually also with "just the kernel" from proposed this happens as in the past only: linux-libc-dev:amd64: /usr/include/linux/mount.h included that struct. File ownership $ dpkg -S /usr/include/x86_64-linux-gnu/sys/mount.h /usr/include/linux/mount.h libc6-dev:amd64: /usr/include/x86_64-linux-gnu/sys/mount.h linux-libc-dev:amd64: /usr/include/linux/mount.h Example error from building libvirt: In file included from /usr/include/linux/fs.h:19, from ../../src/util/virfile.c:74: /usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command' 95 | enum fsconfig_command { | ^~~~ In file included from ../../src/util/virfile.c:46: /usr/include/x86_64-linux-gnu/sys/mount.h:189:6: note: originally defined here 189 | enum fsconfig_command | ^~~~ Repro-test: $ cat test.c # include # include #include int main() { printf("Hello %d", FSCONFIG_SET_FLAG); return 0; } gcc test.c -o /dev/null In file included from /usr/include/linux/fs.h:19, from test.c:2: /usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command' 95 | enum fsconfig_command { | ^~~~ In file included from test.c:1: /usr/include/x86_64-linux-gnu/sys/mount.h:189:6: note: originally defined here 189 | enum fsconfig_command | ^~~~ /usr/include/linux/mount.h:96:9: error: redeclaration of enumerator 'FSCONFIG_SET_FLAG' 96 | FSCONFIG_SET_FLAG = 0,/* Set parameter, supplying no value */ | ^ /usr/include/x86_64-linux-gnu/sys/mount.h:191:3: note: previous definition of 'FSCONFIG_SET_FLAG' with type 'enum fsconfig_command' 191 | FSCONFIG_SET_FLAG = 0,/* Set parameter, supplying no value */ | ^ /usr/include/linux/mount.h:97:9: error: redeclaration of enumerator 'FSCONFIG_SET_STRING' 97 | FSCONFIG_SET_STRING = 1,/* Set parameter, supplying a string value */ | ^~~ /usr/include/x86_64-linux-gnu/sys/mount.h:193:3: note: previous definition of 'FSCONFIG_SET_STRING' with type 'enum fsconfig_command' 193 | FSCONFIG_SET_STRING = 1,/* Set parameter, supplying a string value */ | ^~~ /usr/include/linux/mount.h:98:9: error: redeclaration of enumerator 'FSCONFIG_SET_BINARY' 98 | FSCONFIG_SET_BINARY = 2,/* Set parameter, supplying a binary blob value */ | ^~~ /usr/include/x86_64-linux-gnu/sys/mount.h:195:3: note: previous definition of 'FSCONFIG_SET_BINARY' with type 'enum fsconfig_command' 195 | FSCONFIG_SET_BINARY = 2,/* Set parameter, supplying a binary blob value */ | ^~~ /usr/include/linux/mount.h:99:9: error: redeclaration of enumerator 'FSCONFIG_SET_PATH' 99 | FSCONFIG_SET_PATH = 3,/* Set parameter, supplying an object by path */ | ^ /usr/include/x86_64-linux-gnu/sys/mount.h:197:3: note: previous definition of 'FSCONFIG_SET_PATH' with type 'enum fsconfig_command' 197 | FSCONFIG_SET_PATH = 3,/* Set parameter, supplying
[Kernel-packages] [Bug 1985956] Re: linux-libc-dev and libc6-dev do not agree who owns fsconfig_command
Since this happens on build and not on a target system, I'll mark it confirmed without providing the data that the Kernel bot asks for. ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed ** Also affects: libvirt (Ubuntu) Importance: Undecided Status: New ** Tags added: update-excuse -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1985956 Title: linux-libc-dev and libc6-dev do not agree who owns fsconfig_command Status in glibc package in Ubuntu: New Status in libvirt package in Ubuntu: New Status in linux package in Ubuntu: Confirmed Bug description: Right now in kinetic-proposed builds are failing due to both sets of headers defining fsconfig_command. (kinetic-amd64)root@Keschdeichel:/build/libvirt-LTnG76/libvirt-8.6.0/debian/build# apt-cache policy libc6-dev linux-libc-dev libc6-dev: Installed: 2.36-0ubuntu1 Candidate: 2.36-0ubuntu1 Version table: *** 2.36-0ubuntu1 500 500 http://archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 2.35-0ubuntu3 500 500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages linux-libc-dev: Installed: 5.19.0-15.15 Candidate: 5.19.0-15.15 Version table: *** 5.19.0-15.15 500 500 http://archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 5.15.0-27.28 500 500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages Actually also with "just the kernel" from proposed this happens as in the past only: linux-libc-dev:amd64: /usr/include/linux/mount.h included that struct. File ownership $ dpkg -S /usr/include/x86_64-linux-gnu/sys/mount.h /usr/include/linux/mount.h libc6-dev:amd64: /usr/include/x86_64-linux-gnu/sys/mount.h linux-libc-dev:amd64: /usr/include/linux/mount.h Example error from building libvirt: In file included from /usr/include/linux/fs.h:19, from ../../src/util/virfile.c:74: /usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command' 95 | enum fsconfig_command { | ^~~~ In file included from ../../src/util/virfile.c:46: /usr/include/x86_64-linux-gnu/sys/mount.h:189:6: note: originally defined here 189 | enum fsconfig_command | ^~~~ Repro-test: $ cat test.c # include # include #include int main() { printf("Hello %d", FSCONFIG_SET_FLAG); return 0; } gcc test.c -o /dev/null In file included from /usr/include/linux/fs.h:19, from test.c:2: /usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command' 95 | enum fsconfig_command { | ^~~~ In file included from test.c:1: /usr/include/x86_64-linux-gnu/sys/mount.h:189:6: note: originally defined here 189 | enum fsconfig_command | ^~~~ /usr/include/linux/mount.h:96:9: error: redeclaration of enumerator 'FSCONFIG_SET_FLAG' 96 | FSCONFIG_SET_FLAG = 0,/* Set parameter, supplying no value */ | ^ /usr/include/x86_64-linux-gnu/sys/mount.h:191:3: note: previous definition of 'FSCONFIG_SET_FLAG' with type 'enum fsconfig_command' 191 | FSCONFIG_SET_FLAG = 0,/* Set parameter, supplying no value */ | ^ /usr/include/linux/mount.h:97:9: error: redeclaration of enumerator 'FSCONFIG_SET_STRING' 97 | FSCONFIG_SET_STRING = 1,/* Set parameter, supplying a string value */ | ^~~ /usr/include/x86_64-linux-gnu/sys/mount.h:193:3: note: previous definition of 'FSCONFIG_SET_STRING' with type 'enum fsconfig_command' 193 | FSCONFIG_SET_STRING = 1,/* Set parameter, supplying a string value */ | ^~~ /usr/include/linux/mount.h:98:9: error: redeclaration of enumerator 'FSCONFIG_SET_BINARY' 98 | FSCONFIG_SET_BINARY = 2,/* Set parameter, supplying a binary blob value */ | ^~~ /usr/include/x86_64-linux-gnu/sys/mount.h:195:3: note: previous definition of 'FSCONFIG_SET_BINARY' with type 'enum fsconfig_command' 195 | FSCONFIG_SET_BINARY = 2,/* Set parameter, supplying a binary blob value */ | ^~~ /usr/include/linux/mount.h:99:9: error: redeclaration of enumerator 'FSCONFIG_SET_PATH' 99 | FSCONFIG_SET_PATH = 3,/* Set parameter, supplying an object by path */ | ^ /usr/include/x86_64-linux-gnu/sys/mount.h:197:3: note: previous definition of 'FSCONFIG_SET_PATH' with type 'enum fsconfig_command' 197 | FSCONFIG_SET_PATH = 3,/* Set parameter, supplying an
[Kernel-packages] [Bug 1985956] Re: linux-libc-dev and libc6-dev do not agree who owns fsconfig_command
I think https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=774058d72942249f71d74e7f2b639f77184160a6 might help here. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1985956 Title: linux-libc-dev and libc6-dev do not agree who owns fsconfig_command Status in glibc package in Ubuntu: New Status in linux package in Ubuntu: Incomplete Bug description: Right now in kinetic-proposed builds are failing due to both sets of headers defining fsconfig_command. (kinetic-amd64)root@Keschdeichel:/build/libvirt-LTnG76/libvirt-8.6.0/debian/build# apt-cache policy libc6-dev linux-libc-dev libc6-dev: Installed: 2.36-0ubuntu1 Candidate: 2.36-0ubuntu1 Version table: *** 2.36-0ubuntu1 500 500 http://archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 2.35-0ubuntu3 500 500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages linux-libc-dev: Installed: 5.19.0-15.15 Candidate: 5.19.0-15.15 Version table: *** 5.19.0-15.15 500 500 http://archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 5.15.0-27.28 500 500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages Actually also with "just the kernel" from proposed this happens as in the past only: linux-libc-dev:amd64: /usr/include/linux/mount.h included that struct. File ownership $ dpkg -S /usr/include/x86_64-linux-gnu/sys/mount.h /usr/include/linux/mount.h libc6-dev:amd64: /usr/include/x86_64-linux-gnu/sys/mount.h linux-libc-dev:amd64: /usr/include/linux/mount.h Example error from building libvirt: In file included from /usr/include/linux/fs.h:19, from ../../src/util/virfile.c:74: /usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command' 95 | enum fsconfig_command { | ^~~~ In file included from ../../src/util/virfile.c:46: /usr/include/x86_64-linux-gnu/sys/mount.h:189:6: note: originally defined here 189 | enum fsconfig_command | ^~~~ Repro-test: $ cat test.c # include # include #include int main() { printf("Hello %d", FSCONFIG_SET_FLAG); return 0; } gcc test.c -o /dev/null In file included from /usr/include/linux/fs.h:19, from test.c:2: /usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command' 95 | enum fsconfig_command { | ^~~~ In file included from test.c:1: /usr/include/x86_64-linux-gnu/sys/mount.h:189:6: note: originally defined here 189 | enum fsconfig_command | ^~~~ /usr/include/linux/mount.h:96:9: error: redeclaration of enumerator 'FSCONFIG_SET_FLAG' 96 | FSCONFIG_SET_FLAG = 0,/* Set parameter, supplying no value */ | ^ /usr/include/x86_64-linux-gnu/sys/mount.h:191:3: note: previous definition of 'FSCONFIG_SET_FLAG' with type 'enum fsconfig_command' 191 | FSCONFIG_SET_FLAG = 0,/* Set parameter, supplying no value */ | ^ /usr/include/linux/mount.h:97:9: error: redeclaration of enumerator 'FSCONFIG_SET_STRING' 97 | FSCONFIG_SET_STRING = 1,/* Set parameter, supplying a string value */ | ^~~ /usr/include/x86_64-linux-gnu/sys/mount.h:193:3: note: previous definition of 'FSCONFIG_SET_STRING' with type 'enum fsconfig_command' 193 | FSCONFIG_SET_STRING = 1,/* Set parameter, supplying a string value */ | ^~~ /usr/include/linux/mount.h:98:9: error: redeclaration of enumerator 'FSCONFIG_SET_BINARY' 98 | FSCONFIG_SET_BINARY = 2,/* Set parameter, supplying a binary blob value */ | ^~~ /usr/include/x86_64-linux-gnu/sys/mount.h:195:3: note: previous definition of 'FSCONFIG_SET_BINARY' with type 'enum fsconfig_command' 195 | FSCONFIG_SET_BINARY = 2,/* Set parameter, supplying a binary blob value */ | ^~~ /usr/include/linux/mount.h:99:9: error: redeclaration of enumerator 'FSCONFIG_SET_PATH' 99 | FSCONFIG_SET_PATH = 3,/* Set parameter, supplying an object by path */ | ^ /usr/include/x86_64-linux-gnu/sys/mount.h:197:3: note: previous definition of 'FSCONFIG_SET_PATH' with type 'enum fsconfig_command' 197 | FSCONFIG_SET_PATH = 3,/* Set parameter, supplying an object by path */ | ^ /usr/include/linux/mount.h:100:9: error: redeclaration of enumerator 'FSCONFIG_SET_PATH_EMPTY' 100 | FSCONFIG_SET_PATH_EMPTY = 4,/* Set parameter, supplying an object by
[Kernel-packages] [Bug 1985956] Re: linux-libc-dev and libc6-dev do not agree who owns fsconfig_command
And something on arm64 already forces this, despite only being in -proposed. For example if someone tries linux-libc-dev (<5.19.0-1), to avoid this FTBFS for now that works on all other architectures (right now), but on arm64 gives me: Missing build dependencies: linux-libc-dev (<= 5.19.0-1) So while both still exist: linux-libc-dev | 5.15.0-27.28 | kinetic | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x linux-libc-dev | 5.19.0-15.15 | kinetic-proposed | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x Probably some other dependency makes this non-avoidable for now. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1985956 Title: linux-libc-dev and libc6-dev do not agree who owns fsconfig_command Status in glibc package in Ubuntu: New Status in linux package in Ubuntu: New Bug description: Right now in kinetic-proposed builds are failing due to both sets of headers defining fsconfig_command. (kinetic-amd64)root@Keschdeichel:/build/libvirt-LTnG76/libvirt-8.6.0/debian/build# apt-cache policy libc6-dev linux-libc-dev libc6-dev: Installed: 2.36-0ubuntu1 Candidate: 2.36-0ubuntu1 Version table: *** 2.36-0ubuntu1 500 500 http://archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 2.35-0ubuntu3 500 500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages linux-libc-dev: Installed: 5.19.0-15.15 Candidate: 5.19.0-15.15 Version table: *** 5.19.0-15.15 500 500 http://archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 5.15.0-27.28 500 500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages Actually also with "just the kernel" from proposed this happens as in the past only: linux-libc-dev:amd64: /usr/include/linux/mount.h included that struct. File ownership $ dpkg -S /usr/include/x86_64-linux-gnu/sys/mount.h /usr/include/linux/mount.h libc6-dev:amd64: /usr/include/x86_64-linux-gnu/sys/mount.h linux-libc-dev:amd64: /usr/include/linux/mount.h Example error from building libvirt: In file included from /usr/include/linux/fs.h:19, from ../../src/util/virfile.c:74: /usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command' 95 | enum fsconfig_command { | ^~~~ In file included from ../../src/util/virfile.c:46: /usr/include/x86_64-linux-gnu/sys/mount.h:189:6: note: originally defined here 189 | enum fsconfig_command | ^~~~ Repro-test: $ cat test.c # include # include #include int main() { printf("Hello %d", FSCONFIG_SET_FLAG); return 0; } gcc test.c -o /dev/null In file included from /usr/include/linux/fs.h:19, from test.c:2: /usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command' 95 | enum fsconfig_command { | ^~~~ In file included from test.c:1: /usr/include/x86_64-linux-gnu/sys/mount.h:189:6: note: originally defined here 189 | enum fsconfig_command | ^~~~ /usr/include/linux/mount.h:96:9: error: redeclaration of enumerator 'FSCONFIG_SET_FLAG' 96 | FSCONFIG_SET_FLAG = 0,/* Set parameter, supplying no value */ | ^ /usr/include/x86_64-linux-gnu/sys/mount.h:191:3: note: previous definition of 'FSCONFIG_SET_FLAG' with type 'enum fsconfig_command' 191 | FSCONFIG_SET_FLAG = 0,/* Set parameter, supplying no value */ | ^ /usr/include/linux/mount.h:97:9: error: redeclaration of enumerator 'FSCONFIG_SET_STRING' 97 | FSCONFIG_SET_STRING = 1,/* Set parameter, supplying a string value */ | ^~~ /usr/include/x86_64-linux-gnu/sys/mount.h:193:3: note: previous definition of 'FSCONFIG_SET_STRING' with type 'enum fsconfig_command' 193 | FSCONFIG_SET_STRING = 1,/* Set parameter, supplying a string value */ | ^~~ /usr/include/linux/mount.h:98:9: error: redeclaration of enumerator 'FSCONFIG_SET_BINARY' 98 | FSCONFIG_SET_BINARY = 2,/* Set parameter, supplying a binary blob value */ | ^~~ /usr/include/x86_64-linux-gnu/sys/mount.h:195:3: note: previous definition of 'FSCONFIG_SET_BINARY' with type 'enum fsconfig_command' 195 | FSCONFIG_SET_BINARY = 2,/* Set parameter, supplying a binary blob value */ | ^~~ /usr/include/linux/mount.h:99:9: error: redeclaration of enumerator 'FSCONFIG_SET_PATH' 99 | FSCONFIG_SET_PATH = 3,/* Set parameter, supplying an object by path */ |