Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#36067 closed defect (fixed)

Docbook-xml upgrade failed

Reported by: trog24 (Frank J. R. Hanstick) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: leopard tiger Cc: lockhart (Thomas Lockhart), ryandesign (Ryan Carsten Schmidt), patrick.sizun@…
Port: docbook-xml

Description

After:

sudo port selfupdate
sudo port upgrade outdated

I got the following error

ncursesw (5.8_0 is installed; the port was not found in the port index)
py26-xml (0.8.4_0 is installed; the port was not found in the port index)
DEBUG: epoch: in tree: 0 installed: 0 DEBUG: docbook-xml 5.0_2 exists in the ports tree
DEBUG: docbook-xml 5.0_0 is the latest installed DEBUG: docbook-xml 5.0_0 is active
DEBUG: Merging existing variants '' into variants DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/docbook-xml
DEBUG: OS darwin/9.8.0 (Mac OS X 10.5) arch powerpc
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: bad index "12-2": must be integer or end?-integer?
	while executing
"lindex ${docbook-xml-versions} [llength ${docbook-xml-versions}]-2"
	invoked from within
"version [lindex ${docbook-xml-versions} [llength ${docbook-xml-versions}]-2]"
	(file "Portfile" line 41)
	invoked from within
"source Portfile"
	invoked from within
"$workername eval source Portfile"
	(procedure "mportopen" line 47)
	invoked from within
"mportopen $porturl [array get interp_options] [array get variations]"
Error: Unable to open port: bad index "12-2": must be integer or end?-integer?
To report a bug, follow the instructions in the guide:
	http://guide.macports.org/#project.tickets

Change History (2)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: lockhart@… ryandesign@… added
Keywords: leopard tiger added
Resolution: fixed
Status: newclosed

I think the lindex syntax the port used was not compatible with Tcl 8.4 (as found on Leopard and Tiger). Fixed in r97602.

comment:2 Changed 12 years ago by patrick.sizun@…

Cc: patrick.sizun@… added

Cc Me!

Note: See TracTickets for help on using tickets.