Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374375 - [patch] freebsd-bin/sbin/ubin/usbin fails to compile with new fbsd/profile.bashrc
Summary: [patch] freebsd-bin/sbin/ubin/usbin fails to compile with new fbsd/profile.ba...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal major (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-07 18:39 UTC by Yuta SATOH
Modified: 2011-07-07 19:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sample patch for freebsd.eclass (freebsd.eclass.gnufind.patch,318 bytes, patch)
2011-07-07 18:45 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2011-07-07 18:39:37 UTC
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
Comment 1 Yuta SATOH 2011-07-07 18:45:21 UTC
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.
Comment 2 Alexis Ballier gentoo-dev 2011-07-07 19:04:56 UTC
well, findutils is in the system set now, you should install it first
Comment 3 Yuta SATOH 2011-07-07 19:38:54 UTC
(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.