From owner-freebsd-ports-bugs@freebsd.org Fri Mar 16 10:29:28 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3EADF6306B for ; Fri, 16 Mar 2018 10:29:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 51FB277A0D for ; Fri, 16 Mar 2018 10:29:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 94F781DB9D for ; Fri, 16 Mar 2018 10:29:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w2GATRnw097444 for ; Fri, 16 Mar 2018 10:29:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w2GATRdG097442 for freebsd-ports-bugs@FreeBSD.org; Fri, 16 Mar 2018 10:29:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 226653] [patch] lang/gauche fails to build if option SLIB is set Date: Fri, 16 Mar 2018 10:29:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: berota@icepp.s.u-tokyo.ac.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2018 10:29:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226653 Bug ID: 226653 Summary: [patch] lang/gauche fails to build if option SLIB is set Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: berota@icepp.s.u-tokyo.ac.jp Created attachment 191545 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D191545&action= =3Dedit This patch changes the targets to safe ones which are compatible with stagi= ng. Build fails if option SLIB is set. In the staging stage, WRKSRC/Makefile installs the binaries, data, etc. under STAGEDIR. Then it tries to run: cd lib; $(MAKE) slibcat as the action for the "install" target. But it fails because it requires /usr/local/bin/gosh which is unavailable at this moment. Without the SLIB option, "make slibcat" does nothing actually and build finishes successfully. To reproduce: 1. Make sure that LOCALBASE/bin/gosh does not present. $ cd /usr/ports/lang/gauche $ make config (Enable SLIB.) $ make -V PORT_OPTIONS DOCS EXAMPLES IPV6 NLS SLIB THREADS UTF8 $ make stage Build stops saying: (snip) cd lib; /usr/bin/make slibcat if test -f /usr/local/share/slib/require.scm && test amd64-portbld-freebsd1= 1.1 =3D amd64-portbld-freebsd11.1 ; then /usr/local/bin/gosh -ftest -uslib -E"require 'new-catalog" -Eexit; fi /bin/sh: /usr/local/bin/gosh: not found *** Error code 127 Stop. 2. Alternatively, one can reproduce it by doing the same in poudriere(8) li= ke: # poudriere options -j 11amd64 -p head -z clean lang/gauche (Enable SLIB.) # poudriere bulk -j 11amd64 -p head -z clean lang/gauche where 11amd64: FreeBSD 11.1-RELEASE-p6/amd64, head: ports tree from svn head r464331, and clean: a clean set without make.conf nor src.conf. --=20 You are receiving this mail because: You are the assignee for the bug.=