Summary: | x11-misc/colord-1.2.9: fails to build with ABI_X86="64 32" and USE="-gusb" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dell'Aica Valentino <elettronik> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dell'Aica Valentino
2015-03-29 15:37:21 UTC
The line that fail are the following, and seem there are a missing dependence on dev-libs/libgusb. libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-misc/colord-1.2.9/work/colord-1.2.9/lib/colorhug -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/var/tmp/portage/x11-misc/colord-1.2.9/work/colord-1.2.9 -I/var/tmp/portage/x11-misc/colord-1.2.9/work/colord-1.2.9/lib -I/var/tmp/portage/x11-misc/colord-1.2.9/work/colord-1.2.9/lib/colord -I../../lib -I. -DCD_COMPILATION -DCH_COMPILATION -DG_USB_API_IS_SUBJECT_TO_CHANGE -DG_LOG_DOMAIN=\"Ch\" -DTOP_SRCDIR=\"/var/tmp/portage/x11-misc/colord-1.2.9/work/colord-1.2.9\" -DPACKAGE_DATA_DIR=\"/usr/share\" -Wall -Wcast-align -Wno-uninitialized -Wmissing-declarations -Wpointer-arith -Wcast-align -Wwrite-strings -Winit-self -Wreturn-type -Wformat-nonliteral -Wformat-security -Wmissing-include-dirs -Wmissing-format-attribute -Wclobbered -Wempty-body -Wignored-qualifiers -Wsign-compare -Wtype-limits -Wuninitialized -Waggregate-return -Wdeclaration-after-statement -Wshadow -Wno-strict-aliasing -Winline -Wmissing-parameter-type -Woverride-init -march=core-avx2 -O2 -pipe -c /var/tmp/portage/x11-misc/colord-1.2.9/work/colord-1.2.9/lib/colorhug/ch-math.c -fPIC -DPIC -o .libs/libcolorhug_la-ch-math.o /var/tmp/portage/x11-misc/colord-1.2.9/work/colord-1.2.9/lib/colorhug/ch-device.c:25:18: fatal error: gusb.h: No such file or directory #include <gusb.h> ^ compilation terminated. Makefile:890: recipe for target 'libcolorhug_la-ch-device.lo' failed make: *** [libcolorhug_la-ch-device.lo] Error 1 make: *** Waiting for unfinished jobs.... In file included from /var/tmp/portage/x11-misc/colord-1.2.9/work/colord-1.2.9/lib/colorhug/ch-common.c:27:0: /var/tmp/portage/x11-misc/colord-1.2.9/work/colord-1.2.9/lib/colorhug/ch-common.h:30:18: fatal error: gusb.h: No such file or directory #include <gusb.h> ^ compilation terminated. Makefile:883: recipe for target 'libcolorhug_la-ch-common.lo' failed make: *** [libcolorhug_la-ch-common.lo] Error 1 In file included from /var/tmp/portage/x11-misc/colord-1.2.9/work/colord-1.2.9/lib/colorhug/ch-math.h:31:0, from /var/tmp/portage/x11-misc/colord-1.2.9/work/colord-1.2.9/lib/colorhug/ch-math.c:27: /var/tmp/portage/x11-misc/colord-1.2.9/work/colord-1.2.9/lib/colorhug/ch-common.h:30:18: fatal error: gusb.h: No such file or directory #include <gusb.h> ^ compilation terminated. Makefile:918: recipe for target 'libcolorhug_la-ch-math.lo' failed make: *** [libcolorhug_la-ch-math.lo] Error 1 /var/tmp/portage/x11-misc/colord-1.2.9/work/colord-1.2.9/lib/colorhug/ch-device-queue.c:26:18: fatal error: gusb.h: No such file or directory #include <gusb.h> ^ compilation terminated. Makefile:897: recipe for target 'libcolorhug_la-ch-device-queue.lo' failed make: *** [libcolorhug_la-ch-device-queue.lo] Error 1 In file included from /var/tmp/portage/x11-misc/colord-1.2.9/work/colord-1.2.9/lib/colorhug/ch-inhx32.h:31:0, from /var/tmp/portage/x11-misc/colord-1.2.9/work/colord-1.2.9/lib/colorhug/ch-inhx32.c:30: /var/tmp/portage/x11-misc/colord-1.2.9/work/colord-1.2.9/lib/colorhug/ch-common.h:30:18: fatal error: gusb.h: No such file or directory #include <gusb.h> ^ compilation terminated. This is not "critical", it's a build failure in an unimportant package. Critical means "this bug can damage your hardware or delete your phd thesis or let hackers read your bank statements". Please attach the complete build log. We need to see what flags you have enabled/disabled on colord, and what output configure produces. I think I see what caused this problem: the ebuild uses custom make targets for non-native ABIs, but some of them are valid only if the gusb flag was enabled. And since gusb is enabled by default, nobody noticed the problem until now. Fixed without a revision bump, should be on your local rsync mirror in 30-60 minutes. + 29 Mar 2015; Alexandre Rostovtsev <tetromino@gentoo.org> + -colord-1.2.5-r1.ebuild, -colord-1.2.8.ebuild, colord-1.2.9.ebuild: + Fix multilib build when USE=-gusb (bug #544968, thanks to Dell'Aica + Valentino). Drop old. |