New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21937 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

can't build universal binary of ncursesw on ppc

Reported by: ak@… Owned by: imajes@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: martijn@…, nox@…
Port: ncursesw

Description (last modified by macsforever2000@…) (diff)

When trying to install universal gtk2 on a PPC machine, the following error occurs:

$ sudo port install py25-gtk +universal +quartz +no_x11
--->  Computing dependencies for py25-gtk
When building a universal binary of gtk2, make sure none of {i386 x86_64} is first in universal_archs in /opt/local/etc/macports/macports.conf
Error: Unable to execute port: incompatible universal_archs value

Attachments

output.txt Download (145.7 KB) - added by martijn@… 2 years ago.
sudo port -d configure gtk2 +universal +quartz

Change History

Changed 2 years ago by martijn@…

  • cc martijn@… added

Cc Me!

Changed 2 years ago by macsforever2000@…

  • port set to py25-gtk
  • description modified (diff)

Changed 2 years ago by blb@…

  • owner changed from macports-tickets@… to nox@…
  • port changed from py25-gtk to gtk2

That error message appears to be coming from the gtk2 Portfile; does it mean the only way to build gtk2 universal is to put ppc first in universal_archs?

Changed 2 years ago by ak@…

I don't know - putting ppc first would probably break universal build on intel machines in the same way.

Changed 2 years ago by martijn@…

That doesn't work, I don't remember the error but it failed.

Changed 2 years ago by martijn@…

Is there an ETA for a fix?

Changed 2 years ago by nox@…

No. And I can't help if I don't know what happened when you put ppc in first.

Changed 2 years ago by martijn@…

Putting ppc in first ain't working either. I already confirmed putting ppc first did not help, but maybe I wasn't clear enough. Thanks for looking at it!

Changed 2 years ago by nox@…

I want the log of what happens when you put ppc in first.

Changed 2 years ago by nox@…

Could you try again with 2.18.5?

Changed 2 years ago by martijn@…

Hi there,

I will try this asap (probably Sunday).

Thanks!

Changed 2 years ago by martijn@…

Tried it.... First result I got was

sudo port install py25-gtk +universal +quartz +no_x11 py25-py2app +universal +quartz +no_x11 py25-bz2 +universal +quartz +no_x11 py25-mutagen +universal +quartz +no_x11
--->  Computing dependencies for py25-gtkWhen building a universal binary of gtk2, make sure none of {i386 x86_64} is first in universal_archs in /opt/local/etc/macports/macports.conf
Error: Unable to execute port: incompatible universal_archs value

So the I put in ppc first in /opt/local/etc/macports/macports.conf which resulted in

configure: error: Cross-build requires two compilers.
Use --with-build-cc to specify the native compiler.

Error: The following dependencies failed to build: atk gettext ncurses ncursesw glib2 autoconf help2man p5-locale-gettext perl5 perl5.8 m4 automake libtool pkgconfig gtk-doc docbook-xml docbook-xml-4.1.2 xmlcatmgr docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl gnome-doc-utils iso-codes libxslt libxml2 zlib p5-xml-parser py26-libxml2 python26 bzip2 db46 gdbm openssl readline sqlite3 tk tcl rarian getopt intltool gnome-common p5-getopt-long p5-pathtools p5-scalar-list-utils gtk2 cairo fontconfig freetype libpixman libpng jasper jpeg pango shared-mime-info tiff 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.

Changed 2 years ago by nox@…

  • version 1.8.1 deleted

Please paste or attach the output of sudo port -d configure gtk2 +universal +quartz

Changed 2 years ago by martijn@…

sudo port -d configure gtk2 +universal +quartz

Changed 2 years ago by martijn@…

file with output attached!

Changed 2 years ago by nox@…

  • cc nox@… added
  • owner changed from nox@… to imajes@…
  • port changed from gtk2 to ncursesw
  • summary changed from can't build universal binary of gtk2 on ppc to can't build universal binary of ncursesw on ppc

Ok, that's not gtk2 which is failing, it's ncursesw.

Changed 2 years ago by nox@…

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

see #21434

Changed 2 years ago by martijn@…

Alright. Cheers for looking into it!

Note: See TracTickets for help on using tickets.