[MacPorts] #65128: xar fails to upgrade to @1.8.0.487.100.1 on PowerPC (was: xar fails to upgrade to @@1.8.0.487.100.1 on PowerPC)

MacPorts noreply at macports.org
Sat May 7 03:07:48 UTC 2022


#65128: xar fails to upgrade to @1.8.0.487.100.1 on PowerPC
---------------------------+-----------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  powerpc, tiger, snowleopard
      Port:  xar           |
---------------------------+-----------------------------------------
Description changed by barracuda156:

Old description:

> {{{
> :info:build Executing:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xar/xar/work/xar-487.100.1/xar"
> && /usr/bin/make -j4 -w all
> :debug:build system:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xar/xar/work/xar-487.100.1/xar"
> && /usr/bin/make -j4 -w all
> :info:build make: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xar/xar/work/xar-487.100.1/xar'
> :info:build /opt/local/bin/gcc-mp-11 -pipe
> -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
> -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
> -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/archive.c
> -o lib/archive.o
> :info:build /opt/local/bin/gcc-mp-11 -pipe
> -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
> -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
> -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/bzxar.c -o
> lib/bzxar.o
> :info:build /opt/local/bin/gcc-mp-11 -pipe
> -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
> -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
> -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/b64.c -o
> lib/b64.o
> :info:build /opt/local/bin/gcc-mp-11 -pipe
> -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
> -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
> -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/arcmod.c
> -o lib/arcmod.o
> :info:build /opt/local/bin/gcc-mp-11 -pipe
> -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
> -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
> -isystem/opt/local/include -I/opt/local/include/libxml2 -c
> lib/darwinattr.c -o lib/darwinattr.o
> :info:build /opt/local/bin/gcc-mp-11 -pipe
> -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
> -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
> -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/data.c -o
> lib/data.o
> :info:build /opt/local/bin/gcc-mp-11 -pipe
> -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
> -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
> -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/ea.c -o
> lib/ea.o
> :info:build /opt/local/bin/gcc-mp-11 -pipe
> -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
> -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
> -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/err.c -o
> lib/err.o
> :info:build /opt/local/bin/gcc-mp-11 -pipe
> -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
> -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
> -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/ext2.c -o
> lib/ext2.o
> :info:build /opt/local/bin/gcc-mp-11 -pipe
> -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
> -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
> -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/fbsdattr.c
> -o lib/fbsdattr.o
> :info:build /opt/local/bin/gcc-mp-11 -pipe
> -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
> -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
> -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/filetree.c
> -o lib/filetree.o
> :info:build /opt/local/bin/gcc-mp-11 -pipe
> -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
> -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
> -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/io.c -o
> lib/io.o
> :info:build /opt/local/bin/gcc-mp-11 -pipe
> -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
> -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
> -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/lzmaxar.c
> -o lib/lzmaxar.o
> :info:build /opt/local/bin/gcc-mp-11 -pipe
> -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
> -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
> -isystem/opt/local/include -I/opt/local/include/libxml2 -c
> lib/linuxattr.c -o lib/linuxattr.o
> :info:build lib/filetree.c: In function 'xar_file_equals_file':
> :info:build lib/filetree.c:744:9: error: variable-sized object may not be
> initialized
> :info:build   744 |         char * keys_to_ignore[keys_to_ignore_count] =
> { "id" }; // ID is allowed ot mismatch
> :info:build       |         ^~~~
> :info:build make: *** [lib/filetree.o] Error 1
> :info:build make: *** Waiting for unfinished jobs....
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xar/xar/work/xar-487.100.1/xar'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xar/xar/work/xar-487.100.1/xar"
> && /usr/bin/make -j4 -w all
> :info:build Exit code: 2
> :error:build Failed to build xar: command execution failed
> :debug:build Error code: CHILDSTATUS 70012 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"
> }}}
>
> The identical failure confirmed on 10.4.11 and 10.6, will check 10.5.8
> soon.

New description:

 {{{
 :info:build Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xar/xar/work/xar-487.100.1/xar"
 && /usr/bin/make -j4 -w all
 :debug:build system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xar/xar/work/xar-487.100.1/xar"
 && /usr/bin/make -j4 -w all
 :info:build make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xar/xar/work/xar-487.100.1/xar'
 :info:build /opt/local/bin/gcc-mp-11 -pipe
 -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
 -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/archive.c
 -o lib/archive.o
 :info:build /opt/local/bin/gcc-mp-11 -pipe
 -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
 -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/bzxar.c -o
 lib/bzxar.o
 :info:build /opt/local/bin/gcc-mp-11 -pipe
 -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
 -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/b64.c -o
 lib/b64.o
 :info:build /opt/local/bin/gcc-mp-11 -pipe
 -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
 -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/arcmod.c -o
 lib/arcmod.o
 :info:build /opt/local/bin/gcc-mp-11 -pipe
 -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
 -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include -I/opt/local/include/libxml2 -c
 lib/darwinattr.c -o lib/darwinattr.o
 :info:build /opt/local/bin/gcc-mp-11 -pipe
 -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
 -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/data.c -o
 lib/data.o
 :info:build /opt/local/bin/gcc-mp-11 -pipe
 -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
 -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/ea.c -o
 lib/ea.o
 :info:build /opt/local/bin/gcc-mp-11 -pipe
 -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
 -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/err.c -o
 lib/err.o
 :info:build /opt/local/bin/gcc-mp-11 -pipe
 -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
 -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/ext2.c -o
 lib/ext2.o
 :info:build /opt/local/bin/gcc-mp-11 -pipe
 -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
 -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/fbsdattr.c
 -o lib/fbsdattr.o
 :info:build /opt/local/bin/gcc-mp-11 -pipe
 -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
 -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/filetree.c
 -o lib/filetree.o
 :info:build /opt/local/bin/gcc-mp-11 -pipe
 -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
 -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/io.c -o
 lib/io.o
 :info:build /opt/local/bin/gcc-mp-11 -pipe
 -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
 -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/lzmaxar.c
 -o lib/lzmaxar.o
 :info:build /opt/local/bin/gcc-mp-11 -pipe
 -I/opt/local/libexec/openssl3/include -Os -arch ppc  -fPIC -DPIC -dynamic
 -Iinclude -Iinclude -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include -I/opt/local/include/libxml2 -c lib/linuxattr.c
 -o lib/linuxattr.o
 :info:build lib/filetree.c: In function 'xar_file_equals_file':
 :info:build lib/filetree.c:744:9: error: variable-sized object may not be
 initialized
 :info:build   744 |         char * keys_to_ignore[keys_to_ignore_count] =
 { "id" }; // ID is allowed ot mismatch
 :info:build       |         ^~~~
 :info:build make: *** [lib/filetree.o] Error 1
 :info:build make: *** Waiting for unfinished jobs....
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xar/xar/work/xar-487.100.1/xar'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xar/xar/work/xar-487.100.1/xar"
 && /usr/bin/make -j4 -w all
 :info:build Exit code: 2
 :error:build Failed to build xar: command execution failed
 :debug:build Error code: CHILDSTATUS 70012 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"
 }}}

 The identical failure confirmed on 10.4.11 and 10.6, will check 10.5.8
 soon. (On Tiger it fails using gcc7.)

--

-- 
Ticket URL: <https://trac.macports.org/ticket/65128#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list