Opened 15 years ago

Last modified 15 years ago

#23269 closed defect

can't run "port clean --work --archive all" during upgrade to snow leopard — at Initial Version

Reported by: steve.powell@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: p5-locale-gettext

Description

I get

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.

as per ticket Ticket #23266 and Ticket #23265.

However, I'm not installing anything; nor will the single line fix in p5-locale-gettext be enough. I see several references to the variable configure.ld_archflags in the portfiles on my system

16:18:02 /opt/local : grep -r "configure.ld_archflags" . ./var/macports/sources/rsync.macports.org/release/ports/aqua/qt4-mac/Portfile:if {[info exists configure.ld_archflags]} { ./var/macports/sources/rsync.macports.org/release/ports/aqua/qt4-mac/Portfile: configure.ld_archflags ./var/macports/sources/rsync.macports.org/release/ports/aqua/qt4-mac-devel/Portfile:if {[info exists configure.ld_archflags]} { ./var/macports/sources/rsync.macports.org/release/ports/aqua/qt4-mac-devel/Portfile: configure.ld_archflags ./var/macports/sources/rsync.macports.org/release/ports/devel/git-core/Portfile:set LDFLAGS "-L${prefix}/lib ${configure.ld_archflags}" ./var/macports/sources/rsync.macports.org/release/ports/devel/readline/Portfile:} elseif {![info exists configure.ld_archflags]} { ./var/macports/sources/rsync.macports.org/release/ports/lang/python31/Portfile: if {[info exists configure.ld_archflags]} { ./var/macports/sources/rsync.macports.org/release/ports/lang/python31/Portfile: configure.ld_archflags ./var/macports/sources/rsync.macports.org/release/ports/lang/slang2/Portfile:if {![info exists configure.ld_archflags] && ![variant_isset universal]} { ./var/macports/sources/rsync.macports.org/release/ports/sysutils/MacPorts/Portfile:if {[info exists configure.ld_archflags]} { ./var/macports/sources/rsync.macports.org/release/ports/sysutils/MacPorts/Portfile: configure.ld_archflags ./var/macports/sources/rsync.macports.org/release/ports/x11/mesa/Portfile: if {![info exists configure.ld_archflags]} { ./var/macports/sources/rsync.macports.org/release/ports/x11/mesa/Portfile: set extra_ldflags ${configure.ld_archflags}

and I can't modify them all!

The fix in r62661 only 'fixes' on eoccurrence (and not very wel).

Please ensure that the variable (make variable?) configure.ld_archflags is defined for all portfile uses -- apparently it isn't anymore.....

Change History (0)

Note: See TracTickets for help on using tickets.