The following message is displayed and fails to compile on Gentoo/FBSD (AMD64). freebsd-bin) x86_64-gentoo-freebsd8.2-gcc -O2 -pipe -DCOLORLS -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -o ls cmp.o ls.o print.o util.o -lutil -ltermcap /usr/lib/gcc/x86_64-gentoo-freebsd8.2/4.4.5/../../../../x86_64-gentoo-freebsd8.2/bin/ld: cannot find -ltermcap collect2: ld returned 1 exit status *** Error code 1 1 error *** Error code 2 1 error * ERROR: sys-freebsd/freebsd-bin-8.2 failed (compile phase): * make failed freebsd-sbin) x86_64-gentoo-freebsd8.2-g++ -O2 -pipe -static -o devd devd.o token.o parse.o -ll -lutil /usr/lib/gcc/x86_64-gentoo-freebsd8.2/4.4.5/../../../../x86_64-gentoo-freebsd8.2/bin/ld: cannot find -ll collect2: ld returned 1 exit status *** Error code 1 1 error *** Error code 2 1 error * ERROR: sys-freebsd/freebsd-sbin-8.2 failed (compile phase): * make failed freebsd-ubin) x86_64-gentoo-freebsd8.2-gcc -O2 -pipe -I. -I/var/tmp/portage/sys-freebsd/freebsd-ubin-8.2/work/usr.bin/colldef -I/var/tmp/portage/sys-freebsd/freebsd-ubin-8.2/work/usr.bin/colldef/../../lib/libc/locale -DCOLLATE_DEBUG -DYY_NO_UNPUT -std=gnu99 -fstack-protector -o colldef parse.o scan.o -ll /usr/lib/gcc/x86_64-gentoo-freebsd8.2/4.4.5/../../../../x86_64-gentoo-freebsd8.2/bin/ld: cannot find -ll collect2: ld returned 1 exit status *** Error code 1 1 error *** Error code 2 1 error * ERROR: sys-freebsd/freebsd-ubin-8.2 failed (compile phase): * make failed freebsd-usbin) ===> cdcontrol (all) Warning: Object directory not changed from original /var/tmp/portage/sys-freebsd/freebsd-usbin-8.2/work/usr.sbin/cdcontrol x86_64-gentoo-freebsd8.2-gcc -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c cdcontrol.c x86_64-gentoo-freebsd8.2-gcc -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -o cdcontrol cdcontrol.o -ledit -ltermcap /usr/lib/gcc/x86_64-gentoo-freebsd8.2/4.4.5/../../../../x86_64-gentoo-freebsd8.2/bin/ld: cannot find -ltermcap collect2: ld returned 1 exit status *** Error code 1 1 error *** Error code 2 1 error * ERROR: sys-freebsd/freebsd-usbin-8.2 failed (compile phase): * make failed Reproducible: Always
Created attachment 279353 [details, diff] sample patch for freebsd.eclass I think that alias of GNU's find to which this problem was added recently causes it. I attached the sample patch.
well, findutils is in the system set now, you should install it first
(In reply to comment #2) > well, findutils is in the system set now, you should install it first Thanks for your comment. The cause of this problem was not that sys-apps/findutils operates normally on G/FBSD amd64. x86-fbsd doesn't have this problem. Anyway, I file a new bug because a true problem is in findutils.