[MacPorts] #22815: wxWidgets fails to build with +universal

MacPorts noreply at macports.org
Mon Jan 18 17:57:44 PST 2010


#22815: wxWidgets fails to build with +universal
----------------------------------+-----------------------------------------
 Reporter:  software@…            |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.8.1                                
 Keywords:  universal             |        Port:  wxWidgets                            
----------------------------------+-----------------------------------------

Old description:

> I replicate the report of haraoka
> http://trac.macports.org/ticket/20952#comment:40, as this is a separate
> issue.
>
> libsdl_mixer was upgraded on 10.5.8(ppc). The build result of
> wxWidgets(2.6.4&2.8.9&2.9.0) failed as follows.
>
>  $ sudo port -dv archive wxWidgets +universal
>
>  g++-4.0: -E, -S, -save-temps and -M options are not allowed with
> multiple -arch flags
>
>  make: *** [.pch/wxprec_monodll/wx/wxprec.h.gch] Error 1
>
>     while executing
>
>  "command_exec build"
>
>     (procedure "portbuild::build_main" line 9) invoked from within
>
>  "$procedure $targetname" Warning: the following items did not execute
> (for wxWidgets): org.macports.archive org.macports.build
> org.macports.destroot Error: Status 1 encountered during processing.

New description:

 I replicate the [comment:ticket:20952:40 report of haraoka], as this is a
 separate issue.

 libsdl_mixer was upgraded on 10.5.8(ppc). The build result of
 wxWidgets(2.6.4&2.8.9&2.9.0) failed as follows.

 {{{
 $ sudo port -dv archive wxWidgets +universal
 g++-4.0: -E, -S, -save-temps and -M options are not allowed with multiple
 -arch flags
 make: *** [.pch/wxprec_monodll/wx/wxprec.h.gch] Error 1
     while executing
  "command_exec build"
     (procedure "portbuild::build_main" line 9) invoked from within
  "$procedure $targetname" Warning: the following items did not execute
 (for wxWidgets): org.macports.archive org.macports.build
 org.macports.destroot Error: Status 1 encountered during processing.
 }}}

--

Comment(by ryandesign@…):

 Replying to [comment:2 software@…]:
 > ld warning: in /opt/local/lib/libSDL.dylib, file is not of required
 architecture

 Presumably, you need to install libsdl with the correct architectures
 first.

 And please remember WikiFormatting when writing in Trac.

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


More information about the macports-tickets mailing list