Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58356 closed defect (fixed)

libgpg-error @1.36 fails to build on Mojave with 'gawk: fatal: cannot use gawk builtin `namespace' as variable name'

Reported by: felzmann (Ulrich Felzmann) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: libgpg-error

Description

MacPorts version: 2.5.4, Xcode version 10.2.1, macOS version: 10.14.4

version:1
:debug:sysinfo macOS 10.14 (darwin/18.5.0) arch i386
:debug:sysinfo MacPorts 2.5.4
:debug:sysinfo Xcode 10.2.1
:debug:sysinfo SDK 10.14
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.14
:debug:main epoch: in tree: 0 installed: 0
:debug:main libiconv 1.15_0 exists in the ports tree
:debug:main libiconv 1.15_0  is the latest installed
:debug:main libiconv 1.15_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv
:debug:main OS darwin/18.5.0 (Mac OS X 10.14) arch i386
:debug:main Reading variant descriptions from /opt/macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! libiconv 1.15_0 >= libiconv 1.15_0
:debug:main epoch: in tree: 2 installed: 2
:debug:main gettext 0.19.8.1_1 exists in the ports tree
:debug:main gettext 0.19.8.1_1  is the latest installed
:debug:main gettext 0.19.8.1_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gettext
:debug:main OS darwin/18.5.0 (Mac OS X 10.14) arch i386
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main Reading variant descriptions from /opt/macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main compiler clang 1001.0.46.4 not blacklisted because it doesn't match {clang < 211.10.1}
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! gettext 0.19.8.1_1 >= gettext 0.19.8.1_1
:debug:main epoch: in tree: 0 installed: 0
:debug:main ncurses 6.1_0 exists in the ports tree
:debug:main ncurses 6.1_0  is the latest installed
:debug:main ncurses 6.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ncurses
:debug:main OS darwin/18.5.0 (Mac OS X 10.14) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! ncurses 6.1_0 >= ncurses 6.1_0
:msg:main --->  Computing dependencies for libgpg-error:info:main .:debug:main libgpg-error has no conflicts
:debug:main Searching for dependency: libiconv
:debug:main Found Dependency: receipt exists for libiconv
:debug:main Searching for dependency: gettext
:debug:main Found Dependency: receipt exists for gettext
:debug:main Executing org.macports.main (libgpg-error)
:debug:main dropping privileges: euid changed to 502, egid changed to 501.
:debug:archivefetch archivefetch phase started at Sat Apr 20 12:29:47 AEST 2019
:debug:archivefetch Executing org.macports.archivefetch (libgpg-error)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Sat Apr 20 12:29:47 AEST 2019
:notice:fetch --->  Fetching distfiles for libgpg-error
:debug:fetch Executing org.macports.fetch (libgpg-error)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Sat Apr 20 12:29:47 AEST 2019
:notice:checksum --->  Verifying checksums for libgpg-error
:debug:checksum Executing org.macports.checksum (libgpg-error)
:info:checksum --->  Checksumming libgpg-error-1.36.tar.bz2
:debug:checksum Calculated (rmd160) is 13a9405bcb8ef179fff58e72f47a54889ddd287f
:debug:checksum Correct (rmd160) checksum for libgpg-error-1.36.tar.bz2
:debug:checksum Calculated (sha256) is babd98437208c163175c29453f8681094bcaf92968a15cafb1a276076b33c97c
:debug:checksum Correct (sha256) checksum for libgpg-error-1.36.tar.bz2
:debug:checksum Calculated (size) is 920542
:debug:checksum Correct (size) checksum for libgpg-error-1.36.tar.bz2
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Sat Apr 20 12:29:47 AEST 2019
:notice:extract --->  Extracting libgpg-error
:debug:extract setting option extract.cmd to /usr/bin/bzip2
:debug:extract Executing org.macports.extract (libgpg-error)
:info:extract --->  Extracting libgpg-error-1.36.tar.bz2
:debug:extract setting option extract.args to '/opt/macports/var/macports/distfiles/libgpg-error/libgpg-error-1.36.tar.bz2'
:debug:extract Environment: 
:debug:extract CC_PRINT_OPTIONS='YES'
:debug:extract CC_PRINT_OPTIONS_FILE='/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work/.CC_PRINT_OPTIONS'
:debug:extract CPATH='/opt/macports/include'
:debug:extract LIBRARY_PATH='/opt/macports/lib'
:debug:extract MACOSX_DEPLOYMENT_TARGET='10.14'
:info:extract Executing:  cd "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work" && /usr/bin/bzip2 -dc '/opt/macports/var/macports/distfiles/libgpg-error/libgpg-error-1.36.tar.bz2' | /usr/bin/tar -xf - 
:debug:extract system:  cd "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work" && /usr/bin/bzip2 -dc '/opt/macports/var/macports/distfiles/libgpg-error/libgpg-error-1.36.tar.bz2' | /usr/bin/tar -xf - 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work to macports
:debug:extract euid/egid changed to: 502/501
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Sat Apr 20 12:29:47 AEST 2019
:debug:patch Executing org.macports.patch (libgpg-error)
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Sat Apr 20 12:29:47 AEST 2019
:notice:configure --->  Configuring libgpg-error
:debug:configure Preferred compilers: clang macports-clang-5.0 macports-clang-4.0
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (libgpg-error)
:debug:configure Environment: 
:debug:configure CC='/usr/bin/clang'
:debug:configure CC_PRINT_OPTIONS='YES'
:debug:configure CC_PRINT_OPTIONS_FILE='/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work/.CC_PRINT_OPTIONS'
:debug:configure CFLAGS='-pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64'
:debug:configure CPATH='/opt/macports/include'
:debug:configure CPPFLAGS='-I/opt/macports/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
:debug:configure CXX='/usr/bin/clang++'
:debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64'
:debug:configure F77FLAGS='-m64'
:debug:configure F90FLAGS='-pipe -Os -m64'
:debug:configure FCFLAGS='-pipe -Os -m64'
:debug:configure FFLAGS='-pipe -Os'
:debug:configure INSTALL='/usr/bin/install -c'
:debug:configure LDFLAGS='-L/opt/macports/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64'
:debug:configure LIBRARY_PATH='/opt/macports/lib'
:debug:configure MACOSX_DEPLOYMENT_TARGET='10.14'
:debug:configure OBJC='/usr/bin/clang'
:debug:configure OBJCFLAGS='-pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64'
:debug:configure OBJCXX='/usr/bin/clang++'
:debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64'
:info:configure Executing:  cd "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work/libgpg-error-1.36" && ./configure --prefix=/opt/macports 
:debug:configure system:  cd "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work/libgpg-error-1.36" && ./configure --prefix=/opt/macports 
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether build environment is sane... yes
:info:configure checking for a thread-safe mkdir -p... /opt/macports/bin/gmkdir -p
:info:configure checking for gawk... gawk
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking whether make supports nested variables... yes
:info:configure checking whether to enable maintainer-specific portions of Makefiles... no
:info:configure checking whether make supports nested variables... (cached) yes
:info:configure checking build system type... x86_64-apple-darwin18.5.0
:info:configure checking host system type... x86_64-apple-darwin18.5.0
:info:configure configure: autobuild project... libgpg-error
:info:configure configure: autobuild revision... 1.36
:info:configure configure: autobuild hostname... 6030L-123824-M.fritz.box
:info:configure configure: autobuild timestamp... 20190420-122948
:info:configure checking for gcc... /usr/bin/clang
:info:configure checking whether the C compiler works... yes
:info:configure checking for C compiler default output file name... a.out
:info:configure checking for suffix of executables... 
:info:configure checking whether we are cross compiling... no
:info:configure checking for suffix of object files... o
:info:configure checking whether we are using the GNU C compiler... yes
:info:configure checking whether /usr/bin/clang accepts -g... yes
:info:configure checking for /usr/bin/clang option to accept ISO C89... none needed
:info:configure checking whether /usr/bin/clang understands -c and -o together... yes
:info:configure checking for style of include used by make... GNU
:info:configure checking dependency style of /usr/bin/clang... gcc3
:info:configure checking how to run the C preprocessor... /usr/bin/clang -E
:info:configure checking for gawk... (cached) gawk
:info:configure checking for ar... ar
:info:configure checking for grep that handles long lines and -e... /usr/bin/grep
:info:configure checking for egrep... /usr/bin/grep -E
:info:configure checking for ANSI C header files... yes
:info:configure checking for sys/types.h... yes
:info:configure checking for sys/stat.h... yes
:info:configure checking for stdlib.h... yes
:info:configure checking for string.h... yes
:info:configure checking for memory.h... yes
:info:configure checking for strings.h... yes
:info:configure checking for inttypes.h... yes
:info:configure checking for stdint.h... yes
:info:configure checking for unistd.h... yes
:info:configure checking minix/config.h usability... no
:info:configure checking minix/config.h presence... no
:info:configure checking for minix/config.h... no
:info:configure checking whether it is safe to define __EXTENSIONS__... yes
:info:configure checking for special C compiler options needed for large files... no
:info:configure checking for _FILE_OFFSET_BITS value needed for large files... no
:info:configure checking how to print strings... printf
:info:configure checking for a sed that does not truncate output... /usr/bin/sed
:info:configure checking for fgrep... /usr/bin/grep -F
:info:configure checking for ld used by /usr/bin/clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
:info:configure checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
:info:configure checking for BSD- or MS-compatible name lister (nm)... /opt/macports/bin/nm -B
:info:configure checking the name lister (/opt/macports/bin/nm -B) interface... BSD nm
:info:configure checking whether ln -s works... yes
:info:configure checking the maximum length of command line arguments... 196608
:info:configure checking whether the shell understands some XSI constructs... yes
:info:configure checking whether the shell understands "+="... yes
:info:configure checking how to convert x86_64-apple-darwin18.5.0 file names to x86_64-apple-darwin18.5.0 format... func_convert_file_noop
:info:configure checking how to convert x86_64-apple-darwin18.5.0 file names to toolchain format... func_convert_file_noop
:info:configure checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
:info:configure checking for objdump... objdump
:info:configure checking how to recognize dependent libraries... pass_all
:info:configure checking for dlltool... no
:info:configure checking how to associate runtime and link libraries... printf %s\n
:info:configure checking for archiver @FILE support... no
:info:configure checking for strip... strip
:info:configure checking for ranlib... ranlib
:info:configure checking command to parse /opt/macports/bin/nm -B output from /usr/bin/clang object... ok
:info:configure checking for sysroot... no
:info:configure checking for mt... no
:info:configure checking if : is a manifest tool... no
:info:configure checking for dsymutil... dsymutil
:info:configure checking for nmedit... nmedit
:info:configure checking for lipo... lipo
:info:configure checking for otool... otool
:info:configure checking for otool64... no
:info:configure checking for -single_module linker flag... yes
:info:configure checking for -exported_symbols_list linker flag... yes
:info:configure checking for -force_load linker flag... yes
:info:configure checking for dlfcn.h... yes
:info:configure checking for objdir... .libs
:info:configure checking if /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
:info:configure checking for /usr/bin/clang option to produce PIC... -fno-common -DPIC
:info:configure checking if /usr/bin/clang PIC flag -fno-common -DPIC works... yes
:info:configure checking if /usr/bin/clang static flag -static works... no
:info:configure checking if /usr/bin/clang supports -c -o file.o... yes
:info:configure checking if /usr/bin/clang supports -c -o file.o... (cached) yes
:info:configure checking whether the /usr/bin/clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin18.5.0 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking whether stripping libraries is possible... yes
:info:configure checking if libtool supports shared libraries... yes
:info:configure checking whether to build shared libraries... yes
:info:configure checking whether to build static libraries... no
:info:configure checking for windres... no
:info:configure checking whether NLS is requested... yes
:info:configure checking for msgfmt... /opt/macports/bin/msgfmt
:info:configure checking for gmsgfmt... /opt/macports/bin/msgfmt
:info:configure checking for xgettext... /opt/macports/bin/xgettext
:info:configure checking for msgmerge... /opt/macports/bin/msgmerge
:info:configure checking for ld used by /usr/bin/clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
:info:configure checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
:info:configure checking for shared library run path origin... done
:info:configure checking for CFPreferencesCopyAppValue... yes
:info:configure checking for CFLocaleCopyCurrent... yes
:info:configure checking for GNU gettext in libc... no
:info:configure checking for iconv... yes
:info:configure checking for working iconv... yes
:info:configure checking how to link with libiconv... -liconv
:info:configure checking for GNU gettext in libintl... yes
:info:configure checking whether to use NLS... yes
:info:configure checking where the gettext function comes from... external libintl
:info:configure checking how to link with libintl... -lintl -Wl,-framework -Wl,CoreFoundation
:info:configure checking for ANSI C header files... (cached) yes
:info:configure checking for stdlib.h... (cached) yes
:info:configure checking locale.h usability... yes
:info:configure checking locale.h presence... yes
:info:configure checking for locale.h... yes
:info:configure checking for stdint.h... (cached) yes
:info:configure checking sys/select.h usability... yes
:info:configure checking sys/select.h presence... yes
:info:configure checking for sys/select.h... yes
:info:configure checking sys/time.h usability... yes
:info:configure checking sys/time.h presence... yes
:info:configure checking for sys/time.h... yes
:info:configure checking signal.h usability... yes
:info:configure checking signal.h presence... yes
:info:configure checking for signal.h... yes
:info:configure checking whether strerror_r is declared... yes
:info:configure checking for strerror_r... yes
:info:configure checking whether strerror_r returns char *... no
:info:configure checking for strerror_r... (cached) yes
:info:configure checking for pid_t... yes
:info:configure checking vfork.h usability... no
:info:configure checking vfork.h presence... no
:info:configure checking for vfork.h... no
:info:configure checking for fork... yes
:info:configure checking for vfork... yes
:info:configure checking for working fork... yes
:info:configure checking for working vfork... (cached) yes
:info:configure checking for flockfile... yes
:info:configure checking for vasprintf... yes
:info:configure checking for mmap... yes
:info:configure checking for rand... yes
:info:configure checking for strlwr... no
:info:configure checking for stpcpy... yes
:info:configure checking for setenv... yes
:info:configure checking for stat... yes
:info:configure checking for getrlimit... yes
:info:configure checking for an ANSI C-conforming const... yes
:info:configure checking size of int... 4
:info:configure checking size of long... 8
:info:configure checking size of long long... 8
:info:configure checking whether time.h and sys/time.h may both be included... yes
:info:configure checking size of time_t... 8
:info:configure checking for sys/stat.h... (cached) yes
:info:configure checking for unistd.h... (cached) yes
:info:configure checking direct.h usability... no
:info:configure checking direct.h presence... no
:info:configure checking for direct.h... no
:info:configure checking if mkdir takes one argument... no
:info:configure configure: checking for cc features
:info:configure checking if gcc ignores unknown -Wno-* options... no
:info:configure checking if gcc supports -Wpointer-arith... yes
:info:configure checking whether the GCC style aligned attribute is supported... yes
:info:configure checking whether the visibility attribute is supported... no
:info:configure checking whether imported symbols can be declared weak... no
:info:configure checking pthread.h usability... yes
:info:configure checking pthread.h presence... yes
:info:configure checking for pthread.h... yes
:info:configure checking for pthread_kill in -lpthread... yes
:info:configure checking for multithread API to use... posix
:info:configure checking for pthread_rwlock_t... yes
:info:configure checking size of pthread_mutex_t... 64
:info:configure checking for library containing sched_yield... none required
:info:configure checking for library containing inet_addr... none required
:info:configure checking for library containing socket... none required
:info:configure checking whether readline via "-lreadline" is present and sane... yes
:info:configure checking for unsigned long long int... yes
:info:configure configure: checking system features for estream-printf
:info:configure checking for stdint.h... (cached) yes
:info:configure checking for long long int... yes
:info:configure checking for long double... yes
:info:configure checking for intmax_t... yes
:info:configure checking for uintmax_t... yes
:info:configure checking for ptrdiff_t... yes
:info:configure checking size of unsigned long... 8
:info:configure checking size of void *... 8
:info:configure checking for nl_langinfo and THOUSEP... yes
:info:configure configure: checking system features for estream
:info:configure checking for memrchr... no
:info:configure checking whether to enable log_clock... no
:info:configure checking that generated files are newer than configure... done
:info:configure configure: creating ./config.status
:info:configure config.status: creating Makefile
:info:configure config.status: creating doc/Makefile
:info:configure config.status: creating po/Makefile.in
:info:configure config.status: creating m4/Makefile
:info:configure config.status: creating src/Makefile
:info:configure config.status: creating tests/Makefile
:info:configure config.status: creating lang/Makefile
:info:configure config.status: creating lang/cl/Makefile
:info:configure config.status: creating lang/cl/gpg-error.asd
:info:configure config.status: creating src/versioninfo.rc
:info:configure config.status: creating src/gpg-error.w32-manifest
:info:configure config.status: creating src/gpg-error.pc
:info:configure config.status: creating src/gpg-error-config-old
:info:configure config.status: creating config.h
:info:configure config.status: executing depfiles commands
:info:configure config.status: executing libtool commands
:info:configure config.status: executing po-directories commands
:info:configure config.status: creating po/POTFILES
:info:configure config.status: creating po/Makefile
:info:configure         libgpg-error v1.36 has been configured as follows:
:info:configure         Revision: 85f427f  (34292)
:info:configure         Platform: x86_64-apple-darwin18.5.0
:debug:configure Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Sat Apr 20 12:30:02 AEST 2019
:notice:build --->  Building libgpg-error
:debug:build Executing org.macports.build (libgpg-error)
:debug:build Environment: 
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work/.CC_PRINT_OPTIONS'
:debug:build CPATH='/opt/macports/include'
:debug:build LIBRARY_PATH='/opt/macports/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='10.14'
:info:build Executing:  cd "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work/libgpg-error-1.36" && /usr/bin/make -j4 -w all 
:debug:build system:  cd "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work/libgpg-error-1.36" && /usr/bin/make -j4 -w all 
:info:build make: Entering directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work/libgpg-error-1.36'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
:info:build make[1]: Entering directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work/libgpg-error-1.36'
:info:build Making all in m4
:info:build make[2]: Entering directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work/libgpg-error-1.36/m4'
:info:build make[2]: Nothing to be done for `all'.
:info:build make[2]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work/libgpg-error-1.36/m4'
:info:build Making all in src
:info:build make[2]: Entering directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work/libgpg-error-1.36/src'
:info:build gawk -f ./mkerrnos.awk ./errnos.in >code-to-errno.h
:info:build gawk -f ./mkerrcodes1.awk ./errnos.in >_mkerrcodes.h
:info:build gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \
:info:build 		./err-sources.h.in >err-sources-sym.h
:info:build gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \
:info:build 		./err-codes.h.in >err-codes-sym.h
:info:build gawk: ./mkerrcodes1.awk:84: warning: regexp escape sequence `\#' is not a known regexp operator
:info:build gawk: ./mkerrnos.awk:86: warning: regexp escape sequence `\#' is not a known regexp operator
:info:build gawk: ./mkstrtable.awk:113: warning: regexp escape sequence `\#' is not a known regexp operator
:info:build gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \
:info:build 		-v prefix=GPG_ERR_ -v namespace=errnos_ \
:info:build 		./errnos.in >errnos-sym.h
:info:build /usr/bin/clang -E -I/opt/macports/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk  -P _mkerrcodes.h | grep GPG_ERR_ | \
:info:build                gawk -f ./mkerrcodes.awk >mkerrcodes.h
:info:build /usr/bin/clang -g -O0 -I. -I. -o mkheader ./mkheader.c
:info:build gawk: ./mkstrtable.awk:113: warning: regexp escape sequence `\#' is not a known regexp operator
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I..   -I/opt/macports/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -Wall -Wpointer-arith -MT gen-posix-lock-obj.o -MD -MP -MF .deps/gen-posix-lock-obj.Tpo -c -o gen-posix-lock-obj.o gen-posix-lock-obj.c
:info:build gawk: fatal: cannot use gawk builtin `namespace' as variable name
:info:build make[2]: *** [errnos-sym.h] Error 2
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build gawk: ./mkerrcodes.awk:88: warning: regexp escape sequence `\#' is not a known regexp operator
:info:build rm _mkerrcodes.h
:info:build mv -f .deps/gen-posix-lock-obj.Tpo .deps/gen-posix-lock-obj.Po
:info:build make[2]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work/libgpg-error-1.36/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work/libgpg-error-1.36'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work/libgpg-error-1.36'
:info:build Command failed:  cd "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/work/libgpg-error-1.36" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build Failed to build libgpg-error: command execution failed
:debug:build Error code: CHILDSTATUS 3706 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/macports/var/macports/logs/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libgpg-error/libgpg-error/main.log for details.

Change History (4)

comment:1 Changed 5 years ago by Schamschula (Marius Schamschula)

Owner: set to Schamschula
Status: newassigned

I'm aware of this issue, and have reported it upstream: https://dev.gnupg.org/T4459

In the future, please add the maintainer to the CC field. In this case port info --maintainer libgpg-error.

comment:2 Changed 5 years ago by Schamschula (Marius Schamschula)

I applied the patch, but unfortunately there is another, likely unrelated, build error:

/usr/bin/clang -DHAVE_CONFIG_H -I. -I..  -DPKGDATADIR=\"/opt/local/share/libgpg-error\" -DLOCALEDIR=\"/opt/local/share/locale\"  -I/opt/local/include  -pipe -Os -arch x86_64 -Wall -Wpointer-arith -MT gpg_error-strsource-sym.o -MD -MP -MF .deps/gpg_error-strsource-sym.Tpo -c -o gpg_error-strsource-sym.o `test -f 'strsource-sym.c' || echo './'`strsource-sym.c
libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -pipe -Os -arch x86_64 -Wall -Wpointer-arith -MT libgpg_error_la-argparse.lo -MD -MP -MF .deps/libgpg_error_la-argparse.Tpo -c argparse.c  -fno-common -DPIC -o .libs/libgpg_error_la-argparse.o
mv -f .deps/libgpg_error_la-visibility.Tpo .deps/libgpg_error_la-visibility.Plo
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..  -DPKGDATADIR=\"/opt/local/share/libgpg-error\" -DLOCALEDIR=\"/opt/local/share/locale\"  -I/opt/local/include  -pipe -Os -arch x86_64 -Wall -Wpointer-arith -MT gpg_error-strerror-sym.o -MD -MP -MF .deps/gpg_error-strerror-sym.Tpo -c -o gpg_error-strerror-sym.o `test -f 'strerror-sym.c' || echo './'`strerror-sym.c
mv -f .deps/gpg_error-strsource-sym.Tpo .deps/gpg_error-strsource-sym.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..  -DPKGDATADIR=\"/opt/local/share/libgpg-error\" -DLOCALEDIR=\"/opt/local/share/locale\"  -I/opt/local/include  -pipe -Os -arch x86_64 -Wall -Wpointer-arith -MT gpg_error-gpg-error.o -MD -MP -MF .deps/gpg_error-gpg-error.Tpo -c -o gpg_error-gpg-error.o `test -f 'gpg-error.c' || echo './'`gpg-error.c
mv -f .deps/libgpg_error_la-b64dec.Tpo .deps/libgpg_error_la-b64dec.Plo
In file included from strerror-sym.c:30:
./errnos-sym.h:28:19: error: redefinition of 'msgstr'
static const char msgstr[] = 
                  ^
./err-codes-sym.h:27:19: note: previous definition is here
static const char msgstr[] = 
                  ^
In file included from strerror-sym.c:30:
./errnos-sym.h:171:18: error: redefinition of 'msgidx'
static const int msgidx[] =
                 ^
./err-codes-sym.h:433:18: note: previous definition is here
static const int msgidx[] =
                 ^
In file included from strerror-sym.c:30:
./errnos-sym.h:318:1: error: redefinition of 'msgidxof'
msgidxof (int code)
^
./err-codes-sym.h:842:1: note: previous definition is here
msgidxof (int code)
^
strerror-sym.c:45:13: warning: implicit declaration of function 'errnos_msgidxof' is invalid in C99 [-Wimplicit-function-declaration]
      idx = errnos_msgidxof (code);
            ^
Confirm gpg-error-config works... mv -f .deps/libgpg_error_la-b64enc.Tpo .deps/libgpg_error_la-b64enc.Plo
strerror-sym.c:47:9: error: use of undeclared identifier 'errnos_msgstr'; did you mean 'errnos_msgidxof'?
        return errnos_msgstr + errnos_msgidx[idx];
               ^~~~~~~~~~~~~
               errnos_msgidxof
strerror-sym.c:45:13: note: 'errnos_msgidxof' declared here
      idx = errnos_msgidxof (code);
            ^
strerror-sym.c:47:25: error: use of undeclared identifier 'errnos_msgidx'
        return errnos_msgstr + errnos_msgidx[idx];
                               ^
1 warning and 5 errors generated.
make[3]: *** [gpg_error-strerror-sym.o] Error 1

I will open another ticket for that.

comment:3 Changed 5 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed

In 0caa77bd2142e22573711a2a96a33b803d9d7ad1/macports-ports (master):

libgpg-error: build using gawk 5.0.0 is broken

Closes: #58356
See: https://dev.gnupg.org/T4459
See: https://dev.gnupg.org/T4469

comment:4 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

In 8767766d825f7b64d939f5fe5cd4e07aa28698ec/macports-ports (master):

libgpg-error: prevent use of MacPorts gawk

See #58356

Note: See TracTickets for help on using tickets.