From owner-freebsd-bugs@FreeBSD.ORG Mon Jul 27 16:10:01 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD5091065675 for ; Mon, 27 Jul 2009 16:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9DE938FC1B for ; Mon, 27 Jul 2009 16:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6RGA1Ti054285 for ; Mon, 27 Jul 2009 16:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6RGA1YQ054284; Mon, 27 Jul 2009 16:10:01 GMT (envelope-from gnats) Resent-Date: Mon, 27 Jul 2009 16:10:01 GMT Resent-Message-Id: <200907271610.n6RGA1YQ054284@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Roland Smith Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 805A1106566B for ; Mon, 27 Jul 2009 16:03:19 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id 1DE5A8FC08 for ; Mon, 27 Jul 2009 16:03:18 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id n6RFiDJK039634 for ; Mon, 27 Jul 2009 17:44:13 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id F07DABAA6; Mon, 27 Jul 2009 17:44:12 +0200 (CEST) Message-Id: <20090727154412.F07DABAA6@slackbox.xs4all.nl> Date: Mon, 27 Jul 2009 17:44:12 +0200 (CEST) From: Roland Smith To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/137180: [PATCH] building world for 8.0-BETA2 fails on 7.2-RELEASE X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Roland Smith List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2009 16:10:02 -0000 >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 ----- patch for /usr/src/usr.sbin/usbconfig/Makefile ----- >Release-Note: >Audit-Trail: >Unformatted: