New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #29068 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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@…, jeremyhu@…
Port: xorg

Description (last modified by ryandesign@…) (diff)

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

port-install-xorg-debug.txt (55.7 KB) - added by nelson.ferreira@… 2 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@… 2 years ago.
port-uninstall-reinstall-libsm-then-xorg.txt (27.1 KB) - added by nelson.ferreira@… 2 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

Change History

comment:1 Changed 2 years ago by ryandesign@…

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

comment:2 Changed 2 years ago by jeremyhu@…

  • Owner changed from jeremyhu@… to jmr@…
  • Component changed from ports to base

/shrug

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

comment:3 Changed 2 years ago by jmr@…

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

Debug output please.

Changed 2 years ago by nelson.ferreira@…

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

Changed 2 years ago by nelson.ferreira@…

comment:4 Changed 2 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 2 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 2 years ago by ryandesign@…

  • Cc ryandesign@… added

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

comment:6 Changed 2 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 2 years ago by ryandesign@…

  • Cc jeremyhu@… added
  • Status changed from new to closed
  • Resolution set to fixed

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.