Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409623 - Keyword ~x86-fbsd on mail-filter/libsrs_alt-1.0
Summary: Keyword ~x86-fbsd on mail-filter/libsrs_alt-1.0
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
Depends on:
Blocks: 235785
  Show dependency tree
Reported: 2012-03-25 11:25 UTC by Naohiro Aota
Modified: 2012-04-17 11:57 UTC (History)
1 user (show)

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

complete build.log (build.log,21.53 KB, text/plain)
2012-03-25 11:25 UTC, Naohiro Aota
libsrs_alt-1.0-ftime.patch (libsrs_alt-1.0-ftime.patch,313 bytes, patch)
2012-04-02 12:01 UTC, Naohiro Aota
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2012-03-25 11:25:48 UTC
Created attachment 306593 [details]
complete build.log

ATM, build failed with:

i686-gentoo-freebsd8.2-gcc -O2 -march=native -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -o test test.o  src/.libs/libsrs_alt.a lib/libcompat.a
test.o: In function `main':
test.c:(.text+0x122): undefined reference to `ftime'
test.c:(.text+0x2fd): undefined reference to `ftime'
test.c:(.text+0x39b): undefined reference to `ftime'
test.c:(.text+0x4a6): undefined reference to `ftime'
collect2: ld returned 1 exit status
gmake[2]: *** [test] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/mail-filter/libsrs_alt-1.0/work/libsrs_alt-1.0'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/mail-filter/libsrs_alt-1.0/work/libsrs_alt-1.0'
gmake: *** [all] Error 2
emake failed
Comment 1 Naohiro Aota gentoo-dev 2012-04-02 12:01:29 UTC
Created attachment 307479 [details, diff]

It need this patch to get built. 

ftime() is included in glibc on Linux, so AC_CHECK_LIB is not needed
for glibc machine.  OTOH it's included in libcompat on FreeBSD. It
require AC_CHECK_LIB(compat, ftime)
Comment 2 Naohiro Aota gentoo-dev 2012-04-17 11:57:31 UTC
Patch added.