[MacPorts] #36207: ld fails to link a test executable in ./configure
#36207: ld fails to link a test executable in ./configure -----------------------------------+-------------------------------- Reporter: elijah.epifanov@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: ld universal llvm-gcc | Port: R-framework -----------------------------------+-------------------------------- less /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_math_R-framework/R-framework/main.log {{{ :info:configure checking for gcc... /opt/local/bin/llvm-gcc-4.2 :info:configure checking whether the C compiler works... no :info:configure configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_math_R-framework/R-framework/work/R-2.15.1': :info:configure configure: error: C compiler cannot create executables :info:configure See `config.log' for more details :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_math_R-framework/R-framework/work/R-2.15.1" && ./configure --prefix=/opt/local/Library/Frameworks --enable-R-framework --enable-R-shlib --enable-BLAS-shlib --enable-openmp --with-readline --with-aqua --with-libpng --with-ICU --with-included-gettext --without- blas --without-lapack --with-x --with-jpeglib --x-include=/opt/local/include/X11 --x-lib=/opt/local/lib --with-cairo --with-recommended-packages --with-tcltk --with-tcl- config=/opt/local/lib/tclConfig.sh --with-tk- config=/opt/local/lib/tkConfig.sh :info:configure Exit code: 77 :error:configure org.macports.configure for port R-framework returned: configure failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: configure failure: command execution failed while executing "$procedure $targetname" :info:configure Warning: targets not executed for R-framework: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:configure Please see the log file for port R-framework for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_math_R-framework/R-framework/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/36207> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36207: ld fails to link a test executable in ./configure --------------------------------+-------------------------------- Reporter: elijah.epifanov@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: R-framework | --------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: elijah.epifanov@… (removed) * keywords: ld universal llvm-gcc => Comment: Please attach the config.log. -- Ticket URL: <https://trac.macports.org/ticket/36207#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36207: R-framework @2.15.1: ld fails to link a test executable in ./configure --------------------------------+--------------------------- Reporter: elijah.epifanov@… | Owner: kjell.konis@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: R-framework | --------------------------------+--------------------------- Changes (by jmr@…): * cc: elijah.epifanov@… (removed) * owner: macports-tickets@… => kjell.konis@… Comment: {{{ configure:6092: checking whether the C compiler works configure:6114: /opt/local/bin/llvm-gcc-4.2 -pipe -O2 -m64 -I/opt/local/include -L/opt/local/lib -L/opt/local/lib/llvm-gcc42 -lgfortran conftest.c >&5 ld: file is universal (2 slices) but does not contain a(n) x86_64 slice: /usr/lib/crt1.10.6.o for architecture x86_64 collect2: ld returned 1 exit status configure:6118: $? = 1 configure:6156: result: no }}} What does `lipo -info /usr/lib/crt1.10.6.o` say? I don't have 10.8, but on 10.7 I get: {{{ Architectures in the fat file: /usr/lib/crt1.10.6.o are: x86_64 i386 }}} and I would imagine it should have the same archs on 10.8. -- Ticket URL: <https://trac.macports.org/ticket/36207#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36207: R-framework @2.15.1: ld fails to link a test executable in ./configure --------------------------------+--------------------------- Reporter: elijah.epifanov@… | Owner: kjell.konis@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: R-framework | --------------------------------+--------------------------- Comment (by kjell.konis@…): Maintainer here: I am unable to reproduce this. My only guess (i.e., jmr's comment) is that /usr/lib/crt1.10.6.o is somehow borked on the affected machine. Also, on Mountain Lion: $ lipo -info /usr/lib/crt1.10.6.o \\ Architectures in the fat file: /usr/lib/crt1.10.6.o are: i386 x86_64 -- Ticket URL: <https://trac.macports.org/ticket/36207#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36207: R-framework @2.15.1: ld fails to link a test executable in ./configure --------------------------------+--------------------------- Reporter: elijah.epifanov@… | Owner: kjell.konis@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: R-framework | --------------------------------+--------------------------- Comment (by egor7@…): I have experienced the same problem. I've done all migration steps, but my result is the same: {{{ :info:configure checking for gcc... /opt/local/bin/llvm-gcc-4.2 :info:configure checking whether the C compiler works... no }}} -- Ticket URL: <https://trac.macports.org/ticket/36207#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36207: R-framework @2.15.1: ld fails to link a test executable in ./configure --------------------------------+--------------------------- Reporter: elijah.epifanov@… | Owner: kjell.konis@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: R-framework | --------------------------------+--------------------------- Comment (by larryv@…): Replying to [comment:6 egor7@…]:
I have experienced the same problem. I've done all migration steps, but my result is the same: {{{ :info:configure checking for gcc... /opt/local/bin/llvm-gcc-4.2 :info:configure checking whether the C compiler works... no }}}
Does your `config.log` show the same problem as elijah.epifanov’s? -- Ticket URL: <https://trac.macports.org/ticket/36207#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36207: R-framework @2.15.1: ld fails to link a test executable in ./configure --------------------------------+--------------------------- Reporter: elijah.epifanov@… | Owner: kjell.konis@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: R-framework | --------------------------------+--------------------------- Comment (by kjell.konis@…): Maintainer here: there's actually a bigger problem now. The llvm-gcc42 port no longer provides a fortran compiler. Bug #37647 has a patch making gcc45 the default compiler and removing the llvm-gcc42 variant (along with fixing a few other minor things). This bug can be closed. -- Ticket URL: <https://trac.macports.org/ticket/36207#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36207: R-framework @2.15.1: ld fails to link a test executable in ./configure --------------------------------+--------------------------- Reporter: elijah.epifanov@… | Owner: kjell.konis@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: R-framework | --------------------------------+--------------------------- Changes (by larryv@…): * status: new => closed * resolution: => fixed Comment: I’ve removed `+llvm_gcc42` in r103614. -- Ticket URL: <https://trac.macports.org/ticket/36207#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts