cctools fails to build on Snow Leopard

Christopher Jones jonesc at hep.phy.cam.ac.uk
Fri Aug 31 22:55:18 UTC 2018


Hi,

The latest cctools built just fine for the build bots on 10.6

http://packages.macports.org/cctools/ <http://packages.macports.org/cctools/>

something is up on your system. Please provide more details

Chris

> On 31 Aug 2018, at 11:38 pm, Riccardo Mottola via macports-users <macports-users at lists.macports.org> wrote:
> 
> Hi,
> 
> the latest cctools fails to build on Snow Leopard as follows.
> 
> Question: is the compiler critical or can I just configure it with a macports compiler? which one?
> 
> Second question: can it be done automatically?
> 
> Riccardo
> 
> /usr/bin/gcc-4.2 -Os -std=gnu99 -Os -DLTO_SUPPORT -g -I../../include -Wall -D_MACH_I386_THREAD_STATUS_FPSTATE_LEGACY_FIELD_NAMES_ -D_ARCHITECTURE_I386_FPU_FPSTATE_LEGACY_FIELD_NAMES_ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-895/../ld64-274.1/src/abstraction -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-895/../ld64-274.1/src/other -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-895/include -arch x86_64 -arch i386 -I/opt/local/libexec/llvm-3.9/include -pipe -Os -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Werror=date-time -DNDEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS   -c -o ./allocate.o ../allocate.c
> cc1: error: unrecognized command line option "-Wcovered-switch-default"
> cc1: error: unrecognized command line option "-Wdelete-non-virtual-dtor"
> cc1: error: -Werror=date-time: No option -Wdate-time
> cc1: error: unrecognized command line option "-Wcovered-switch-default"
> cc1: error: unrecognized command line option "-Wdelete-non-virtual-dtor"
> cc1: error: -Werror=date-time: No option -Wdate-time
> cc1: error: unrecognized command line option "-Wcovered-switch-default"
> cc1: error: unrecognized command line option "-Wdelete-non-virtual-dtor"
> cc1: error: -Werror=date-time: No option -Wdate-time
> cc1: error: unrecognized command line option "-Wcovered-switch-default"
> cc1: error: unrecognized command line option "-Wdelete-non-virtual-dtor"
> cc1: error: -Werror=date-time: No option -Wdate-time
> fatal error: lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/.tmp/ccvNv9Gd.out (No such file or directory)
> make[2]: *** [allocate.o] Error 1
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180831/b4bce092/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1910 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180831/b4bce092/attachment.bin>


More information about the macports-users mailing list