Am 16.05.20 um 17:13 schrieb Matthias Andree: > Am 16.05.20 um 16:05 schrieb Kurt Jaeger: >> Hi! >> >>> Problems building net/librsync, please advice :-) >>> >>> Looking forward to having duplicity installed! :) >> Please try to use poudriere to build it. I tested it, works fine. >> > Kurt, > > That's reaching too short. I can see that it build in poudriere, but it > appears to do something differently from a live system: > >> ===> Performing out-of-source build >> -/bin/mkdir -p /usr/ports.svn/net/librsync/work/.build >> +/bin/mkdir -p /wrkdirs/usr/ports/net/librsync/work/.build >> -- The C compiler identification is Clang 8.0.1 >> -- Check for working C compiler: /usr/local/libexec/ccache/cc >> -- Check for working C compiler: /usr/local/libexec/ccache/cc - works >> [...] >> --- CMAKE_SYSTEM = FreeBSD-12.1-RELEASE-p5 >> +-- CMAKE_SYSTEM = FreeBSD-12.1-RELEASE-p4 >> +-- Found POPT: /usr/local/lib/libpopt.so >> -- Found components for POPT >> -- POPT_ROOT_DIR = /usr/local >> -- POPT_INCLUDE_DIRS = /usr/local/include >> --- POPT_LIBRARIES = popt >> +-- POPT_LIBRARIES = /usr/local/lib/libpopt.so >> -- Found BZip2: /usr/lib/libbz2.so (found version "1.0.8") >> -- Looking for BZ2_bzCompressInit >> -- Looking for BZ2_bzCompressInit - found > And the POPT_LIBRARIES=... difference is breaking the build. Adding > LDFLAGS+=-L${LOCALBASE}/lib fixes the ports build for me. Now let's go > for the root cause... > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Update: (sunpoet@ I hope you don't mind my fixing your port) - we've had an older bug report from 2020-04-10, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245514 - Franco Fichtner had provided a similar fix as of 2020-04-29, the maintainer (sunpoet@, on Cc:) hadn't responded since, so I was permitted to commit; fix committed in r535475. You can tell that you have the current version if after update you can see a ${CHMOD} near pre-test: at the end of net/librsync/Makefile. - upstream bug report filed against what I believe to be the culprit, the upstream file cmake/FindPOPT.cmake seems to be broken in case pkgconf or pkg-config or equivalent are found during "make configure" (i. e. while cmake is running). HTH. If not, please reopen and follow up on Bug 245514 above. Regards Matthias _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"