New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #23851 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

GTK+ universal fails to build

Reported by: martijn@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gtk2

Description

Log attached

Attachments

config.log (98.5 KB) - added by martijn@… 3 years ago.

Change History

Changed 3 years ago by martijn@…

comment:1 Changed 3 years ago by martijn@…

checking if gio can sniff png... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.18.7-i386':
configure: error: cannot run test program while cross compiling
See `config.log' for more details.
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.18.7-i386" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable-static --with-included-loaders --disable-glibtest --disable-dependency-tracking --with-gdktarget=quartz --host=i386-apple-darwin9.8.0 " returned error 1
DEBUG: Backtrace: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.18.7-i386" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable-static --with-included-loaders --disable-glibtest --disable-dependency-tracking --with-gdktarget=quartz --host=i386-apple-darwin9.8.0 " returned error 1
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for gtk2): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: The following dependencies failed to build: gtk2 libglade2 py25-cairo py25-numpy atlas gcc43 gmp mpfr gzip fftw-3 py25-nose py25-setuptools python25 py25-gobject
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

comment:2 Changed 3 years ago by jmr@…

  • Keywords gtk+ universal removed
  • Owner changed from macports-tickets@… to nox@…
  • Port changed from GTK+ to gtk2

Please remember to cc the maintainer. There is no port called "GTK+", I'm assuming you mean gtk2.

comment:3 Changed 3 years ago by martijn@…

Sorry about that. Yes it's Gtk2. Thanks

comment:4 Changed 3 years ago by martijn@…

Someone pointed me to the following link, which seems to be the a similar bug (with solution) as mine.

https://lists.gnumonks.org/pipermail/openezx-devel/2006-June/000533.html

Ok, this may be ancient news for you pros, but it took me a while to 
sort out so I thought I would share it.  If you are trying to 
cross-compiled something for one of these phones (or any cross-compiling 
for that matter) and you run across this error:

checking whether setvbuf arguments are reversed... configure: error: 
cannot run test program while cross compiling

You have to rebuild the configure script with autoconf 2.53b or later.  
I ran into this building the bash 3.1.  They used autoconf 2.53 to make 
the configure script and this bug is fixed in 2.53b.  It's actually 
somewhat of an assumption however (since it can't call a cross-compiled 
executable to see if setvbuf arguments are reversed, it assumes they are 
not).

comment:5 Changed 3 years ago by nox@…

  • Status changed from new to closed
  • Version 1.8.2 deleted
  • Resolution set to fixed

should works now with r64762

Note: See TracTickets for help on using tickets.