net/librsync does not build
Xavier Humbert
xavier at groumpf.org
Thu Apr 23 16:54:20 UTC 2020
Hi,
net/librsync apparently can't find libpopt :
> [root at numenor librsync]# MAKE_JOBS_UNSAFE=yes make
> ===> Building for librsync-2.3.0
> [1/1] : && /usr/bin/cc -O2 -pipe -g -march=core2 -fstack-protector-strong
> -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -g -march=core2
> -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong
> CMakeFiles/rdiff.dir/src/rdiff.c.o CMakeFiles/rdiff.dir/src/isprefix.c.o
> -o rdiff -Wl,-rpath,/usr/ports/net/librsync/work/.build:
> librsync.so.2.3.0 -lpopt && :
> FAILED: rdiff
> : && /usr/bin/cc -O2 -pipe -g -march=core2 -fstack-protector-strong
> -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -g -march=core2
> -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong
> CMakeFiles/rdiff.dir/src/rdiff.c.o CMakeFiles/rdiff.dir/src/isprefix.c.o
> -o rdiff -Wl,-rpath,/usr/ports/net/librsync/work/.build:
> librsync.so.2.3.0 -lpopt && :
> ld: error: unable to find library -lpopt
> cc: error: linker command failed with exit code 1 (use -v to see
> invocation)
> ninja: build stopped: subcommand failed.
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/net/librsync
>
However :
> [root at numenor librsync]# ll /usr/local/lib/libpopt.*
> -rw-r--r-- 1 root wheel 73960 Apr 19 02:58 /usr/local/lib/libpopt.a
> lrwxr-xr-x 1 root wheel 16 Apr 19 02:58
> /usr/local/lib/libpopt.so@ -> libpopt.so.0.0.0
> lrwxr-xr-x 1 root wheel 16 Apr 19 02:58
> /usr/local/lib/libpopt.so.0@ -> libpopt.so.0.0.0
> -rwxr-xr-x 1 root wheel 56832 Apr 19 02:58
> /usr/local/lib/libpopt.so.0.0.0*
What is the problem ?
Thxs
Regards
Xavier
--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
More information about the freebsd-ports
mailing list