[MacPorts] #17550: doxygen fails to build universal
#17550: doxygen fails to build universal -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: universal | Port: doxygen -----------------------------------+---------------------------------------- not a standard autoconf project I'm going to add universal_variant no in the mean time. -- Ticket URL: <http://trac.macports.org/ticket/17550> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17550: doxygen fails to build universal ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: css@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: universal Port: doxygen | ------------------------------------+--------------------------------------- Changes (by css@…): * status: new => closed * resolution: => fixed Comment: This isn't an openmaintainer port ... please verify with port maintainers before making commits. Marking this closed. -- Ticket URL: <http://trac.macports.org/ticket/17550#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17550: doxygen fails to build universal ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: css@… Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: universal Port: doxygen | ------------------------------------+--------------------------------------- Changes (by jeremyhu@…): * status: closed => reopened * resolution: fixed => Comment: This isn't fixed. It's still an issue. I just marked it as 'universal_variant no' to allow building until you do fix it to build universal. -- Ticket URL: <http://trac.macports.org/ticket/17550#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17550: doxygen fails to build universal ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: css@… Type: defect | Status: reopened Priority: Low | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: universal Port: doxygen | ------------------------------------+--------------------------------------- Changes (by css@…): * priority: Normal => Low Comment: It'll take some more in depth investigation. I'm dropping the priority to low unless there's a big demand. -- Ticket URL: <http://trac.macports.org/ticket/17550#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17550: doxygen fails to build universal ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: css@… Type: defect | Status: reopened Priority: Low | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: universal Port: doxygen | ------------------------------------+--------------------------------------- Comment(by eborisch@…): Replying to [ticket:17550 jeremyhu@…]:
not a standard autoconf project
I'm going to add universal_variant no in the mean time.
It's pretty simple, it seems... Edit tmake/lib/macosx-c++/tmake.conf after the configure step to include the desired architectures. {{{ TMAKE_CFLAGS = -pipe -arch i386 -arch x86_64 [...] TMAKE_LFLAGS = -Wl,-search_paths_first -arch i386 -arch x86_64 }}} Then build... (Worked for me, at least.) $ file `which doxygen` /opt/local/bin/doxygen: Mach-O universal binary with 2 architectures /opt/local/bin/doxygen (for architecture i386): Mach-O executable i386 /opt/local/bin/doxygen (for architecture x86_64): Mach-O 64-bit executable x86_64 -- Ticket URL: <http://trac.macports.org/ticket/17550#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17550: doxygen fails to build universal ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: css@… Type: defect | Status: reopened Priority: Low | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: universal Port: doxygen | ------------------------------------+--------------------------------------- Comment(by css@…): Replying to [comment:5 eborisch@…]:
Edit tmake/lib/macosx-c++/tmake.conf after the configure step to include the desired architectures.
tmake/lib/macosx-uni-c++/tmake.conf contains those same lines. I'll see if I can switch to using that. The universal variant would need to use `--platform macosx-uni-c++` during the configure phase. -- Ticket URL: <http://trac.macports.org/ticket/17550#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17550: doxygen fails to build universal ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: css@… Type: defect | Status: reopened Priority: Low | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: universal Port: doxygen | ------------------------------------+--------------------------------------- Comment(by eborisch@…): Replying to [comment:7 css@…]:
Replying to [comment:5 eborisch@…]:
Edit tmake/lib/macosx-c++/tmake.conf after the configure step to include the desired architectures.
tmake/lib/macosx-uni-c++/tmake.conf contains those same lines. I'll see if I can switch to using that. The universal variant would need to use `--platform macosx-uni-c++` during the configure phase.
Just curious if there is something impeding this change? -- Ticket URL: <http://trac.macports.org/ticket/17550#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17550: doxygen fails to build universal ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: css@… Type: defect | Status: reopened Priority: Low | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: universal Port: doxygen | ------------------------------------+--------------------------------------- Comment(by css@…): Replying to [comment:8 eborisch@…]:
Replying to [comment:7 css@…]:
Replying to [comment:5 eborisch@…]:
Edit tmake/lib/macosx-c++/tmake.conf after the configure step to include the desired architectures.
tmake/lib/macosx-uni-c++/tmake.conf contains those same lines. I'll see if I can switch to using that. The universal variant would need to use `--platform macosx-uni-c++` during the configure phase.
Just curious if there is something impeding this change?
Mainly it's that universal builds are below my radar, and my MacPorts config isn't currently configured for them. I'll need to deactivate and rebuild everything to test it. (IMO, it seems easier to just build from source on the target system.) I ''think'' the port could do contain like: {{{ platform darwin { global tmake_conf if {[variant_isset universal]} { set tmake_conf ${worksrcpath}/tmake/lib/macosx-uni-c++/tmake.conf configure.args-append --platform macosx-uni-c++ } else { set tmake_conf ${worksrcpath}/tmake/lib/macosx-c++/tmake.conf configure.args-append --platform macosx-c++ } [... pre-Leopard fix ...] } }}} -- Ticket URL: <http://trac.macports.org/ticket/17550#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17550: doxygen fails to build universal ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: css@… Type: defect | Status: reopened Priority: Low | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: universal Port: doxygen | ------------------------------------+--------------------------------------- Comment(by css@…): I committed this to r51717, so if universal builds are something you use, please give it a test. Regular builds appear to work fine. -- Ticket URL: <http://trac.macports.org/ticket/17550#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17550: doxygen fails to build universal ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: css@… Type: defect | Status: closed Priority: Low | Milestone: Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: universal Port: doxygen | ------------------------------------+--------------------------------------- Changes (by css@…): * status: reopened => closed * resolution: => fixed -- Ticket URL: <http://trac.macports.org/ticket/17550#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts