New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #23266 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

port fails with can't read configure.ld_archflags

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

Description

This just started in the last couple of days.

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: 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 variations]"
Error: Unable to open port: can't read "configure.ld_archflags": no such variable
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History

comment:1 Changed 3 years ago by jpineda@…

  • Cc jpineda@… added

Cc Me!

comment:2 Changed 3 years ago by admsimat@…

  • Cc admsimat@… added

Cc Me!

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

  • Cc christopher.andrey@… added

Cc Me!

comment:4 Changed 3 years ago by j.biczysko@…

  • Cc j.biczysko@… added

Cc Me!

comment:5 Changed 3 years ago by mirimiri66@…

  • Cc mirimiri66@… added

Cc Me!

comment:6 Changed 3 years ago by kevwil@…

  • Cc kevwil@… added

Cc Me!

comment:7 in reply to: ↑ description Changed 3 years ago by admsimat@…

Replying to david@…:

This just started in the last couple of days.

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: 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 variations]"
Error: Unable to open port: can't read "configure.ld_archflags": no such variable
To report a bug, see <http://guide.macports.org/#project.tickets>

In the Portfile of perl/p5-locale-gettext remove the reference to configure.ld_archflags, or set this variable to empty. This allows to upgrade glib2 on my machine. I don't know if this raw solution may break other ports.

comment:8 Changed 3 years ago by widenflycht@…

  • Cc widenflycht@… added

Cc Me!

comment:9 Changed 3 years ago by senz@…

  • Cc senz@… added

Cc Me!

comment:10 Changed 3 years ago by macsforever2000@…

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of #23265.

comment:11 Changed 3 years ago by macsforever2000@…

  • Port set to p5-locale-gettext
Note: See TracTickets for help on using tickets.