Commit 5e3b4911 authored by Natanael Copa's avatar Natanael Copa

main/xmlrpc-c: arallel build fix

fix following build error that happens due to buggy Makefile:

ranlib libxmlrpc_util++.a
gcc  -Wl,--as-needed -shared -Wl,-soname,libxmlrpc_util.so.3
asprintf.osh base64.osh error.osh lock_platform.osh lock_pthread.osh
lock_none.osh make_printable.osh memblock.osh select.osh sleep.osh
string_number.osh time.osh utf8.osh -lpthread -o libxmlrpc_util.so.3.39
i586-alpine-linux-musl-g++  -Wl,--as-needed -shared
-Wl,-soname,libxmlrpc_util++.so.8  Lock.osh base64.osh env_wrap.osh
girerr.osh girmem.osh
-L/home/buildozer/aports/main/xmlrpc-c/src/xmlrpc-c-1.39.13/lib/libutil
-lxmlrpc_util -lpthread  -o libxmlrpc_util++.so.8.39
/usr/lib/gcc/i586-alpine-linux-musl/8.2.0/../../../../i586-alpine-linux-musl/bin/ld:
/home/buildozer/aports/main/xmlrpc-c/src/xmlrpc-c-1.39.13/lib/libutil/libxmlrpc_util.so:
file not recognized: file truncated
collect2: error: ld returned 1 exit status
make[2]: ***
[/home/buildozer/aports/main/xmlrpc-c/src/xmlrpc-c-1.39.13/common.mk:173:
libxmlrpc_util++.so.8.39] Error 1
make[2]: Leaving directory
'/home/buildozer/aports/main/xmlrpc-c/src/xmlrpc-c-1.39.13/lib/libutil++'
rm -f libxmlrpc_util.so.3
make[1]: ***
[/home/buildozer/aports/main/xmlrpc-c/src/xmlrpc-c-1.39.13/common.mk:372:
libutil++/all] Error 2
make[1]: *** Waiting for unfinished jobs....
ln -s libxmlrpc_util.so.3.39 libxmlrpc_util.so.3
rm -f libxmlrpc_util.so
ln -s libxmlrpc_util.so.3 libxmlrpc_util.so
make[2]: Leaving directory
'/home/buildozer/aports/main/xmlrpc-c/src/xmlrpc-c-1.39.13/lib/libutil'
make[2]: Leaving directory
'/home/buildozer/aports/main/xmlrpc-c/src/xmlrpc-c-1.39.13/lib/curl_transport'
make[1]: Leaving directory
'/home/buildozer/aports/main/xmlrpc-c/src/xmlrpc-c-1.39.13/lib'
make: ***
[/home/buildozer/aports/main/xmlrpc-c/src/xmlrpc-c-1.39.13/common.mk:372:
lib/all] Error 2
parent 7ca08160
......@@ -30,7 +30,7 @@ build() {
--disable-libwww-client \
--disable-wininet-client \
|| return 1
make AR=ar RANLIB=ranlib
make -j1 AR=ar RANLIB=ranlib
}
package() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment