Created attachment 150687 [details] files/patch-tests_rtp_Makefile.in Current build error: gmake[4]: Entering directory '/wrkdirs/usr/ports/net-im/farsight2/work/farsight2-0.0.31/tests/rtp' CC codec_discovery-codec-discovery.o CCLD codec-discovery /nxb-bin/usr/bin/ld: undefined reference to symbol `sqrt@@FBSD_1.0' (try adding -lm) //lib/libm.so.5: could not read symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:381: recipe for target 'codec-discovery' failed The attached patch adds the missing libm. Put the attached file in net-im/farsight2/files build log on armv6: http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/farsight2-0.0.31_2.log and for amd64/current: http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/amd64_farsight2-0.0.31_2.log
Auto-assigned to maintainer gnome@FreeBSD.org
Yeah, this is a pretty common ports bug based on not using /usr/bin/cc I'll check it out and get maintainer approval.
http://tasty.ysv.freebsd.org/build.html?mastername=11-armv6-11-armv6-ports&build=2014-12-31_18h06m07s Verified. Pretty simple patch, I'll do it when I get maintainer approval.
A commit references this bug: Author: kwm Date: Thu Jan 1 23:28:42 UTC 2015 New revision: 376034 URL: https://svnweb.freebsd.org/changeset/ports/376034 Log: Fix farsight2 build on arm, by explicitly linking to -lm for sqrt(3) While here apply the same the same to farstream PR: 196070 Submitted by: mikael.urankar@gmail.com Verified by: sbruno@ Changes: head/net-im/farsight2/files/patch-tests_rtp_Makefile.in head/net-im/farstream/files/ head/net-im/farstream/files/patch-tests_rtp_Makefile.in