[MacPorts] #23269: can't run "port clean --work --archive all" during upgrade to snow leopard

MacPorts noreply at macports.org
Wed Jan 13 08:30:43 PST 2010


#23269: can't run "port clean --work --archive all" during upgrade to snow leopard
--------------------------------------------+-------------------------------
  Reporter:  steve.powell@…                 |       Owner:  macports-tickets@…                   
      Type:  defect                         |      Status:  closed                               
  Priority:  Normal                         |   Milestone:                                       
 Component:  ports                          |     Version:  1.8.2                                
Resolution:  duplicate                      |    Keywords:                                       
      Port:  p5-locale-gettext              |  
--------------------------------------------+-------------------------------
Changes (by macsforever2000@…):

  * status:  new => closed
  * resolution:  => duplicate
  * port:  => p5-locale-gettext


Old 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.....

New 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.....

--

Comment:

 Duplicate of #23265.

-- 
Ticket URL: <http://trac.macports.org/ticket/23269#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list