curl / Mailing Lists / curl-library / Single Mail


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 <>
Date: Tue, 1 Jan 2019 11:28:55 +0200

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:



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
  CC libstubgss_la-stub_gssapi.lo
/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:] Error 1
make[2]: Leaving directory
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

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/ line 51.

How can it be fixed?

Shlomi Fish - open source Solitaire games
“You are banished! You are banished! You are banished!
Hey! I’m just kidding!”
Please reply to list if it's a mailing list post - .
Received on 2019-01-01