Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482918 - sys-freebsd/freebsd-lib-9.2_rc3: fails to compile when creating new stage3.
Summary: sys-freebsd/freebsd-lib-9.2_rc3: fails to compile when creating new stage3.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-29 13:22 UTC by Yuta SATOH
Modified: 2015-05-24 12:17 UTC (History)
0 users

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


Attachments
sample patch (482918.patch,318 bytes, patch)
2013-08-29 13:49 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 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.