Ticket #18893 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.


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.