Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21937 closed defect (duplicate)

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 mf2k (Frank Schima))

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 (1)

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

Download all attachments as: .zip

Change History (18)

comment:1 Changed 15 years ago by martijn@…

Cc: martijn@… added

Cc Me!

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: py25-gtk added

comment:3 Changed 15 years ago by blb@…

Owner: changed from macports-tickets@… to nox@…
Port: gtk2 added; py25-gtk removed

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?

comment:4 Changed 15 years ago by ak@…

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

comment:5 Changed 15 years ago by martijn@…

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

comment:6 Changed 15 years ago by martijn@…

Is there an ETA for a fix?

comment:7 Changed 15 years ago by nox@…

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

comment:8 Changed 15 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!

comment:9 Changed 15 years ago by nox@…

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

comment:10 Changed 15 years ago by nox@…

Could you try again with 2.18.5?

comment:11 Changed 15 years ago by martijn@…

Hi there,

I will try this asap (probably Sunday).

Thanks!

comment:12 Changed 15 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.

comment:13 Changed 15 years ago by nox@…

Version: 1.8.1

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

Changed 15 years ago by martijn@…

Attachment: output.txt added

sudo port -d configure gtk2 +universal +quartz

comment:14 Changed 15 years ago by martijn@…

file with output attached!

comment:15 Changed 15 years ago by nox@…

Cc: nox@… added
Owner: changed from nox@… to imajes@…
Port: ncursesw added; gtk2 removed
Summary: can't build universal binary of gtk2 on ppccan't build universal binary of ncursesw on ppc

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

comment:16 Changed 15 years ago by nox@…

Resolution: duplicate
Status: newclosed

see #21434

comment:17 Changed 15 years ago by martijn@…

Alright. Cheers for looking into it!

Note: See TracTickets for help on using tickets.