Opened 14 years ago

Closed 14 years ago

#29068 closed defect (fixed)

xorg @20090316 Fails to install reporting xorg-libSM @1.2.0_0 not installed but it is

Reported by: nelson.ferreira@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.9.2
Keywords: xorg-libSM Cc: ryandesign (Ryan Carsten Schmidt), jeremyhu (Jeremy Huddleston Sequoia)
Port: xorg

Description (last modified by ryandesign (Ryan Carsten Schmidt))

neumann:software root# port -cRv install xorg
--->  Computing dependencies for xorg................Error: Unable to execute port: Registry error: xorg-libSM @1.2.0_0 not registered as installed.
To report a bug, see <http://guide.macports.org/#project.tickets>
neumann:software root# port installed xorg-libSM
The following ports are currently installed:
  xorg-libsm @1.2.0_0 (active)

Attachments (3)

port-install-xorg-debug.txt (55.7 KB) - added by nelson.ferreira@… 14 years ago.
port -cRd install xorg 2> ~/port-install-xorg-debug.txt
_opt_local_var_macports_receipts_xorg-libsm_1.2.0_0_receipt.bz2 (800 bytes) - added by nelson.ferreira@… 14 years ago.
port-uninstall-reinstall-libsm-then-xorg.txt (27.1 KB) - added by nelson.ferreira@… 14 years ago.
( port -d uninstall -f xorg-libsm ; port -d -cRv install -f xorg-libsm ; port -d -cRv install xorg ) | tee ~/port-uninstall-reinstall-libsm-then-xorg.txt

Download all attachments as: .zip

Change History (10)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Component: portsbase
Owner: changed from jeremyhu@… to jmr@…

/shrug

I've not seen something like that ... seems more like a base issue..

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

Owner: changed from jmr@… to macports-tickets@…

Debug output please.

Changed 14 years ago by nelson.ferreira@…

Attachment: port-install-xorg-debug.txt added

port -cRd install xorg 2> ~/port-install-xorg-debug.txt

Changed 14 years ago by nelson.ferreira@…

comment:4 Changed 14 years ago by nelson.ferreira@…

Another attempt:

neumann:receipts root# mv xorg-libsm _xorg-libsm
neumann:receipts root# port install xorg-libsm
--->  Computing dependencies for xorg-libsm
--->  Fetching xorg-libsm
--->  Verifying checksum(s) for xorg-libsm
--->  Extracting xorg-libsm
--->  Configuring xorg-libsm
--->  Building xorg-libsm
--->  Staging xorg-libsm into destroot
--->  Installing xorg-libsm @1.2.0_0
--->  Activating xorg-libsm @1.2.0_0
Error: Target org.macports.activate returned: Image error: /opt/local/include/X11/SM/SM.h already exists and does not belong to a registered port.  Unable to activate port xorg-libsm. Use 'port -f activate xorg-libsm' to force the activation.
Log for xorg-libsm is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libsm/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
neumann:receipts root# port install -f xorg-libsm
--->  Computing dependencies for xorg-libsm
--->  Activating xorg-libsm @1.2.0_0
Warning: File /opt/local/include/X11/SM/SM.h already exists.  Moving to: /opt/local/include/X11/SM/SM.h.mp_1302401869.
Warning: File /opt/local/include/X11/SM/SMlib.h already exists.  Moving to: /opt/local/include/X11/SM/SMlib.h.mp_1302401869.
Warning: File /opt/local/include/X11/SM/SMproto.h already exists.  Moving to: /opt/local/include/X11/SM/SMproto.h.mp_1302401869.
Warning: File /opt/local/lib/libSM.6.dylib already exists.  Moving to: /opt/local/lib/libSM.6.dylib.mp_1302401869.
Warning: File /opt/local/lib/libSM.a already exists.  Moving to: /opt/local/lib/libSM.a.mp_1302401869.
Warning: File /opt/local/lib/libSM.la already exists.  Moving to: /opt/local/lib/libSM.la.mp_1302401869.
Warning: File /opt/local/lib/pkgconfig/sm.pc already exists.  Moving to: /opt/local/lib/pkgconfig/sm.pc.mp_1302401869.
--->  Cleaning xorg-libsm
neumann:receipts root# port install xorg         
--->  Computing dependencies for xorgError: Unable to execute port: Registry error: xorg-libSM @1.2.0_0 not registered as installed.
To report a bug, see <http://guide.macports.org/#project.tickets>

Changed 14 years ago by nelson.ferreira@…

( port -d uninstall -f xorg-libsm ; port -d -cRv install -f xorg-libsm ; port -d -cRv install xorg ) | tee ~/port-uninstall-reinstall-libsm-then-xorg.txt

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

Cc: ryandesign@… added

Is your file system case-sensitive? Wait 30 minutes, then selfupdate and see if r77709 helped.

comment:6 Changed 14 years ago by nelson.ferreira@…

Yes, my filesystem is case sensitive. I just did a selfupdate and now it did work. Thanks.

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

Cc: jeremyhu@… added
Resolution: fixed
Status: newclosed

Great, glad to hear that. I've written a script to look through all the ports' dependencies to help me find other case discrepancies, but it's finding several other issues as well so it'll take me some time to fix them all.

Note: See TracTickets for help on using tickets.