I can't emerge libnids for version 1.20 or upgrading from 1.18.Tested on my both x86 computer. Reproducible: Always Steps to Reproduce: 1. emerge libnids 2. 3. root # emerge libnids Calculating dependencies ...done! >>> emerge (1 of 1) net-libs/libnids-1.20 to / >>> md5 src_uri ;-) libnids-1.20.tar.gz >>> Unpacking source... >>> Unpacking libnids-1.20.tar.gz to /var/tmp/portage/libnids-1.20/work * Applying libnids-1.20-chksum.c-ebx.patch ... [ ok ]>>> Source unpacked. * econf: updating libnids-1.20/config.guess with /usr/share/gnuconfig/config.guess * econf: updating libnids-1.20/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-shared configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /bin/install -c checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether byte ordering is bigendian... no checking for gettimeofday... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for libpcap... yes checking for libnet... yes checking whether to build shared library... yes checking the name of struct icmp... struct icmphdr checking if tcp states are defined... yes checking for bsd-ish struct udphdr... yes checking libnet version... looks new configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating samples/Makefile config.status: creating src/config.h cd src ; make static make[1]: Entering directory `/var/tmp/portage/libnids-1.20/work/libnids-1.20/src' gcc -c -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H checksum.c gcc -c -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H ip_fragment.c gcc -c -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H ip_options.c gcc -c -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H killtcp.c gcc -c -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H libnids.c gcc -c -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H scan.c gcc -c -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H tcp.c gcc -c -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H util.c gcc -c -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H allpromisc.c gcc -c -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H hash.c ar -cr libnids.a checksum.o ip_fragment.o ip_options.o killtcp.o libnids.o scan.o tcp.o util.o allpromisc.o hash.o ranlib libnids.a make[1]: Leaving directory `/var/tmp/portage/libnids-1.20/work/libnids-1.20/src'cd src ; make shared make[1]: Entering directory `/var/tmp/portage/libnids-1.20/work/libnids-1.20/src' gcc -fPIC -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -c checksum.c -o checksum_pic.o gcc -fPIC -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -c ip_fragment.c -o ip_fragment_pic.o gcc -fPIC -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -c ip_options.c -o ip_options_pic.o gcc -fPIC -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -c killtcp.c -o killtcp_pic.o gcc -fPIC -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -c libnids.c -o libnids_pic.o gcc -fPIC -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -c scan.c -o scan_pic.o gcc -fPIC -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -c tcp.c -o tcp_pic.o gcc -fPIC -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -c util.c -o util_pic.o gcc -fPIC -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -c allpromisc.c -o allpromisc_pic.o gcc -fPIC -O2 -march=pentium4 -fomit-frame-pointer -D_BSD_SOURCE -W -Wall -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -c hash.c -o hash_pic.o gcc -shared -Wl,-soname,libnids.so.1.20 -o libnids.so.1.20 checksum_pic.o ip_fragment_pic.o ip_options_pic.o killtcp_pic.o libnids_pic.o scan_pic.o tcp_pic.o util_pic.o allpromisc_pic.o hash_pic.o -lnsl -lnet -L/usr/lib -lpcap make[1]: Leaving directory `/var/tmp/portage/libnids-1.20/work/libnids-1.20/src'>>> Test phase [not enabled]: net-libs/libnids-1.20 >>> Install libnids-1.20 into /var/tmp/portage/libnids-1.20/image/ category net-libs cd src ; make _installshared make[1]: Entering directory `/var/tmp/portage/libnids-1.20/work/libnids-1.20/src' ../mkinstalldirs /usr/lib ../mkinstalldirs /var/tmp/portage/libnids-1.20/image//usr/include mkdir /var/tmp/portage/libnids-1.20/image/usr mkdir /var/tmp/portage/libnids-1.20/image/usr/include ../mkinstalldirs /var/tmp/portage/libnids-1.20/image//usr/share/man/man3 mkdir /var/tmp/portage/libnids-1.20/image/usr/share mkdir /var/tmp/portage/libnids-1.20/image/usr/share/man mkdir /var/tmp/portage/libnids-1.20/image/usr/share/man/man3 /bin/install -c -c -m 644 libnids.a /usr/lib ACCESS DENIED open_wr: /usr/lib/libnids.a /bin/install: cannot create regular file `/usr/lib/libnids.a': Permission deniedmake[1]: *** [install] Error 1 make[1]: Leaving directory `/var/tmp/portage/libnids-1.20/work/libnids-1.20/src'make: *** [_installshared] Error 2 !!! ERROR: net-libs/libnids-1.20 failed. !!! Function einstall, Line 524, Exitcode 2 !!! einstall failed !!! If you need support, post the topmost build error, NOT this status message. --------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-net-libs_-_libnids-1.20-18867.log" open_wr: /usr/lib/libnids.a ------------------------------------- =============================================================================== # These settings were set by the catalyst build script that automatically built$# Please consult /etc/make.conf.example for a more detailed example CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" USE="gtk gnome -qt -kde dvd alsa cdr jpeg gd gd-external cpdflib dba -berkdb" ACCEPT_KEYWORDS="~x86"
Created attachment 53089 [details] libnids-1.20-r1.ebuild please test it
just read Changelog, itsnt a valid a solution....
No problem with new ebuild. Fixed. Thank you.
there must be a good reason why install_prefix="${D}" was removed from original ebuild...
Please don't mess with the bug's status. It's not fixed in portage, and therefore is not fixed. As far was why I removed the install_prefix, it worked w/o it when I bumped... not sure why though.
*** Bug 84784 has been marked as a duplicate of this bug. ***
In cvs.
Confirmed to work with the new ebuild.
*** Bug 86256 has been marked as a duplicate of this bug. ***