[MacPorts] #58591: check @0.10.0 does not build on PPC Tiger, MacOSX 10.4.11, because of native void function unsetenv()

MacPorts noreply at macports.org
Sat Oct 3 11:35:21 UTC 2020


#58591: check @0.10.0 does not build on PPC Tiger, MacOSX 10.4.11, because of
native void function unsetenv()
------------------------+--------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.5.4
Resolution:             |   Keywords:  tiger
      Port:  check      |
------------------------+--------------------

Comment (by ballapete):

 Using the original `Portfile` building `check @0.15.2` ends with a
 failure:

 {{{
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_check/check/work
 /libcheck-check-11970a7/tests'
 /opt/local/bin/gcc-apple-4.2 -DHAVE_CONFIG_H -I. -I..  -I../src -I../src
 -I/opt/local/include  -pipe -Os -arch ppc -Wextra -Wstrict-prototypes
 -Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros -Wimport
 -Wfatal-errors -Wformat=2 -Winit-self -Wmissing-include-dirs -Wswitch-
 default -Wunknown-pragmas -MT check_check_export-check_check_sub.o -MD -MP
 -MF .deps/check_check_export-check_check_sub.Tpo -c -o check_check_export-
 check_check_sub.o `test -f 'check_check_sub.c' || echo
 './'`check_check_sub.c
 check_check_sub.c: In function 'test_fail_unless_fn':
 check_check_sub.c:65: warning: too many arguments for format
 check_check_sub.c: In function 'test_fail_if_pass_fn':
 check_check_sub.c:73: warning: too many arguments for format
 check_check_sub.c:74: warning: too many arguments for format
 check_check_sub.c: In function 'test_fail_if_fail_fn':
 check_check_sub.c:83: warning: too many arguments for format
 check_check_sub.c: In function 'test_fail_null_msg_fn':
 check_check_sub.c:92: warning: too many arguments for format
 check_check_sub.c: In function 'test_fail_no_msg_fn':
 check_check_sub.c:103: warning: too many arguments for format
 check_check_sub.c: In function 'test_fail_if_null_msg_fn':
 check_check_sub.c:112: warning: too many arguments for format
 check_check_sub.c: In function 'test_fail_if_no_msg_fn':
 check_check_sub.c:123: warning: too many arguments for format
 check_check_sub.c: In function 'test_fail_vararg_msg_1_fn':
 check_check_sub.c:135: warning: too many arguments for format
 check_check_sub.c: In function 'test_fail_vararg_msg_2_fn':
 check_check_sub.c:147: warning: too many arguments for format
 check_check_sub.c: In function 'test_fail_vararg_msg_3_fn':
 check_check_sub.c:159: warning: too many arguments for format
 check_check_sub.c: In function 'test_fail_empty_fn':
 check_check_sub.c:171: warning: too many arguments for format
 mv -f .deps/check_check_export-check_check_sub.Tpo .deps
 /check_check_export-check_check_sub.Po
 /opt/local/bin/gcc-apple-4.2 -DHAVE_CONFIG_H -I. -I..  -I../src -I../src
 -I/opt/local/include  -pipe -Os -arch ppc -Wextra -Wstrict-prototypes
 -Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros -Wimport
 -Wfatal-errors -Wformat=2 -Winit-self -Wmissing-include-dirs -Wswitch-
 default -Wunknown-pragmas -MT check_check_export-check_check_master.o -MD
 -MP -MF .deps/check_check_export-check_check_master.Tpo -c -o
 check_check_export-check_check_master.o `test -f 'check_check_master.c' ||
 echo './'`check_check_master.c
 mv -f .deps/check_check_export-check_check_master.Tpo .deps
 /check_check_export-check_check_master.Po
 /opt/local/bin/gcc-apple-4.2 -DHAVE_CONFIG_H -I. -I..  -I../src -I../src
 -I/opt/local/include  -pipe -Os -arch ppc -Wextra -Wstrict-prototypes
 -Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros -Wimport
 -Wfatal-errors -Wformat=2 -Winit-self -Wmissing-include-dirs -Wswitch-
 default -Wunknown-pragmas -MT check_check_export-check_check_log.o -MD -MP
 -MF .deps/check_check_export-check_check_log.Tpo -c -o check_check_export-
 check_check_log.o `test -f 'check_check_log.c' || echo
 './'`check_check_log.c
 check_check_log.c: In function 'restore_env':
 check_check_log.c:44: error: void value not ignored as it ought to be
 compilation terminated due to -Wfatal-errors.
 {standard input}:5:FATAL:.abort  detected.  Assembly stopping.
 make[2]: *** [check_check_export-check_check_log.o] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_check/check/work
 /libcheck-check-11970a7/tests'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_check/check/work
 /libcheck-check-11970a7'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_check/check/work
 /libcheck-check-11970a7'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_check/check/work/check-0.15.2"
 && /usr/bin/make -w all
 }}}

 So it's still the same error.

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


More information about the macports-tickets mailing list