New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #18893 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

dbus: fails to build universal on ppc

Reported by: jeremyhu@… Owned by: mcalhoun@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: universal Cc:
Port: dbus

Description

configure tries to run generated code for CHOST rather than CBUILD. This works for i386+rosetta but not in general:

checking for GNUC varargs macros... yes
checking for struct cmsgcred... no
checking for getpeerucred... no
checking for getpeereid... yes
checking abstract socket namespace... configure: error: in `/opt/local/var/macports/build/_Users_jeremy_src_macports-trunk_dports_devel_dbus/work/i386':
configure: error: cannot run test program while cross compiling
See `config.log' for more details.

Change History

comment:1 Changed 4 years ago by mcalhoun@…

  • Status changed from new to closed
  • Resolution set to fixed

The problem was that --config-cache was not being set as a configuration argument due to a foolish programming error
which only showed up on PowerPC architectures.
It should be fixed in r48302.

Thanks for catching this.

comment:2 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.