[Bug 1794137] Re: ubiquity FTBFS on Cosmic
Launchpad Bug Tracker
1794137 at bugs.launchpad.net
Mon Sep 24 17:44:45 UTC 2018
This bug was fixed in the package partconf - 1.50ubuntu1
---------------
partconf (1.50ubuntu1) cosmic; urgency=medium
* Include <sys/sysmacros.h> to fix FTBFS with glibc 2.28 (LP:
#1794137)
-- Adam Conrad <adconrad at ubuntu.com> Mon, 24 Sep 2018 10:59:36 -0600
** Changed in: partconf (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partconf in Ubuntu.
https://bugs.launchpad.net/bugs/1794137
Title:
ubiquity FTBFS on Cosmic
Status in partconf package in Ubuntu:
Fix Released
Status in ubiquity package in Ubuntu:
New
Bug description:
On Cosmic
make[2]: Entering directory '/tmp/src/ubiquity.new/d-i/source/partconf'
dh build
dh_update_autotools_config
dh_auto_configure
debian/rules override_dh_auto_build
make[3]: Entering directory '/tmp/src/ubiquity.new/d-i/source/partconf'
/usr/bin/make small
make[4]: Entering directory '/tmp/src/ubiquity.new/d-i/source/partconf'
rm -f find-partitions mkfstab mountpoint \
test-mkfstab *.o
cc -W -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c
cc -W -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xasprintf.o xasprintf.c
cc -W -Wall -Os -o find-partitions -DFIND_PARTS_MAIN find-parts.c util.o xasprintf.o -lparted
find-parts.c: In function ‘is_cdrom’:
find-parts.c:129:13: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration]
switch (major(st.st_rdev)) {
^~~~~
find-parts.c:137:9: warning: implicit declaration of function ‘minor’; did you mean ‘mknod’? [-Wimplicit-function-declaration]
if (minor(st.st_rdev) == 0) {
^~~~~
mknod
/usr/bin/ld: /tmp/ccNaQKvW.o: in function `is_cdrom':
find-parts.c:(.text+0x3a): undefined reference to `major'
/usr/bin/ld: find-parts.c:(.text+0x50): undefined reference to `minor'
/usr/bin/ld: find-parts.c:(.text+0x60): undefined reference to `minor'
/usr/bin/ld: find-parts.c:(.text+0x73): undefined reference to `major'
/usr/bin/ld: find-parts.c:(.text+0x95): undefined reference to `major'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:12: find-partitions] Error 1
make[4]: Leaving directory '/tmp/src/ubiquity.new/d-i/source/partconf'
make[3]: *** [debian/rules:16: override_dh_auto_build] Error 2
make[3]: Leaving directory '/tmp/src/ubiquity.new/d-i/source/partconf'
make[2]: *** [debian/rules:3: build] Error 2
make[2]: Leaving directory '/tmp/src/ubiquity.new/d-i/source/partconf'
make[1]: *** [Makefile:40: build] Error 1
make[1]: Leaving directory '/tmp/src/ubiquity.new/d-i'
make: *** [debian/rules:40: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1152:
dpkg-buildpackage -rfakeroot -us -uc -ui failed
This is likely due to this change in glibc 2.28-0ubuntu1
* The macros 'major', 'minor', and 'makedev' are now only available from
the header <sys/sysmacros.h>; not from <sys/types.h> or various other
headers that happen to include <sys/types.h>. These macros are rarely
used, not part of POSIX nor XSI, and their names frequently collide with
user code; see https://sourceware.org/bugzilla/show_bug.cgi?id=19239 for
further explanation.
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 4.17.0-9.10-generic 4.17.17
Uname: Linux 4.17.0-9-generic x86_64
ApportVersion: 2.20.10-0ubuntu11
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Sep 24 17:22:21 2018
InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- keyboard-configuration/layoutcode=fr keyboard-configuration/variantcode=oss
InstallationDate: Installed on 2014-07-15 (1532 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
SourcePackage: ubiquity
UpgradeStatus: Upgraded to cosmic on 2018-03-24 (184 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partconf/+bug/1794137/+subscriptions
More information about the foundations-bugs
mailing list