Date: Mon, 27 Jul 2009 17:44:12 +0200 (CEST) From: Roland Smith <rsmith@xs4all.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/137180: [PATCH] building world for 8.0-BETA2 fails on 7.2-RELEASE Message-ID: <20090727154412.F07DABAA6@slackbox.xs4all.nl> Resent-Message-ID: <200907271610.n6RGA1YQ054284@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137180 >Category: bin >Synopsis: [PATCH] building world for 8.0-BETA2 fails on 7.2-RELEASE >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 27 16:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Roland Smith >Release: FreeBSD 7.2-RELEASE-p2 amd64 >Organization: >Environment: System: FreeBSD slackbox.xs4all.nl 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Fri Jul 3 18:47:40 CEST 2009 rsmith@slackbox.xs4all.nl:/usr/obj/usr/src/sys/QUADSLACK amd64 >Description: Trying to build world for 8.0-BETA2 failed on 7.2-RELEASE in usbconfig because of missing symbols in libusb. It looks like it is trying to link to the libusb in 7.2-RELEASE? This looks very wrong. Shouldn't the buildworld process use the libraries that it has built itself? Incidentally, the shared library version for libc still is 7. [revision 1.73.8.1 of /usr/src/lib/libc/Makefile] Shouldn't this be changed to 8? >How-To-Repeat: - Update the source to 8.0-BETA2. - Try to build world. >Fix: As a quick fix, I added the path for the newly built libusb to the Makefile for usbconfig: ----- patch for /usr/src/usr.sbin/usbconfig/Makefile ----- --- Makefile.orig 2009-07-27 17:26:26.000000000 +0200 +++ Makefile 2009-07-26 21:12:59.000000000 +0200 @@ -4,6 +4,6 @@ PROG= usbconfig MAN= usbconfig.8 SRCS= usbconfig.c dump.c -LDADD+= -lusb +LDADD+= -lusb -L/usr/obj/usr/src/lib/libusb/ .include <bsd.prog.mk> ----- patch for /usr/src/usr.sbin/usbconfig/Makefile ----- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090727154412.F07DABAA6>