Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2018 10:29:27 +0000
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
Message-ID:  <bug-226653-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226653-13>