Bug 187288 - sysutils/dar Fails to Build on 9.1-RELEASE
Summary: sysutils/dar Fails to Build on 9.1-RELEASE
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-05 17:50 UTC by Ryan Frederick
Modified: 2014-07-12 00:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Frederick 2014-03-05 17:50:00 UTC
sysutils/dar 2.4.12 fails to build on 9.1-RELEASE with the following error:

Making all in check
g++ -DHAVE_CONFIG_H -I. -I../..   -I../libdar -DDAR_LOCALEDIR=\"/usr/local/share/locale\"  -DDAR_SYS_DIR=\"/usr/local/etc\"  -I/usr/loc
al/include  -O2 -pipe -fno-strict-aliasing -MT all_features.o -MD -MP -MF .deps/all_features.Tpo -c -o all_features.o all_features.cpp
mv -f .deps/all_features.Tpo .deps/all_features.Po
/bin/sh /usr/local/bin/libtool --tag=CXX    --mode=link g++  -O2 -pipe -fno-strict-aliasing -L/usr/local/lib -lintl -L/usr/local/lib -liconv -R/usr/local/lib  -L/usr/local/lib -o all_features all_features.o -L../libdar -ldar -lexecinfo -pthread -lbz2 -lz -lelf
libtool: link: g++ -O2 -pipe -fno-strict-aliasing -o all_features all_features.o -pthread  -L/usr/local/lib /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -L../libdar /usr/local/lib/libdar.so -lpthread -lcrypto -lexecinfo -lbz2 -lz -lelf -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib
all_features.o: In function `main':
all_features.cpp:(.text+0x229): undefined reference to `libdar::get_version(unsigned int&, unsigned int&, unsigned int&, bool)'
all_features.cpp:(.text+0x2ff): undefined reference to `libdar::compile_time::libz()'
all_features.cpp:(.text+0x392): undefined reference to `libdar::compile_time::libbz2()'
all_features.cpp:(.text+0x3a1): undefined reference to `libdar::compile_time::liblzo()'
all_features.cpp:(.text+0x4ba): undefined reference to `libdar::compile_time::libgcrypt()'
all_features.cpp:(.text+0x6e1): undefined reference to `libdar::close_and_clean()'
all_features.cpp:(.text+0x7da): undefined reference to `libdar::close_and_clean()'
*** [all_features] Error code 1
1 error
*** [all-recursive] Error code 1
1 error
*** [all-recursive] Error code 1
1 error
*** [all] Error code 2
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/sysutils/dar.
*** [build] Error code 1

Stop in /usr/ports/sysutils/dar.

===>>> make failed for sysutils/dar
===>>> Aborting update

===>>> Update for sysutils/dar failed
===>>> Aborting update

===>>> Killing background jobs
Terminated
Comment 1 graham 2014-03-20 18:48:36 UTC
Ditto on 9-Stable
Comment 2 graham 2014-03-24 08:10:13 UTC
As a workaround, "rm /usr/local/lib/libdar*" and the build will then
complete.

Graham
Comment 3 John Marino freebsd_committer freebsd_triage 2014-07-12 00:10:50 UTC
dar builds fine everywhere now:
http://portsmon.freebsd.org/portoverview.py?category=sysutils&portname=dar