From owner-freebsd-ports@freebsd.org Wed Dec 4 04:44:56 2019 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 741D21C9352 for ; Wed, 4 Dec 2019 04:44:56 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f07:14d3:2::11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47SR940Q4yz4PFy for ; Wed, 4 Dec 2019 04:44:55 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (thor.farley.org [IPv6:2001:470:1f07:14d3:1:0:0:5]) by mail.farley.org (8.15.2/8.15.2) with ESMTP id xB44imK1010669 for ; Tue, 3 Dec 2019 23:44:49 -0500 (EST) (envelope-from scf@FreeBSD.org) Date: Tue, 3 Dec 2019 23:44:48 -0500 (EST) From: "Sean C. Farley" To: FreeBSD Ports Subject: emulators/i386-wine{-devel} unable to run config-recursive Message-ID: User-Agent: Alpine 2.21.99999 (BSF 352 2019-06-22) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Status: No, score=-1.0 required=4.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.farley.org X-Rspamd-Queue-Id: 47SR940Q4yz4PFy X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.72 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.87)[-0.865,0]; NEURAL_HAM_LONG(-0.86)[-0.855,0]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Dec 2019 04:44:56 -0000 I ran into an interesting scenario. While attempting to build emulators/i386-wine-devel within a FreeBSD 12 i386 poudriere jail, I found that I was unable to run make config-recursive (via poudriere options). The error was: root@portbuild:/usr/ports/emulators/i386-wine-devel # make config-recursive ===> Setting user-specified options for i386-wine-devel-4.21,1 and dependencies make[1]: "/usr/ports/Mk/bsd.port.mk" line 1577: Unassociated shell command "@${FALSE}" make[1]: "/usr/ports/Mk/bsd.gcc.mk" line 190: warning: duplicate script for target "test-gcc" ignored make[1]: "/usr/ports/Mk/bsd.gcc.mk" line 215: warning: using previous script for "test-gcc" defined here ... The first line is make attempting to complain that bsd.port[.post].mk was loaded twice. That is probably its own bug in that it could not report the error correctly. I am not sure why the code does not just use .error to exit at that point. The issue stopping the port from building is that it has a Makefile.i386 file in it. At first, I thought it was because it was including the Makefile which included the master Makefile and had an error due to some sort of SHLVL equivalent. That was not it. It turns out that the Makefile.i386 existence was the issue causing bsd.port.mk to be included twice. I renamed it to Makefile.cross, and it worked. My question is whether it should have worked as Makefile.i386, as it used to work, or should the i386-wine and i386-wine-devel ports have their Makefile.i386 files renamed. Sean -- scf@FreeBSD.org