[MacPorts] #67921: xinit fails on 10.6 due to gcc-4.2: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘read_source_group’

MacPorts noreply at macports.org
Sun Aug 6 18:21:47 UTC 2023


#67921: xinit fails on 10.6 due to gcc-4.2: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘read_source_group’
----------------------------------+----------------------
 Reporter:  barracuda156          |      Owner:  jeremyhu
     Type:  defect                |     Status:  assigned
 Priority:  Normal                |  Milestone:
Component:  ports                 |    Version:  2.8.1
 Keywords:  snowleopard, leopard  |       Port:  xinit
----------------------------------+----------------------
 {{{
 version:1
 :debug:clean Starting logging for xinit @1.4.1_1
 :debug:sysinfo Mac OS X 10.6 (darwin/10.0.0d2) arch powerpc
 :debug:sysinfo MacPorts 2.8.1
 :debug:sysinfo Xcode 3.2, CLT 1.0.0.9000000000.1.1223817369
 :debug:sysinfo SDK 10.6
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.6
 :warn:clean configured user/group macports does not exist, will build as
 root
 :debug:clean Attempting ln -sf
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/x11/xinit/work
 :debug:main Executing org.macports.main (xinit)
 :debug:archivefetch archivefetch phase started at Mon Aug  7 02:12:43 CST
 2023
 :debug:archivefetch Executing org.macports.archivefetch (xinit)
 :debug:fetch fetch phase started at Mon Aug  7 02:12:43 CST 2023
 :notice:fetch --->  Fetching distfiles for xinit
 :debug:fetch Executing org.macports.fetch (xinit)
 :info:fetch --->  xinit-1.4.1.tar.bz2 does not exist in
 /opt/local/var/macports/distfiles/xinit
 :notice:fetch --->  Attempting to fetch xinit-1.4.1.tar.bz2 from
 http://kmq.jp.distfiles.macports.org/xinit
 :debug:checksum checksum phase started at Mon Aug  7 02:12:44 CST 2023
 :notice:checksum --->  Verifying checksums for xinit
 :debug:checksum Executing org.macports.checksum (xinit)
 :info:checksum --->  Checksumming xinit-1.4.1.tar.bz2
 :debug:checksum Calculated (rmd160) is
 e393a9a41f9582b955a7f174f3b1b10ece0fa92b
 :debug:checksum Correct (rmd160) checksum for xinit-1.4.1.tar.bz2
 :debug:checksum Calculated (sha256) is
 de9b8f617b68a70f6caf87da01fcf0ebd2b75690cdcba9c921d0ef54fa54abb9
 :debug:checksum Correct (sha256) checksum for xinit-1.4.1.tar.bz2
 :debug:checksum Calculated (size) is 176206
 :debug:checksum Correct (size) checksum for xinit-1.4.1.tar.bz2
 :debug:extract extract phase started at Mon Aug  7 02:12:44 CST 2023
 :notice:extract --->  Extracting xinit
 :debug:extract setting option extract.cmd to /opt/local/bin/lbzip2
 :debug:extract Executing org.macports.extract (xinit)
 :info:extract --->  Extracting xinit-1.4.1.tar.bz2
 :debug:extract setting option extract.args to
 '/opt/local/var/macports/distfiles/xinit/xinit-1.4.1.tar.bz2'
 :debug:extract Environment:
 :debug:extract CC_PRINT_OPTIONS='YES'
 :debug:extract
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/.CC_PRINT_OPTIONS'
 :debug:extract CPATH='/opt/local/include'
 :debug:extract DEVELOPER_DIR='/Developer'
 :debug:extract LIBRARY_PATH='/opt/local/lib'
 :debug:extract MACOSX_DEPLOYMENT_TARGET='10.6'
 :info:extract Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work"
 && /opt/local/bin/lbzip2 -dc
 '/opt/local/var/macports/distfiles/xinit/xinit-1.4.1.tar.bz2' |
 /usr/bin/gnutar --no-same-owner -xf -
 :debug:extract system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work"
 && /opt/local/bin/lbzip2 -dc
 '/opt/local/var/macports/distfiles/xinit/xinit-1.4.1.tar.bz2' |
 /usr/bin/gnutar --no-same-owner -xf -
 :debug:patch patch phase started at Mon Aug  7 02:12:45 CST 2023
 :debug:patch Executing org.macports.patch (xinit)
 :notice:patch --->  Applying patches to xinit
 :info:patch --->  Applying disable-launchagent.patch
 :debug:patch Environment:
 :debug:patch CC_PRINT_OPTIONS='YES'
 :debug:patch
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/.CC_PRINT_OPTIONS'
 :debug:patch CPATH='/opt/local/include'
 :debug:patch DEVELOPER_DIR='/Developer'
 :debug:patch LIBRARY_PATH='/opt/local/lib'
 :debug:patch MACOSX_DEPLOYMENT_TARGET='10.6'
 :info:patch Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1"
 && /usr/bin/patch -p1 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/x11/xinit/files
 /disable-launchagent.patch'
 :debug:patch system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1"
 && /usr/bin/patch -p1 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/x11/xinit/files
 /disable-launchagent.patch'
 :info:patch patching file launchd/user_startx/startx.plist.cpp
 :debug:configure configure phase started at Mon Aug  7 02:12:45 CST 2023
 :notice:configure --->  Configuring xinit
 :debug:configure Preferred compilers: gcc-4.2 llvm-gcc-4.2 gcc-4.0
 macports-gcc-12 macports-gcc-11 macports-gcc-10 macports-gcc-9 macports-
 gcc-8 macports-gcc-7 macports-gcc-6 macports-gcc-5 macports-clang-11
 macports-clang-10 macports-clang-9.0 macports-clang-8.0 macports-clang-7.0
 macports-clang-6.0 macports-clang-5.0 macports-clang-3.7 macports-
 clang-3.4
 :debug:configure Using compiler 'Xcode GCC 4.2'
 :debug:configure Executing org.macports.configure (xinit)
 :debug:configure Environment:
 :debug:configure CC_PRINT_OPTIONS='YES'
 :debug:configure
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/.CC_PRINT_OPTIONS'
 :debug:configure CPATH='/opt/local/include'
 :debug:configure DEVELOPER_DIR='/Developer'
 :debug:configure LIBRARY_PATH='/opt/local/lib'
 :debug:configure MACOSX_DEPLOYMENT_TARGET='10.6'
 :info:configure Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1"
 && autoreconf -fvi
 :debug:configure system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1"
 && autoreconf -fvi
 :info:configure autoreconf: export WARNINGS=
 :info:configure autoreconf: Entering directory '.'
 :info:configure autoreconf: configure.ac: not using Gettext
 :info:configure autoreconf: running: /opt/local/bin/aclocal --force
 :info:configure autoreconf: configure.ac: tracing
 :info:configure autoreconf: configure.ac: not using Libtool
 :info:configure autoreconf: configure.ac: not using Intltool
 :info:configure autoreconf: configure.ac: not using Gtkdoc
 :info:configure autoreconf: running: /opt/local/bin/autoconf --force
 :info:configure autoreconf: running: /opt/local/bin/autoheader --force
 :info:configure autoreconf: running: /opt/local/bin/automake --add-missing
 --copy --force-missing
 :info:configure launchd/privileged_startx/Makefile.am:43: warning: source
 file '$(srcdir)/../console_redirect.c' is in a subdirectory,
 :info:configure launchd/privileged_startx/Makefile.am:43: but option
 'subdir-objects' is disabled
 :info:configure automake: warning: possible forward-incompatibility.
 :info:configure automake: At least one source file is in a subdirectory,
 but the 'subdir-objects'
 :info:configure automake: automake option hasn't been enabled.  For now,
 the corresponding output
 :info:configure automake: object file(s) will be placed in the top-level
 directory.  However, this
 :info:configure automake: behavior may change in a future Automake major
 version, with object
 :info:configure automake: files being placed in the same subdirectory as
 the corresponding sources.
 :info:configure automake: You are advised to start using 'subdir-objects'
 option throughout your
 :info:configure automake: project, to avoid future incompatibilities.
 :info:configure launchd/user_startx/Makefile.am:28: warning: source file
 '$(srcdir)/../console_redirect.c' is in a subdirectory,
 :info:configure launchd/user_startx/Makefile.am:28: but option 'subdir-
 objects' is disabled
 :info:configure autoreconf: Leaving directory '.'
 :debug:configure Environment:
 :debug:configure CC='/usr/bin/gcc-4.2'
 :debug:configure CC_PRINT_OPTIONS='YES'
 :debug:configure
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/.CC_PRINT_OPTIONS'
 :debug:configure CFLAGS='-pipe -Os -arch ppc'
 :debug:configure CPATH='/opt/local/include'
 :debug:configure CPPFLAGS='-I/opt/local/include'
 :debug:configure CXX='/usr/bin/g++-4.2'
 :debug:configure CXXFLAGS='-pipe -Os -arch ppc'
 :debug:configure DEVELOPER_DIR='/Developer'
 :debug:configure F90FLAGS='-pipe -Os -m32'
 :debug:configure FCFLAGS='-pipe -Os -m32'
 :debug:configure FFLAGS='-pipe -Os -m32'
 :debug:configure INSTALL='/usr/bin/install -c'
 :debug:configure LDFLAGS='-L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch ppc'
 :debug:configure LIBRARY_PATH='/opt/local/lib'
 :debug:configure MACOSX_DEPLOYMENT_TARGET='10.6'
 :debug:configure OBJC='/usr/bin/gcc-4.2'
 :debug:configure OBJCFLAGS='-pipe -Os -arch ppc'
 :debug:configure OBJCXX='/usr/bin/g++-4.2'
 :debug:configure OBJCXXFLAGS='-pipe -Os -arch ppc'
 :info:configure Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1"
 && ./configure --prefix=/opt/local --disable-silent-rules --with-launchd-
 id-prefix=org.macports RAWCPP=/opt/local/bin/tradcpp
 :debug:configure system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1"
 && ./configure --prefix=/opt/local --disable-silent-rules --with-launchd-
 id-prefix=org.macports RAWCPP=/opt/local/bin/tradcpp
 :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 race-free mkdir -p... /opt/local/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 make supports the include directive...
 yes (GNU style)
 :info:configure checking for gcc... /usr/bin/gcc-4.2
 :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 the compiler supports GNU C... yes
 :info:configure checking whether /usr/bin/gcc-4.2 accepts -g... yes
 :info:configure checking for /usr/bin/gcc-4.2 option to enable C11
 features... unsupported
 :info:configure checking for /usr/bin/gcc-4.2 option to enable C99
 features... -std=gnu99
 :info:configure checking whether /usr/bin/gcc-4.2 -std=gnu99 understands
 -c and -o together... yes
 :info:configure checking dependency style of /usr/bin/gcc-4.2
 -std=gnu99... gcc3
 :info:configure checking for /usr/bin/gcc-4.2 -std=gnu99 options needed to
 detect all undeclared functions... none needed
 :info:configure checking for stdio.h... yes
 :info:configure checking for stdlib.h... yes
 :info:configure checking for string.h... yes
 :info:configure checking for inttypes.h... yes
 :info:configure checking for stdint.h... yes
 :info:configure checking for strings.h... yes
 :info:configure checking for sys/stat.h... yes
 :info:configure checking for sys/types.h... yes
 :info:configure checking for unistd.h... yes
 :info:configure checking whether __clang__ is declared... no
 :info:configure checking whether __INTEL_COMPILER is declared... no
 :info:configure checking whether __SUNPRO_C is declared... no
 :info:configure checking for pkg-config... /opt/local/bin/pkg-config
 :info:configure checking pkg-config is at least version 0.9.0... yes
 :info:configure checking build system type... powerpc-apple-darwin10.0.0d2
 :info:configure checking host system type... powerpc-apple-darwin10.0.0d2
 :info:configure checking for a sed that does not truncate output...
 /opt/local/bin/gsed
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Werror
 =unknown-warning-option... no
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Werror
 =unused-command-line-argument... no
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Wall...
 yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Wpointer-arith... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Wmissing-declarations... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Wformat=2... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Wstrict-
 prototypes... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Wmissing-prototypes... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Wnested-
 externs... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Wbad-
 function-cast... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Wold-
 style-definition... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Wdeclaration-after-statement... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Wunused... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Wuninitialized... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Wshadow... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Wmissing-noreturn... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Wmissing-format-attribute... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Wredundant-decls... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Wlogical-op... no
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Werror=implicit... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Werror=nonnull... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Werror
 =init-self... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Werror=main... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Werror
 =missing-braces... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Werror
 =sequence-point... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Werror
 =return-type... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Werror=trigraphs... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Werror
 =array-bounds... no
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Werror
 =write-strings... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Werror=address... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Werror
 =int-to-pointer-cast... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Werror
 =pointer-to-int-cast... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -pedantic... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Werror... yes
 :info:configure checking if /usr/bin/gcc-4.2 -std=gnu99 supports
 -Werror=attributes... yes
 :info:configure checking whether make supports nested variables...
 (cached) yes
 :info:configure checking how to run the C preprocessor... /usr/bin/gcc-4.2
 -std=gnu99 -E
 :info:configure checking for cpp... /opt/local/bin/tradcpp
 :info:configure checking if /opt/local/bin/tradcpp requires -undef... no
 :info:configure checking if /opt/local/bin/tradcpp requires
 -traditional... no
 :info:configure checking for launchd... yes
 :info:configure checking for dispatch_async... yes
 :info:configure checking for x11 xproto >= 7.0.17... yes
 :info:configure checking for mcookie... no
 :info:configure checking for openssl... /opt/local/bin/openssl
 :info:configure configure: startx will depend on "/opt/local/bin/openssl
 rand -hex 16" to generate xauth cookies
 :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 man/Makefile
 :info:configure config.status: creating launchd/Makefile
 :info:configure config.status: creating launchd/privileged_startx/Makefile
 :info:configure config.status: creating launchd/user_startx/Makefile
 :info:configure config.status: creating config.h
 :info:configure config.status: executing depfiles commands
 :debug:configure Executing portconfigure::configure_finish
 :debug:build build phase started at Mon Aug  7 02:13:06 CST 2023
 :notice:build --->  Building xinit
 :debug:build Executing org.macports.build (xinit)
 :debug:build Environment:
 :debug:build CC_PRINT_OPTIONS='YES'
 :debug:build
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/.CC_PRINT_OPTIONS'
 :debug:build CPATH='/opt/local/include'
 :debug:build DEVELOPER_DIR='/Developer'
 :debug:build LIBRARY_PATH='/opt/local/lib'
 :debug:build MACOSX_DEPLOYMENT_TARGET='10.6'
 :info:build Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1"
 && /usr/bin/make -j2 -w all
 :debug:build system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1"
 && /usr/bin/make -j2 -w all
 :info:build make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1'
 :info:build /usr/bin/make  all-recursive
 :info:build make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1'
 :info:build Making all in man
 :info:build make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1/man'
 :info:build /opt/local/bin/gsed -e 's|__vendorversion__|"xinit 1.4.1" "X
 Version 11"|'  -e 's|__xorgversion__|"xinit 1.4.1" "X Version 11"|'    -e
 's|__xservername__|Xorg|g'   -e 's|__xconfigfile__|xorg.conf|g'      -e
 's|__projectroot__|/opt/local|g'     -e 's|__apploaddir__||g'        -e
 's|__appmansuffix__|1|g'     -e 's|__drivermansuffix__|4|g'  -e
 's|__adminmansuffix__|8|g'   -e 's|__libmansuffix__|3|g'     -e
 's|__miscmansuffix__|7|g'    -e 's|__filemansuffix__|5|g' -e
 's|__XSERVERNAME__|Xquartz|g' -e 's|__XCONFIGFILE__|defaults|g' -e
 's|__XCONFIGFILEMAN__|defaults (1)|g' -e
 's|__xinitdir__|/opt/local/etc/X11/xinit|g' -e
 's|__bindir__|/opt/local/bin|g' -e 's|__libdir__|/opt/local/lib|g' -e
 's|__configdir__|/opt/local/etc/X11/xinit|g' < startx.man > startx.1
 :info:build /opt/local/bin/gsed -e 's|__vendorversion__|"xinit 1.4.1" "X
 Version 11"|'  -e 's|__xorgversion__|"xinit 1.4.1" "X Version 11"|'    -e
 's|__xservername__|Xorg|g'   -e 's|__xconfigfile__|xorg.conf|g'      -e
 's|__projectroot__|/opt/local|g'     -e 's|__apploaddir__||g'        -e
 's|__appmansuffix__|1|g'     -e 's|__drivermansuffix__|4|g'  -e
 's|__adminmansuffix__|8|g'   -e 's|__libmansuffix__|3|g'     -e
 's|__miscmansuffix__|7|g'    -e 's|__filemansuffix__|5|g' -e
 's|__XSERVERNAME__|Xquartz|g' -e 's|__XCONFIGFILE__|defaults|g' -e
 's|__XCONFIGFILEMAN__|defaults (1)|g' -e
 's|__xinitdir__|/opt/local/etc/X11/xinit|g' -e
 's|__bindir__|/opt/local/bin|g' -e 's|__libdir__|/opt/local/lib|g' -e
 's|__configdir__|/opt/local/etc/X11/xinit|g' < xinit.man > xinit.1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1/man'
 :info:build Making all in launchd
 :info:build make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1/launchd'
 :info:build Making all in privileged_startx
 :info:build make[3]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1/launchd/privileged_startx'
 :info:build mig -sheader privileged_startxServer.h
 ./privileged_startx.defs
 :info:build mig -sheader privileged_startxServer.h
 ./privileged_startx.defs
 :info:build mig -sheader privileged_startxServer.h
 ./privileged_startx.defs
 :info:build /usr/bin/make  all-am
 :info:build make[4]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1/launchd/privileged_startx'
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..
 -I./.. -DXINITDIR=\"/opt/local/etc/X11/xinit\"
 -DSCRIPTDIR=\"/opt/local/etc/X11/xinit/privileged_startx.d\"
 -DBINDIR=\"/opt/local/bin\" -I/opt/local/include  -pipe -Os -arch ppc -MT
 console_redirect.o -MD -MP -MF .deps/console_redirect.Tpo -c -o
 console_redirect.o `test -f './../console_redirect.c' || echo
 './'`./../console_redirect.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..
 -I./.. -DXINITDIR=\"/opt/local/etc/X11/xinit\"
 -DSCRIPTDIR=\"/opt/local/etc/X11/xinit/privileged_startx.d\"
 -DBINDIR=\"/opt/local/bin\" -I/opt/local/include  -pipe -Os -arch ppc -MT
 server.o -MD -MP -MF .deps/server.Tpo -c -o server.o server.c
 :info:build ./../console_redirect.c:55: error: expected ‘=’, ‘,’, ‘;’,
 ‘asm’ or ‘__attribute__’ before ‘read_source_group’
 :info:build ./../console_redirect.c: In function ‘read_from_source’:
 :info:build ./../console_redirect.c:146: warning: implicit declaration of
 function ‘dispatch_source_get_handle’
 :info:build ./../console_redirect.c: In function ‘cancel_source’:
 :info:build ./../console_redirect.c:163: warning: implicit declaration of
 function ‘dispatch_release’
 :info:build ./../console_redirect.c:164: warning: implicit declaration of
 function ‘dispatch_group_leave’
 :info:build ./../console_redirect.c:164: error: ‘read_source_group’
 undeclared (first use in this function)
 :info:build ./../console_redirect.c:164: error: (Each undeclared
 identifier is reported only once
 :info:build ./../console_redirect.c:164: error: for each function it
 appears in.)
 :info:build ./../console_redirect.c: In function ‘redirect_atexit’:
 :info:build ./../console_redirect.c:246: warning: implicit declaration of
 function ‘dispatch_group_wait’
 :info:build ./../console_redirect.c:246: error: ‘read_source_group’
 undeclared (first use in this function)
 :info:build ./../console_redirect.c:246: warning: implicit declaration of
 function ‘dispatch_time’
 :info:build ./../console_redirect.c:246: error: ‘DISPATCH_TIME_NOW’
 undeclared (first use in this function)
 :info:build ./../console_redirect.c:246: error: ‘NSEC_PER_SEC’ undeclared
 (first use in this function)
 :info:build ./../console_redirect.c: In function ‘xi_asl_init’:
 :info:build ./../console_redirect.c:274: error: ‘read_source_group’
 undeclared (first use in this function)
 :info:build ./../console_redirect.c:274: warning: implicit declaration of
 function ‘dispatch_group_create’
 :info:build ./../console_redirect.c: In function ‘xi_asl_log_fd’:
 :info:build ./../console_redirect.c:287: error: nested functions are
 disabled, use -fnested-functions to re-enable
 :info:build ./../console_redirect.c:287: error: expected ‘=’, ‘,’, ‘;’,
 ‘asm’ or ‘__attribute__’ before ‘once_control’
 :info:build ./../console_redirect.c:287: error: ‘once_control’ undeclared
 (first use in this function)
 :info:build ./../console_redirect.c:288: warning: implicit declaration of
 function ‘dispatch_once_f’
 :info:build ./../console_redirect.c: In function
 ‘__xi_asl_log_fd_block_invoke_1’:
 :info:build ./../console_redirect.c:344: warning: implicit declaration of
 function ‘dispatch_source_create’
 :info:build ./../console_redirect.c:344: error:
 ‘DISPATCH_SOURCE_TYPE_READ’ undeclared (first use in this function)
 :info:build ./../console_redirect.c:344: warning: initialization makes
 pointer from integer without a cast
 :info:build ./../console_redirect.c:346: warning: implicit declaration of
 function ‘dispatch_set_context’
 :info:build ./../console_redirect.c:347: warning: implicit declaration of
 function ‘dispatch_source_set_event_handler_f’
 :info:build ./../console_redirect.c:348: warning: implicit declaration of
 function ‘dispatch_source_set_cancel_handler_f’
 :info:build ./../console_redirect.c:349: warning: implicit declaration of
 function ‘dispatch_group_enter’
 :info:build ./../console_redirect.c:349: error: ‘read_source_group’
 undeclared (first use in this function)
 :info:build ./../console_redirect.c:350: warning: implicit declaration of
 function ‘dispatch_resume’
 :info:build make[4]: *** [console_redirect.o] Error 1
 :info:build make[4]: *** Waiting for unfinished jobs....
 :info:build mv -f .deps/server.Tpo .deps/server.Po
 :info:build make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1/launchd/privileged_startx'
 :info:build make[3]: *** [all] Error 2
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1/launchd/privileged_startx'
 :info:build make[2]: *** [all-recursive] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1/launchd'
 :info:build make[1]: *** [all-recursive] Error 1
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/work/xinit-1.4.1"
 && /usr/bin/make -j2 -w all
 :info:build Exit code: 2
 :error:build Failed to build xinit: command execution failed
 :debug:build Error code: CHILDSTATUS 70412 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xinit/xinit/main.log
 for details.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67921>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list