[MacPorts] #70411: weird registry error when attempting to activate msp430-elf-gcc @9.3.0_0
MacPorts
noreply at macports.org
Sun Jul 21 13:54:36 UTC 2024
#70411: weird registry error when attempting to activate msp430-elf-gcc @9.3.0_0
-------------------------+----------------------------
Reporter: cooljeanius | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: | Port: msp430-elf-gcc
-------------------------+----------------------------
I recently attempted to upgrade msp430-elf-gcc. It built successfully, but
then when it got to the actual installation part, it failed with this
weird sqlite error:
{{{
---> Installing msp430-elf-gcc @9.3.0_0
DEBUG: elevating privileges for install: euid changed to 0, egid changed
to 0.
DEBUG: Executing org.macports.install (msp430-elf-gcc)
Error: Failed to install msp430-elf-gcc: sqlite error: UNIQUE constraint
failed: ports.name, ports.epoch, ports.version, ports.revision,
ports.variants (2067) while executing query: INSERT INTO registry.ports
(name, version, revision, variants, epoch) VALUES (?, ?, ?, ?, ?)
DEBUG: Error code: registry::sqlite-error
DEBUG: Backtrace: sqlite error: UNIQUE constraint failed: ports.name,
ports.epoch, ports.version, ports.revision, ports.variants (2067) while
executing query: INSERT INTO registry.ports (name, version, revision,
variants, epoch) VALUES (?, ?, ?, ?, ?)
while executing
"registry::entry create $m(name) $m(version) $m(revision) $m(variants)
$m(epoch)"
invoked from within
"registry::write {
# store portfile
set portfile_sha256 [sha256 file $m(portfile_path)]
set portfile_size [file size $m(portfil..."
(procedure "portimage::install" line 4)
invoked from within
"registry_install $regref"
(procedure "portinstall::install_main" line 102)
invoked from within
"$procedure $targetname"
DEBUG: dropping privileges: euid changed to 502, egid changed to 20.
}}}
Is my registry corrupted or something? I'm on x86_64 Big Sur with Xcode
13.
--
Ticket URL: <https://trac.macports.org/ticket/70411>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list