Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#23265 closed defect (fixed)

p5-locale-gettext failes to install on Snow Leopard

Reported by: aziz.mithani@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: admsimat@…, christopher.andrey@…, jpineda@…, j.biczysko@…, mirimiri66@…, kevwil@…, widenflycht@…, senz@…, bdv@…
Port: p5-locale-gettext

Description (last modified by mf2k (Frank Schima))

Hi, I'm trying to install kile on snow leopard but when i run the command

sudo port install kile-devel

it starts checking for dependencies and breaks when trying to check 'p5-locale-gettext'

Following is the log:

DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-locale-gettext
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-locale-gettext
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: Going to use alternate build prefix: /Users/aziz/.macports
DEBUG: workpath = /Users/aziz/.macports/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-locale-gettext/work
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/perl5-1.0.tcl
DEBUG: can't read "configure.ld_archflags": no such variable
    while executing
"set LDFLAGS    "-L${prefix}/lib ${configure.ld_archflags}""
    (file "Portfile" line 25)
    invoked from within
"source Portfile"
    invoked from within
"$workername eval source Portfile"
    (procedure "mportopen" line 46)
    invoked from within
"mportopen $porturl [array get options] [array get requested_variations]"
Error: Unable to open port: can't read "configure.ld_archflags": no such variable

could anyone please help me?

Change History (15)

comment:1 Changed 15 years ago by aziz.mithani@…

Cc: aziz.mithani@… added

Cc Me!

comment:2 Changed 15 years ago by admsimat@…

Cc: admsimat@… added

Cc Me!

comment:3 Changed 15 years ago by christopher.andrey@…

Cc: christopher.andrey@… added

Cc Me!

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

Description: modified (diff)

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

Cc: aziz.mithani@… removed

I believe that was just fixed with r62646. Please run selfupdate and try again and let us know if it works.

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

Cc: jpineda@… j.biczysko@… mirimiri66@… kevwil@… widenflycht@… senz@… added

Cc users from #23266.

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

It looks like r62646 was the cause, but sharky fixed it in r62661. In a few minutes, you can selfupdate and try again.

comment:8 Changed 15 years ago by j.biczysko@…

macsforever2000: thanks, please let us know when r62661 is up

comment:9 Changed 15 years ago by bdv@…

Cc me!

I'm really impressed to find that the team is on top of this issue. Nice work, guys!

comment:10 Changed 15 years ago by bdv@…

Cc: bdv@… added

Cc Me!

comment:11 Changed 15 years ago by bdv@…

I can confirm this is fixed (for me) after selfupdate.

comment:12 Changed 15 years ago by pniederw@…

selfupdate doesn't fix the problem for me. Do I have to do anything special?

$ sudo port selfupdate (01-13 16:52) Password: ---> Updating the ports tree ---> Updating MacPorts base sources using rsync MacPorts base version 1.8.2 installed, MacPorts base version 1.8.2 downloaded. ---> MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run

port upgrade outdated

]$ port upgrade outdated (01-13 16:52) Error: Unable to open port: can't read "configure.ld_archflags": no such variable Before reporting a bug, first run the command again with the -d flag to get complete output.

comment:13 in reply to:  12 Changed 15 years ago by senz@…

Replying to pniederw@…:

selfupdate doesn't fix the problem for me. Do I have to do anything special?

$ sudo port selfupdate (01-13 16:52) Password: ---> Updating the ports tree ---> Updating MacPorts base sources using rsync MacPorts base version 1.8.2 installed, MacPorts base version 1.8.2 downloaded. ---> MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run

port upgrade outdated

]$ port upgrade outdated (01-13 16:52) Error: Unable to open port: can't read "configure.ld_archflags": no such variable Before reporting a bug, first run the command again with the -d flag to get complete output.

same here

comment:14 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

comment:15 Changed 15 years ago by nbessi@…

Hello,

I'm new to Macports, this also fix GTK. But would it not be a better solution to replace configure.ld_archflags with configure.ldflags ??

Regards

Note: See TracTickets for help on using tickets.