[MacPorts] #30697: gperf: C compiler cannot create executables (was: Gperf 3.0.4_2 - OS Lion - universal binary won't compile)

MacPorts noreply at macports.org
Wed Aug 10 09:20:25 PDT 2011


#30697: gperf: C compiler cannot create executables
-----------------------------------+----------------------------------------
 Reporter:  will.pearse@…          |       Owner:  mcalhoun@…           
     Type:  defect                 |      Status:  new                  
 Priority:  Normal                 |   Milestone:                       
Component:  ports                  |     Version:  2.0.1                
 Keywords:  lion                   |        Port:  gperf                
-----------------------------------+----------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
  * owner:  macports-tickets@… => mcalhoun@…
  * keywords:  => lion
  * port:  => gperf


Old description:

> Hello,
>
> Following on from a previous ticket
> (https://trac.macports.org/ticket/30668) which was closed, I contacted
> the user group list, who told me I should file another ticket with some
> more information. Here it is.
>
> When I attempt to load gperf on OS Lion:
>
> {{{
> sudo port uninstall gperf
> --->  Deactivating gperf @3.0.4_2
> --->  Cleaning gperf
> --->  Uninstalling gperf @3.0.4_2
> --->  Cleaning gperf
> lb-wdp08maclap:~ will$ sudo port clean gperf
> --->  Cleaning gperf
> lb-wdp08maclap:~ will$ sudo port clean gperf
> --->  Cleaning gperf
> lb-wdp08maclap:~ will$ sudo port install gperf +universal
> --->  Fetching archive for gperf
> --->  Attempting to fetch
> gperf-3.0.4_2+universal.darwin_11.i386-x86_64.tbz2 from
> http://packages.macports.org/gperf
> --->  Fetching gperf
> --->  Verifying checksum(s) for gperf
> --->  Extracting gperf
> --->  Applying patches to gperf
> --->  Configuring gperf
> Error: Target org.macports.configure returned: configure failure: shell
> command failed (see log for details)
> Log for gperf is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/gperf/main.log
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>
> }}}
>
> ...I get the above issues. I'm on a 2.66 GHz Intel Core 2 Duo MacBook
> Pro, with XCode 4.1 installed, running OS Lion. I've attached my main.log
> file.
>
> Thanks for your time and for making MacPorts so useful!
>
> Will

New description:

 Hello,

 Following on from a previous ticket (#30668) which was closed, I contacted
 the user group list, who told me I should file another ticket with some
 more information. Here it is.

 When I attempt to load gperf on OS Lion:

 {{{
 sudo port uninstall gperf
 --->  Deactivating gperf @3.0.4_2
 --->  Cleaning gperf
 --->  Uninstalling gperf @3.0.4_2
 --->  Cleaning gperf
 lb-wdp08maclap:~ will$ sudo port clean gperf
 --->  Cleaning gperf
 lb-wdp08maclap:~ will$ sudo port clean gperf
 --->  Cleaning gperf
 lb-wdp08maclap:~ will$ sudo port install gperf +universal
 --->  Fetching archive for gperf
 --->  Attempting to fetch
 gperf-3.0.4_2+universal.darwin_11.i386-x86_64.tbz2 from
 http://packages.macports.org/gperf
 --->  Fetching gperf
 --->  Verifying checksum(s) for gperf
 --->  Extracting gperf
 --->  Applying patches to gperf
 --->  Configuring gperf
 Error: Target org.macports.configure returned: configure failure: shell
 command failed (see log for details)
 Log for gperf is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/gperf/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 ...I get the above issues. I'm on a 2.66 GHz Intel Core 2 Duo MacBook Pro,
 with XCode 4.1 installed, running OS Lion. I've attached my main.log file.

 Thanks for your time and for making MacPorts so useful!

 Will

--

Comment:

 Don't forget to fill in the Port field and to Cc the maintainer of that
 port.

 So the log says:
 {{{
 error: C compiler cannot create executables
 }}}
 Often this means [wiki:FAQ#missingxcode Xcode is not installed], but that
 doesn't seem like the correct diagnosis here, because we note that gperf
 uses the muniversal portgroup, which means it separately handles x86_64
 and i386 architectures, and we see that it correctly configured the x86_64
 part and is just having trouble with the i386 part. The log also says:
 {{{
 See `config.log' for more details.
 }}}
 So let's have a look at the i386 config.log; please attach it. It's inside
 the directory identified by the command:
 {{{
 echo $(port work gperf)/*-i386
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/30697#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list