Opened 2 years ago

Last modified 22 months ago

#65264 new defect

sqlite error: no such column: cxx_stdlib (1) while executing query

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.3.4
Keywords: Cc:
Port:

Description

Upgrading an old MacPorts 2.3.4 installation to 2.7.2 via sudo port -v selfupdate failed with:

/mp/libexec/macports/bin/tclsh8.5 ./src/upgrade_sources_conf_default.tcl "/mp"
/mp/libexec/macports/bin/tclsh8.5 ./src/images_to_archives.tcl
This could take a while...
/mp/libexec/macports/bin/tclsh8.5 ./src/dedup_portfiles.tcl
/mp/libexec/macports/bin/tclsh8.5 ./src/cxx_stdlib_overridden.tcl
sqlite error: no such column: cxx_stdlib (1) while executing query: SELECT id FROM registry.ports WHERE name = 'arm-elf-gcc' AND state = 'installed' AND cxx_stdlib IS NULL
    while executing
"registry::entry search name $portname state installed cxx_stdlib -null"
    ("foreach" body line 2)
    invoked from within
"foreach portname $known_ports {
    set entries [registry::entry search name $portname state installed cxx_stdlib -null]
    if {[llength $entries] > ..."
    (file "./src/cxx_stdlib_overridden.tcl" line 33)
make: *** [install] Error 1

Change History (1)

comment:1 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)

Same occurred now upgrading from 2.3.x to 2.8.1 via selfupdate on another machine:

/mp/libexec/macports/bin/tclsh8.6 ./src/upgrade_sources_conf_default.tcl "/mp"
/mp/libexec/macports/bin/tclsh8.6 ./src/images_to_archives.tcl
This could take a while...
/mp/libexec/macports/bin/tclsh8.6 ./src/dedup_portfiles.tcl
/mp/libexec/macports/bin/tclsh8.6 ./src/cxx_stdlib_overridden.tcl
sqlite error: no such column: cxx_stdlib (1) while executing query: SELECT id FROM registry.ports WHERE name = 'arm-elf-gcc' AND state = 'installed' AND cxx_stdlib IS NULL
    while executing
"registry::entry search name $portname state installed cxx_stdlib -null"
    ("foreach" body line 2)
    invoked from within
"foreach portname $known_ports {
    set entries [registry::entry search name $portname state installed cxx_stdlib -null]
    if {[llength $entries] > ..."
    (file "./src/cxx_stdlib_overridden.tcl" line 33)
make: *** [install] Error 1
Note: See TracTickets for help on using tickets.