Re: [MacPorts] #63667: lighttpd @1.4.60 does not build on PPC Leopard because ‘for’ loop initial declaration used outside C99 mode

MacPorts noreply at macports.org
Sun Oct 24 17:18:34 UTC 2021


#63667: lighttpd @1.4.60  does not build on PPC Leopard because ‘for’ loop initial
declaration used outside C99 mode
------------------------+---------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.7.1
Resolution:             |   Keywords:  leopard
      Port:  lighttpd   |
------------------------+---------------------

Comment (by ballapete):

 The `port` builds with `GCC7`. `make -k check` fails here:

 {{{
 Testing in build directory: '..' and cwd:
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_lighttpd/lighttpd/work/lighttpd-1.4.60/tests'
 preparing infrastructure                PASS: prepare.sh
 ./core-condition.t .. ok
 ./mod-fastcgi.t ..... ok
 ./mod-scgi.t ........ ok
 ./request.t ......... 129/179 #
 # empty response

 #   Failed test 'cgi-env: SCRIPT_NAME'
 #   at ./request.t line 1361.
 #
 # empty response

 #   Failed test 'broken header via perl cgi'
 #   at ./request.t line 1408.
 ./request.t ......... 154/179 # Looks like you failed 2 tests of 179.
 ./request.t ......... Dubious, test returned 2 (wstat 512, 0x200)
 Failed 2/179 subtests
         (less 1 skipped subtest: 176 okay)

 Test Summary Report
 -------------------
 ./request.t       (Wstat: 512 Tests: 179 Failed: 2)
   Failed tests:  130, 136
   Non-zero exit status: 2
 Files=4, Tests=238, 22 wallclock secs ( 0.27 usr  0.08 sys +  2.81 cusr
 1.60 csys =  4.76 CPU)
 Result: FAIL
 Failed 1/4 test programs. 2/238 subtests failed.
 FAIL: run-tests.pl
 cleaning up                             PASS: cleanup.sh
 ========================================================================
 1 of 3 tests failed
 Please report to https://redmine.lighttpd.net/projects/lighttpd/boards/2
 ========================================================================
 make[3]: *** [Makefile:658: check-TESTS] Fehler 1
 make[2]: *** [Makefile:810: check-am] Fehler 2
 make[1]: *** [Makefile:565: check-recursive] Fehler 1
 make[1]: Das Ziel „check“ wurde wegen Fehlern nicht aktualisiert.
 make[1]: Für das Ziel „check-am“ ist nichts zu tun.
 make: *** [Makefile:470: check-recursive] Fehler 1
 make: Das Ziel „check“ wurde wegen Fehlern nicht aktualisiert.
 6.138u 3.367s 0:38.26 24.8%     0+0k 37+155io 968pf+0w

 Compilation exited abnormally with code 2 at Sun Oct 24 19:13:34
 }}}

 To me this looks like a failure that has to happen because Apache is not
 running here.

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


More information about the macports-tickets mailing list