diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-12-24 15:00:44 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-12-24 15:00:44 +0000 |
commit | 5e3b491161c075e563c215753fad7f257093017d (patch) | |
tree | f3b646434f16c0e8d5eea731101168b422f468e2 | |
parent | 7ca08160b8151c39e4fbd4711e175a4d0669280b (diff) | |
download | aports-5e3b491161c075e563c215753fad7f257093017d.tar.bz2 aports-5e3b491161c075e563c215753fad7f257093017d.tar.xz |
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
-rw-r--r-- | main/xmlrpc-c/APKBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/xmlrpc-c/APKBUILD b/main/xmlrpc-c/APKBUILD index ee2c6c14b1..ddadf4cc44 100644 --- a/main/xmlrpc-c/APKBUILD +++ b/main/xmlrpc-c/APKBUILD @@ -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() { |