Bug 141770 - Cannot install ports/sysutils/nut
Summary: Cannot install ports/sysutils/nut
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-19 08:00 UTC by Andrei V. Lavreniyuk
Modified: 2009-12-19 19:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei V. Lavreniyuk 2009-12-19 08:00:13 UTC
cc -DHAVE_CONFIG_H -I. -I../include    -I../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include     -I/usr/local/include/neon    -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -Wall -Wsign-compare -MT netxml-ups.o -MD -MP -MF .deps/netxml-ups.Tpo -c -o netxml-ups.o netxml-ups.c
mv -f .deps/netxml-ups.Tpo .deps/netxml-ups.Po
cc -DHAVE_CONFIG_H -I. -I../include    -I../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include     -I/usr/local/include/neon    -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -Wall -Wsign-compare -MT mge-xml.o -MD -MP -MF .deps/mge-xml.Tpo -c -o mge-xml.o mge-xml.c
mge-xml.c: In function 'mge_xml_cdata_cb':
mge-xml.c:891: warning: field precision should have type 'int', but argument 4 has type 'size_t'
mge-xml.c:897: warning: field precision should have type 'int', but argument 4 has type 'size_t'
mge-xml.c:897: warning: field precision should have type 'int', but argument 4 has type 'size_t'
mv -f .deps/mge-xml.Tpo .deps/mge-xml.Po
/bin/sh ../libtool --tag=CC   --mode=link cc -I../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include     -I/usr/local/include/neon    -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -Wall -Wsign-compare   -o netxml-ups netxml-ups.o mge-xml.o ../common/libcommon.a ../common/libparseconf.la main.o dstate.o -L/usr/local/lib -lneon
libtool: link: cc -I../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/neon -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -Wall -Wsign-compare -o netxml-ups netxml-ups.o mge-xml.o main.o dstate.o  ../common/libcommon.a ../common/.libs/libparseconf.a -L/usr/local/lib /usr/local/lib/libneon.so -L/usr/lib /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lssl -lz -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lroken -lcrypt /usr/local/lib/libexpat.so -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib
/usr/bin/ld: cannot find -lkrb5
gmake[1]: *** [netxml-ups] Ошибка 1
gmake[1]: Leaving directory `/usr/ports/sysutils/nut/work/nut-2.4.1/drivers'
gmake: *** [all-recursive] Ошибка 1
*** Error code 1

Stop in /usr/ports/sysutils/nut.
*** Error code 1

Stop in /usr/ports/sysutils/nut.

How-To-Repeat: # cd /usr/ports/sysutils/nut
# make


-----
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for nut-2.4.1_2
_OPTIONS_READ=nut-2.4.1_2
WITH_SERIAL=true
WITH_USB=true
WITHOUT_SNMP=true
WITH_NEON=true
WITHOUT_PDU=true
WITH_HAL=true
WITHOUT_IPV6=true
WITH_CGI=true
-----
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2009-12-19 14:13:35 UTC
State Changed
From-To: open->feedback

Cannot reproduce. Can you post your make.conf? Perhaps you disabled KERBEROS 
build in buildworld? 


Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2009-12-19 14:13:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Cannot reproduce. Can you post your make.conf? Perhaps you disabled KERBEROS 
build in buildworld?
Comment 3 Andrei V. Lavreniyuk 2009-12-19 16:52:50 UTC
Hi!

 > Responsible-Changed-From-To: freebsd-ports-bugs->pav
 > Responsible-Changed-By: pav
 > Responsible-Changed-When: Sat Dec 19 14:13:35 UTC 2009
 > Responsible-Changed-Why:

 > Cannot reproduce. Can you post your make.conf? Perhaps you disabled 
KERBEROS
 > build in buildworld?

 > http://www.freebsd.org/cgi/query-pr.cgi?pr=141770


My src.conf:

#WITHOUT_BIND=true
#WITHOUT_BIND_DNSSEC=true
#WITHOUT_BIND_ETC=true
#WITHOUT_BIND_LIBS_LWRES=true
#WITHOUT_BIND_MTREE=true
#WITHOUT_BIND_NAMED=true
#WITHOUT_BIND_UTILS=true
#WITHOUT_KERBEROS=true
#WITHOUT_KERBEROS_SUPPORT=true
#WITHOUT_OPENSSH=true
WITHOUT_OPENSSL=true
WITHOUT_INET6=true
WITHOUT_INET6_SUPPORT=true


buildworld ignore #?  Its bug?


Thanks!


-- 
  Best regards, Andrei V. Lavreniyuk.
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2009-12-19 17:04:10 UTC
State Changed
From-To: feedback->closed

Submitter have non-default world configuration (namely, WITHOUT_OPENSSL)
Comment 5 Andrei V. Lavreniyuk 2009-12-19 18:59:19 UTC
Hi!



New error...

# pkg_info -E hal\*
hal-0.5.13_12



-------------
/bin/sh ../libtool --tag=CC   --mode=link cc -I../include 
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal 
-I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include/neon    -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe 
-march=native -mtune=native -fstack-protector 
-fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat 
-Wformat-security -s -Wall -Wsign-compare   -o netxml-ups netxml-ups.o 
mge-xml.o ../common/libcommon.a ../common/libparseconf.la main.o 
dstate.o -L/usr/local/lib -lneon
libtool: link: cc -I../include -DDBUS_API_SUBJECT_TO_CHANGE 
-I/usr/local/include/hal -I/usr/local/include/dbus-1.0 
-I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/neon -O2 -pipe 
-O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native 
-fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing 
-Wformat -Wformat-security -s -Wall -Wsign-compare -o netxml-ups 
netxml-ups.o mge-xml.o main.o dstate.o  ../common/libcommon.a 
../common/.libs/libparseconf.a -L/usr/local/lib 
/usr/local/lib/libneon.so /usr/local/lib/libintl.so 
/usr/local/lib/libiconv.so -lssl -lcrypto -lz /usr/local/lib/libexpat.so 
-Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib
cc -DHAVE_CONFIG_H -I. -I../include    -I../include 
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal 
-I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include/neon    -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe 
-march=native -mtune=native -fstack-protector 
-fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat 
-Wformat-security -s -Wall -Wsign-compare -MT upsdrvctl.o -MD -MP -MF 
.deps/upsdrvctl.Tpo -c -o upsdrvctl.o upsdrvctl.c
mv -f .deps/upsdrvctl.Tpo .deps/upsdrvctl.Po
/bin/sh ../libtool --tag=CC   --mode=link cc -I../include 
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal 
-I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include/neon    -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe 
-march=native -mtune=native -fstack-protector 
-fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat 
-Wformat-security -s -Wall -Wsign-compare   -o upsdrvctl upsdrvctl.o 
../common/libcommon.a ../common/libparseconf.la
libtool: link: cc -I../include -DDBUS_API_SUBJECT_TO_CHANGE 
-I/usr/local/include/hal -I/usr/local/include/dbus-1.0 
-I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/neon -O2 -pipe 
-O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native 
-fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing 
-Wformat -Wformat-security -s -Wall -Wsign-compare -o upsdrvctl 
upsdrvctl.o  ../common/libcommon.a ../common/.libs/libparseconf.a
cc -DHAVE_CONFIG_H -I. -I../include    -I../include 
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal 
-I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include/neon    -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe 
-march=native -mtune=native -fstack-protector 
-fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat 
-Wformat-security -s -Wall -Wsign-compare -MT main-hal.o -MD -MP -MF 
.deps/main-hal.Tpo -c -o main-hal.o main-hal.c
In file included from main-hal.c:29:
dstate-hal.h:31:24: error: hal/libhal.h: No such file or directory
main-hal.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
main-hal.c: In function 'main':
main-hal.c:219: error: 'halctx' undeclared (first use in this function)
main-hal.c:219: error: (Each undeclared identifier is reported only once
main-hal.c:219: error: for each function it appears in.)
main-hal.c:227: warning: implicit declaration of function 
'libhal_ctx_init_direct'
main-hal.c:237: warning: implicit declaration of function 
'libhal_ctx_get_dbus_connection'
main-hal.c:237: warning: assignment makes pointer from integer without a 
cast
main-hal.c:295: warning: implicit declaration of function 
'libhal_device_claim_interface'
main-hal.c:327: warning: implicit declaration of function 
'libhal_device_addon_is_ready'
gmake[1]: *** [main-hal.o] ïÛÉÂËÁ 1
gmake[1]: Leaving directory `/usr/ports/sysutils/nut/work/nut-2.4.1/drivers'
gmake: *** [all-recursive] ïÛÉÂËÁ 1
*** Error code 1

Stop in /usr/ports/sysutils/nut.
*** Error code 1

Stop in /usr/ports/sysutils/nut.

-------------------


# pkg_info -E hal\*
hal-0.5.13_12







-- 
  Best regards, Andrei V. Lavreniyuk.