As in summary: have the box without libgudev installed and attempt to install =net-libs/libqmi-1.16.2 leading to failure. Reproducible: Always Steps to Reproduce: 1. have box wihout libgudev (or remove it) 2. emerge =net-libs/libqmi-1.16.2 3. notice failure 4. emerge -1 libgudev 5. emerge =net-libs/libqmi-1.16.2 is OK. Actual Results: [01;32m[K ^[m[K /bin/sh ../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=westmere -O2 -pipe -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o test-generated test_generated-test-fixture.o test_generated-test-port-context.o test_generated-test-generated.o ../../../src/libqmi-glib/libqmi-glib.la -lgio-2.0 -lgobject-2.0 -lglib-2.0 /bin/sh ../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=westmere -O2 -pipe -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o test-utils test_utils-test-utils.o ../../../src/libqmi-glib/libqmi-glib.la -lgio-2.0 -lgobject-2.0 -lglib-2.0 libtool: link: x86_64-pc-linux-gnu-gcc -march=westmere -O2 -pipe -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o .libs/test-utils test_utils-test-utils.o ../../../src/libqmi-glib/.libs/libqmi-glib.so -lmbim-glib -lgio-2.0 -lgobject-2.0 -lglib-2.0 libtool: link: x86_64-pc-linux-gnu-gcc -march=westmere -O2 -pipe -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o .libs/test-generated test_generated-test-fixture.o test_generated-test-port-context.o test_generated-test-generated.o ../../../src/libqmi-glib/.libs/libqmi-glib.so -lmbim-glib -lgio-2.0 -lgobject-2.0 -lglib-2.0 /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libgudev-1.0.so.0, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libmbim-glib.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libmbim-glib.so: undefined reference to `g_udev_device_get_sysfs_path' /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libmbim-glib.so: undefined reference to `g_udev_client_new' /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libmbim-glib.so: undefined reference to `g_udev_client_get_type' /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libmbim-glib.so: undefined reference to `g_udev_device_get_parent' /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libmbim-glib.so: undefined reference to `g_udev_client_query_by_subsystem_and_name' collect2: error: ld returned 1 exit status /usr/lib/Makefile:446: recipe for target 'test-utils' failed gcc/x86_64-pcmake[4]: *** [test-utils] Error 1 -linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libgudevmake[4]: *** Waiting for unfinished jobs.... -1.0.so.0, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libmbim-glib.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libmbim-glib.so: undefined reference to `g_udev_device_get_sysfs_path' /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libmbim-glib.so: undefined reference to `g_udev_client_new' /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libmbim-glib.so: undefined reference to `g_udev_client_get_type' /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libmbim-glib.so: undefined reference to `g_udev_device_get_parent' /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libmbim-glib.so: undefined reference to `g_udev_client_query_by_subsystem_and_name' collect2: error: ld returned 1 exit status Makefile:438: recipe for target 'test-generated' failed make[4]: *** [test-generated] Error 1 make[4]: Leaving directory '/var/tmp/portage/net-libs/libqmi-1.16.2/work/libqmi-1.16.2/src/libqmi-glib/test' Makefile:663: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/var/tmp/portage/net-libs/libqmi-1.16.2/work/libqmi-1.16.2/src/libqmi-glib' Makefile:375: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-libs/libqmi-1.16.2/work/libqmi-1.16.2/src' Makefile:432: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-libs/libqmi-1.16.2/work/libqmi-1.16.2' Makefile:364: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: net-libs/libqmi-1.16.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-libs/libqmi-1.16.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/libqmi-1.16.2::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-libs/libqmi-1.16.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/libqmi-1.16.2/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/libqmi-1.16.2/work/libqmi-1.16.2' * S: '/var/tmp/portage/net-libs/libqmi-1.16.2/work/libqmi-1.16.2'
same at the tinderbox image 13.0_20170410-205353
Created attachment 469922 [details] emerge-info.txt
Created attachment 469924 [details] config.log.tbz2
Created attachment 469926 [details] emerge-history.txt
Created attachment 469928 [details] environment
Created attachment 469930 [details] etc.portage.tbz2
Created attachment 469932 [details] net-libs:libqmi-1.18.0:20170412-190635.log
Created attachment 469934 [details] temp.tbz2
Just encountered this issue myself on mips64el (n64 ABI) with libqmi-1.18.0. --- checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for more warnings... no checking for mips64el-unknown-linux-gnu-pkg-config... /usr/bin/mips64el-unknown-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for GUDEV... no configure: error: Couldn't find gudev >= 147. Install it, or otherwise configure using --without-udev to disable udev support. --- By the sounds of things, it *can* be turned off, so perhaps in the ebuild: --- IUSE="doc +mbim static-libs udev" RDEPEND=">=dev-libs/glib-2.32 mbim? ( >=net-libs/libmbim-1.14.0 ) udev? ( >=virtual/libgudev-147 )" DEPEND="${RDEPEND} doc? ( dev-util/gtk-doc ) virtual/pkgconfig" [[ ${PV} == "9999" ]] && DEPEND+=" dev-util/gtk-doc" #469214 src_prepare() { default [[ -e configure ]] || eautoreconf } src_configure() { econf \ --disable-more-warnings \ $(use_enable mbim mbim-qmux) \ $(use_enable static{-libs,}) \ $(use_enable {,gtk-}doc) \ $(use_with udev) } --- … those amendments would take care of it and give users some configure-ability to boot.
*** This bug has been marked as a duplicate of bug 628276 ***