Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448510 - sys-freebsd/freebsd-ubin-{9.0,9.1_rc3} build fails with USE=ar
Summary: sys-freebsd/freebsd-ubin-{9.0,9.1_rc3} build fails with USE=ar
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: http://svnweb.freebsd.org/base/head/u...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-25 12:08 UTC by Yuta SATOH
Modified: 2013-01-27 22:39 UTC (History)
0 users

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


Attachments
files/freebsd-ubin-9.0-ar-libarchive3.patch (freebsd-ubin-9.0-ar-libarchive3.patch,593 bytes, patch)
2012-12-25 12:09 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 2012-12-25 12:08:51 UTC
The following message is displayed and fails to compile.

===> ar (all)
Warning: Object directory not changed from original /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_rc3/work/usr.bin/ar
x86_64-gentoo-freebsd9.1-gcc -O2 -pipe  -I. -I/var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_rc3/work/usr.bin/ar -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 -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign  -o freebsd-ar ar.o acplex.o acpyacc.o read.o util.o write.o -larchive -lelf
ar.o: In function `main':
ar.c:(.text.startup+0x17b): undefined reference to `archive_version'
ar.c:(.text.startup+0x366): undefined reference to `archive_version'
collect2: ld returned 1 exit status
*** [freebsd-ar] Error code 1
1 error
*** [all] Error code 2
1 error
Comment 1 Yuta SATOH 2012-12-25 12:09:43 UTC
Created attachment 333274 [details, diff]
files/freebsd-ubin-9.0-ar-libarchive3.patch
Comment 2 Alexis Ballier gentoo-dev 2013-01-27 22:39:52 UTC
applied to 9.1, thanks