Opened 16 years ago

Closed 15 years ago

#17293 closed defect (worksforme)

ncursesw-5.7.0 Activation defect

Reported by: spam@… Owned by: imajes@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: ncurses, ncursesw, activate Cc:
Port: ncursesw

Description (last modified by blb@…)

root@blabli ~ $ port upgrade ncursesw
--->  Activating ncursesw 5.7_0
Error: Activating ncursesw 5.7_0 failed: Image error: /opt/local/share/terminfo/a/aa4080 already exists and does not belong to a registered port.  Unable to activate port ncursesw.

When upgrading all outdated packages, an error occurs with ncursesw activation. ncurses is not compiling through afterwards because of the depencency on ncursesw... and any other package that dependes on ncurses i guess!

Deleting the aa4080 file (or any other file that is shown in the error description) does not help.

Change History (8)

comment:1 Changed 16 years ago by blb@…

Cc: imajes@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to imajes@…

/opt/local/share/terminfo/a/aa4080 should be owned by the ncursesw port, so I'm not sure why port said the file didn't belong to a port. To fix this just force the ncursesw activation with sudo port -f activate ncursesw @5.7_0.

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Is this on a case-sensitive filesystem by any chance? #14123 may be related.

comment:3 in reply to:  2 Changed 16 years ago by spam@…

Replying to jmr@…: You are right! This is on a case-sensitive filesystem. In the rush, i could not find any function that is comparing the case of strings in the ncurses src!

comment:4 in reply to:  2 Changed 16 years ago by face@…

Replying to jmr@…:

Is this on a case-sensitive filesystem by any chance? #14123 may be related.

Activating ncursesw @5.7_0

Error: Activating ncursesw @5.7_0 failed: Image error: /opt/local/lib/terminfo already exists and does not belong to a registered port. Unable to activate port ncursesw.

This is not on a case-sensitive filesystem. leopard. macports from trunk.

comment:5 in reply to:  1 Changed 16 years ago by spam@…

Replying to blb@…:

/opt/local/share/terminfo/a/aa4080 should be owned by the ncursesw port, so I'm not sure why port said the file didn't belong to a port. To fix this just force the ncursesw activation with sudo port -f activate ncursesw @5.7_0.

Forgot co comment this...

Running sudo port -f activate ncursesw @5.7_0 did the trick but threw some errors because some of the files did already exist.

Thank you

comment:6 Changed 16 years ago by bitmail@…

Same error here, FS is journaled and case sensitive on OSX 10.5.5 PPC, MacPorts is up to date (1.6.0). Error message during update:

---> Fetching ncursesw
---> Attempting to fetch ncurses-5.7.tar.gz from http://ftp.gnu.org/gnu/ncurses[[BR]] ---> Verifying checksum(s) for ncursesw
---> Extracting ncursesw
---> Configuring ncursesw
---> Building ncursesw with target all
---> Staging ncursesw into destroot
---> Deactivating ncursesw 5.6_1
---> Installing ncursesw 5.7_0
---> Activating ncursesw 5.7_0
Error: Target org.macports.activate returned: Image error: /opt/local/share/term info/2/2621a already exists and does not belong to a registered port. Unable to activate port ncursesw.

Using the forced activation workaround "sudo port -f activate ncursesw @5.7_0" resulted in a legion of error messages:

---> Activating ncursesw 5.7_0
Warning: File /opt/local/share/terminfo/2/2621a already exists. Moving to: /opt/local/share/terminfo/2/2621a.mp_1228133645.
Warning: File /opt/local/share/terminfo/a/a210 already exists. Moving to: /opt/local/share/terminfo/a/a210.mp_1228133645.
Warning: File /opt/local/share/terminfo/a/a80 already exists. Moving to: /opt/local/share/terminfo/a/a80.mp_1228133645.
...
Warning: File /opt/local/share/terminfo/x/xterms already exists. Moving to: /opt/local/share/terminfo/x/xterms.mp_1228133650.
Warning: File /opt/local/share/terminfo/x/xterms-sun already exists. Moving to: /opt/local/share/terminfo/x/xterms-sun.mp_1228133650.
Warning: File /opt/local/share/terminfo/x/xwsh already exists. Moving to: /opt/local/share/terminfo/x/xwsh.mp_1228133650.

Consecutive upgrades or usage of ports depending on ncursesw seem to work.

Thanks for the hint!

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:8 Changed 15 years ago by tobypeterson

Resolution: worksforme
Status: newclosed

No clear indication of a bug here.

Note: See TracTickets for help on using tickets.