Cannot build 2020Q4 LibreOffice with poudriere on 12.1/amd64

Andrea Venturoli ml at netfence.it
Thu Oct 8 20:50:02 UTC 2020


On 2020-10-08 18:39, Li-Wen Hsu wrote:

> Can you try again with an updated ports tree,

Port tree was already up to date.



> check the local modifications are removed

I've got a few modifications to the port tree, but they are all either 
additional ports or modification to ports unrelated to LibreOffice (e.g. 
snort, cyrus-imap, etc...).
Trying without these, in any case, does not change the result.



> and perhaps delete the packages built in the previous runs?

:-O
Packages were all fresh, i.e. rebuilt just after the switch to 2020Q4.
I don't think they would be different if I wiped and recreated them, but 
I'll see if I can (this would probably take from several hours to a day 
or two, then I'd need to rebuild again with my local modifications, so I 
cannot run this task unless I find a proper, large enough, spare time 
frame).




In the meantime I'm trying to dig more deeply into this.

I did:
# poudriere bulk -v -j 121amd64 -i editors/libreoffice
# cd /usr/ports/editors/libreoffice
# make configure
# make -dl

What I get:
> if [ ! -e /wrkdirs/usr/ports/editors/libreoffice/work/.configure_done.libreoffice._usr_local ]; then  cd /usr/ports/editors/libreoffice && make /wrkdirs/usr/ports/editors/libreoffice/work/.configure_done.libreoffice._usr_local;  fi
> echo "===>  Building for libreoffice-7.0.1.2_1"
> ===>  Building for libreoffice-7.0.1.2_1
> (cd /wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.0.1.2; if ! /usr/bin/env CXXFLAGS_WARN="-Woverloaded-virtual -Wno-unused-parameter -Wno-unused-local-typedefs" GNUSED=/usr/local/bin/gsed DISPLAY= verbose=1 PERL_USE_UNSAFE_INC=1 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib QT_SELECT=qt5 QMAKEMODULES="/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.0.1.2/mkspecs/modules:/usr/local/lib/qt5/mkspecs/modules" XDG_DATA_HOME=/wrkdirs/usr/ports/editors/libreoffice/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/libreoffice/work  HOME=/wrkdirs/usr/ports/editors/libreoffice/work TMPDIR="/tmp" PATH=/usr/local/libexec/ccache:/wrkdirs/usr/ports/editors/libreoffice/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -DLDAP_DEPRECATED -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -L/usr/local/lib  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -DLDAP_DEPRECATED -fno-strict-aliasing  "  MANPREFIX="/usr/local" CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" gmake -f Makefile  TMPDIR=/wrkdirs/usr/ports/editors/libreoffice/work all; then  if [ -n "" ] ; then  echo "===> Compilation failed unexpectedly.";  (echo "") | /usr/bin/fmt 75 79 ;  fi;  false;  fi)
> GNU Make 4.3
 > ...
> Must remake target 'all'.
> gmake[1]: Entering directory '/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.0.1.2'
> gmake[1]: *** No rule to make target 'all'.  Stop.
> gmake[1]: Leaving directory '/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.0.1.2'

Notice "... gmake ... all" above.



# cd /wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.0.1.2
# gmake all
gmake: *** No rule to make target 'all'.  Stop.
# gmake
(compiling starts)



So the problem seems to be the port issues a "gmake all" instead of just 
"gmake".

I tried to hunt down where that "all" comes from, but was not able to 
find it.
Any idea?

  bye & Thanks
	av.


More information about the freebsd-office mailing list