Poudriere/PREFIX breakage?

Mason Loring Bliss mason at blisses.org
Tue Oct 6 03:30:46 UTC 2020


Hi, all. I just spun up a Poudriere build server, building 2020Q4 for 12.1
amd64. I set PREFIX=/opt in /usr/local/etc/poudriere.d/make.conf and a
number of things broke, but a number didn't. When I killed the build, as
clearly there's something wrong, I had 29 successful builds and 19
failures, and a number of skips given that gettext-tools was one of the
failures.

To use it as an example, gettext-tools died with:

---------------------------------------------------------------------------
libtool: compile:  cc -DLOCALEDIR=\"/opt/share/locale\" -DBISON_LOCALEDIR=\"/opt/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/share/locale\" -DUSEJAVA=0 -DGETTEXTJAR=\"/opt/share/gettext/gettext.jar\" -DLIBDIR=\"/opt/lib\" -DGETTEXTDATADIR=\"/opt/share/gettext\" -DPROJECTSDIR=\"/opt/share/gettext/projects\" -DEXEEXT=\"\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -DLIBICONV_PLUG -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -c write-catalog.c  -fPIC -DPIC -o .libs/libgettextsrc_la-write-catalog.o
In file included from write-catalog.c:23:
./write-catalog.h:22:10: fatal error: 'textstyle.h' file not found
#include <textstyle.h>
         ^~~~~~~~~~~~~
1 error generated.
*** Error code 1

Stop.
make[4]: stopped in /wrkdirs/usr/ports/devel/gettext-tools/work/gettext-0.21/gettext-tools/src
---------------------------------------------------------------------------

I'm ready and prepared to believe I did something wrong, but I'm not sure
what.

Unlike gettext-tools, Lua seems like maybe it's broken, as it's referencing
/usr/local:

---------------------------------------------------------------------------
lvm.o lzio.o lauxlib.o lbaselib.o lbitlib.o lcorolib.o ldblib.o liolib.o  lmathlib.o loslib.o lstrlib.o ltablib.o loadlib.o linit.o 
ranlib liblua-5.2.a
cc  -Wall -DLUA_COMPAT_ALL  -O2 -pipe  -fPIC -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include -isystem /usr/local/include -DLUA_USE_LINUX -c lua.c -o lua.o
lua.c:67:10: fatal error: 'editline/readline.h' file not found
#include <editline/readline.h>
         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
*** Error code 1

Stop.
---------------------------------------------------------------------------

...but maybe there's something I needed to do to prepare for the build...?

Thanks in advance for clues.

-- 
Mason Loring Bliss             mason at blisses.org            Ewige Blumenkraft!
(if awake 'sleep (aref #(sleep dream) (random 2))) -- Hamlet, Act III, Scene I
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20201005/7677e9be/attachment.sig>


More information about the freebsd-ports mailing list