From owner-freebsd-ports Sat Apr 6 5:20:15 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5A7E637B41A for ; Sat, 6 Apr 2002 05:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g36DK2t70065; Sat, 6 Apr 2002 05:20:02 -0800 (PST) (envelope-from gnats) Received: from voi.aagh.net (pc1-hart4-0-cust168.mid.cable.ntl.com [62.254.84.168]) by hub.freebsd.org (Postfix) with ESMTP id EEDF837B41A for ; Sat, 6 Apr 2002 05:14:43 -0800 (PST) Received: from freaky by voi.aagh.net with local (Exim 3.35 #1) id 16tq1i-000IxC-00 for FreeBSD-gnats-submit@freebsd.org; Sat, 06 Apr 2002 14:14:42 +0100 Message-Id: Date: Sat, 06 Apr 2002 14:14:42 +0100 From: Thomas Hurst Reply-To: Thomas Hurst To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36811: XFree86-4-libraries cannot find version.def Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36811 >Category: ports >Synopsis: XFree86-4-libraries cannot find version.def >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 06 05:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Thomas Hurst >Release: FreeBSD 4.5-PRERELEASE i386 >Organization: Very little >Environment: System: FreeBSD voi.freak.lan 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Thu Dec 20 13:56:19 GMT 2001 root@voi.freak.lan:/usr/obj/usr/src/sys/VOI i386 Upgrading from XFree-4-libraries 4.1.0_1 to 4.2.0_1 LOCALBASE = /usr/pkg X11BASE is and always has been unmodified >Description: During configure, the port shows: /ports/x11/XFree86-4-libraries/scripts/configure cp: /usr/X11R6/lib/X11/config/version.def: No such file or directory A quick sniff about locates this file at /usr/pkg/lib/X11/config/version.def During build, the compile fails with: ./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Ima kefile -DTOPDIR=../.. -DCURDIR=./config/makedepend In file included from config/cf/FreeBSD.cf:552, from config/cf/Imake.tmpl:94, from Imakefile.c:13: config/cf/xfree86.cf:14: version.def: No such file or directory ./config/imake/imake: Exit code 1. Stop. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc. *** Error code 1 LOCALBASE has been modified, but X11BASE has always been the default /usr/X11R6; presumably the port is looking in /usr/local, then defaulting to /usr/X11R6 ports/36259 appears to be related. >How-To-Repeat: Install system, modify LOCALBASE cd /usr/ports/x11/XFree86-4-libraries/ && make >Fix: A quick grep -R locates this in scripts/configure. Applying: 109c109 < cp ${X11BASE}/lib/X11/config/version.def ${WRKSRC}/config/cf --- > cp ${LOCALBASE}/lib/X11/config/version.def ${WRKSRC}/config/cf Fixed it for me, although I have strong doubts that this is the correct fix :) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message