From owner-freebsd-gnome@FreeBSD.ORG Sun Jan 24 21:46:17 2010 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69750106566C for ; Sun, 24 Jan 2010 21:46:17 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 29CDE8FC08 for ; Sun, 24 Jan 2010 21:46:16 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o0OLk9W7026109; Sun, 24 Jan 2010 16:46:09 -0500 (EST) Received: from rtp-chabib-87111.cisco.com (rtp-chabib-87111.cisco.com [10.116.106.172]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o0OLk5T2002914; Sun, 24 Jan 2010 16:46:05 -0500 (EST) Message-ID: <4B5CBF9C.3020206@freebsd.org> Date: Sun, 24 Jan 2010 16:46:04 -0500 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: "M. Warner Losh" References: <20100124.143744.57809163907530686.imp@bsdimp.com> In-Reply-To: <20100124.143744.57809163907530686.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gnome@freebsd.org Subject: Re: hal port busted on -current X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2010 21:46:17 -0000 On 1/24/10 4:37 PM, M. Warner Losh wrote: > ... or the config test is too fragile... > > I'm getting a build error: > > /bin/sh /tmp/ports/sysutils/hal/work/gnome-libtool --tag=CC --mode=link cc -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wl,--as-needed -L/usr/local/lib -o hald hald_marshal.o util.o util_helper.o util_pm.o hald_runner.o device.o device_info.o device_store.o device_pm.o hald.o hald_dbus.o logger.o ids.o mmap_cache.o ci-tracker.o access-check.o ck-tracker.o -pthread -L/usr/local/lib -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -pthread -L/usr/local/lib -ldbus-1 -L/usr/local/lib -lpolkit -lm ../hald/freebsd/libhald_freebsd.la > gnome-libtool: link: cc -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wl,--as-needed -o hald hald_marshal.o util.o util_helper.o util_pm.o hald_runner.o device.o device_info.o device_store.o device_pm.o hald.o hald_dbus.o logger.o ids.o mmap_cache.o ci-tracker.o access-check.o ck-tracker.o -pthread -pthread -L/usr/local/lib /usr/local/lib/libdbus-glib-1.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so /usr/local/lib/libpcre.so /usr/local/lib/libdbus-1.so /usr/local/lib/libpolkit.so /usr/local/lib/libexpat.so -lm ../hald/freebsd/.libs/libhald_freebsd.a -lcam -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib > ../hald/freebsd/.libs/libhald_freebsd.a(osspec.o)(.data.rel.ro+0x10): undefined reference to `hf_usb2_handler' > ../hald/freebsd/.libs/libhald_freebsd.a(hf-devd.o)(.data.rel.ro+0x0): undefined reference to `hf_usb2_devd_handler' > gmake[4]: *** [hald] Error 1 > gmake[4]: Leaving directory `/tmp/ports/sysutils/hal/work/hal-0.5.13/hald' > gmake[3]: *** [all-recursive] Error 1 > gmake[3]: Leaving directory `/tmp/ports/sysutils/hal/work/hal-0.5.13/hald' > gmake[2]: *** [all] Error 2 > gmake[2]: Leaving directory `/tmp/ports/sysutils/hal/work/hal-0.5.13/hald' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/tmp/ports/sysutils/hal/work/hal-0.5.13' > gmake: *** [all] Error 2 > > which is due to the configure script not properly picking up the fact > that usb2 is on this box. If I hack the generated makefiles to > include the files that define the above symbols, everything works. I > couldn't figure out how to unthread the configure files to discover a > proper fix. > > Ideas? Make sure you no longer have devel/libusb installed, and make sure you have run make delete-old. Hal will build just fine on -CURRENT. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome