Ticket #23266 (closed defect: duplicate)
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: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:10 Changed 3 years ago by macsforever2000@…
- Status changed from new to closed
- Resolution set to duplicate
Duplicate of #23265.
Note: See
TracTickets for help on using
tickets.


Cc Me!