Bug 191928 - print/hplip doesn't build
Summary: print/hplip doesn't build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-17 18:56 UTC by Loïc Bartoletti
Modified: 2014-07-19 09:26 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Loïc Bartoletti freebsd_committer freebsd_triage 2014-07-17 18:56:07 UTC
Hplip 3.14.4 with snmp option doesn't build:
I don't have libnetsnmp.la but libnetsnmp.so in my localbase:


--- hpmudext.la ---
libtool: link: cc -shared  -fPIC -DPIC  .libs/hpmudext_la-hpmudext.o   -Wl,-rpath -Wl,/usr/ports/print/hplip/work/hplip-3.14.4/.libs -Wl,-rpath -Wl,/usr/local/lib ./.libs/libhpmud.so -lcrypto -L/usr/local/lib  -O2 -Wl,-rpath -Wl,/usr/lib:/usr/local/lib   -Wl,-soname -Wl,hpmudext.so -o .libs/hpmudext.so
--- ptest ---
/bin/sh ./libtool --tag=CC    --mode=link cc  -O2 -pipe -fno-strict-aliasing -DCONFDIR=\"/usr/local/etc/hp\"   -Wl,-rpath,/usr/lib:/usr/local/lib -o ptest ptest.o  fat.o libhpmud.la -lcrypto -L/usr/local/lib
--- scanext.la ---
sed: /usr/local/lib/libnetsnmp.la: No such file or directory
libtool: link: `/usr/local/lib/libnetsnmp.la' is not a valid libtool archive
*** [scanext.la] Error code 1

make[2]: stopped in /usr/ports/print/hplip/work/hplip-3.14.4
--- hp ---
libtool: link: warning: `-version-info' is ignored for programs
libtool: link: cc -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -O2 -pipe -fno-strict-aliasing -DCONFDIR=\"/usr/local/etc/hp\" -Wl,-rpath -Wl,/usr/lib:/usr/local/lib -o .libs/hp hp-hp.o  -lpthread -lnetsnmp -lusb ./.libs/libhpmud.so -L/usr/local/lib /usr/local/lib/libdbus-1.so -lcrypto -Wl,-rpath -Wl,/usr/local/lib
--- hpmudext.la ---
libtool: link: ( cd ".libs" && rm -f "hpmudext.la" && ln -s "../hpmudext.la" "hpmudext.la" )
--- ptest ---
libtool: link: cc -O2 -pipe -fno-strict-aliasing -DCONFDIR=\"/usr/local/etc/hp\" -Wl,-rpath -Wl,/usr/lib:/usr/local/lib -o .libs/ptest ptest.o fat.o  ./.libs/libhpmud.so -lcrypto -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib
1 error

make[2]: stopped in /usr/ports/print/hplip/work/hplip-3.14.4
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/print/hplip
Comment 1 Tijl Coosemans freebsd_committer freebsd_triage 2014-07-19 09:26:42 UTC
This should be fixed in r362242 now.  You have to rebuild sane-backends.