Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2020 22:44:54 +0200
From:      Jakob Breivik Grimstveit <jakob@grimstveit.no>
To:        Matthias Andree <matthias.andree@gmx.de>
Cc:        Kurt Jaeger <pi@freebsd.org>, Po-Chuan Hsieh <sunpoet@freebsd.org>,  Xavier Humbert <xavier@groumpf.org>, freebsd-ports@freebsd.org
Subject:   Re: Build error net/librsync (unable to find library -lpopt)
Message-ID:  <CAFVH1KXKqaTptJyR5w6Lyqt01HUWP=5ee8NBH5Y8Uzg5A4vW9Q@mail.gmail.com>
In-Reply-To: <2561e742-ba01-393a-29e4-33907de2413f@gmx.de>
References:  <CAFVH1KXcyMR7nHC0xeAO=Wkdm%2BCrt=d6p1QyrAaeNfM18K6qrg@mail.gmail.com> <20200516140559.GX39563@home.opsec.eu> <36af14f0-de6b-d0a5-cf65-ec153ad8445a@gmx.de> <2561e742-ba01-393a-29e4-33907de2413f@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Much appreciated, fix works great, now able to install duplicity without
any problems =F0=9F=98=8E=F0=9F=91=8D=F0=9F=8F=BB



l=C3=B8r. 16. mai 2020 kl. 18:10 skrev Matthias Andree <matthias.andree@gmx=
.de>:

> 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:
> >
> >>  =3D=3D=3D>  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 =3D FreeBSD-12.1-RELEASE-p5
> >> +-- CMAKE_SYSTEM =3D FreeBSD-12.1-RELEASE-p4
> >> +-- Found POPT: /usr/local/lib/libpopt.so
> >>  -- Found components for POPT
> >>  -- POPT_ROOT_DIR  =3D /usr/local
> >>  -- POPT_INCLUDE_DIRS  =3D /usr/local/include
> >> --- POPT_LIBRARIES =3D popt
> >> +-- POPT_LIBRARIES =3D /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=3D... difference is breaking the build. Adding
> > LDFLAGS+=3D-L${LOCALBASE}/lib fixes the ports build for me. Now let's g=
o
> > 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-unsubscribe@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=3D245514
>
> - 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
>
>
> --


--=20
Jakob Breivik Grimstveit
48298152 / http://grimstveit.no/jakob



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFVH1KXKqaTptJyR5w6Lyqt01HUWP=5ee8NBH5Y8Uzg5A4vW9Q>