[Bug 226653] [patch] lang/gauche fails to build if option SLIB is set
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Mar 16 10:29:28 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226653
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 at FreeBSD.org
Reporter: berota at icepp.s.u-tokyo.ac.jp
Created attachment 191545
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=191545&action=edit
This patch changes the targets to safe ones which are compatible with staging.
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-freebsd11.1
= 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) like:
# 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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list