Date: Sat, 16 May 2020 15:47:20 +0200 From: Jakob Breivik Grimstveit <jakob@grimstveit.no> To: FreeBSD Ports mailing list <freebsd-ports@freebsd.org> Subject: Build error net/librsync (unable to find library -lpopt) Message-ID: <CAFVH1KXcyMR7nHC0xeAO=Wkdm%2BCrt=d6p1QyrAaeNfM18K6qrg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Problems building net/librsync, please advice :-) Looking forward to having duplicity installed! :) # uname -a FreeBSD core24.grimstveit.no 12.1-RELEASE-p5 FreeBSD 12.1-RELEASE-p5 3135379a043(releng/12.1) CORE24 amd64 `make` in /usr/ports/net/librsync gives me this error: [29/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/emit.c.o -MF CMakeFiles/rsync.dir/src/emit.c.o.d -o CMakeFiles/rsync.dir/src/emit.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/emit.c [30/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/fileutil.c.o -MF CMakeFiles/rsync.dir/src/fileutil.c.o.d -o CMakeFiles/rsync.dir/src/fileutil.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/fileutil.c [31/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/hashtable.c.o -MF CMakeFiles/rsync.dir/src/hashtable.c.o.d -o CMakeFiles/rsync.dir/src/hashtable.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/hashtable.c [32/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/hex.c.o -MF CMakeFiles/rsync.dir/src/hex.c.o.d -o CMakeFiles/rsync.dir/src/hex.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/hex.c [33/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/job.c.o -MF CMakeFiles/rsync.dir/src/job.c.o.d -o CMakeFiles/rsync.dir/src/job.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/job.c [34/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/mdfour.c.o -MF CMakeFiles/rsync.dir/src/mdfour.c.o.d -o CMakeFiles/rsync.dir/src/mdfour.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/mdfour.c [35/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/mksum.c.o -MF CMakeFiles/rsync.dir/src/mksum.c.o.d -o CMakeFiles/rsync.dir/src/mksum.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/mksum.c [36/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/msg.c.o -MF CMakeFiles/rsync.dir/src/msg.c.o.d -o CMakeFiles/rsync.dir/src/msg.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/msg.c [37/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/netint.c.o -MF CMakeFiles/rsync.dir/src/netint.c.o.d -o CMakeFiles/rsync.dir/src/netint.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/netint.c [38/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/patch.c.o -MF CMakeFiles/rsync.dir/src/patch.c.o.d -o CMakeFiles/rsync.dir/src/patch.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/patch.c [39/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/readsums.c.o -MF CMakeFiles/rsync.dir/src/readsums.c.o.d -o CMakeFiles/rsync.dir/src/readsums.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/readsums.c [40/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/rollsum.c.o -MF CMakeFiles/rsync.dir/src/rollsum.c.o.d -o CMakeFiles/rsync.dir/src/rollsum.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/rollsum.c [41/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/scoop.c.o -MF CMakeFiles/rsync.dir/src/scoop.c.o.d -o CMakeFiles/rsync.dir/src/scoop.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/scoop.c [42/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/stats.c.o -MF CMakeFiles/rsync.dir/src/stats.c.o.d -o CMakeFiles/rsync.dir/src/stats.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/stats.c [43/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/stream.c.o -MF CMakeFiles/rsync.dir/src/stream.c.o.d -o CMakeFiles/rsync.dir/src/stream.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/stream.c [44/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/sumset.c.o -MF CMakeFiles/rsync.dir/src/sumset.c.o.d -o CMakeFiles/rsync.dir/src/sumset.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/sumset.c [45/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/trace.c.o -MF CMakeFiles/rsync.dir/src/trace.c.o.d -o CMakeFiles/rsync.dir/src/trace.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/trace.c [46/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/tube.c.o -MF CMakeFiles/rsync.dir/src/tube.c.o.d -o CMakeFiles/rsync.dir/src/tube.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/tube.c [47/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/util.c.o -MF CMakeFiles/rsync.dir/src/util.c.o.d -o CMakeFiles/rsync.dir/src/util.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/util.c [48/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/version.c.o -MF CMakeFiles/rsync.dir/src/version.c.o.d -o CMakeFiles/rsync.dir/src/version.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/version.c [49/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/whole.c.o -MF CMakeFiles/rsync.dir/src/whole.c.o.d -o CMakeFiles/rsync.dir/src/whole.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/whole.c [50/69] /usr/bin/cc -Drsync_EXPORTS -Isrc -I/usr/ports/net/librsync/work/librsync-2.3.0/src -I/usr/local/include -I/usr/ports/net/librsync/work/librsync-2.3.0/src/blake2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -MD -MT CMakeFiles/rsync.dir/src/blake2/blake2b-ref.c.o -MF CMakeFiles/rsync.dir/src/blake2/blake2b-ref.c.o.d -o CMakeFiles/rsync.dir/src/blake2/blake2b-ref.c.o -c /usr/ports/net/librsync/work/librsync-2.3.0/src/blake2/blake2b-ref.c [51/69] : && /usr/bin/cc -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -shared -Wl,-soname,librsync.so.2 -o librsync.so.2.3.0 CMakeFiles/rsync.dir/src/prototab.c.o CMakeFiles/rsync.dir/src/base64.c.o CMakeFiles/rsync.dir/src/buf.c.o CMakeFiles/rsync.dir/src/checksum.c.o CMakeFiles/rsync.dir/src/command.c.o CMakeFiles/rsync.dir/src/delta.c.o CMakeFiles/rsync.dir/src/emit.c.o CMakeFiles/rsync.dir/src/fileutil.c.o CMakeFiles/rsync.dir/src/hashtable.c.o CMakeFiles/rsync.dir/src/hex.c.o CMakeFiles/rsync.dir/src/job.c.o CMakeFiles/rsync.dir/src/mdfour.c.o CMakeFiles/rsync.dir/src/mksum.c.o CMakeFiles/rsync.dir/src/msg.c.o CMakeFiles/rsync.dir/src/netint.c.o CMakeFiles/rsync.dir/src/patch.c.o CMakeFiles/rsync.dir/src/readsums.c.o CMakeFiles/rsync.dir/src/rollsum.c.o CMakeFiles/rsync.dir/src/scoop.c.o CMakeFiles/rsync.dir/src/stats.c.o CMakeFiles/rsync.dir/src/stream.c.o CMakeFiles/rsync.dir/src/sumset.c.o CMakeFiles/rsync.dir/src/trace.c.o CMakeFiles/rsync.dir/src/tube.c.o CMakeFiles/rsync.dir/src/util.c.o CMakeFiles/rsync.dir/src/version.c.o CMakeFiles/rsync.dir/src/whole.c.o CMakeFiles/rsync.dir/src/blake2/blake2b-ref.c.o && : [52/69] /usr/local/bin/cmake -E cmake_symlink_library librsync.so.2.3.0 librsync.so.2 librsync.so && : [53/69] : && /usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -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 -fstack-protector-strong -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -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 -- Vyrdsam helsing, Jakob Breivik Grimstveit | +47 482 98 152 http://grimstveit.no/jakob
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFVH1KXcyMR7nHC0xeAO=Wkdm%2BCrt=d6p1QyrAaeNfM18K6qrg>