RE: Some bugs in ports. I must change directory name from "../xxxxxx/" to "../py38-xxxxxx/" to compile and install

From: Dipl.-Ing. Harald E. Langner <hlangner_at_alice-dsl.net>
Date: Tue, 27 Jul 2021 17:43:21 +0200
I found the reason for that now.

For some problems  with other ports and Python, I have set in /etc/make.conf

# Python-Tipp: "If a port conflicts with multiple python versions then concurrent needs to be added"
USE_PYTHON=concurrent

But now it gives problems like this - a line from the install log:
mv: rename /usr/ports/devel/dbus/work/stage/usr/local/share/doc/py38-dbus/examples/* to /usr/ports/devel/dbus/work/stage/usr/local/share/examples/py38-dbus/*: No such file or directory

But there is .../dbus/work/stage/usr/local/share/examples/dbus/examples/... 

after comment that out
#USE_PYTHON=concurrent

the multi problems:
" in ports. I must change directory name from "../xxxxxx/" to "../py38-xxxxxx/" to compile and install"
are now solved.

Harald



-----Ursprüngliche Nachricht-----
Von: Harald E. Langner [mailto:hlangner_at_alice-dsl.net] 
Gesendet: Dienstag, 20. Juli 2021 16:00
An: desktop_at_FreeBSD.org
Betreff: FW: Some bugs in ports. I must change directory name from "../xxxxxx/" to "../py38-xxxxxx/" to compile and install

I send this message downstairs to Tobias C. Berner but desktop_at_FreeBSD.org Maybe this was wrong.

Because of eMail:
"Unfortunately, I cannot really reproduce your issue here.
Would it be possible to provide a full buildlog?
Tobias"

----------------------------------------------
Yes, but that will be a long list:
1) /usr/ports/lang/mono6.8
make build was ok, but for install it, it need some more to compile (I thing that is not the right way for port. After build all things have to be ready) it comes to further errors. Here in short was has help me:

cd /usr/ports/devel/gobject-introspection/work/stage/usr/local/share/
mv gobject-introspection-1.0 py38-gobject-introspection-1.0

cd /usr/ports/graphics/graphite2/work/stage/usr/local/share/
mv graphite2 py38-graphite2

for /usr/ports/print/harfbuzz
mv /usr/local/share/py38-gobject-introspection-1.0/
/usr/local/share/gobject-introspection-1.0/
make install
#and back
mv /usr/local/share/gobject-introspection-1.0/
/usr/local/share/py38-gobject-introspection-1.0/


So here is the only install.log for mono6.8 with the errors. I could found no more, because all other ports has now worked.

Script started on Sat Jun 12 20:43:25 2021
Command: make install
===>  Staging for mono6.8-6.8.0.123
===>   mono6.8-6.8.0.123 depends on package: py38-pillow>=0 - not found
===>  License PIL accepted by the user
===>   py38-pillow-8.2.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py38-pillow-8.2.0 for building ===> Extracting for py38-pillow-8.2.0 => SHA256 Checksum OK for python-pillow-Pillow-8.2.0_GH0.tar.gz.
===>  Patching for py38-pillow-8.2.0
===>   py38-pillow-8.2.0 depends on package: py38-tkinter>0 - found
===>   py38-pillow-8.2.0 depends on package: py38-setuptools>0 - found
===>   py38-pillow-8.2.0 depends on file: /usr/local/bin/python3.8 - found
===>   py38-pillow-8.2.0 depends on file:
/usr/local/libdata/pkgconfig/xcb.pc - found
===>   py38-pillow-8.2.0 depends on shared library: libfreetype.so - found
(/usr/local/lib/libfreetype.so)
===>   py38-pillow-8.2.0 depends on shared library: libopenjp2.so - found
(/usr/local/lib/libopenjp2.so)
===>   py38-pillow-8.2.0 depends on shared library: liblcms2.so - found
(/usr/local/lib/liblcms2.so)
===>   py38-pillow-8.2.0 depends on shared library: libraqm.so - not found
===>  License MIT accepted by the user
===>   libraqm-0.7.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by libraqm-0.7.1 for building ===> Extracting for libraqm-0.7.1 => SHA256 Checksum OK for HOST-Oman-libraqm-v0.7.1_GH0.tar.gz.
===>  Patching for libraqm-0.7.1
===>   libraqm-0.7.1 depends on executable: gtkdoc-scan - found
===>   libraqm-0.7.1 depends on package: gmake>=4.3 - found
===>   libraqm-0.7.1 depends on package: pkgconf>=1.3.0_1 - found
===>   libraqm-0.7.1 depends on package: autoconf>=2.69 - found
===>   libraqm-0.7.1 depends on package: automake>=1.16.1 - found
===>   libraqm-0.7.1 depends on executable: libtoolize - found
===>   libraqm-0.7.1 depends on shared library: libfribidi.so - found
(/usr/local/lib/libfribidi.so)
===>   libraqm-0.7.1 depends on shared library: libharfbuzz.so - not found
===>  License MIT accepted by the user
===>   harfbuzz-2.8.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by harfbuzz-2.8.1 for building ===> Extracting for harfbuzz-2.8.1 => SHA256 Checksum OK for harfbuzz-2.8.1.tar.xz.
===>  Patching for harfbuzz-2.8.1
===>   harfbuzz-2.8.1 depends on executable: gtkdoc-scan - found
===>   harfbuzz-2.8.1 depends on executable: g-ir-scanner - not found
===>  License GPLv2+ LGPL20+ accepted by the user
===>   gobject-introspection-1.66.1,1 depends on file: /usr/local/sbin/pkg -
found
===> Fetching all distfiles required by gobject-introspection-1.66.1,1 for building ===>  Extracting for gobject-introspection-1.66.1,1 => SHA256 Checksum OK for gnome/gobject-introspection-1.66.1.tar.xz.
===>  Patching for gobject-introspection-1.66.1,1 ===>  Applying FreeBSD patches for gobject-introspection-1.66.1,1 from /usr/ports/devel/gobject-introspection/files
===>   gobject-introspection-1.66.1,1 depends on executable: cairo-trace -
not found
===>  License LGPL21 MPL11 accepted by the user
===>   cairo-1.17.4,3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by cairo-1.17.4,3 for building ===> Extracting for cairo-1.17.4,3 => SHA256 Checksum OK for cairo-1.17.4.tar.xz.
=> SHA256 Checksum OK for ebbaebdec12878836fc84d31c59ee324e67abc05.patch.
===>  Patching for cairo-1.17.4,3
===>  Applying distribution patches for cairo-1.17.4,3 ===>  Applying FreeBSD patches for cairo-1.17.4,3 from /usr/ports/graphics/cairo/files
===>   cairo-1.17.4,3 depends on package: pkgconf>=1.3.0_1 - found
===>   cairo-1.17.4,3 depends on package: autoconf>=2.69 - found
===>   cairo-1.17.4,3 depends on package: automake>=1.16.1 - found
===>   cairo-1.17.4,3 depends on executable: libtoolize - found
===>   cairo-1.17.4,3 depends on file:
/usr/local/libdata/pkgconfig/pixman-1.pc - found
===>   cairo-1.17.4,3 depends on file: /usr/local/libdata/pkgconfig/xcb.pc -
found
===>   cairo-1.17.4,3 depends on shared library: libfreetype.so - found
(/usr/local/lib/libfreetype.so)
===>   cairo-1.17.4,3 depends on shared library: libpng.so - found
(/usr/local/lib/libpng.so)
===>   cairo-1.17.4,3 depends on shared library: libfontconfig.so - found
(/usr/local/lib/libfontconfig.so)
===>   cairo-1.17.4,3 depends on shared library: libglib-2.0.so - found
(/usr/local/lib/libglib-2.0.so)
===>   cairo-1.17.4,3 depends on shared library: libintl.so - found
(/usr/local/lib/libintl.so)
===>   cairo-1.17.4,3 depends on shared library: libintl.so - found
(/usr/local/lib/libintl.so)
===>   cairo-1.17.4,3 depends on shared library: libEGL.so - found
(/usr/local/lib/libEGL.so)
===>  Configuring for cairo-1.17.4,3
build/configure.ac.system:114: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
build/configure.ac.system:114: the top level
build/configure.ac.system:114: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
build/configure.ac.system:114: the top level
build/configure.ac.system:114: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
build/configure.ac.system:114: the top level
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build'.
libtoolize: copying file 'build/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build'.
libtoolize: copying file 'build/libtool.m4'
libtoolize: copying file 'build/ltoptions.m4'
libtoolize: copying file 'build/ltsugar.m4'
libtoolize: copying file 'build/ltversion.m4'
libtoolize: copying file 'build/lt~obsolete.m4'
build/configure.ac.system:114: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
build/configure.ac.system:114: the top level
build/configure.ac.system:114: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
build/configure.ac.system:114: the top level
build/configure.ac.system:114: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
build/configure.ac.system:114: the top level
build/configure.ac.system:114: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
build/configure.ac.system:114: the top level
build/configure.ac.system:114: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
build/configure.ac.system:114: the top level
configure.ac:10: installing 'build/compile'
configure.ac:17: installing 'build/missing'
build/Makefile.am.changelog:57: warning: '%'-style pattern rules are a GNU make extension
Makefile.am:105:   'build/Makefile.am.changelog' included from here
boilerplate/Makefile.am: installing 'build/depcomp'
perf/Makefile.sources:7: warning: source file '../src/cairo-time.c' is in a subdirectory,
perf/Makefile.sources:7: but option 'subdir-objects' is disabled
perf/Makefile.am:3:   'perf/Makefile.sources' included from here
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.
However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
perf/Makefile.sources:15: warning: source file '../src/cairo-error.c' is in a subdirectory,
perf/Makefile.sources:15: but option 'subdir-objects' is disabled
perf/Makefile.am:3:   'perf/Makefile.sources' included from here
perf/Makefile.sources:18: warning: source file '../src/cairo-error.c' is in a subdirectory,
perf/Makefile.sources:18: but option 'subdir-objects' is disabled
perf/Makefile.am:3:   'perf/Makefile.sources' included from here
perf/Makefile.sources:18: warning: source file '../src/cairo-hash.c' is in a subdirectory,
perf/Makefile.sources:18: but option 'subdir-objects' is disabled
perf/Makefile.am:3:   'perf/Makefile.sources' included from here
src/Makefile.sources:354: warning: source file 'win32/cairo-win32-debug.c'
is in a subdirectory,
src/Makefile.sources:354: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:354: warning: source file 'win32/cairo-win32-device.c'
is in a subdirectory,
src/Makefile.sources:354: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:354: warning: source file 'win32/cairo-win32-gdi-compositor.c' is in a subdirectory,
src/Makefile.sources:354: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:354: warning: source file 'win32/cairo-win32-system.c'
is in a subdirectory,
src/Makefile.sources:354: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:354: warning: source file 'win32/cairo-win32-surface.c'
is in a subdirectory,
src/Makefile.sources:354: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:354: warning: source file 'win32/cairo-win32-display-surface.c' is in a subdirectory,
src/Makefile.sources:354: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:354: warning: source file 'win32/cairo-win32-printing-surface.c' is in a subdirectory,
src/Makefile.sources:354: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:363: warning: source file 'win32/cairo-win32-font.c' is in a subdirectory,
src/Makefile.sources:363: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm.c' is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-bo.c' is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-surface.c' is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-intel.c' is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-intel-debug.c'
is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-intel-surface.c' is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-i915-surface.c' is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-i915-glyphs.c'
is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-i915-shader.c'
is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-i915-spans.c'
is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-i965-surface.c' is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-i965-glyphs.c'
is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-i965-shader.c'
is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-i965-spans.c'
is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-intel-brw-eu.c' is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-intel-brw-eu-emit.c' is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-intel-brw-eu-util.c' is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-radeon.c' is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:422: warning: source file 'drm/cairo-drm-radeon-surface.c' is in a subdirectory,
src/Makefile.sources:422: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
src/Makefile.sources:441: warning: source file 'drm/cairo-drm-gallium-surface.c' is in a subdirectory,
src/Makefile.sources:441: but option 'subdir-objects' is disabled
src/Makefile.am:4:   'src/Makefile.am.features' included from here
src/Makefile.am.features:3:   'src/Makefile.sources' included from here
test/Makefile.am:354: warning: user target 'recheck' defined here ...
/usr/local/share/automake-1.16/am/check.am: ... overrides Automake target 'recheck' defined here
configure: loading site script /usr/ports/Templates/config.site checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables...
checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking whether clang understands -c and -o together... 
yes checking how to run the C preprocessor... clang-cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... 
(cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for minix/config.h... (cached) no checking whether it is safe to define __EXTENSIONS__... yes checking for unistd.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for typeof syntax and keyword spelling... typeof checking for a BSD-compatible install... 
/usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of clang... gcc3 checking whether make supports nested variables... 
(cached) yes checking for ar... ar checking the archiver (ar) interface... 
ar checking build system type... amd64-portbld-freebsd13.0 checking host system type... amd64-portbld-freebsd13.0 checking how to print strings... 
printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by clang... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... 
/usr/local/bin/nm -B checking the name lister (/usr/local/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 524288 checking how to convert
amd64-portbld-freebsd13.0 file names to
amd64-portbld-freebsd13.0 format... func_convert_file_noop checking how to convert amd64-portbld-freebsd13.0 file names to toolchain format... 
func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver _at_FILE support... _at_ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/local/bin/nm -B output from clang object...
ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... 
(cached) yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... 
yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... 
(cached) yes checking whether the clang linker (/usr/bin/ld) supports shared libraries...
yes
checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd13.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking pkg-config is at least version 0.9.0... yes checking whether to build gtk-doc documentation... no checking for gtkdoc-check... /usr/local/bin/gtkdoc-check checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for find... /usr/bin/find checking for xargs... /usr/bin/xargs checking for gcc... (cached) clang checking whether we are using the GNU C compiler... (cached) yes checking whether clang accepts -g... (cached) yes checking for clang option to accept ISO C89... 
(cached) none needed checking whether clang understands -c and -o together... (cached) yes checking how to run the C preprocessor... clang-cpp checking whether we are using the GNU C++ compiler... yes checking whether 
clang++ accepts -g... yes checking dependency style of clang++... gcc3
checking how to run the C++ preprocessor... clang++ -E checking for ld used by clang++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... 
yes checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes checking for clang++ option to produce PIC... -fPIC -DPIC checking if clang++ PIC flag -fPIC -DPIC works... yes checking if clang++ static flag -static works... yes checking if clang++ supports -c -o file.o... yes checking if clang++ supports -c -o file.o... (cached) yes checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd13.0 ld.so checking how to hardcode library paths into programs... immediate checking for inline... inline checking pkg-config is at least version 0.9.0... yes checking for supported warning flags...
checking whether clang supports -Werror... yes checking whether clang supports -errwarn... no checking whether clang supports -Wall... yes checking whether clang supports -Wextra... yes checking whether clang supports -Wmissing-declarations... yes checking whether clang supports -Werror-implicit-function-declaration... yes checking whether clang supports -Wpointer-arith... yes checking whether clang supports -Wwrite-strings... yes checking whether clang supports -Wsign-compare... yes checking whether clang supports -Wpacked... 
yes checking whether clang supports -Wswitch-enum... yes checking whether clang supports -Wmissing-format-attribute... yes checking whether clang supports -Wvolatile-register-var... yes checking whether clang supports -Wstrict-aliasing=2... yes checking whether clang supports -Winit-self... yes checking whether clang supports -Wunsafe-loop-optimizations... no checking whether clang supports -Wno-missing-field-initializers... yes checking whether clang supports -Wno-unused-parameter... yes checking whether clang supports -Wno-attributes... yes checking whether clang supports -Wno-long-long... yes checking whether clang supports -Winline... 
yes checking whether clang supports -erroff=E_ENUM_TYPE_MISMATCH_ARG... no checking whether clang supports -erroff=E_ENUM_TYPE_MISMATCH_OP... no checking whether clang supports -fno-strict-aliasing... yes checking whether clang supports -fno-common... yes checking whether clang supports -Wp,-D_FORTIFY_SOURCE=2... yes checking whether clang supports -Wunused-but-set-variable -Wno-unused-but-set-variable... no checking which warning flags were supported...  -Wall -Wextra -Wmissing-declarations -Werror-implicit-function-declaration
 -Wpointer-arith -Wwrite-strings -Wsign-compare -Wpacked -Wswitch-enum -Wmissing-format-attribute
  -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wno-missing-field-initializers
  -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing
  -fno-common -Wp,-D_FORTIFY_SOURCE=2 checking how to enable unused result warnings...
__attribute__((__warn_unused_result__))
checking how to allow undefined symbols in shared libraries used by test suite... -Wl,--allow-shlib-undefined checking whether byte ordering is bigendian... no checking whether float word ordering is bigendian... 
checking for strings...
strings
no
checking for native atomic primitives... cxx11 checking whether atomic ops require a memory barrier... yes checking size of void *... 8 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of size_t... 8 checking for native Win32... no checking for Sun Solaris (non-POSIX ctime_r)... no checking for cos in -lm... yes checking for sched_yield in -lrt... yes checking for shm_open in -lrt... yes checking for connect in -lsocket... no checking for __builtin_return_address(0)... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking sys/int_types.h usability... no checking sys/int_types.h presence... no checking for sys/int_types.h... no checking for uint64_t... yes checking for uint128_t... 
no checking for __uint128_t... yes checking for fcntl.h... (cached) yes checking for unistd.h... (cached) yes checking for signal.h... (cached) yes checking for poll.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/poll.h... 
(cached) yes checking for sys/un.h... (cached) yes checking for alarm... 
(cached) yes checking for sched.h... (cached) yes checking for sched_getaffinity... no checking for sys/mman.h... (cached) yes checking for mmap... (cached) yes checking for time.h... (cached) yes checking for clock_gettime... (cached) yes checking fenv.h usability... yes checking fenv.h presence... yes checking for fenv.h... yes checking for feenableexcept... yes checking for fedisableexcept... yes checking for feclearexcept... yes checking for libgen.h... (cached) yes checking for byteswap.h... (cached) no checking for signal.h... (cached) yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking for fenv.h... (cached) yes checking for sys/wait.h... (cached) yes checking for ctime_r... yes checking for localtime_r... yes checking for gmtime_r... yes checking for drand48... yes checking for flockfile... yes checking for funlockfile... yes checking for getline... (cached) yes checking for link... (cached) yes checking for strndup... (cached) yes checking for sys/stat.h... (cached) yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking for mkdir... yes checking mkdir variant... mkdir(path, mode) checking for fork... (cached) yes checking for waitpid... (cached) yes checking for raise... (cached) yes checking for VALGRIND... no no checking for compress in -lz... yes checking for zlib.h... (cached) yes checking for lzo2a_decompress in -llzo2... no checking for dlsym in -ldl... yes checking for dlfcn.h... (cached) yes checking xlocale.h usability... yes checking xlocale.h presence... yes checking for xlocale.h... yes checking for newlocale... (cached) yes checking for strtod_l... yes checking for X... 
libraries /usr/local/lib, headers /usr/local/include checking for cairo's Xlib Xrender surface backend feature...
checking whether cairo's Xlib Xrender surface backend feature could be enabled... no (requires --enable-xlib) checking for cairo's XCB surface backend feature...
checking for xcb... yes
checking whether cairo's XCB surface backend feature could be enabled... yes checking for cairo's XCB/SHM functions feature...
checking for xcb_shm... yes
checking whether cairo's XCB/SHM functions feature could be enabled... yes checking for cairo's Quartz surface backend feature...
checking ApplicationServices/ApplicationServices.h usability... no checking ApplicationServices/ApplicationServices.h presence... no checking for ApplicationServices/ApplicationServices.h... no checking CoreGraphics/CoreGraphics.h usability... no checking CoreGraphics/CoreGraphics.h presence... no checking for CoreGraphics/CoreGraphics.h... no checking whether cairo's Quartz surface backend feature could be enabled...
no (requires CoreGraphics framework)
checking for cairo's Quartz font backend feature...
checking whether cairo's Quartz font backend feature could be enabled... no (requires CoreGraphics framework) checking for cairo's Microsoft Windows surface backend feature...
checking whether cairo's Microsoft Windows surface backend feature could be enabled... no (requires a Win32 platform) checking for cairo's Microsoft Windows font backend feature...
checking whether cairo's Microsoft Windows font backend feature could be enabled... no (requires a Win32 platform) checking for cairo's PNG functions feature...
checking for png... yes
checking whether cairo's PNG functions feature could be enabled... yes #HL  >>>>>>>>>>>>>>>>>>> checking for cairo's OpenGL surface backend feature...
checking for gl... no
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking whether cairo's OpenGL surface backend feature could be enabled...
no (gl.pc nor OpenGL headers not found)
configure: error:  OpenGL surface backend feature could not be enabled ===> Script "configure" failed unexpectedly.
Please report the problem to desktop_at_FreeBSD.org [maintainer] and attach the "/usr/ports/graphics/cairo/work/cairo-1.17.4/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[10]: stopped in /usr/ports/graphics/cairo
*** Error code 1

Stop.
make[9]: stopped in /usr/ports/graphics/cairo
*** Error code 1

Stop.
make[8]: stopped in /usr/ports/devel/gobject-introspection
*** Error code 1

Stop.
make[7]: stopped in /usr/ports/print/harfbuzz
*** Error code 1

Stop.
make[6]: stopped in /usr/ports/print/harfbuzz
*** Error code 1

Stop.
make[5]: stopped in /usr/ports/print/libraqm
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/print/libraqm
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/graphics/py-pillow
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/graphics/py-pillow
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/mono6.8
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/mono6.8

Command exit status: 1
Script done on Sat Jun 12 20:44:14 2021

###########################################################################
Because : mono6.8-6.8.0.123 depends on package: py38-pillow>=0 - not found I try to install /usr/ports/graphics/py-pillow

Because of my changes it could fixed it - but it is not the right way to fix it by myself - the port maintainer should do this

Here is in short what I have done, with the errors documented:
(">" stands for my prompt)

>cd /usr/ports/graphics/py-pillow
>make clean
>make build install
error:
	 stopped in /usr/ports/devel/gobject-introspection
		===>  Checking if gobject-introspection is already installed
		===>   Registering installation for gobject-introspection-1.66.1,1 as
automatic
		pkg-static: Unable to access file
			/usr/ports/devel/gobject-introspection/work/stage/usr/local/share/py38-gobject-introspection-1.0/Makefile.introspection:No
such file or directory
			...
>cd /usr/ports/devel/gobject-introspection
>ll /usr/ports/devel/gobject-introspection/work/stage/usr/local/share/
--> es gibt kein "py38-gobject-introspection-1.0" Verzeichnis sondern 
--> ein
"gobject-introspection-1.0" Verzeichnis
>ll
>/usr/ports/devel/gobject-introspection/work/stage/usr/local/share/gobje
>ct-introspection-1.0/
=>OK
>cd /usr/ports/devel/gobject-introspection/work/stage/usr/local/share/
>mv gobject-introspection-1.0 py38-gobject-introspection-1.0 cd - make 
>build install
=>OK

>cd /usr/ports/graphics/py-pillow
>make build
error:
	stopped in /usr/ports/graphics/graphite2
	--> same problem
	Unable to access file
		/usr/ports/graphics/graphite2/work/stage/usr/local/share/py38-graphite2/graphite2-release.cmake:No
such file or directory
>ll /usr/ports/graphics/graphite2/work/stage/usr/local/share/
there is a folder "graphite2"
>cd /usr/ports/graphics/graphite2/work/stage/usr/local/share/
>mv graphite2 py38-graphite2
>cd -
>make build install

This is now OK

but new error:
 	stopped in /usr/ports/print/harfbuzz
	--> same name problem
	===>  Building for harfbuzz-2.8.2
	FAILED: src/HarfBuzz-0.0.gir
	…
	../src/hb-buffer.cc:641: Warning: HarfBuzz: unknown annotation:
xconstructor
	…
	Couldn't find '/usr/local/share/gobject-introspection-1.0/gdump.c'
	right! there is the directory
	/usr/local/share/py38-gobject-introspection-1.0/
Solution:
>mv /usr/local/share/py38-gobject-introspection-1.0/
>/usr/local/share/gobject-introspection-1.0/
>make install
>OK


Attention: have to set it back later
	#mv /usr/local/share/gobject-introspection-1.0/
/usr/local/share/py38-gobject-introspection-1.0/

AGAIN
Try py38-pillow first to install
>cd /usr/ports/graphics/py-pillow
>make clean
>make build
=>OK Also, now py38-pillow has installed, but this has happened only after I have manipulated 3 ports by hand.

set directory name in system back:
>mv /usr/local/share/gobject-introspection-1.0/
>/usr/local/share/py38-gobject-introspection-1.0/

Config Settings of the ports:
======================
X11 general is disabled in /etc/make.conf (because the box is running as a
server)

/usr/ports/lang/mono6.8

I changed some in the mono6.8 Makefile, because brotili is also needed by Apache and PHP! and it cannot build with that it told me:
#HL CONFLICTS_BUILD=    brotli
CONFLICTS_BUILD=
#next error: unknown type name 'BROTLI_INTERNAL'
 #https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238089
 #  niqck 2020-03-04
 #  "Added USE_GCC=any to the port Makefile and now it builds on FreeBSD 12.1"
 #HL USE_GCC=any
 USE_GCC=any

>make build
=>now OK!

===> The following configuration options are available for
mono6.8-6.8.0.123:
     BIGARRAY=off: Enable allocating arrays greater than Int32.MaxValue
     MONODEV=off: Build for Mono development (disables crash privacy)
     MONOLITE=on: Use monolite to bootstrap mcs (otherwise use installed
mcs)
     NINJA=off: Use ninja to build wherever possible
     NLS=on: NLS Localization Support
     ODBC=off: System.Data: support for unixODBC
     SPECTRE=off: Enable internal Mono Spectre mitigations (SEE pkg-descr)
     X11=off: X11 (graphics) support

/usr/ports/graphics/cairo/
===> The following configuration options are available for cairo-1.17.4,3:
     DOCS=on: Build and/or install documentation
     GLIB=on: Enable GObject Functions Feature
     X11=off: X11 (graphics) support
     XCB=on: Enable XCB (X C-language Binding) Support ====> Options available for the radio GL: you can only select none or one of them
     OPENGL=off: 2D/3D rendering support via OpenGL
     GLESV2=off: Enable GLESv2 rendering

I had to set both off: OPENGL, GLESV2   #both are Radio Buttons not Check
Boxes!
	From that build.log I note:
	 Configuring for cairo-1.17.4,3
	 checking
	 ..
	 checking whether cairo's PNG functions feature could be enabled... yes
	 	checking for cairo's OpenGL surface backend feature...
	 checking for gl... no
	 checking GL/gl.h usability... no
	 checking GL/gl.h presence... no
	 checking for GL/gl.h... no
	 checking whether cairo's OpenGL surface backend feature could be enabled... no (gl.pc nor OpenGL headers not found)
	 configure: error:  OpenGL surface backend feature could not be enabled

This is the solution I found in the Forum:
	https://forums.freebsd.org/threads/update-failed-for-ffmpeg-and-imagemagic6-on-the-web-server-which-require-cairo-due-to-no-opengl.77306//usr/ports/graphics/py-pillow
===> The following configuration options are available for
py38-pillow-8.2.0:
     FREETYPE=on: TrueType font rendering support
     JPEG=on: JPEG image format support
     JPEG2000=on: JPEG 2000 support
     LCMS=on: Little Color Management System
     OLE=on: Microsoft OLE2 file format support
     PNG=on: PNG image format support
     RAQM=on: Complex text layout support
     TIFF=on: TIFF image format support
     TKINTER=on: Tkinter (Tcl/Tk) BitmapImage & PhotoImage support
     WEBP=on: WebP image format support
     XCB=on: X11 screengrab support



Thanks for watching this thread - now its late for me here in Germany - I will tomorrow look if there is an answer.
with best regards - Harald


-----Original Message-----
From: owner-freebsd-desktop_at_freebsd.org <owner-freebsd-desktop_at_freebsd.org>
On Behalf Of Tobias C. Berner
Sent: Thursday, July 15, 2021 10:12 PM
To: hlangner_at_alice-dsl.net
Cc: desktop_at_freebsd.org; avl_at_freebsd.org; kwm_at_freebsd.org; office_at_freebsd.org
Subject: Re: Some bugs in ports

Moin moin

Unfortunately, I cannot really reproduce your issue here.

Would it be possible to provide a full buildlog?


mfg Tobias

On Thu, 15 Jul 2021 at 21:08, Dipl.-Ing. Harald E. Langner <hlangner_at_alice-dsl.net> wrote:
>
> I don't know if someone will read this, but there are several serve 
> errors when compiling these ports
>
>
>
> stopped in /usr/ports/devel/gobject-introspection
>
> pkg-static: Unable to access file
>
> /usr/ports/devel/gobject-introspection/work/stage/usr/local/share/py38
> -gob ject-introspection-1.0/Makefile.introspection:No such file or 
> directory
>
> ..
>
> Problem: there is
>
> /usr/ports/devel/gobject-introspection/work/stage/usr/local/share/gobj
> ect- introspection-1.0/Makefile.introspection
>
> Solution:
>
> $ cd
> /usr/ports/devel/gobject-introspection/work/stage/usr/local/share/
>
> $ mv gobject-introspection-1.0 py38-gobject-introspection-1.0
>
> $ cd -
>
> $ make install
>
>
>
> next, same in
>
> stopped in /usr/ports/graphics/graphite2
>
>
>
> Unable to access file
>
>
> /usr/ports/graphics/graphite2/work/stage/usr/local/share/py38-graphite
> 2/gr aphite2-release.cmake:No such file or directory
>
> Problem: there is
>
> /usr/ports/graphics/graphite2/work/stage/usr/local/share/graphite2/gra
> phit
> e2-release.cmake
>
>
>
> $ cd /usr/ports/graphics/graphite2/work/stage/usr/local/share/
>
> $ mv graphite2 py38-graphite2
>
> $ cd -
>
> $ make install
>
>
>
> next
>
> stopped in /usr/ports/print/harfbuzz
>
>                 ===>  Building for harfbuzz-2.8.2
>
>                 FAILED: src/HarfBuzz-0.0.gir
>
>                 .
>
> ../src/hb-buffer.cc:641: Warning: HarfBuzz: unknown annotation:
> xconstructor
>
>                 .
>
>                 Couldn't find
> '/usr/local/share/gobject-introspection-1.0/gdump.c'
>
> right! there is the directory
>
>                 /usr/local/share/py38-gobject-introspection-1.0/
>
> Solution:
>
> $ mv /usr/local/share/py38-gobject-introspection-1.0/
> /usr/local/share/gobject-introspection-1.0/
>
> $ make install
>
> $ OK
>
>
>
> It seems the main problem is that direction names have changed form 
> "xxxxxx" to "py38- xxxxxx" and the ports maintainer and developer 
> hasn't hat recognized and changed the data for it.
>
>
>
>
>
> with best regards
>
> Harald  E. Langner
>
>
>
> ______________________________________________________________________
> ____
> _______
>
> Harald Eberhard Langner
>
>
> phone:   +49 (0)69 / 383 575; TAM
> fax:        +49 (0)69 / 38 77 86 92
> mobile:  +49 (0)179 / 617 90 80
>
> Address:
> 20, Auf der Beun
> 65 933  Frankfurt am Main; HE
> EU (Germany)
>
>
>
>
>
>
>
>
>
Received on Tue Jul 27 2021 - 15:43:21 UTC

Original text of this message