Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 482918

Summary: sys-freebsd/freebsd-lib-9.2_rc3: fails to compile when creating new stage3.
Product: Gentoo/Alt Reporter: Yuta SATOH <nigoro.dev>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sample patch

Description Yuta SATOH 2013-08-29 13:22:16 UTC
When creating new stage3 using catalyst, fails to compile sys-freebsd/freebsd-lib-9.2_rc3.

i686-gentoo-freebsd9.2-gcc  -O2 -march=i686 -pipe -fno-strict-aliasing -fno-strict-overflow -isystem /usr/include  -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.2_rc3/work/lib/libtelnet/../../contrib/telnet -DENCRYPTION -DAUTHENTICATION -DSRA -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /var/tmp/portage/sys-freebsd/freebsd-lib-9.2_rc3/work/lib/libtelnet/../../contrib/telnet/libtelnet/pk.c -o pk.o
/var/tmp/portage/sys-freebsd/freebsd-lib-9.2_rc3/work/lib/libtelnet/../../contrib/telnet/libtelnet/pk.c:53:16: fatal error: mp.h: No such file or directory
compilation terminated.
*** [pk.o] Error code 1


When set USE="-* build", mp.h is not installed.

# ROOT=/tmp/freebsd-lib USE="-* build" emerge --nodeps freebsd-lib
# ls /tmp/freebsd-lib/usr/include/mp.h
ls: /tmp/freebsd-lib/usr/include/mp.h: No such file or directory


When set USE="-* build ssl", mp.h is installed.

# rm -rf /tmp/freebsd-lib (clean dir)
# ROOT=/tmp/freebsd-lib USE="-* build ssl" emerge --nodeps freebsd-lib
# ls /tmp/freebsd-lib/usr/include/mp.h
/tmp/freebsd-lib/usr/include/mp.h


FYI, USE="-* build" is set automatically when creating the stage1.
Comment 1 Yuta SATOH 2013-08-29 13:49:35 UTC
Created attachment 357326 [details, diff]
sample patch

Please add to freebsd-lib-9.2-liblink.patch.

$ cat 482918.patch >> freebsd-lib-9.2-liblink.patch
Comment 2 Yuta SATOH 2015-05-24 12:17:54 UTC
9.2 removed.