From owner-freebsd-x11@FreeBSD.ORG Tue Nov 30 23:48:22 2004 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16E0916A4CE for ; Tue, 30 Nov 2004 23:48:22 +0000 (GMT) Received: from niobe.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13E7643D1D for ; Tue, 30 Nov 2004 23:48:21 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (localhost.ijs.si [127.0.0.1]) by niobe.ijs.si (Postfix) with ESMTP id 17EE11DD85E; Wed, 1 Dec 2004 00:48:20 +0100 (CET) Received: from niobe.ijs.si ([127.0.0.1]) by localhost (niobe.ijs.si [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 71787-16; Wed, 1 Dec 2004 00:48:17 +0100 (CET) Received: from metatron.ijs.si (metatron.ijs.si [193.2.4.152]) by niobe.ijs.si (Postfix) with ESMTP id 31B511DD85C; Wed, 1 Dec 2004 00:48:17 +0100 (CET) Received: from rincewind.ijs.si (rincewind.ijs.si [193.2.4.137]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by metatron.ijs.si (Postfix) with ESMTP id 9FC1D1C00724; Wed, 1 Dec 2004 00:48:16 +0100 (CET) From: Dejan Lesjak To: freebsd-x11@freebsd.org Date: Wed, 1 Dec 2004 00:48:15 +0100 User-Agent: KMail/1.7.1 References: <20041129195049.GB8315@xor.obsecurity.org> In-Reply-To: <20041129195049.GB8315@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412010048.16131.dejan.lesjak@ijs.si> X-Virus-Scanned: amavisd-new at ijs.si cc: Kris Kennaway Subject: Re: [ports-i386@dosirak.kr.freebsd.org: rosegarden-2.1.2 failed on i386 5] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2004 23:48:22 -0000 On Monday 29 of November 2004 20:50, Kris Kennaway wrote: > Looks like it might be another xorg 6.8.1 casualty > > Kris Well, yes and no :) It seems removing imake from RUN_DEPENDS only exposed something else in this port. Namely rosegarden seems to use makedepend (provided by imake) if it can find it, otherwise it just calls '/bin/true'. The ports Makefile, however already attempted to avoid using makedepend by this line: CONFIGURE_ENV= MAKEDEPEND=${TRUE} This doesn't seem to work though. Even running configure by hand (env MAKEDEPEND=true ./configure) still displays this line: checking for makedepend... /bin/true and uses /bin/true like in forwarded log: [snip] > checking for makedepend... /bin/true ^^^^^^^^^^^^^^^^^^^^^^^ [snip] > clearing dependencies from > /tmp/a/ports/audio/rosegarden/work/rosegarden-2.1pl2/topbox/src/Makefile ( > ROSEGARDEN="/tmp/a/ports/audio/rosegarden/work/rosegarden-2.1pl2" ; > SYSINCDIRS="-I/usr/X11R6/include" ; SYSLDFLAGS="-L/usr/X11R6/lib -lSM > -lICE" ; CC="cc" ; DEFINES="-DNO_SYS_ERRLIST -DSYSTEM_SILENT" ; > RANLIB="ranlib" ; OPTFLAGS="-O -pipe" ; MAKEDEPEND="/bin/true" ; ^^^^^^^^^^^^^^^^^^^^^ > SYSEXTRALIBS="" ; export ROSEGARDEN SYSINCDIRS DEFINES SYSLDFLAGS CC RANLIB > OPTFLAGS MAKEDEPEND SYSEXTRALIBS ; cd > /tmp/a/ports/audio/rosegarden/work/rosegarden-2.1pl2/lists/src ; make > depend ) /bin/true -- -I/usr/X11R6/include > -I/tmp/a/ports/audio/rosegarden/work/rosegarden-2.1pl2/include > -I/tmp/a/ports/audio/rosegarden/work/rosegarden-2.1pl2/common/bitmaps > -DNO_SYS_ERRLIST -DSYSTEM_SILENT -O -pipe -- *.c > /bin/true: not found > *** Error code 127 This was previously masked as makedepend was installed and got used instead. The solution seems to be patching configure.in to take /usr/bin/true instead. Since the port is unmaintained I'll commit the following if nobody has better idea: Index: Makefile =================================================================== RCS file: /usr/local/repos/freebsd/ports/audio/rosegarden/Makefile,v retrieving revision 1.21 diff -u -r1.21 Makefile --- Makefile 14 Mar 2004 06:16:00 -0000 1.21 +++ Makefile 30 Nov 2004 22:56:58 -0000 @@ -20,7 +20,6 @@ USE_X_PREFIX= yes USE_REINPLACE= yes USE_AUTOCONF_VER= 213 -CONFIGURE_ENV= MAKEDEPEND=${TRUE} CONFIGURE_ARGS= --with-tclincl=${LOCALBASE}/include/tcl8.2 post-patch: Index: files/patch-aa =================================================================== RCS file: /usr/local/repos/freebsd/ports/audio/rosegarden/files/patch-aa,v retrieving revision 1.8 diff -u -r1.8 patch-aa --- files/patch-aa 19 Dec 2000 08:34:53 -0000 1.8 +++ files/patch-aa 30 Nov 2004 22:58:51 -0000 @@ -1,5 +1,16 @@ ---- configure.in.orig Tue Sep 21 20:25:38 1999 -+++ configure.in Thu Dec 14 02:14:00 2000 +--- configure.in.orig Tue Sep 21 11:25:38 1999 ++++ configure.in Tue Nov 30 22:58:02 2004 +@@ -9,8 +9,8 @@ + AC_PROG_LN_S + AC_PROG_MAKE_SET + AC_PROG_RANLIB +-dnl Checks for makedepend, uses /bin/true if not found +-AC_PATH_PROG(MAKEDEPEND, makedepend, /bin/true) ++dnl Checks for makedepend, uses /usr/bin/true if not found ++AC_PATH_PROG(MAKEDEPEND, makedepend, /usr/bin/true) + + AC_CANONICAL_SYSTEM + @@ -67,11 +67,11 @@ Petal=Petal