Opened 13 years ago
Closed 13 years ago
#33405 closed defect (worksforme)
xorg-libXi fails to build on 10.6.8
Reported by: | drewbertola@… | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | ||
Port: | xorg-libXi |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Trying to upgrade outdated and ran into an error building xorg-libXi.
This is on 10.6.8 with:
xcodebuild -version Xcode 3.2.6 Component versions: DevToolsCore-1809.0; DevToolsSupport-1806.0 BuildVersion: 10M2518
The relevant tail end of the log shows:
[log snipped] :info:build ld: warning: in /opt/local/lib/libX11.dylib, file was built for unsupported file format which is not the architecture being linked (i386) :info:build Undefined symbols: :info:build "__XSetLastRequestRead", referenced from: :info:build _XInputWireToCookie in XExtInt.o :info:build _XInputWireToEvent in XExtInt.o :info:build _XInputWireToEvent in XExtInt.o :info:build "__XReply", referenced from: :info:build _XChangeDeviceControl in XChgDCtl.o :info:build _XChangeKeyboardDevice in XChgKbd.o :info:build _XChangePointerDevice in XChgPnt.o :info:build _XGetDeviceButtonMapping in XGetBMap.o :info:build _XIGetClientPointer in XGetCPtr.o :info:build _XGetDeviceControl in XGetDCtl.o :info:build _XGetDeviceProperty in XGetDProp.o :info:build _XGetFeedbackControl in XGetFCtl.o :info:build _XGetDeviceKeyMapping in XGetKMap.o :info:build _XGetDeviceModifierMapping in XGetMMap.o :info:build _XGetDeviceDontPropagateList in XGetProp.o :info:build __XiGetExtensionVersionRequest in XGetVers.o :info:build _XGetDeviceMotionEvents in XGMotion.o :info:build _XGrabDevice in XGrabDev.o :info:build _XGetDeviceFocus in XGtFocus.o :info:build _XGetSelectedExtensionEvents in XGtSelect.o :info:build _XListInputDevices in XListDev.o :info:build _XListDeviceProperties in XListDProp.o :info:build _XOpenDevice in XOpenDev.o :info:build _XQueryDeviceState in XQueryDv.o :info:build _XSetDeviceButtonMapping in XSetBMap.o :info:build _XSetDeviceValuators in XSetDVal.o :info:build _XSetDeviceModifierMapping in XSetMMap.o :info:build _XSetDeviceMode in XSetMode.o :info:build _XIGrabDevice in XIGrabDevice.o :info:build __xiQueryVersion in XIQueryVersion.o :info:build _XIQueryDevice in XIQueryDevice.o :info:build _XIGetFocus in XIGetDevFocus.o :info:build __XIPassiveGrabDevice in XIPassiveGrab.o :info:build _XIGetProperty in XIProperties.o :info:build _XIListProperties in XIProperties.o :info:build _XIGetSelectedEvents in XISelEv.o :info:build _XIQueryPointer in XIQueryPointer.o :info:build "_XQueryExtension", referenced from: :info:build _XInput_find_display in XExtInt.o :info:build "__XUnknownNativeEvent", referenced from: :info:build __XiEventToWire in XExtToWire.o :info:build "__XReadPad", referenced from: :info:build _XGetDeviceProperty in XGetDProp.o :info:build _XGetDeviceModifierMapping in XGetMMap.o :info:build _XIGetProperty in XIProperties.o :info:build "_XFree", referenced from: :info:build _XCloseDevice in XCloseDev.o :info:build _XFreeDeviceControl in XGetDCtl.o :info:build _XGetDeviceControl in XGetDCtl.o :info:build _XFreeFeedbackList in XGetFCtl.o :info:build _XGetFeedbackControl in XGetFCtl.o :info:build _XFreeDeviceMotionEvents in XGMotion.o :info:build _XGetDeviceMotionEvents in XGMotion.o :info:build _XFreeDeviceList in XListDev.o :info:build _XListInputDevices in XListDev.o :info:build _XListInputDevices in XListDev.o :info:build _XFreeDeviceState in XQueryDv.o :info:build _XSendExtensionEvent in XSndExEv.o :info:build _XInput_find_display in XExtInt.o :info:build _XInputClose in XExtInt.o :info:build _XInputClose in XExtInt.o :info:build (maybe you meant: _XFreeFeedbackList, _XFreeDeviceList , _XFreeDeviceMotionEvents , _XFreeDeviceControl , _XFreeDeviceState ) :info:build "__XSend", referenced from: :info:build _XChangeDeviceProperty in XChDProp.o :info:build _XChangeDeviceProperty in XChDProp.o :info:build _XChangeDeviceProperty in XChDProp.o :info:build _XChangeDeviceProperty in XChDProp.o :info:build _XChangeDeviceProperty in XChDProp.o :info:build _XChangeDeviceProperty in XChDProp.o :info:build _XChangeDeviceControl in XChgDCtl.o :info:build _XChangeDeviceControl in XChgDCtl.o :info:build _XChangeDeviceControl in XChgDCtl.o :info:build _XChangeDeviceControl in XChgDCtl.o :info:build _XChangeDeviceControl in XChgDCtl.o :info:build _XChangeDeviceControl in XChgDCtl.o :info:build _XChangeFeedbackControl in XChgFCtl.o :info:build _XChangeFeedbackControl in XChgFCtl.o :info:build _XChangeFeedbackControl in XChgFCtl.o :info:build _XChangeFeedbackControl in XChgFCtl.o :info:build _XChangeFeedbackControl in XChgFCtl.o :info:build _XChangeFeedbackControl in XChgFCtl.o :info:build _XChangeDeviceKeyMapping in XChgKMap.o :info:build _XChangeDeviceDontPropagateList in XChgProp.o :info:build __XiGetExtensionVersionRequest in XGetVers.o :info:build _XGrabDevice in XGrabDev.o :info:build _XGrabDeviceButton in XGrDvBut.o :info:build _XGrabDeviceKey in XGrDvKey.o :info:build _XSelectExtensionEvent in XSelect.o :info:build _XSetDeviceButtonMapping in XSetBMap.o :info:build _XSetDeviceValuators in XSetDVal.o :info:build _XSendExtensionEvent in XSndExEv.o :info:build _XSendExtensionEvent in XSndExEv.o :info:build _XIGrabDevice in XIGrabDevice.o :info:build _XIGrabDevice in XIGrabDevice.o :info:build __XIPassiveUngrabDevice in XIPassiveGrab.o :info:build __XIPassiveUngrabDevice in XIPassiveGrab.o :info:build __XIPassiveGrabDevice in XIPassiveGrab.o :info:build __XIPassiveGrabDevice in XIPassiveGrab.o :info:build __XIPassiveGrabDevice in XIPassiveGrab.o :info:build _XIChangeProperty in XIProperties.o :info:build _XIChangeProperty in XIProperties.o :info:build _XIChangeProperty in XIProperties.o :info:build _XIChangeProperty in XIProperties.o :info:build _XISelectEvents in XISelEv.o :info:build _XISelectEvents in XISelEv.o :info:build _XISelectEvents in XISelEv.o :info:build _XIChangeHierarchy in XIHierarchy.o :info:build "__XRead", referenced from: :info:build _XGetDeviceButtonMapping in XGetBMap.o :info:build _XGetDeviceControl in XGetDCtl.o :info:build _XGetDeviceProperty in XGetDProp.o :info:build _XGetFeedbackControl in XGetFCtl.o :info:build _XGetDeviceKeyMapping in XGetKMap.o :info:build _XGetDeviceDontPropagateList in XGetProp.o :info:build _XGetDeviceMotionEvents in XGMotion.o :info:build _XGetSelectedExtensionEvents in XGtSelect.o :info:build _XGetSelectedExtensionEvents in XGtSelect.o :info:build _XListInputDevices in XListDev.o :info:build _XListDeviceProperties in XListDProp.o :info:build _XOpenDevice in XOpenDev.o :info:build _XQueryDeviceState in XQueryDv.o :info:build _XIQueryDevice in XIQueryDevice.o :info:build __XIPassiveGrabDevice in XIPassiveGrab.o :info:build _XIListProperties in XIProperties.o :info:build _XIGetSelectedEvents in XISelEv.o :info:build _XIQueryPointer in XIQueryPointer.o :info:build "__XFlush", referenced from: :info:build _XAllowDeviceEvents in XAllowDv.o :info:build _XChangeDeviceProperty in XChDProp.o :info:build _XChangeDeviceControl in XChgDCtl.o :info:build _XChangeFeedbackControl in XChgFCtl.o :info:build _XChangeKeyboardDevice in XChgKbd.o :info:build _XChangeDeviceKeyMapping in XChgKMap.o :info:build _XChangePointerDevice in XChgPnt.o :info:build _XChangeDeviceDontPropagateList in XChgProp.o :info:build _XCloseDevice in XCloseDev.o :info:build _XDeleteDeviceProperty in XDelDProp.o :info:build _XDeviceBell in XDevBell.o :info:build _XGetDeviceButtonMapping in XGetBMap.o :info:build _XIGetClientPointer in XGetCPtr.o :info:build _XGetDeviceControl in XGetDCtl.o :info:build _XGetDeviceProperty in XGetDProp.o :info:build _XGetFeedbackControl in XGetFCtl.o :info:build _XGetDeviceKeyMapping in XGetKMap.o :info:build _XGetDeviceModifierMapping in XGetMMap.o :info:build _XGetDeviceDontPropagateList in XGetProp.o :info:build __XiGetExtensionVersionRequest in XGetVers.o :info:build _XGetDeviceMotionEvents in XGMotion.o :info:build _XGrabDevice in XGrabDev.o :info:build _XGrabDeviceButton in XGrDvBut.o :info:build _XGrabDeviceKey in XGrDvKey.o :info:build _XGetDeviceFocus in XGtFocus.o :info:build _XGetSelectedExtensionEvents in XGtSelect.o :info:build _XListInputDevices in XListDev.o :info:build _XListDeviceProperties in XListDProp.o :info:build _XOpenDevice in XOpenDev.o :info:build _XQueryDeviceState in XQueryDv.o :info:build _XSelectExtensionEvent in XSelect.o :info:build _XSetDeviceButtonMapping in XSetBMap.o :info:build _XSetDeviceValuators in XSetDVal.o :info:build _XSetDeviceModifierMapping in XSetMMap.o :info:build _XSetDeviceMode in XSetMode.o :info:build _XSendExtensionEvent in XSndExEv.o :info:build _XSetDeviceFocus in XStFocus.o :info:build _XUngrabDevice in XUngrDev.o :info:build _XUngrabDeviceButton in XUngrDvB.o :info:build _XUngrabDeviceKey in XUngrDvK.o :info:build _XIAllowEvents in XIAllowEvents.o :info:build _XIUngrabDevice in XIGrabDevice.o :info:build _XIGrabDevice in XIGrabDevice.o :info:build __xiQueryVersion in XIQueryVersion.o :info:build _XIQueryDevice in XIQueryDevice.o :info:build _XISetFocus in XISetDevFocus.o :info:build _XIGetFocus in XIGetDevFocus.o :info:build __XIPassiveUngrabDevice in XIPassiveGrab.o :info:build __XIPassiveGrabDevice in XIPassiveGrab.o :info:build _XIDeleteProperty in XIProperties.o :info:build _XIGetProperty in XIProperties.o :info:build _XIListProperties in XIProperties.o :info:build _XIChangeProperty in XIProperties.o :info:build _XIGetSelectedEvents in XISelEv.o :info:build _XISelectEvents in XISelEv.o :info:build _XISetClientPointer in XISetCPtr.o :info:build _XIWarpPointer in XIWarpPointer.o :info:build _XIChangeHierarchy in XIHierarchy.o :info:build _XIDefineCursor in XIDefineCursor.o :info:build _XIQueryPointer in XIQueryPointer.o :info:build "_XESetWireToEventCookie", referenced from: :info:build _XInput_find_display in XExtInt.o :info:build "_XESetCopyEventCookie", referenced from: :info:build _XInput_find_display in XExtInt.o :info:build "__XEatData", referenced from: :info:build _XGetDeviceControl in XGetDCtl.o :info:build _XGetDeviceProperty in XGetDProp.o :info:build _XGetDeviceProperty in XGetDProp.o :info:build _XGetFeedbackControl in XGetFCtl.o :info:build _XGetDeviceKeyMapping in XGetKMap.o :info:build _XGetDeviceModifierMapping in XGetMMap.o :info:build _XGetDeviceDontPropagateList in XGetProp.o :info:build _XGetDeviceMotionEvents in XGMotion.o :info:build _XGetSelectedExtensionEvents in XGtSelect.o :info:build _XListInputDevices in XListDev.o :info:build _XListDeviceProperties in XListDProp.o :info:build _XOpenDevice in XOpenDev.o :info:build _XOpenDevice in XOpenDev.o :info:build _XQueryDeviceState in XQueryDv.o :info:build _XIGetProperty in XIProperties.o :info:build _XIGetProperty in XIProperties.o :info:build _XIListProperties in XIProperties.o :info:build "_XGetErrorDatabaseText", referenced from: :info:build _XInputError in XExtInt.o :info:build ld: symbol(s) not found :info:build collect2: ld returned 1 exit status :info:build lipo: can't open input file: /var/folders/Um/UmWfwPWIFOGYTkMA+2wp2U+++TI/-Tmp-//ccKdZK3A.out (No such file or directory) :info:build make[2]: *** [libXi.la] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libXi/xorg-libXi/work/libXi-1.5.0/src' :info:build make[1]: *** [all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libXi/xorg-libXi/work/libXi-1.5.0/src' :info:build make: *** [all-recursive] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libXi/xorg-libXi/work/libXi-1.5.0' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libXi/xorg-libXi/work/libXi-1.5.0" && /usr/bin/make -j4 -w all V=1 " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for xorg-libXi): org.macports.install org.macports.build org.macports.destroot :notice:build Log for xorg-libXi is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libXi/xorg-libXi/main.log
Attachments (1)
Change History (8)
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to jeremyhu@… |
Port: | xorg-libXi added |
For what architecture are you trying to build now? (The portion of the log that you did not provide would have told us, but I assume x86_64.) For what architecture is /opt/local/lib/libX11.dylib built? (lipo -info /opt/local/lib/libX11.dylib
would tell us; I presume it's i386.) If so, did you migrate from a previous Mac or previous OS version and forget to follow the Migration instructions?
comment:3 Changed 13 years ago by drewbertola@…
Migration - no, this is a year old MacBook Pro, so it came with Snow Leopard and I have not yet moved to Lion.
$ lipo -info /opt/local/lib/libX11.dylib Non-fat file: /opt/local/lib/libX11.dylib is architecture: x86_64
Trying to build for x86_64, I assume, too, since I didn't specify otherwise - just "port upgrade outdated". I'll attach the entire log.
comment:4 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
:info:build ld: warning: in /opt/local/lib/libX11.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
Yep, you're trying to build libXi for i386 and your libX11 is x86_64.
comment:5 Changed 13 years ago by drewbertola@…
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
How do I fix that? I didn't do anything out of the ordinary and didn't specify i386. Shouldn't "sudo port upgrade outdated" build for the arch as it was originally installed (which apparently worked)?
comment:6 Changed 13 years ago by drewbertola@…
I was able to work back through an uninstall (libXi, mesa, gqview, et. al.) and then re-install. Seems to have fixed the issue.
comment:7 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
This is a bug reporting system, not a support forum. Please ask for help on the mailing lists.