FreeBSD 12 - subversion

O. Hartmann ohartman at zedat.fu-berlin.de
Tue Aug 23 16:04:17 UTC 2016


Am Tue, 23 Aug 2016 17:24:07 +0200
Jochen Neumeister <jochen at jochen-neumeister.de> schrieb:

> Is anyone else seeing this
> 
> 
> uname -a
> FreeBSD builder.miwibox.org 12.0-CURRENT FreeBSD 12.0-CURRENT #0
> r303736: Thu Aug  4 05:34:30 UTC 2016    
> root at rescue:/usr/obj/usr/src/sys/MIWIBOX  amd64
> 
> 
> /usr/ports/devel/subversion # make install clean
> 
> 
> [schnipp]
> 
> --- subversion/libsvn_diff/libsvn_diff-1.la ---
> cd subversion/libsvn_diff && /bin/sh
> "/usr/ports/devel/subversion/work/subversion-1.9.4/libtool" --tag=CC
> --silent --mode=link cc  -Werror=unknown-warning-option -O2 -pipe  -fpic
> -DPIC -fstack-protector -fno-strict-aliasing   -O2 -pipe  -fpic -DPIC
> -fstack-protector -fno-strict-aliasing  -fstack-protector 
> -L/usr/local/lib -L/usr/local/lib/db5 -L/usr/local/lib   
> -L/usr/local/lib  -rpath /usr/local/lib -version-info 0  -o
> libsvn_diff-1.la  binary_diff.lo deprecated.lo diff.lo diff3.lo diff4.lo
> diff_file.lo diff_memory.lo diff_tree.lo lcs.lo parse-diff.lo token.lo
> util.lo ../../subversion/libsvn_subr/libsvn_subr-1.la -L/usr/local/lib
> -laprutil-1 -L/usr/local/lib -lapr-1 -lz -lintl
> --- subversion/libsvn_fs_util/libsvn_fs_util-1.la ---
> cd subversion/libsvn_fs_util && /bin/sh
> "/usr/ports/devel/subversion/work/subversion-1.9.4/libtool" --tag=CC
> --silent --mode=link cc  -Werror=unknown-warning-option -O2 -pipe  -fpic
> -DPIC -fstack-protector -fno-strict-aliasing   -O2 -pipe  -fpic -DPIC
> -fstack-protector -fno-strict-aliasing  -fstack-protector 
> -L/usr/local/lib -L/usr/local/lib/db5 -L/usr/local/lib   
> -L/usr/local/lib  -rpath /usr/local/lib -version-info 0  -o
> libsvn_fs_util-1.la  fs-util.lo
> ../../subversion/libsvn_subr/libsvn_subr-1.la -L/usr/local/lib
> -laprutil-1 -L/usr/local/lib -lapr-1 -lintl
> --- tools/dev/x509-parser ---
> cd tools/dev && /bin/sh
> "/usr/ports/devel/subversion/work/subversion-1.9.4/libtool" --tag=CC
> --silent --mode=link cc  -Werror=unknown-warning-option -O2 -pipe  -fpic
> -DPIC -fstack-protector -fno-strict-aliasing   -O2 -pipe  -fpic -DPIC
> -fstack-protector -fno-strict-aliasing  -fstack-protector 
> -L/usr/local/lib -L/usr/local/lib/db5 -L/usr/local/lib   
> -L/usr/local/lib  -rpath /usr/local/lib  -o x509-parser  x509-parser.lo
> ../../subversion/libsvn_subr/libsvn_subr-1.la -L/usr/local/lib -lapr-1
> -lintl
> --- tools/dev/fsfs-access-map ---
> /usr/local/lib/libapr-1.so: undefined reference to `fdatasync at FBSD_1.5'
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> --- tools/dev/x509-parser ---
> /usr/local/lib/libapr-1.so: undefined reference to `fdatasync at FBSD_1.5'
> --- tools/dev/fsfs-access-map ---
> *** [tools/dev/fsfs-access-map] Error code 1
> 
> make[2]: stopped in /usr/ports/devel/subversion/work/subversion-1.9.4
> --- tools/dev/x509-parser ---
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> *** [tools/dev/x509-parser] Error code 1
> 
> make[2]: stopped in /usr/ports/devel/subversion/work/subversion-1.9.4
> 2 errors
> 
> make[2]: stopped in /usr/ports/devel/subversion/work/subversion-1.9.4
> ===> 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/devel/subversion
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/devel/subversion
> 
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"

I see similar problems quite often on our experimental platforms, where we move forward
in compiling the OS and ports perpetually. If I get a hint so clear like yours, I
recompile the port the failing library belongs to. In your case, I guess it is:

 [ports] pkg which /usr/local/lib/libapr-1.so
 /usr/local/lib/libapr-1.so was installed by package apr-1.5.2.1.5.4_1

 pkg which -o /usr/local/lib/libapr-1.so
 /usr/local/lib/libapr-1.so was installed by package devel/apr1 

So, please try recompiling the port devel/apr1 (sometimes, if the port fails to compile,
a "make -C devel/apr1 rmconfig clean" and then reinstalling helps (supoosed you're
in /usr/ports already).

Kind regards,

O. Hartmann





/usr/local/lib/libapr-1.so was installed by package apr-1.5.2.1.5.4_1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20160823/473001e0/attachment.sig>


More information about the freebsd-current mailing list