can't read "configure.universal_ldflags": no such variable
Ryan Schmidt
ryandesign at macports.org
Tue Apr 21 06:37:14 PDT 2009
I am having trouble upgrading an increasing number of ports (for
example whois, glib2, python25). I'm only seeing this problem on one
machine, as far as I can tell, which is running Mac OS X 10.4.11
Intel, Xcode 2.5, MacPorts 1.7.1. Any ideas? Is anyone else seeing this?
$ port -uxd upgrade whois
DEBUG: Found port in file:///Users/rschmidt/macports/dports/net/whois
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: whois 4.7.33_0 exists in the ports tree
DEBUG: whois 4.7.32_0+universal is installed
DEBUG: whois 4.7.32_0+universal is active
DEBUG: Found port in file:///Users/rschmidt/macports/dports/devel/
gettext
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gettext 0.17_4 exists in the ports tree
DEBUG: gettext 0.17_4+universal is installed
DEBUG: gettext 0.17_4+universal is active
DEBUG: Found port in file:///Users/rschmidt/macports/dports/textproc/
libiconv
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libiconv 1.12_2 exists in the ports tree
DEBUG: libiconv 1.12_2+universal is installed
DEBUG: libiconv 1.12_2+universal is active
DEBUG: Found port in file:///Users/rschmidt/macports/dports/devel/gperf
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gperf 3.0.4_0 exists in the ports tree
DEBUG: gperf 3.0.4_0 is installed
DEBUG: gperf 3.0.4_0 is active
DEBUG: No need to upgrade! gperf 3.0.4_0 >= gperf 3.0.4_0
DEBUG: No need to upgrade! libiconv 1.12_2 >= libiconv 1.12_2
DEBUG: Found port in file:///Users/rschmidt/macports/dports/devel/
ncurses
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncurses 5.7_0 exists in the ports tree
DEBUG: ncurses 5.7_0+universal is installed
DEBUG: ncurses 5.7_0+universal is active
DEBUG: Found port in file:///Users/rschmidt/macports/dports/devel/
ncursesw
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncursesw 5.7_0 exists in the ports tree
DEBUG: ncursesw 5.7_0+universal is installed
DEBUG: ncursesw 5.7_0+universal is active
DEBUG: No need to upgrade! ncursesw 5.7_0 >= ncursesw 5.7_0
DEBUG: No need to upgrade! ncurses 5.7_0 >= ncurses 5.7_0
DEBUG: Found port in file:///Users/rschmidt/macports/dports/textproc/
expat
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: expat 2.0.1_0 exists in the ports tree
DEBUG: expat 2.0.1_0+universal is installed
DEBUG: expat 2.0.1_0+universal is active
DEBUG: No need to upgrade! expat 2.0.1_0 >= expat 2.0.1_0
DEBUG: No need to upgrade! gettext 0.17_4 >= gettext 0.17_4
DEBUG: variants to install {} universal
DEBUG: available variants are : darwin universal
DEBUG: variant universal is present in whois 4.7.33_0
DEBUG: new portvariants: universal +
DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/
net/whois
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.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant i386 is not provided by port whois.
DEBUG: Requested variant macosx is not provided by port whois.
DEBUG: Executing variant darwin provides darwin
DEBUG: Executing variant universal provides universal
DEBUG: Found port in file:///Users/rschmidt/macports/dports/devel/
gettext
DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/
devel/gettext
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.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: Using group file /Users/rschmidt/macports/dports/_resources/
port1.0/group/muniversal-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port gettext.
DEBUG: Requested variant i386 is not provided by port gettext.
DEBUG: Requested variant macosx is not provided by port gettext.
DEBUG: Executing variant universal provides universal
DEBUG: can't read "configure.universal_ldflags": no such variable
while executing
"eval configure.ldflags-append ${configure.universal_ldflags}"
(procedure "variant-universal" line 18)
invoked from within
"variant-universal"
invoked from within
"catch "variant-${name}" result"
Error: Error executing universal: can't read
"configure.universal_ldflags": no such variable
DEBUG: Error evaluating variants
while executing
"error "Error evaluating variants""
(procedure "mportopen" line 57)
invoked from within
"mportopen $porturl $options $variations"
(procedure "mportdepends" line 66)
invoked from within
"mportdepends $mport $target"
(procedure "mportexec" line 23)
invoked from within
"mportexec $workername $upgrade_action"
Error: Unable to upgrade port: Error evaluating variants
$
More information about the macports-dev
mailing list