Summary: | net-misc/iputils-20100418 - arping.c:35:28: error: sysfs/libsysfs.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Eugene Vandyuk <duke> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | VERIFIED INVALID | ||
Severity: | normal | CC: | duke, jer |
Priority: | High | ||
Version: | 10.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Eugene Vandyuk
2010-09-09 09:59:48 UTC
# cat /var/tmp/portage/net-misc/iputils-20100418/temp/build.log * CPV: net-misc/iputils-20100418 * REPO: gentoo * USE: elibc_glibc ipv6 kernel_linux ssl userland_GNU x86 * Applying 021109-uclibc-no-ether_ntohost.patch ... [ ok ] * Applying iputils-20100418-openssl.patch ... [ ok ] * Applying iputils-20100418-so_mark.patch ... [ ok ] * Applying iputils-20100418-makefile.patch ... [ ok ] * Applying iputils-20100418-proper-libs.patch ... [ ok ] * Applying iputils-20100418-printf-size.patch ... [ ok ] * Applying iputils-20100418-aliasing.patch ... [ ok ] * Applying iputils-20071127-kernel-ifaddr.patch ... [ ok ] * Applying iputils-20070202-idn.patch ... [ ok ] * Applying iputils-20100418-ping-CVE-2010-2529.patch ... [ ok ] i686-pc-linux-gnu-gcc -pipe -Wstrict-prototypes -Wall -DHAVE_OPENSSL -D_GNU_SOURCE -Wl,-O1 -Wl,--as-needed tracepath.c -o tracepath i686-pc-linux-gnu-gcc -pipe -Wstrict-prototypes -Wall -DHAVE_OPENSSL -D_GNU_SOURCE -c -o ping.o ping.c i686-pc-linux-gnu-gcc -pipe -Wstrict-prototypes -Wall -DHAVE_OPENSSL -D_GNU_SOURCE -c -o ping_common.o ping_common.c i686-pc-linux-gnu-gcc -pipe -Wstrict-prototypes -Wall -DHAVE_OPENSSL -D_GNU_SOURCE -Wl,-O1 -Wl,--as-needed clockdiff.c -o clockdiff i686-pc-linux-gnu-gcc -pipe -Wstrict-prototypes -Wall -DHAVE_OPENSSL -D_GNU_SOURCE -Wl,-O1 -Wl,--as-needed rdisc.c -o rdisc i686-pc-linux-gnu-gcc -pipe -Wstrict-prototypes -Wall -DHAVE_OPENSSL -D_GNU_SOURCE -c -o arping.o arping.c rdisc.c: В функции 'prusage':i686-pc-linux-gnu-gcc -pipe -Wstrict-prototypes -Wall -DHAVE_OPENSSL -D_GNU_SOURCE -c -o tftpd.o tftpd.c i686-pc-linux-gnu-gcc -pipe -Wstrict-prototypes -Wall -DHAVE_OPENSSL -D_GNU_SOURCE -c -o tftpsubs.o tftpsubs.c i686-pc-linux-gnu-gcc -pipe -Wstrict-prototypes -Wall -DHAVE_OPENSSL -D_GNU_SOURCE -Wl,-O1 -Wl,--as-needed rarpd.c -o rarpd rdisc.c:234: предупреждение: формат не является строковой константой, и не заданы аргументы форматирования arping.c:35:28: error: sysfs/libsysfs.h: Нет такого файла или каталога arping.c: В функции 'set_device_broadcast': arping.c:321: предупреждение: неявная декларация функции 'sysfs_open_class_device' arping.c:321: предупреждение: в присваивании целое преобразуется в указатель без приведения типа arping.c:327: предупреждение: неявная декларация функции 'sysfs_get_classdev_attr' arping.c:327: предупреждение: в присваивании целое преобразуется в указатель без приведения типа arping.c:333: предупреждение: неявная декларация функции 'sysfs_read_attribute' arping.c:339: ошибка: доступ по указателю на неполный тип i686-pc-linux-gnu-gcc -pipe -Wstrict-prototypes -Wall -DHAVE_OPENSSL -D_GNU_SOURCE -Wl,-O1 -Wl,--as-needed tracepath6.c -o tracepath6 make: *** [arping.o] Ошибка 1 make: *** Ожидание завершения заданий... * ERROR: net-misc/iputils-20100418 failed: * make main failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2573: Called die * The specific snippet of code: * emake || die "make main failed" =net-misc/iputils-20100418 correctly DEPENDs on sys-fs/sysfsutils which provides /usr/include/sysfs/libsysfs.h so this is a bit of a mystery. but it didnt always. if your emerge sync is out of date, you'll probably hit the old bug. verify you're actually up to date. (In reply to comment #3) > but it didnt always. if your emerge sync is out of date, you'll probably hit > the old bug. verify you're actually up to date. When I open this bug report, my portage tree was dated 2010/09/09 17:05 . Today I sync my tree again and retry this bug with absolutely same result: ERROR: net-misc/iputils-20100418 failed Only workaround for now is : echo "=net-misc/iputils-20100418" >> /etc/portage/package.mask why dont you use the tips we already posted to further diagnose your system to see what's going on. the obvious questions: do you have libsysfs ? is it installing the header it is supposed to ? if your ROOT=/ system lacks libsysfs, and you dont install it, there isnt much to be done. you're forcing ROOT=/somewhere/else which the toolchain will not be considering. Of course, on time of compiling "iputils" file "sysfs/libsysfs.h" exists in building (guest /mnt/gentoo) image, but it's not present in the builder (host /) system. Problem was solved when I manualy emerge sysfsutils to the ROOT=/ before emerging to the /mnt/gentoo . Now net-misc/iputils-20100418 RDEPEND's (run-time) on sys-fs/sysfsutils, but it seems that it need to be DEPEND (for compilation)? It's correct when compilation depends on default ROOT=/ when I use explicit ROOT=/mnt/gentoo,CONFIG_ROOT=/mnt/gentoo declaration ? It's posible to DEPEND on ROOT & CONFIG_ROOT when emerging ? review the iputils ebuild -- it already does DEPEND on it as for depend behavior with ROOT values and such, you'll have to post that to the gentoo portage mailing list |