Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#43320 closed defect (fixed)

readline @6.3.003 configures for i386 on a 10.5.8. PPC

Reported by: udbraumann Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: ppc Cc: cooljeanius (Eric Gallager)
Port: readline

Description

readline fails issuing a configure error on ppc:

:info:configure configure: error: cannot run test program while cross compiling

Cross compiling? I only expected a native build for ppc.

Earlier during configuration I found in the log:

:info:configure --->  Configuring readline for architecture i386

I guess this can be fixed. In the mean time should I work around by means of a universal install?

Attachments (1)

main.log (22.0 KB) - added by udbraumann 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by udbraumann

Attachment: main.log added

comment:1 in reply to:  description Changed 11 years ago by udbraumann

Replying to braumann@…:

... In the mean time should I work around by means of a universal install?

As it turns out, even when invoking with +universal it solely applies a -arch i386 flag ...

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

Cc: mcalhoun@… removed
Owner: changed from macports-tickets@… to mcalhoun@…

comment:3 in reply to:  2 Changed 11 years ago by udbraumann

It took me a while to realize that previously had installed readline a universal variant (I no longer remember why):

port installed readline
The following ports are currently installed:
  readline @6.2.000_0+universal (active)

As variants are inherited when upgrading, it appears for version 6.3 a universal variant build (at least on a ppc platform) is no longer working (somehow it seems to try two separate build for both archs, starting with i368). Since this is not essential for me I successfully could upgrade typing

port upgrade readline -universal

comment:4 Changed 11 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

I am glad you found a solution.
r118842 should prevent this problem in the future.

comment:5 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.