[MacPorts] #23266: port fails with can't read configure.ld_archflags
MacPorts
noreply at macports.org
Wed Jan 13 07:34:37 PST 2010
#23266: port fails with can't read configure.ld_archflags
----------------------------------+-----------------------------------------
Reporter: david@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port:
----------------------------------+-----------------------------------------
Comment(by admsimat@…):
Replying to [ticket:23266 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.
--
Ticket URL: <http://trac.macports.org/ticket/23266#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list