Bug 196717 - textproc/libxml2: doesn't build on -CURRENT (AMD64)
Summary: textproc/libxml2: doesn't build on -CURRENT (AMD64)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-14 11:20 UTC by Daniel Engberg
Modified: 2015-01-15 18:26 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2015-01-14 11:20:41 UTC
Build log:

....
sed -e 's?\@XML_LIBDIR\@?-L/usr/local/lib?g' \
    -e 's?\@XML_INCLUDEDIR\@?-I/usr/local/include/libxml2 -I/usr/include?g' \
    -e 's?\@VERSION\@?2.9.2?g' \
    -e 's?\@XML_LIBS\@?-lxml2 -lz  -L/usr/lib -lm ?g' \
       < ./xml2Conf.sh.in > xml2Conf.tmp \
&& mv xml2Conf.tmp xml2Conf.sh
  CCLD     testdso.la
  CCLD     libxml2.la
/usr/bin/ld: skipping incompatible /usr/lib32/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib32/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib32/liblzma.so when searching for -llzma
/usr/bin/ld: skipping incompatible /usr/lib32/liblzma.a when searching for -llzma
/usr/bin/ld: skipping incompatible /usr/lib32/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib32/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib32/libgcc.a when searching for -lgcc
/usr/bin/ld: skipping incompatible /usr/lib32/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib32/libc.so.7 when searching for /usr/lib32/libc.so.7
/usr/bin/ld: cannot find /usr/lib32/libc.so.7
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:958: recipe for target 'libxml2.la' failed
gmake[4]: *** [libxml2.la] Error 1
gmake[4]: Leaving directory '/usr/ports/textproc/libxml2/work/libxml2-2.9.2'
Makefile:1429: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/textproc/libxml2/work/libxml2-2.9.2'
Makefile:847: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/ports/textproc/libxml2/work/libxml2-2.9.2'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/textproc/libxml2
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/libxml2

FreeBSD 11.0-CURRENT #0 r276959: Wed Jan 14 01:25:36 CET 2015
Ports about 2 hours old from posting
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-14 11:20:41 UTC
Auto-assigned to maintainer gnome@FreeBSD.org
Comment 2 Koop Mast freebsd_committer freebsd_triage 2015-01-14 21:05:38 UTC
Never saw this before, I'm currently upgrading my CURRENT machine and will try to reproduce this. I do find it suspicious that it messing around with lib32 for some reason..
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2015-01-14 22:40:06 UTC
This was a bug in head,  please update past r276962 and try again https://svnweb.freebsd.org/changeset/base/276962
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2015-01-15 18:26:43 UTC
Confirmed working on FreeBSD 11.0-CURRENT #0 r277203

Thanks for the fast reply