#23269 closed defect (duplicate)
can't run "port clean --work --archive all" during upgrade to snow leopard
Reported by: | steve.powell@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ||
Port: | p5-locale-gettext |
Description (last modified by mf2k (Frank Schima))
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 (2)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Port: | p5-locale-gettext added |
Resolution: | → duplicate |
Status: | new → closed |
comment:2 Changed 15 years ago by steve.powell@…
Please explain why this is a duplicate. I referenced that ticket in my text and I'm doing something quite different.
Duplicate of #23265.