[MacPorts] #69282: jdupes @1.27.3 does not build on PPC Tiger, Mac OS X 10.4.11, because cc1 does not understand option "-std=gnu11"

MacPorts noreply at macports.org
Mon Feb 5 16:52:23 UTC 2024


#69282: jdupes @1.27.3 does not build on PPC Tiger, Mac OS X 10.4.11, because cc1
does not understand option "-std=gnu11"
------------------------+------------------------
  Reporter:  ballapete  |      Owner:  ryandesign
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.9.1
Resolution:             |   Keywords:  ppc tiger
      Port:  jdupes     |
------------------------+------------------------
Changes (by ballapete):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 There is more work needed. I tried in the meantime to `build jdupes
 configure.compiler=macports-gcc-7` and ran into this failure:

 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_sysutils_jdupes/jdupes/work/compwrap/cc/opt/local/bin
 /gcc-mp-7 -Os -arch ppc -Wall -Wwrite-strings -Wcast-align -Wstrict-
 aliasing -Wstrict-prototypes -Wpointer-arith -Wundef -Wshadow -Wfloat-
 equal -Waggregate-return -Wcast-qual -Wswitch-default -Wswitch-enum
 -Wunreachable-code -Wformat=2 -std=gnu11 -D_FILE_OFFSET_BITS=64 -fstrict-
 aliasing -pipe -DNO_ATIME -DNDEBUG -Wextra -Wstrict-overflow=5 -Winit-self
 -Wl,-stack_size -Wl,0x1000000 -DNO_CLONEFILE=1 -DENABLE_DEDUPE
 -I/opt/local/include  -c -o act_linkfiles.o act_linkfiles.c
 act_linkfiles.c:31:12: fatal error: copyfile.h: No such file or directory
    #include <copyfile.h>
             ^~~~~~~~~~~~
 compilation terminated.
 gmake: *** [<builtin>: act_linkfiles.o] Error 1
 gmake: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_sysutils_jdupes/jdupes/work/jdupes-1.27.3'
 }}}

 So `legacy support` is needed for `Tiger` (`Leopard` and later have this
 file).

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


More information about the macports-tickets mailing list