[MacPorts] #46629: On PPC Tiger, Mac OS X 10.4.11, build of llvm-3.4 failed because of recipe for target

MacPorts noreply at macports.org
Thu Feb 12 10:42:46 PST 2015


#46629: On PPC Tiger, Mac OS X 10.4.11, build of llvm-3.4 failed because of recipe
for target
------------------------------+------------------------
  Reporter:  Peter_Dyballa@…  |      Owner:  jeremyhu@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.3
Resolution:                   |   Keywords:
      Port:  llvm-3.4         |
------------------------------+------------------------

Comment (by Peter_Dyballa@…):

 Replying to [comment:27 jeremyhu@…]:
 > Well, neither of those are dependencies of cctools.  Were you able to
 build cctools-862 on Tiger?

 Not yet…

 I have these manually edited lines in Portfile:

 {{{
      33 depends_build           port:libunwind-headers
      34
      35 patchfiles              cctools-862-no-lto.patch
      36
      37 variant universal {}
      38
      39 if {${os.major} < 9} {
      40     # XCode 4.1
      41     version             862
      42     revision            4
      43     distfiles           ld64-${ld64_version}.tar.gz
 ${name}-${version}.tar.gz
      44     checksums           ld64-236.3.tar.gz \
      45                         rmd160
 6a3f44aa9ae57a60d2cff5b3d47be7972ad83029 \
      46                         sha256
 8ef36729b643201081ab45ebd8586ede8f9968bc17614b679a940faa82875ca6 \
      47                         cctools-862.tar.gz \
      48                         rmd160
 21ca74a5f9d04c37c2310f107e21a0f3713360dd \
      49                         sha256
 1bf29f620b91c901ad3116b47738ab5076c1aed75d13869cd3bc7f067b4aaadb
      50
      51     patchfiles-delete   cctools-829-lto.patch PR-37520.patch
 cctools-839-static-dis_info.patch cctools-862-prunetri        e.patch
 cctools-862-unifdef__DARWIN_UNIX03-arm.patch cctools-862-no-lto.patch
      52     patchfiles-append
      53 } else {
      54     if {${os.major} < 11} {
      55         patchfiles-append snowleopard-strnlen.patch
      56     }
      57 }
 }}}

 which lead to an early build failure:

 {{{
 =========== /usr/bin/make all for libstuff =============
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/libstuff'
 /bin/mkdir -p static_obj
 /bin/mkdir -p dynamic_obj
 /bin/mkdir -p profile_obj
 /bin/mkdir -p shlib_obj
 /bin/mkdir -p static_kld_obj
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/libstuff/dynamic_obj'
 /opt/local/bin/gcc-apple-4.2 -Os -std=gnu99 -Os  -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_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/../ld64-236.3/src/other
 -arch ppc   -c -o ./allocate.o ../allocate.c
 /opt/local/bin/gcc-apple-4.2 -Os -std=gnu99 -Os  -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_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/../ld64-236.3/src/other
 -arch ppc   -c -o ./errors.o ../errors.c
 /opt/local/bin/gcc-apple-4.2 -Os -std=gnu99 -Os  -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_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/../ld64-236.3/src/other
 -arch ppc   -c -o ./arch.o ../arch.c
 In file included from ../../include/mach/arm/thread_status.h:12,
                  from ../../include/stuff/bytesex.h:53,
                  from ../../include/stuff/arch.h:34,
                  from ../arch.c:30:
 ../../include/mach/arm/_structs.h:180:2: error: #error Unknown
 architecture.
 In file included from ../../include/stuff/bytesex.h:53,
                  from ../../include/stuff/arch.h:34,
                  from ../arch.c:30:
 ../../include/mach/arm/thread_status.h:29:1: warning: "THREAD_STATE_NONE"
 redefined
 In file included from ../../include/stuff/bytesex.h:50,
                  from ../../include/stuff/arch.h:34,
                  from ../arch.c:30:
 ../../include/mach/i386/thread_status.h:112:1: warning: this is the
 location of the previous definition
 In file included from ../../include/stuff/bytesex.h:53,
                  from ../../include/stuff/arch.h:34,
                  from ../arch.c:30:
 ../../include/mach/arm/thread_status.h:50:1: warning:
 "VALID_THREAD_STATE_FLAVOR" redefined
 In file included from ../../include/stuff/bytesex.h:50,
                  from ../../include/stuff/arch.h:34,
                  from ../arch.c:30:
 ../../include/mach/i386/thread_status.h:130:1: warning: this is the
 location of the previous definition
 In file included from ../../include/stuff/bytesex.h:53,
                  from ../../include/stuff/arch.h:34,
                  from ../arch.c:30:
 ../../include/mach/arm/thread_status.h:105:1: warning:
 "MACHINE_THREAD_STATE" redefined
 In file included from ../../include/stuff/bytesex.h:50,
                  from ../../include/stuff/arch.h:34,
                  from ../arch.c:30:
 ../../include/mach/i386/thread_status.h:286:1: warning: this is the
 location of the previous definition
 In file included from ../../include/stuff/bytesex.h:53,
                  from ../../include/stuff/arch.h:34,
                  from ../arch.c:30:
 ../../include/mach/arm/thread_status.h:106:1: warning:
 "MACHINE_THREAD_STATE_COUNT" redefined
 In file included from ../../include/stuff/bytesex.h:50,
                  from ../../include/stuff/arch.h:34,
                  from ../arch.c:30:
 ../../include/mach/i386/thread_status.h:287:1: warning: this is the
 location of the previous definition
 In file included from ../../include/stuff/arch.h:34,
                  from ../arch.c:30:
 ../../include/stuff/bytesex.h:238: warning: 'struct
 __darwin_i386_float_state' declared inside parameter list
 ../../include/stuff/bytesex.h:238: warning: its scope is only this
 definition or declaration, which is probably not what you want
 make[2]: *** [arch.o] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/libstuff/dynamic_obj'
 make[1]: *** [dynamic] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/libstuff'
 make: *** [all] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862"
 && /usr/bin/make -w all RC_OS="macos" RC_ProjectSourceVersion=862
 USE_DEPENDENCY_FILE=NO BUILD_DYLIBS=NO CC="/opt/local/bin/gcc-apple-4.2
 -Os -std=gnu99" CXX="/opt/local/bin/g++-apple-4.2 -Os
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/../ld64-236.3/src/abstraction"
 CXXLIB="" TRIE=-DTRIE_SUPPORT RC_ARCHS="ppc" SDK="-I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-862/../ld64-236.3/src/other"
 LTO= RC_CFLAGS="-arch ppc"
 Exit code: 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/46629#comment:28>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list