[MacPorts] #24662: xercesc does not build 32 bit on a X86_64 bit hardware

MacPorts noreply at macports.org
Tue Apr 27 19:32:25 PDT 2010


#24662: xercesc does not build 32 bit on a X86_64 bit hardware
------------------------------------+---------------------------------------
 Reporter:  breaker.dave@…          |       Owner:  chris.ridd@…        
     Type:  defect                  |      Status:  new                 
 Priority:  Normal                  |   Milestone:                      
Component:  ports                   |     Version:  1.8.2               
 Keywords:                          |        Port:  xercesc             
------------------------------------+---------------------------------------
Changes (by jmr@…):

  * keywords:  xercesc i386 2.8 =>
  * owner:  macports-tickets@… => chris.ridd@…


Old description:

> Even though I have set the machine architectures in macports.conf to i386
> I still get a X86_64 build.  Is there a way to force a 32 bit build of
> xercesc 2.8.0?
>
> # machine architectures
>

> universal_archs         i386
> [[BR]]
> [[BR]]
>

>

>

> otool -hV /opt/local/lib/libxerces-depdom.28.0.dylib
> /opt/local/lib/libxerces-depdom.28.0.dylib:
> Mach header
>       magic cputype cpusubtype  caps    filetype ncmds sizeofcmds
> flags
> MH_MAGIC_64  X86_64        ALL  0x00       DYLIB    11        752
> NOUNDEFS DYLDLINK TWOLEVEL NO_REEXPORTED_DYLIBS

New description:

 Even though I have set the machine architectures in macports.conf to i386
 I still get a X86_64 build.  Is there a way to force a 32 bit build of
 xercesc 2.8.0?
 {{{
 # machine architectures
 universal_archs         i386
 }}}
 {{{
 otool -hV /opt/local/lib/libxerces-depdom.28.0.dylib
 /opt/local/lib/libxerces-depdom.28.0.dylib:
 Mach header
       magic cputype cpusubtype  caps    filetype ncmds sizeofcmds
 flags
 MH_MAGIC_64  X86_64        ALL  0x00       DYLIB    11        752
 NOUNDEFS DYLDLINK TWOLEVEL NO_REEXPORTED_DYLIBS
 }}}

--

Comment:

 Please remember to cc the maintainer.

 Setting universal_archs to a single arch makes no sense. Did you actually
 build with +universal? If you're not using +universal, build_arch is the
 setting you're looking for.

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


More information about the macports-tickets mailing list