Bug 209060

Summary: textproc/wbxml2 0.11.4 missing libcheck. Wont build on FreeBSD 10.3Stable i386 or amd64
Product: Ports & Packages Reporter: dewayne
Component: Individual Port(s)Assignee: Florian Smeets <flo>
Status: Closed FIXED    
Severity: Affects Some People CC: w.schwarzenfeld
Priority: --- Flags: bugzilla: maintainer-feedback? (flo)
Version: Latest   
Hardware: Any   
OS: Any   

Description dewayne 2016-04-26 01:56:54 UTC
Unfortunately the update to 0.11.4 appears to be missing a library "check"

Fails on both amd64 and i386, # uname -aKU
FreeBSD b1.hs 10.3-STABLE FreeBSD 10.3-STABLE #0 r298349M: Thu Apr 21 10:22:09 AEST 2016    root@hathor:/100202/D/K8/hqdev-amd64-smp-vga  i386 1003501 1003501
with the following message (with MAKE_JOBS_UNSAFE)

/usr/local/libexec/ccache/cc  -O2 -pipe -DOPENSSL_NO_SSL2 -DOPENSSL_NO_SSL3 -g0 -ggdb0 -DSTRIP_FBSDID -UDEBUG -march=pentium3 -mtune=pentium3  -DLIBICONV_PLUG -fno-strict-aliasing -O2 -pipe -DOPENSSL_NOSSL2 -DOPENSSL_NO_SSL3 -g0 -ggdb0 -DSTRIP_FBSDID -UDEBUGGING -UEBUGGING -UDEBUG -march=pentium3 -mtune=pentium3 -DLIBICONV_PLUG -fno-strict-aliasing   CMakeFiles/test_wbxml_errors.dir/test_wbxml_errors.o CMakeFiles/test_wbxm_errors.dir/api_test.o  -o test_wbxml_errors  ../../src/libwbxml2.so.1.0.5 -lcheck /usr/local/lib/libexpat.so -l -Wl,-rpath,/var/ports/usr/ports/textproc/wbxml2/work/.build/src:/usr/local/lib
/usr/bin/ld: cannot find -lcheck
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Comment 1 w.schwarzenfeld 2016-04-26 02:43:09 UTC
Same error on 10.3-RELEASE amd64. But I got it  to compile with gcc5.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-05-01 07:22:57 UTC
A commit references this bug:

Author: flo
Date: Sun May  1 07:21:56 UTC 2016
New revision: 414388
URL: https://svnweb.freebsd.org/changeset/ports/414388

Log:
  Fix the build when libcheck is installed.

  The switch to turn the detection off doesn't work, so remove the part from
  the Makefile.

  PR:		209060
  Reported by:	dewayne@heuristicsystems.com.au, w.schwarzenfeld@aon.at,
  		Zhang Huangbin <zhb@iredmail.org>

Changes:
  head/textproc/wbxml2/Makefile
  head/textproc/wbxml2/files/patch-CMakeLists.txt
Comment 3 Florian Smeets freebsd_committer freebsd_triage 2016-05-01 07:23:35 UTC
A fix has been committed.