[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] Build fail of GNUnet with alpine linux CI
From: |
Schanzenbach, Martin |
Subject: |
Re: [GNUnet-developers] Build fail of GNUnet with alpine linux CI |
Date: |
Sun, 6 Oct 2019 21:48:26 +0200 |
Seems to me like this is a staged package install for gnunet into
some kind of prefix (in this case
/builds/kdaudt/aports/testing/gnunet/pkg/gnunet/).
while the _actual_ prefix you provide in the configure is different (/usr/)
This apparently confuses ld because it cannot find the libraries (for the
plugins).
you could try adding LDFLAGS to the make install:
make DESTDIR="$pkgdir" LDFLAGS="${LDFLAGS} -L$pkgdir/usr/lib" install
(off the top of my head, YMMV)
or maybe add them to the configure
./configure --prefix=/usr ..blabla.. LDFLAGS="${LDFLAGS} -L$pkgdir/usr/lib"
BR
> On 6. Oct 2019, at 20:37, xrs <address@hidden> wrote:
>
> Hello everybody,
>
> I need some help. One guy of the Alpine Linux community gave me feedback
> having run the new GNUnet package on their CI. On my machine no errors,
> on their CI the following:
>
>> The package seems to fail to build:
>>
>>> /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld:
>>> cannot find -lgnunetats
>>> collect2: error: ld returned 1 exit status
>>> libtool: error: error: relink
>>> 'libgnunet_plugin_ats_proportional.la' with the above command
>>> before installing it.
>>
>> You can find the complete build log here[0].
>>
>> [0]:https://gitlab.alpinelinux.org/kdaudt/aports/-/jobs/2151
>
> Any idea? Possibly also an error on their side. With my test machine
> and the alpine builder system everything looks good.
>
> cheers,
> xrs
>
> _______________________________________________
> GNUnet-developers mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnunet-developers
signature.asc
Description: Message signed with OpenPGP