Opened 15 years ago

Closed 15 years ago

#22574 closed defect (worksforme)

port install xorg-libsm +universal -- Fails

Reported by: maecus@… Owned by: mvfranz@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: xorg-libsm

Description (last modified by jmroot (Joshua Root))

Mac OS X 10.6.3

M-MacBook-Pro:~ mark$ sudo port install xorg-libsm +universal
--->  Computing dependencies for xorg-libsm
--->  Building xorg-libsm
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libsm/work/libSM-1.1.1" && /usr/bin/make -j2 all " returned error 2
Command output:       _SmcOpenConnection in sm_client.o
      _SmcOpenConnection in sm_client.o
      _SmcOpenConnection in sm_client.o
      _SmcOpenConnection in sm_client.o
      _SmcSetProperties in sm_client.o
      _SmcSetProperties in sm_client.o
      _SmcSetProperties in sm_client.o
      _SmsShutdownCancelled in sm_manager.o
      _SmsShutdownCancelled in sm_manager.o
      _SmsSaveComplete in sm_manager.o
      _SmsSaveComplete in sm_manager.o
      _SmsDie in sm_manager.o
      _SmsDie in sm_manager.o
      _SmsInteract in sm_manager.o
      _SmsInteract in sm_manager.o
      _SmsSaveYourselfPhase2 in sm_manager.o
      _SmsSaveYourselfPhase2 in sm_manager.o
      _SmsSaveYourself in sm_manager.o
      _SmsSaveYourself in sm_manager.o
      _SmsRegisterClientReply in sm_manager.o
      _SmsRegisterClientReply in sm_manager.o
      _SmsReturnProperties in sm_manager.o
      _SmsReturnProperties in sm_manager.o
      _SmsReturnProperties in sm_manager.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccjCNrDp.out (No such file or directory)
make[2]: *** [libSM.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (6)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to mvfranz@…
Port: xorg-libsm added

Please remember to fill in the port field, cc the maintainer, preview and use WikiFormatting. Not enough output is shown here, so please run the command again with -d and attach the full output.

comment:2 Changed 15 years ago by mvfranz@…

Does universal even make sense on Snow Leopard?

comment:3 Changed 15 years ago by mvfranz@…

libsm depends on libice. If libice is not built as universal libsm will fail. Try uninstalling libice and reinstall libsm.

comment:4 Changed 15 years ago by maecus@…

Sorry, first timer here (Mac OS X, MacPorts, Wine). I'm using +universal because the install for wine-devel suggested it, I think to get the _64 versions (??).
Here's the -d output

M-MacBook-Pro:~ mark$ sudo port -d  install xorg-libsm +universal
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-libsm
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-libsm
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port xorg-libsm.
DEBUG: Requested variant i386 is not provided by port xorg-libsm.
DEBUG: Requested variant macosx is not provided by port xorg-libsm.
DEBUG: Executing variant universal provides universal
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-libice
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: xorg-libice 1.0.6_0 exists in the ports tree
DEBUG: xorg-libice 1.0.6_0  is the latest installed
DEBUG: xorg-libice 1.0.6_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-libice
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port xorg-libice.
DEBUG: Requested variant i386 is not provided by port xorg-libice.
DEBUG: Requested variant macosx is not provided by port xorg-libice.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: pkgconfig 0.23_1 exists in the ports tree
DEBUG: pkgconfig 0.23_1  is the latest installed
DEBUG: pkgconfig 0.23_1  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port pkgconfig.
DEBUG: Requested variant i386 is not provided by port pkgconfig.
DEBUG: Requested variant macosx is not provided by port pkgconfig.
DEBUG: No need to upgrade! pkgconfig 0.23_1 >= pkgconfig 0.23_1
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-xtrans
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: xorg-xtrans 1.2.5_0 exists in the ports tree
DEBUG: xorg-xtrans 1.2.5_0  is the latest installed
DEBUG: xorg-xtrans 1.2.5_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-xtrans
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port xorg-xtrans.
DEBUG: Requested variant i386 is not provided by port xorg-xtrans.
DEBUG: Requested variant macosx is not provided by port xorg-xtrans.
DEBUG: No need to upgrade! xorg-xtrans 1.2.5_0 >= xorg-xtrans 1.2.5_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-xproto
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: xorg-xproto 7.0.16_0 exists in the ports tree
DEBUG: xorg-xproto 7.0.16_0  is the latest installed
DEBUG: xorg-xproto 7.0.16_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-xproto
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port xorg-xproto.
DEBUG: Requested variant i386 is not provided by port xorg-xproto.
DEBUG: Requested variant macosx is not provided by port xorg-xproto.
DEBUG: No need to upgrade! xorg-xproto 7.0.16_0 >= xorg-xproto 7.0.16_0
DEBUG: No need to upgrade! xorg-libice 1.0.6_0 >= xorg-libice 1.0.6_0
--->  Computing dependencies for xorg-libsm
DEBUG: Searching for dependency: xorg-libice
DEBUG: Found Dependency: receipt exists for xorg-libice
DEBUG: Searching for dependency: pkgconfig
DEBUG: Found Dependency: receipt exists for pkgconfig
DEBUG: Searching for dependency: xorg-xtrans
DEBUG: Found Dependency: receipt exists for xorg-xtrans
DEBUG: Executing org.macports.main (xorg-libsm)
DEBUG: Skipping completed org.macports.fetch (xorg-libsm)
DEBUG: Skipping completed org.macports.checksum (xorg-libsm)
DEBUG: setting option extract.cmd to /usr/bin/bzip2
DEBUG: Skipping completed org.macports.extract (xorg-libsm)
DEBUG: Skipping completed org.macports.patch (xorg-libsm)
DEBUG: Skipping completed org.macports.configure (xorg-libsm)
--->  Building xorg-libsm
DEBUG: Executing org.macports.build (xorg-libsm)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libsm/work/libSM-1.1.1" && /usr/bin/make -j2 all'
/usr/bin/make  all-recursive
Making all in src
/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2 -I../include -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -I/opt/local/include   -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/opt/local/include    -O2 -arch x86_64 -arch i386 -version-number 6:0:1 -no-undefined -L/opt/local/lib -arch x86_64 -arch i386 -o libSM.la -rpath /opt/local/lib sm_auth.lo sm_client.lo sm_error.lo sm_genid.lo sm_manager.lo sm_misc.lo sm_process.lo -L/opt/local/lib -lICE     
libtool: link: /usr/bin/gcc-4.2 -dynamiclib  -o .libs/libSM.6.dylib  .libs/sm_auth.o .libs/sm_client.o .libs/sm_error.o .libs/sm_genid.o .libs/sm_manager.o .libs/sm_misc.o .libs/sm_process.o   -L/opt/local/lib /opt/local/lib/libICE.dylib  -arch x86_64 -arch i386 -arch x86_64 -arch i386   -install_name  /opt/local/lib/libSM.6.dylib -compatibility_version 7 -current_version 7.1 -Wl,-single_module
ld: warning: in /opt/local/lib/libICE.dylib, file is not of required architecture
Undefined symbols:
  "_IceLastSentSequenceNumber", referenced from:
      _SmcOpenConnection in sm_client.o
      _SmcOpenConnection in sm_client.o
  "__IceRead", referenced from:
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
  "_IceOpenConnection", referenced from:
      _SmcOpenConnection in sm_client.o
  "__IceWrite", referenced from:
      _SmcSetProperties in sm_client.o
      _SmsReturnProperties in sm_manager.o
  "__IceReadSkip", referenced from:
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
  "_IceSetShutdownNegotiation", referenced from:
      _SmcCloseConnection in sm_client.o
  "__IceErrorBadLength", referenced from:
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
  "_IceRegisterForProtocolSetup", referenced from:
      _SmcOpenConnection in sm_client.o
  "_IceCloseConnection", referenced from:
      _SmcCloseConnection in sm_client.o
      _SmcOpenConnection in sm_client.o
      _SmcOpenConnection in sm_client.o
  "__IcePaMagicCookie1Proc", referenced from:
      __IcePaMagicCookie1Proc$non_lazy_ptr in sm_manager.o
  "_IceRegisterForProtocolReply", referenced from:
      _SmsInitialize in sm_manager.o
  "_IceProtocolShutdown", referenced from:
      _SmcCloseConnection in sm_client.o
      _SmsCleanUp in sm_manager.o
  "__IceErrorBadValue", referenced from:
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
  "_IceAllocScratch", referenced from:
      _SmcSetProperties in sm_client.o
      _SmsReturnProperties in sm_manager.o
      _SmsReturnProperties in sm_manager.o
  "_IceProcessMessages", referenced from:
      _SmcOpenConnection in sm_client.o
  "_IceProtocolSetup", referenced from:
      _SmcOpenConnection in sm_client.o
  "__IceErrorBadState", referenced from:
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmsProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
  "__IceErrorBadMinor", referenced from:
      __SmsProcessMessage in sm_process.o
      __SmcProcessMessage in sm_process.o
  "_IceGetPeerName", referenced from:
      _SmsClientHostName in sm_manager.o
  "__IcePoMagicCookie1Proc", referenced from:
      __IcePoMagicCookie1Proc$non_lazy_ptr in sm_client.o
  "_IceFlush", referenced from:
      _SmcSaveYourselfDone in sm_client.o
      _SmcSaveYourselfDone in sm_client.o
      _SmcRequestSaveYourself in sm_client.o
      _SmcRequestSaveYourself in sm_client.o
      _SmcInteractDone in sm_client.o
      _SmcInteractDone in sm_client.o
      _SmcRequestSaveYourselfPhase2 in sm_client.o
      _SmcRequestSaveYourselfPhase2 in sm_client.o
      _SmcInteractRequest in sm_client.o
      _SmcInteractRequest in sm_client.o
      _SmcGetProperties in sm_client.o
      _SmcGetProperties in sm_client.o
      _SmcDeleteProperties in sm_client.o
      _SmcDeleteProperties in sm_client.o
      _SmcCloseConnection in sm_client.o
      _SmcCloseConnection in sm_client.o
      _SmcOpenConnection in sm_client.o
      _SmcOpenConnection in sm_client.o
      _SmcOpenConnection in sm_client.o
      _SmcOpenConnection in sm_client.o
      _SmcSetProperties in sm_client.o
      _SmcSetProperties in sm_client.o
      _SmcSetProperties in sm_client.o
      _SmsShutdownCancelled in sm_manager.o
      _SmsShutdownCancelled in sm_manager.o
      _SmsSaveComplete in sm_manager.o
      _SmsSaveComplete in sm_manager.o
      _SmsDie in sm_manager.o
      _SmsDie in sm_manager.o
      _SmsInteract in sm_manager.o
      _SmsInteract in sm_manager.o
      _SmsSaveYourselfPhase2 in sm_manager.o
      _SmsSaveYourselfPhase2 in sm_manager.o
      _SmsSaveYourself in sm_manager.o
      _SmsSaveYourself in sm_manager.o
      _SmsRegisterClientReply in sm_manager.o
      _SmsRegisterClientReply in sm_manager.o
      _SmsReturnProperties in sm_manager.o
      _SmsReturnProperties in sm_manager.o
      _SmsReturnProperties in sm_manager.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cc5uURFQ.out (No such file or directory)
make[2]: *** [libSM.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libsm/work/libSM-1.1.1" && /usr/bin/make -j2 all " returned error 2
Command output:       _SmcOpenConnection in sm_client.o
      _SmcOpenConnection in sm_client.o
      _SmcOpenConnection in sm_client.o
      _SmcOpenConnection in sm_client.o
      _SmcSetProperties in sm_client.o
      _SmcSetProperties in sm_client.o
      _SmcSetProperties in sm_client.o
      _SmsShutdownCancelled in sm_manager.o
      _SmsShutdownCancelled in sm_manager.o
      _SmsSaveComplete in sm_manager.o
      _SmsSaveComplete in sm_manager.o
      _SmsDie in sm_manager.o
      _SmsDie in sm_manager.o
      _SmsInteract in sm_manager.o
      _SmsInteract in sm_manager.o
      _SmsSaveYourselfPhase2 in sm_manager.o
      _SmsSaveYourselfPhase2 in sm_manager.o
      _SmsSaveYourself in sm_manager.o
      _SmsSaveYourself in sm_manager.o
      _SmsRegisterClientReply in sm_manager.o
      _SmsRegisterClientReply in sm_manager.o
      _SmsReturnProperties in sm_manager.o
      _SmsReturnProperties in sm_manager.o
      _SmsReturnProperties in sm_manager.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cc5uURFQ.out (No such file or directory)
make[2]: *** [libSM.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libsm/work/libSM-1.1.1" && /usr/bin/make -j2 all " returned error 2
Command output:       _SmcOpenConnection in sm_client.o
      _SmcOpenConnection in sm_client.o
      _SmcOpenConnection in sm_client.o
      _SmcOpenConnection in sm_client.o
      _SmcSetProperties in sm_client.o
      _SmcSetProperties in sm_client.o
      _SmcSetProperties in sm_client.o
      _SmsShutdownCancelled in sm_manager.o
      _SmsShutdownCancelled in sm_manager.o
      _SmsSaveComplete in sm_manager.o
      _SmsSaveComplete in sm_manager.o
      _SmsDie in sm_manager.o
      _SmsDie in sm_manager.o
      _SmsInteract in sm_manager.o
      _SmsInteract in sm_manager.o
      _SmsSaveYourselfPhase2 in sm_manager.o
      _SmsSaveYourselfPhase2 in sm_manager.o
      _SmsSaveYourself in sm_manager.o
      _SmsSaveYourself in sm_manager.o
      _SmsRegisterClientReply in sm_manager.o
      _SmsRegisterClientReply in sm_manager.o
      _SmsReturnProperties in sm_manager.o
      _SmsReturnProperties in sm_manager.o
      _SmsReturnProperties in sm_manager.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cc5uURFQ.out (No such file or directory)
make[2]: *** [libSM.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for xorg-libsm): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

M-MacBook-Pro:~ mark$

comment:5 in reply to:  3 Changed 15 years ago by maecus@…

Replying to mvfranz@…:

libsm depends on libice. If libice is not built as universal libsm will fail. Try uninstalling libice and reinstall libsm.

That got it! Built libice universal, now libsm builds. Thanks.

comment:6 Changed 15 years ago by blb@…

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.