From owner-freebsd-current@FreeBSD.ORG Thu Dec 16 13:47:07 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EBAA16A4CE for ; Thu, 16 Dec 2004 13:47:07 +0000 (GMT) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id D301343D3F for ; Thu, 16 Dec 2004 13:47:03 +0000 (GMT) (envelope-from keramida@linux.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])iBGDl2JP022052; Thu, 16 Dec 2004 15:47:02 +0200 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) iBGDl1Vq065177; Thu, 16 Dec 2004 15:47:01 +0200 (EET) (envelope-from keramida@linux.gr) Received: (from keramida@localhost)iBGDl19T065176; Thu, 16 Dec 2004 15:47:01 +0200 (EET) (envelope-from keramida@linux.gr) Date: Thu, 16 Dec 2004 15:47:01 +0200 From: Giorgos Keramidas To: Chuck Swiger Message-ID: <20041216134701.GA44809@orion.daedalusnetworks.priv> References: <41C10C99.10600@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41C10C99.10600@mac.com> cc: freebsd-current@freebsd.org Subject: Re: make vs. gmake in 6-CURRENT... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2004 13:47:07 -0000 On 2004-12-15 23:18, Chuck Swiger wrote: > Hi, all-- > > Apparently something has changed with BSD make in -CURRENT, causing the > following problem to appear in a port I maintain: > > [ ... ] > ===> Installing for dvd+rw-tools-5.21.4.10.8 > ===> dvd+rw-tools-5.21.4.10.8 depends on file: /usr/local/bin/mkisofs - > found > ===> Generating temporary packing list > install -s -o root -g wheel -m 555 > /usr/ports/sysutils/dvd+rw-tools/work/dvd+rw-tools-5.21.4.10.8/ growisofs > /usr/local/bin > install: /usr/ports/sysutils/dvd+rw-tools/work/dvd+rw-tools-5.21.4.10.8/ > growisofs: No such file or directory > *** Error code 71 > > Note the space in ".../dvd+rw-tools-5.21.4.10.8/ growisofs", which command > was generated by the following Makefile section: > > do-install: > .for i in ${BIN_FILES} > ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin > .endfor > > Since I don't have a system running 6, I was fortunate to have someone look > into the issue and fix the port by having it use gmake instead. (thanks BTW) > > However, it seems like that space-stuffing when generating paths would > break lots of other things. Anyway, I wanted to bring up the issue here > and ask whether this change to make's behavior is expected or whether it > should be considered a bug...? Revision 1.16 of the port Makefile doesn't build a growisofs executable. I am not a great BSD make hacker, but the makefile that comes with the port tries to build more than one program from the same directory and somehow fails. If we don't have the ability to reorganize things within the distfile (because, e.g. the creator of dvd+rw-tools distfile does not target just FreeBSD), using gmake seems to be the way to go.