New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #17550 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

doxygen fails to build universal

Reported by: jeremyhu@… Owned by: css@…
Priority: Low Milestone:
Component: ports Version: 1.6.0
Keywords: universal Cc: css@…, mcalhoun@…, eborisch@…
Port: doxygen

Description

not a standard autoconf project

I'm going to add universal_variant no in the mean time.

Change History

  Changed 3 years ago by css@…

  • status changed from new to closed
  • resolution set to fixed

This isn't an openmaintainer port ... please verify with port maintainers before making commits.

Marking this closed.

  Changed 3 years ago by jeremyhu@…

  • status changed from closed to reopened
  • resolution fixed deleted

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.

  Changed 3 years ago by css@…

  • priority changed from Normal to Low

It'll take some more in depth investigation. I'm dropping the priority to low unless there's a big demand.

  Changed 3 years ago by mcalhoun@…

  • cc mcalhoun@… added

Cc Me!

in reply to: ↑ description ; follow-up: ↓ 7   Changed 3 years ago by eborisch@…

Replying to 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

  Changed 3 years ago by eborisch@…

  • cc eborisch@… added

Cc Me!

in reply to: ↑ 5 ; follow-up: ↓ 8   Changed 3 years ago by css@…

Replying to 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.

in reply to: ↑ 7 ; follow-up: ↓ 9   Changed 3 years ago by eborisch@…

Replying to css@…:

Replying to 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?

in reply to: ↑ 8   Changed 3 years ago by css@…

Replying to eborisch@…:

Replying to css@…:

Replying to 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 ...]
}

  Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

  Changed 3 years ago 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.

  Changed 2 years ago by css@…

  • status changed from reopened to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.