ports/188228: Upgrade of dar from 2.3 to 2.4 fails to compile

Jens Jahnke jan0sch at gmx.net
Thu Apr 3 16:00:00 UTC 2014


>Number:         188228
>Category:       ports
>Synopsis:       Upgrade of dar from 2.3 to 2.4 fails to compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 03 16:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Jens Jahnke
>Release:        9.2
>Organization:
>Environment:
FreeBSD thor.rostock.home 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
If I try to upgrade my dar from 2.3 to version 2.4 then I get the following error message on compile:

/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_f
eatures 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/loc
al/lib -Wl,-rpath -Wl,/usr/local/lib
all_features.o: In function `main':
all_features.cpp:(.text+0x200): undefined reference to `libdar::get_version(unsigned long&, 
unsigned long&, unsigned long&, bool)'
all_features.cpp:(.text+0x2cd): undefined reference to `libdar::compile_time::libz()'
all_features.cpp:(.text+0x34e): undefined reference to `libdar::compile_time::libbz2()'
all_features.cpp:(.text+0x361): undefined reference to `libdar::compile_time::liblzo()'
all_features.cpp:(.text+0x45e): undefined reference to `libdar::compile_time::libgcrypt()'
all_features.cpp:(.text+0x686): undefined reference to `libdar::close_and_clean()'
all_features.cpp:(.text+0x779): 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.

>How-To-Repeat:

>Fix:
If the previous installation of dar is removed e.g. by `pkg delete dar` then the port compiles just fine.

Maybe this should be mentioned in UPDATING.


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list