Opened 13 years ago
Closed 13 years ago
#30414 closed defect (fixed)
ppl, cloog: error: C compiler cannot create executables
Reported by: | kflowers0101@… | Owned by: | adfernandes (Andrew Fernandes) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.0 |
Keywords: | Cc: | ||
Port: | cloog, ppl |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
version:1 :debug:main epoch: in tree: 0 installed: 0 :debug:main gmp 5.0.2_1 exists in the ports tree :debug:main gmp 5.0.2_1 +universal is the latest installed :debug:main gmp 5.0.2_1 +universal is active :debug:main Merging existing variants '+universal' into variants :debug:main new fully merged portvariants: universal + :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gmp :debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386 :debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided :debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided :debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided :debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf :debug:main universal variant already exists, so not adding the default one :debug:main Executing variant universal provides universal :debug:main No need to upgrade! gmp 5.0.2_1 >= gmp 5.0.2_1 :debug:main epoch: in tree: 0 installed: 0 :debug:main glpk 4.45_0 exists in the ports tree :debug:main glpk 4.45_0 +universal is the latest installed :debug:main glpk 4.45_0 +universal is active :debug:main Merging existing variants '+universal' into variants :debug:main new fully merged portvariants: universal + :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/math/glpk :debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386 :debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided :debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided :debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided :debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl :debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf :debug:main universal variant already exists, so not adding the default one :debug:main Executing variant universal provides universal :debug:main No need to upgrade! glpk 4.45_0 >= glpk 4.45_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main zlib 1.2.5_0 exists in the ports tree :debug:main zlib 1.2.5_0 +universal is the latest installed :debug:main zlib 1.2.5_0 +universal is active :debug:main Merging existing variants '+universal' into variants :debug:main new fully merged portvariants: universal + :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib :debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386 :debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided :debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided :debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided :debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/xcodeversion-1.0.tcl :debug:main adding the default universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf :debug:main Executing variant universal provides universal :debug:main No need to upgrade! zlib 1.2.5_0 >= zlib 1.2.5_0 :msg:main ---> Computing dependencies for ppl:info:main .:debug:main Searching for dependency: gmp :debug:main Found Dependency: receipt exists for gmp :debug:main Searching for dependency: glpk :debug:main Found Dependency: receipt exists for glpk :msg:main :debug:main Executing org.macports.main (ppl) :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 502 :debug:archivefetch archivefetch phase started at Wed Jul 27 07:20:00 CDT 2011 :msg:archivefetch ---> Fetching archive for ppl :debug:archivefetch Executing org.macports.archivefetch (ppl) :debug:archivefetch euid/egid changed to: 0/0 :debug:archivefetch chowned /opt/local/var/macports/software/ppl to macports :debug:archivefetch euid/egid changed to: 502/501 :debug:archivefetch euid/egid changed to: 0/0 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports :debug:archivefetch euid/egid changed to: 502/501 :info:archivefetch ---> ppl-0.11.2_0+universal.darwin_11.i386-x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/software/ppl :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:fetch fetch phase started at Wed Jul 27 07:20:00 CDT 2011 :notice:fetch ---> Fetching ppl :debug:fetch euid/egid changed to: 0/0 :debug:fetch chowned /opt/local/var/macports/distfiles/ppl to macports :debug:fetch euid/egid changed to: 502/501 :debug:fetch Executing org.macports.fetch (ppl) :debug:fetch Privilege de-escalation not attempted as not running as root. :debug:checksum checksum phase started at Wed Jul 27 07:20:00 CDT 2011 :notice:checksum ---> Verifying checksum(s) for ppl :debug:checksum Executing org.macports.checksum (ppl) :info:checksum ---> Checksumming ppl-0.11.2.tar.bz2 :debug:checksum Correct (md5) checksum for ppl-0.11.2.tar.bz2 :debug:checksum Correct (sha1) checksum for ppl-0.11.2.tar.bz2 :debug:checksum Correct (rmd160) checksum for ppl-0.11.2.tar.bz2 :debug:checksum Privilege de-escalation not attempted as not running as root. :debug:extract extract phase started at Wed Jul 27 07:20:00 CDT 2011 :notice:extract ---> Extracting ppl :debug:extract setting option extract.cmd to /usr/bin/bzip2 :debug:extract Executing org.macports.extract (ppl) :info:extract ---> Extracting ppl-0.11.2.tar.bz2 :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/ppl/ppl-0.11.2.tar.bz2' :debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ppl/ppl/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' :debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ppl/ppl/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/ppl/ppl-0.11.2.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf -' :debug:extract Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ppl/ppl/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/ppl/ppl-0.11.2.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf - :debug:extract euid/egid changed to: 0/0 :debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ppl/ppl/work to macports :debug:extract euid/egid changed to: 502/501 :debug:extract Privilege de-escalation not attempted as not running as root. :debug:patch patch phase started at Wed Jul 27 07:20:02 CDT 2011 :debug:patch Executing org.macports.patch (ppl) :debug:patch Privilege de-escalation not attempted as not running as root. :debug:configure configure phase started at Wed Jul 27 07:20:02 CDT 2011 :notice:configure ---> Configuring ppl :debug:configure Using compiler 'Mac OS X llvm-gcc 4.2' :debug:configure Executing org.macports.configure (ppl) :info:configure ---> Configuring ppl for architecture x86_64 :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64 -march=native' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.7' CXX='/Developer/usr/bin/llvm-g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ppl/ppl/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' FCFLAGS='-pipe -O2 -m64' OBJC='/Developer/usr/bin/llvm-gcc-4.2' INSTALL='/usr/bin/install -c' NM='/usr/bin/nm' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/Developer/usr/bin/llvm-gcc-4.2' :debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ppl/ppl/work/ppl-0.11.2-x86_64" && ./configure --prefix=/opt/local --disable-dependency-tracking --build=x86_64-apple-darwin11.0.0 --disable-dependency-tracking --host=x86_64-apple-darwin11.0.0' :debug:configure Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ppl/ppl/work/ppl-0.11.2-x86_64" && ./configure --prefix=/opt/local --disable-dependency-tracking --build=x86_64-apple-darwin11.0.0 --disable-dependency-tracking --host=x86_64-apple-darwin11.0.0 :info:configure checking build system type... x86_64-apple-darwin11.0.0 :info:configure checking host system type... x86_64-apple-darwin11.0.0 :info:configure checking for a BSD-compatible install... /usr/bin/install -c :info:configure checking whether build environment is sane... yes :info:configure checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p :info:configure checking for gawk... no :info:configure checking for mawk... no :info:configure checking for nawk... no :info:configure checking for awk... awk :info:configure checking whether make sets $(MAKE)... yes :info:configure checking how to create a ustar tar archive... gnutar :info:configure checking for x86_64-apple-darwin11.0.0-gcc... /Developer/usr/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_devel_ppl/ppl/work/ppl-0.11.2-x86_64': :info:configure configure: error: C compiler cannot create executables :info:configure See `config.log' for more details. :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ppl/ppl/work/ppl-0.11.2-x86_64" && ./configure --prefix=/opt/local --disable-dependency-tracking --build=x86_64-apple-darwin11.0.0 --disable-dependency-tracking --host=x86_64-apple-darwin11.0.0 " returned error 77 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) :debug:configure Backtrace: configure failure: shell command failed (see log for details) while executing "$procedure $targetname" :info:configure Warning: the following items did not execute (for ppl): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:configure Log for ppl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ppl/ppl/main.log
Attachments (1)
Change History (9)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | cloog ppl removed |
Owner: | changed from macports-tickets@… to adfernandes@… |
Port: | cloog ppl added |
Summary: | error port install cloog and ppl → ppl, cloog: error: C compiler cannot create executables |
comment:2 Changed 13 years ago by jmroot (Joshua Root)
Or installing it for the first time. A lot of people get tripped up by the fact that installing Xcode from the App Store only installs an installer.
comment:3 Changed 13 years ago by jmroot (Joshua Root)
Type: | submission → defect |
---|
comment:4 Changed 13 years ago by adfernandes (Andrew Fernandes)
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:5 Changed 13 years ago by preglow@…
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:6 Changed 13 years ago by preglow@…
Attached config.log shows that this failure is not due to Xcode install issues, but the fact that the port tries to compile with -march/-mtune=native, which gcc 4.2 does not support.
comment:7 Changed 13 years ago by adfernandes (Andrew Fernandes)
Aha. The portfile was adding "-march=native" erroneously when building universal. Should be fixed now in r86239.
comment:8 Changed 13 years ago by adfernandes (Andrew Fernandes)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note: See
TracTickets for help on using
tickets.
Please use WikiFormatting, fill in the Port field with the affected port, and Cc the maintainer of that port.
The error "C compiler cannot create executables" often means Xcode is not installed properly. Try reinstalling Xcode.