Opened 8 months ago

#69577 new defect

xorg-xtrans, xorg-libXt opportunistically use Java via fop, which can break the build

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: snowleopard, powerpc, rosetta Cc:
Port: xorg-xtrans, xorg-libXt

Description

Apple Java for 10.6 never had ppc slices, while 10.6.8 as such has those. Some xorg ports pick x86 Java opportunistically even when Macports is configured to build for ppc.

make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-xtrans/xorg-xtrans/work/xtrans-1.5.0/doc'
  GEN      xtrans.pdf
Making portrait pages on a4 paper (210mmx297mm)
/opt/local/bin/fop: line 255: /System/Library/Frameworks/JavaVM.framework/Home/bin/java: Bad CPU type in executable
/opt/local/bin/fop: line 255: /System/Library/Frameworks/JavaVM.framework/Home/bin/java: Unknown error: 0

It can be disabled, at least via a non-default variant: there is a configure option not to use fop.

Change History (0)

Note: See TracTickets for help on using tickets.