Opened 14 years ago

Closed 14 years ago

#25407 closed defect (duplicate)

gcc44 installation fails (sqlite error)

Reported by: vinc17@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.9.1
Keywords: Cc:
Port:

Description

On Mac OS X Tiger, with MaPorts 1.9.1:

$ sudo port -v upgrade py25-numpy
[...]
Waiting for lock on /opt/local/var/macports/build/_Users_vinc17_software_dports_lang_gcc44/work/.macports.gcc44.state
--->  Computing dependencies for gcc44.
Waiting for lock on /opt/local/var/macports/build/_Users_vinc17_software_dports_lang_gcc44/work/.macports.gcc44.state
Waiting for lock on /opt/local/var/macports/build/_Users_vinc17_software_dports_lang_gcc44/work/.macports.gcc44.state
--->  Installing gcc44 @4.4.4_2
Error: Target org.macports.install returned: sqlite error: columns name, epoch, version, revision, variants are not unique (1) while executing query: INSERT INTO registry.ports (name, version, revision, variants, epoch) VALUES (?, ?, ?, ?, ?)
Warning: the following items did not execute (for gcc44): org.macports.activate org.macports.install
Log for gcc44 is at: /opt/local/var/macports/logs/_Users_vinc17_software_dports_lang_gcc44/main.log
Error: Problem while installing gcc44

I support that this is a general MacPorts problem, not specific to the gcc44 port.

Change History (3)

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

I think this is the same as my #24858, which is the same as your #19935.

comment:2 Changed 14 years ago by vinc17@…

#19935 was reported against 1.7.1, while this bug seems to be new in 1.9.

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

You clearly have multiple port instances running, so yes, this is the same TOCTOU error.

Note: See TracTickets for help on using tickets.