Opened 11 years ago

Closed 10 years ago

#42362 closed defect (worksforme)

cgal 4.6.4 configure failure: command execution failed

Reported by: low_darylwh@… Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: cgal

Description (last modified by ci42)

mac-daryl:~ daryllow$ sudo port install flex bison boost cgal ccache
Password:
Sorry, try again.
Password:
--->  Computing dependencies for flex
--->  Cleaning flex
--->  Computing dependencies for bison
--->  Cleaning bison
--->  Computing dependencies for boost
--->  Cleaning boost
--->  Computing dependencies for cgal
--->  Configuring cgal
Error: org.macports.configure for port cgal returned: configure failure: command execution failed
Please see the log file for port cgal for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_cgal/cgal/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port cgal failed
mac-daryl:~ daryllow$ sudo port clean cgal
--->  Cleaning cgal
mac-daryl:~ daryllow$ sudo port install cgal ccache
--->  Computing dependencies for cgal
--->  Fetching archive for cgal
--->  Attempting to fetch cgal-4.3_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/cgal
--->  Attempting to fetch cgal-4.3_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/cgal
--->  Attempting to fetch cgal-4.3_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/cgal
--->  Fetching distfiles for cgal
--->  Verifying checksums for cgal
--->  Extracting cgal
--->  Configuring cgal
Error: org.macports.configure for port cgal returned: configure failure: command execution failed
Please see the log file for port cgal for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_cgal/cgal/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port cgal failed
mac-daryl:~ daryllow$ sudo port clean cgal
--->  Cleaning cgal
mac-daryl:~ daryllow$ sudo port instill cgal
Error: Unrecognized action "port instill"
mac-daryl:~ daryllow$ sudo port install cgal
--->  Computing dependencies for cgal
--->  Fetching archive for cgal
--->  Attempting to fetch cgal-4.3_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/cgal
--->  Attempting to fetch cgal-4.3_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/cgal
--->  Attempting to fetch cgal-4.3_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/cgal
--->  Fetching distfiles for cgal
--->  Verifying checksums for cgal
--->  Extracting cgal
--->  Configuring cgal
Error: org.macports.configure for port cgal returned: configure failure: command execution failed
Please see the log file for port cgal for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_cgal/cgal/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port cgal failed
mac-daryl:~ daryllow$ gcc -version
gcc: error: unrecognized command line option '-version'
gcc: fatal error: no input files
compilation terminated.

Change History (3)

comment:1 Changed 11 years ago by ci42

Description: modified (diff)
Owner: changed from macports-tickets@… to vince@…
Port: cgal added
Priority: HighNormal

In the future please remember to use WikiFormatting, fill in the port field and Cc the port maintainer. Note that priority high is reserved for MacPorts team members.

Please try a clean install

$ sudo port clean cgal
$ sudo port selfupdate
$ sudo port install cgal

and attach the log file if it fails.

comment:2 Changed 11 years ago by Veence (Vincent)

Not to dogpile, but I really need the log file to figure out why you use 'gcc' instead of 'clang'

comment:3 in reply to:  2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Replying to vince@…:

Not to dogpile, but I really need the log file to figure out why you use 'gcc' instead of 'clang'

@vince, nothing in the provided information suggests MacPorts is using gcc; the user merely tried to run gcc on the command line (which on Mavericks is probably a symlink to clang) and supplied it with an invalid argument, so naturally it produced an error; that has nothing to do with why MacPorts failed to build the port. To know why the port failed to build, we need to see the main.log file, which the user did not supply.

@low_darylwh, I'm closing this ticket due to lack of actionable information. If you are still experiencing this problem and can provide the main.log file, please attach it and then re-open this ticket.

Note: See TracTickets for help on using tickets.