curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: rpmbuild of curl/libcurl 7.63.0 fails on Mageia Linux v7 x86-64 due to make test link problem

From: Shlomi Fish via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 1 Jan 2019 16:24:55 +0200

On Tue, 1 Jan 2019 12:14:11 +0000
Paul Howarth via curl-library <curl-library_at_cool.haxx.se> wrote:

> On Tue, 1 Jan 2019 11:28:55 +0200
> Shlomi Fish via curl-library <curl-library_at_cool.haxx.se> wrote:
>
> > Hi all and happy new year,
> >
> > when trying to build the curl 7.63.0 SRPM on Mageia Linux v7 x86-64,
> > I get this:
> >
> > * https://www.shlomifish.org/Files/files/text/curl.bm.txt
> >
> > * https://www.shlomifish.org/Files/files/text/log.curl.txt
> >
> > This is in "make test". Quoting from it:
> >
> > <<<<<<<<<<<
> > CC ../../lib/lib1537-warnless.o
> > CCLD lib1537
> > CC lib1538-lib1538.o
> > CC lib1538-first.o
> > CC lib1538-testutil.o
> > CC ../../lib/lib1538-warnless.o
> > CCLD lib1538
> > CC lib1540-lib1540.o
> > CC lib1540-first.o
> > CC lib1540-testutil.o
> > CC ../../lib/lib1540-warnless.o
> > CCLD lib1540
> > CC lib1550-lib1550.o
> > CC lib1550-first.o
> > CCLD lib1550
> > CC lib1551-lib1551.o
> > CC lib1551-first.o
> > CCLD lib1551
> > CC lib1552-lib1552.o
> > CC lib1552-first.o
> > CC lib1552-testutil.o
> > CCLD lib1552
> > CC lib1553-lib1553.o
> > CC lib1553-first.o
> > CC lib1553-testutil.o
> > CCLD lib1553
> > CC lib1554-lib1554.o
> > CC lib1554-first.o
> > CCLD lib1554
> > CC lib1555-lib1555.o
> > CC lib1555-first.o
> > CC lib1555-testutil.o
> > CC ../../lib/lib1555-warnless.o
> > CCLD lib1555
> > CC lib1556-lib1556.o
> > CC lib1556-first.o
> > CC lib1556-testutil.o
> > CC ../../lib/lib1556-warnless.o
> > CCLD lib1556
> > CC lib1557-lib1557.o
> > CC lib1557-first.o
> > CC lib1557-testutil.o
> > CC ../../lib/lib1557-warnless.o
> > CCLD lib1557
> > CC lib1560.o
> > CC first.o
> > CC testutil.o
> > CC ../../lib/warnless.o
> > CCLD lib1560
> > CC lib1900-lib1900.o
> > CC lib1900-first.o
> > CC lib1900-testutil.o
> > CC ../../lib/lib1900-warnless.o
> > CCLD lib1900
> > CC lib2033-libntlmconnect.o
> > CC lib2033-first.o
> > CC lib2033-testutil.o
> > CC ../../lib/lib2033-warnless.o
> > CCLD lib2033
> > CC libhostname_la-sethostname.lo
> > CCLD libhostname.la
> > CC libstubgss_la-stub_gssapi.lo
> > CCLD libstubgss.la
> > /usr/bin/ld: .libs/libstubgss_la-stub_gssapi.o: in function
> > `gss_init_sec_context': /home/shlomif/Download/unpack/Mageia/todel/curl/BUILD/curl-7.63.0/tests/libtest/stub_gssapi.c:210:
> > undefined reference to `curl_msnprintf' collect2: error: ld returned
> > 1 exit status make[2]: *** [Makefile:2166: libstubgss.la] Error 1
> > make[2]: Leaving directory
> > '/home/shlomif/Download/unpack/Mageia/todel/curl/BUILD/curl-7.63.0/tests/libtest'
> > make[1]: *** [Makefile:515: all-recursive] Error 1 make[1]: Leaving
> > directory
> > '/home/shlomif/Download/unpack/Mageia/todel/curl/BUILD/curl-7.63.0/tests'
> > make: *** [Makefile:1378: test] Error 2 error: Bad exit status
> > from /home/shlomif/Download/unpack/Mageia/todel/curl/BUILDROOT/rpm-tmp.jsIw07
> > (%check)
> >
> >
> > RPM build errors:
> > Bad exit status
> > from /home/shlomif/Download/unpack/Mageia/todel/curl/BUILDROOT/rpm-tmp.jsIw07
> > (%check) Error 500 Can't connect to localhost:6300 (Connection
> > refused) at /usr/share/perl5/vendor_perl/App/Notifier/Client.pm line
> > 51.
> > >>>>>>>>>>>>>>>>
> >
> > How can it be fixed?
>
> Fix from Fedora:
> https://src.fedoraproject.org/rpms/curl/blob/c91c27bce90e913a6fdfd4cb42172496d0e264a8/f/0105-curl-7.63.0-libstubgss-ldadd.patch
>
> Paul.

Thanks Paul! I'll try it out.

> -------------------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Let’s talk about restores instead of backups - http://is.gd/WatQqu
When it comes to terminators, you have a better shot at Arnold Schwarzenegger
than at Summer Glau.      (Via The Big Bang Theory)
    — http://www.shlomifish.org/humour/bits/facts/Summer-Glau/
Please reply to list if it's a mailing list post - http://shlom.in/reply .
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2019-01-01