ports/141784: Cannot install ports/sysutils/nut (Part 2: hal error)

Andrei Lavreniyuk andy.lavr at reactor-xg.kiev.ua
Sat Dec 19 19:50:03 UTC 2009


>Number:         141784
>Category:       ports
>Synopsis:       Cannot install ports/sysutils/nut (Part 2: hal error)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 19 19:50:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Andrei Lavreniyuk
>Release:        FreeBSD 8.0-STABLE
>Organization:
Technica-03, Inc.
>Environment:
FreeBSD datacenter.technica-03.local 8.0-STABLE FreeBSD 8.0-STABLE #0: Sat Dec 19 12:28:13 EET 2009     root at datacenter.technica-03.local:/usr/obj/usr/src/sys/SMP64  amd64
>Description:
/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] Error 1
gmake[1]: Leaving directory `/usr/ports/sysutils/nut/work/nut-2.4.1/drivers'
gmake: *** [all-recursive] Error 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
-----
 
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list