ubiquity FTBFS on Cosmic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partconf (Ubuntu) |
Fix Released
|
Undecided
|
Adam Conrad | ||
ubiquity (Ubuntu) |
Fix Released
|
Undecided
|
Adam Conrad |
Bug Description
On Cosmic
make[2]: Entering directory '/tmp/src/
dh build
dh_update_
dh_auto_
debian/rules override_
make[3]: Entering directory '/tmp/src/
/usr/bin/make small
make[4]: Entering directory '/tmp/src/
rm -f find-partitions mkfstab mountpoint \
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.
switch (major(st.st_rdev)) {
^~~~~
find-parts.c:137:9: warning: implicit declaration of function ‘minor’; did you mean ‘mknod’? [-Wimplicit-
if (minor(st.st_rdev) == 0) {
^~~~~
mknod
/usr/bin/ld: /tmp/ccNaQKvW.o: in function `is_cdrom':
find-parts.
/usr/bin/ld: find-parts.
/usr/bin/ld: find-parts.
/usr/bin/ld: find-parts.
/usr/bin/ld: find-parts.
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:12: find-partitions] Error 1
make[4]: Leaving directory '/tmp/src/
make[3]: *** [debian/rules:16: override_
make[3]: Leaving directory '/tmp/src/
make[2]: *** [debian/rules:3: build] Error 2
make[2]: Leaving directory '/tmp/src/
make[1]: *** [Makefile:40: build] Error 1
make[1]: Leaving directory '/tmp/src/
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:/
further explanation.
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: ubiquity (not installed)
ProcVersionSign
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/
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)
Changed in partconf (Ubuntu): | |
assignee: | nobody → Adam Conrad (adconrad) |
Changed in ubiquity (Ubuntu): | |
assignee: | nobody → Adam Conrad (adconrad) |
tags: | added: ftbfs |
Changed in ubiquity (Ubuntu): | |
status: | New → Fix Committed |
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 <email address hidden> Mon, 24 Sep 2018 10:59:36 -0600