View previous topic :: View next topic |
Author |
Message |
elsphinc Tux's lil' helper
Joined: 24 Oct 2002 Posts: 139 Location: Lake Tahoe
|
Posted: Fri Apr 21, 2017 6:29 pm Post subject: hplip emerge problem [SOLVED] |
|
|
hplip failing to emerge
Code: | Calculating dependencies... done!
[ebuild N ] net-print/hplip-3.16.3::gentoo USE="X hpcups libnotify policykit qt4 -doc -fax -hpijs -kde -libusb0 -minimal -parport -scanner -snmp -static-ppds" PYTHON_TARGETS="python2_7" 0 Ki |
Code: | libtool: relink: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/libhpipp_la-hp_ipp.o -Wl,--as-needed -L/var/tmp/portage/net-print/hplip-3.16.3/image//usr/lib64 -L/usr/lib64 -lhpmud -lpthread -ldl -lusb-1.0 -march=native -O2 -Wl,-O1 -Wl,-soname -Wl,libhpipp.so.0 -o .libs/libhpipp.so.0.0.1
/var/tmp/portage/net-print/hplip-3.16.3/work/hplip-3.16.3/.libs/libhpipp.so: file not recognized: File truncated
collect2: error: ld returned 1 exit status
libtool: install: /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c .libs/libhpipp.so.0.0.1T /var/tmp/portage/net-print/hplip-3.16.3/image//usr/lib64/libhpipp.so.0.0.1
libtool: install: (cd /var/tmp/portage/net-print/hplip-3.16.3/image//usr/lib64 && { ln -s -f libhpipp.so.0.0.1 libhpipp.so.0 || { rm -f libhpipp.so.0 && ln -s libhpipp.so.0.0.1 libhpipp.so.0; }; })
libtool: install: (cd /var/tmp/portage/net-print/hplip-3.16.3/image//usr/lib64 && { ln -s -f libhpipp.so.0.0.1 libhpipp.so || { rm -f libhpipp.so && ln -s libhpipp.so.0.0.1 libhpipp.so; }; })
libtool: install: /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c .libs/libhpipp.lai /var/tmp/portage/net-print/hplip-3.16.3/image//usr/lib64/libhpipp.la
libtool: error: error: relink 'cupsext.la' with the above command before installing it
make[1]: *** [Makefile:5260: install-cupsextLTLIBRARIES] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: warning: remember to run 'libtool --finish /usr/lib64'
make[1]: Leaving directory '/var/tmp/portage/net-print/hplip-3.16.3/work/hplip-3.16.3'
make: *** [Makefile:9315: install-am] Error 2
* ERROR: net-print/hplip-3.16.3::gentoo failed (install phase):
* emake failed |
Ideas? _________________ elsphinc # kickin_ass &
mysql> create database namesdb;
Last edited by elsphinc on Fri Apr 21, 2017 7:16 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Fri Apr 21, 2017 6:53 pm Post subject: |
|
|
Try to compile with MAKEOPTS="-j1". _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
elsphinc Tux's lil' helper
Joined: 24 Oct 2002 Posts: 139 Location: Lake Tahoe
|
Posted: Fri Apr 21, 2017 7:16 pm Post subject: |
|
|
That worked. Not sure how you came to that solution, but it worked thanks. _________________ elsphinc # kickin_ass &
mysql> create database namesdb; |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Fri Apr 21, 2017 7:48 pm Post subject: |
|
|
elsphinc wrote: | That worked. Not sure how you came to that solution, but it worked thanks. |
Simply with a google search. I found this changelog:
Quote: | - Using again plain 'make' instead of 'make %{?_smp_mflags}'
(cf. the entry below dated "Sun Apr 20 09:48:39 UTC 2014")
and plain 'make ... install' instead of
'make ... install %{?_smp_mflags}' to avoid random obscure
build failures with errors like "libtool: install: error: relink
`cupsext.la' with the above command before installing it", cf.
http://lists.gnu.org/archive/html/automake/2010-03/msg00039.html |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|