[MacPorts] #43801: ld64-236.3_1+llvm31 build failed OS 10.6.8 Darwin 10.8.0 Xcode 3.2

MacPorts noreply at macports.org
Fri May 23 18:22:59 PDT 2014


#43801: ld64-236.3_1+llvm31 build failed OS 10.6.8 Darwin 10.8.0 Xcode 3.2
------------------------+--------------------------------
  Reporter:  lance@…    |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.2.1
Resolution:  duplicate  |   Keywords:
      Port:  ld64       |
------------------------+--------------------------------
Changes (by ryandesign@…):

 * cc: lance@… (removed)
 * cc: jeremyhu@… (added)
 * status:  new => closed
 * resolution:   => duplicate


Old description:

> I performed a sudo port update outdated and ld64 wouldn't build.
>
> I've attached the log files but the part that appears relevant is:
>
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64/work/ld64-236.3"
> && /usr/bin/make -j4 -w all CC="/usr/bin/gcc-4.2" CXX="/usr/bin/g++-4.2"
> OTHER_CPPFLAGS="-I/opt/local/include" OTHER_CFLAGS="-Os -arch x86_64"
> OTHER_CXXFLAGS="-Os  -arch x86_64" OTHER_LDFLAGS="-L/opt/local/lib
> -Wl,-headerpad_max_install_names  -arch x86_64"
> LLVM_CONFIG=/opt/local/bin/llvm-config-mp-3.1
> :info:build Exit code: 2
> :error:build org.macports.build for port ld64 returned: command execution
> failed
> :debug:build Error code: CHILDSTATUS 37390 2
> :debug:build Backtrace: command execution failed
>     while executing
> "system -nice 0 $fullcmdstring"
>     ("eval" body line 1)
>     invoked from within
> "eval system $notty $nice \$fullcmdstring"
>     invoked from within
> "command_exec build"
>     (procedure "portbuild::build_main" line 8)
>     invoked from within
> "$procedure $targetname"
> :info:build Warning: targets not executed for ld64: org.macports.install
> org.macports.build org.macports.destroot

New description:

 I performed a sudo port update outdated and ld64 wouldn't build.

 I've attached the log files but the part that appears relevant is:

 {{{
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64/work/ld64-236.3"
 && /usr/bin/make -j4 -w all CC="/usr/bin/gcc-4.2" CXX="/usr/bin/g++-4.2"
 OTHER_CPPFLAGS="-I/opt/local/include" OTHER_CFLAGS="-Os -arch x86_64"
 OTHER_CXXFLAGS="-Os  -arch x86_64" OTHER_LDFLAGS="-L/opt/local/lib
 -Wl,-headerpad_max_install_names  -arch x86_64" LLVM_CONFIG=/opt/local/bin
 /llvm-config-mp-3.1
 :info:build Exit code: 2
 :error:build org.macports.build for port ld64 returned: command execution
 failed
 :debug:build Error code: CHILDSTATUS 37390 2
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: targets not executed for ld64: org.macports.install
 org.macports.build org.macports.destroot
 }}}

--

Comment:

 The relevant part of the log is actually:

 {{{
 :info:build src/ld/parsers/macho_relocatable_file.cpp:4484: error:
 ‘ld::Section’ is not a template
 }}}

 Duplicate of #43737.

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


More information about the macports-tickets mailing list