Opened 19 years ago

Closed 19 years ago

#6833 closed defect (fixed)

openmotif can't be build

Reported by: bugzilla.20.mahajivana@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: yves@…, tatyana@…
Port:

Description

I recently started using DarwinPorts and I admit I haven't read all threads here yet (only last 4 months, sorry it's really a lot to read). The problem I encountered trying to build openmotif isn't actually limited to openmotif alone. I got messages like "Error: Target com.apple.build returned: shell command "cd "/ " && LANG=C make all" returned error 2" quite often. I tried reinstalling XCode, updated it to 2.2.1 as soon as the update was released, I even tried it on a freshly installed system, still I get the same result. Actually "error 2" isn't much of an information, especially since I haven't found anything on it so far in darwinports-documentation or this mailing list. So I'm stuck. Could someone please point me the direction what to do /where to find help?

(MacOS 10.4.4, darwinports synched and updated, I'm using -f since it didn't work without it either and I found out that -f helps 50 % of the time, don't know why the manual discourages one from using it.)

$ sudo port -f install openmotif Password: ---> Building openmotif with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_x11_openMotif/work/openmotif-2.3.0" && LANG=C make all" returned error 2 Command output: DropDown.c:2632: warning: alias definitions not supported in Mach-O; ignored DropDown.c:2633: warning: alias definitions not supported in Mach-O; ignored DropDown.c:2634: warning: alias definitions not supported in Mach-O; ignored DropDown.c:2635: warning: alias definitions not supported in Mach-O; ignored DropDown.c:2636: warning: alias definitions not supported in Mach-O; ignored DropDown.c:2637: warning: alias definitions not supported in Mach-O; ignored DropDown.c:2638: warning: alias definitions not supported in Mach-O; ignored DropDown.c:2639: warning: alias definitions not supported in Mach-O; ignored DropDown.c:2640: warning: alias definitions not supported in Mach-O; ignored DropDown.c:2641: warning: alias definitions not supported in Mach-O; ignored DropDown.c:2642: warning: alias definitions not supported in Mach-O; ignored

/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/opt/local/lib/X11/bindings\" -DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\" -I/usr/X11R6/include -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/opt/local/include -Wall -g -Wno-unused -Wno-comment -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -MT DropDown.lo -MD -MP -MF .deps/DropDown.Tpo -c DropDown.c -o DropDown.o >/dev/null 2>&1

if /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/opt/local/lib/X11/bindings\" -DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\" -I/usr/X11R6/include -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/opt/local/include -Wall -g -Wno-unused -Wno-comment -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -MT Jpeg.lo -MD -MP -MF ".deps/Jpeg.Tpo" -c -o Jpeg.lo Jpeg.c; \ then mv -f ".deps/Jpeg.Tpo" ".deps/Jpeg.Plo"; else rm -f ".deps/Jpeg.Tpo"; exit 1; fi

/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/opt/local/lib/X11/bindings\" -DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\" -I/usr/X11R6/include -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/opt/local/include -Wall -g -Wno-unused -Wno-comment -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -MT Jpeg.lo -MD -MP -MF .deps/Jpeg.Tpo -c Jpeg.c -fno-common -DPIC -o .libs/Jpeg.o /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/opt/local/lib/X11/bindings\" -DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\" -I/usr/X11R6/include -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/opt/local/include -Wall -g -Wno-unused -Wno-comment -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -MT Jpeg.lo -MD -MP -MF .deps/Jpeg.Tpo -c Jpeg.c -o Jpeg.o >/dev/null 2>&1

if /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/opt/local/lib/X11/bindings\" -DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\" -I/usr/X11R6/include -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/opt/local/include -Wall -g -Wno-unused -Wno-comment -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -MT Png.lo -MD -MP -MF ".deps/Png.Tpo" -c -o Png.lo Png.c; \ then mv -f ".deps/Png.Tpo" ".deps/Png.Plo"; else rm -f ".deps/Png.Tpo"; exit 1; fi

/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/opt/local/lib/X11/bindings\" -DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\" -I/usr/X11R6/include -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/opt/local/include -Wall -g -Wno-unused -Wno-comment -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -MT Png.lo -MD -MP -MF .deps/Png.Tpo -c Png.c -fno-common -DPIC -o .libs/Png.o /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/opt/local/lib/X11/bindings\" -DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\" -I/usr/X11R6/include -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/opt/local/include -Wall -g -Wno-unused -Wno-comment -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -MT Png.lo -MD -MP -MF .deps/Png.Tpo -c Png.c -o Png.o >/dev/null 2>&1

/bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -I/opt/local/include -Wall -g -Wno-unused -Wno-comment -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -version-info 4:0:0 -o libXm.la -rpath /opt/local/lib XmStrDefs.lo ArrowB.lo ArrowBG.lo BulletinB.lo CallbackI.lo CascadeB.lo CascadeBG.lo Command.lo CutPaste.lo Dest.lo DialogS.lo DialogSE.lo DragBS.lo DragC.lo DragOverS.lo DragICC.lo DragIcon.lo DragUnder.lo DrawingA.lo DrawnB.lo DropSMgr.lo DropSMgrI.lo DropTrans.lo ExtObject.lo FileSB.lo Form.lo Frame.lo Gadget.lo GadgetUtil.lo GeoUtils.lo ImageCache.lo Label.lo LabelG.lo List.lo MainW.lo MapEvents.lo MenuShell.lo MenuUtil.lo MessageB.lo PanedW.lo PushB.lo PushBG.lo ReadImage.lo Region.lo ResConvert.lo ResInd.lo RowColumn.lo Sash.lo Scale.lo ScrollBar.lo ScrolledW.lo SelectioB.lo SeparatoG.lo Separator.lo Simple.lo Text.lo TextIn.lo TextOut.lo TextStrSo.lo TextSel.lo ToggleB.lo ToggleBG.lo TrackLoc.lo UniqueEvnt.lo VaSimple.lo VirtKeys.lo XmString.lo ResEncod.lo TextF.lo TextFSel.lo AtomMgr.lo Cache.lo Protocols.lo Primitive.lo Manager.lo Traversal.lo TravAct.lo TraversalI.lo BaseClass.lo Desktop.lo Messages.lo Transltns.lo RepType.lo Xmos.lo Draw.lo TearOff.lo TearOffB.lo XmIm.lo GMUtils.lo Display.lo Screen.lo ShellE.lo VendorS.lo VendorSE.lo RCMenu.lo RCLayout.lo GetPixData.lo RCPopup.lo Trait.lo Synthetic.lo XmFontList.lo ClipWindow.lo Transfer.lo Hash.lo ScrollFrameT.lo XmTabList.lo Resolve.lo XmStringFunc.lo XmRenderT.lo PixConv.lo Color.lo Xm.lo CareVisualT.lo Direction.lo XmStringObso.lo XmStringGet.lo IsMwmRun.lo MenuProc.lo MenuState.lo TextFind.lo TextFunc.lo ColorObj.lo IconFile.lo RCHook.lo GetRes.lo BBUtil.lo ChColor.lo ColObjFunc.lo DrTog.lo DrArrow.lo DrPoly.lo DrHiDash.lo ValTime.lo FocusAct.lo CvtUnit.lo ScalTics.lo ScroVis.lo WidGet.lo PrintS.lo Obso1_2.lo ObsoStr.lo ObsoXme.lo Obso2_0.lo XpmAttrib.lo XpmCrIFrDat.lo XpmInfo.lo XpmWrFFrDat.lo Xpmmisc.lo XpmCrBufFrI.lo XpmCrIFrP.lo XpmRdFToBuf.lo XpmWrFFrI.lo Xpmparse.lo XpmCrBufFrP.lo XpmCrPFrBuf.lo XpmRdFToDat.lo XpmWrFFrP.lo Xpmrgb.lo XpmCrDatFrI.lo XpmCrPFrDat.lo XpmRdFToI.lo Xpmcreate.lo Xpmscan.lo XpmCrDatFrP.lo XpmCrPFrI.lo XpmRdFToP.lo Xpmdata.lo XpmCrIFrBuf.lo XpmImage.lo XpmWrFFrBuf.lo Xpmhashtab.lo IconH.lo Container.lo IconG.lo Notebook.lo ComboBox.lo GrabShell.lo SpinB.lo SSpinB.lo TxtPropCv.lo XmStringSeg.lo TranslNew.lo SlideC.lo ToolTip.lo EditresCom.lo XmExtUtil.lo Column.lo ButtonBox.lo ColorS.lo Picture.lo DataFSel.lo DataF.lo MultiList.lo I18List.lo Paned.lo FontS.lo IconBox.lo IconButton.lo xmlist.lo Hierarchy.lo Outline.lo TabBox.lo TabList.lo TabStack.lo DrawUtils.lo Tree.lo DropDown.lo Jpeg.lo Png.lo -L/usr/X11R6/lib -lXmu -lXt -lXext -lXp -lX11 -liconv -L/usr/X11R6/lib -lfreetype -L/usr/X11R6/lib -lXft -lXrender -L/usr/X11R6/lib -lXft -L/usr/X11R6/lib -lfreetype -L/usr/X11R6/lib -lfontconfig -L/usr/X11R6/lib -lXrender -ljpeg -lpng /usr/bin/gcc-4.0 -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libXm.4.0.0.dylib .libs/XmStrDefs.o .libs/ArrowB.o .libs/ArrowBG.o .libs/BulletinB.o .libs/CallbackI.o .libs/CascadeB.o .libs/CascadeBG.o .libs/Command.o .libs/CutPaste.o .libs/Dest.o .libs/DialogS.o .libs/DialogSE.o .libs/DragBS.o .libs/DragC.o .libs/DragOverS.o .libs/DragICC.o .libs/DragIcon.o .libs/DragUnder.o .libs/DrawingA.o .libs/DrawnB.o .libs/DropSMgr.o .libs/DropSMgrI.o .libs/DropTrans.o .libs/ExtObject.o .libs/FileSB.o .libs/Form.o .libs/Frame.o .libs/Gadget.o .libs/GadgetUtil.o .libs/GeoUtils.o .libs/ImageCache.o .libs/Label.o .libs/LabelG.o .libs/List.o .libs/MainW.o .libs/MapEvents.o .libs/MenuShell.o .libs/MenuUtil.o .libs/MessageB.o .libs/PanedW.o .libs/PushB.o .libs/PushBG.o .libs/ReadImage.o .libs/Region.o .libs/ResConvert.o .libs/ResInd.o .libs/RowColumn.o .libs/Sash.o .libs/Scale.o .libs/ScrollBar.o .libs/ScrolledW.o .libs/SelectioB.o .libs/SeparatoG.o .libs/Separator.o .libs/Simple.o .libs/Text.o .libs/TextIn.o .libs/TextOut.o .libs/TextStrSo.o .libs/TextSel.o .libs/ToggleB.o .libs/ToggleBG.o .libs/TrackLoc.o .libs/UniqueEvnt.o .libs/VaSimple.o .libs/VirtKeys.o .libs/XmString.o .libs/ResEncod.o .libs/TextF.o .libs/TextFSel.o .libs/AtomMgr.o .libs/Cache.o .libs/Protocols.o .libs/Primitive.o .libs/Manager.o .libs/Traversal.o .libs/TravAct.o .libs/TraversalI.o .libs/BaseClass.o .libs/Desktop.o .libs/Messages.o .libs/Transltns.o .libs/RepType.o .libs/Xmos.o .libs/Draw.o .libs/TearOff.o .libs/TearOffB.o .libs/XmIm.o .libs/GMUtils.o .libs/Display.o .libs/Screen.o .libs/ShellE.o .libs/VendorS.o .libs/VendorSE.o .libs/RCMenu.o .libs/RCLayout.o .libs/GetPixData.o .libs/RCPopup.o .libs/Trait.o .libs/Synthetic.o .libs/XmFontList.o .libs/ClipWindow.o .libs/Transfer.o .libs/Hash.o .libs/ScrollFrameT.o .libs/XmTabList.o .libs/Resolve.o .libs/XmStringFunc.o .libs/XmRenderT.o .libs/PixConv.o .libs/Color.o .libs/Xm.o .libs/CareVisualT.o .libs/Direction.o .libs/XmStringObso.o .libs/XmStringGet.o .libs/IsMwmRun.o .libs/MenuProc.o .libs/MenuState.o .libs/TextFind.o .libs/TextFunc.o .libs/ColorObj.o .libs/IconFile.o .libs/RCHook.o .libs/GetRes.o .libs/BBUtil.o .libs/ChColor.o .libs/ColObjFunc.o .libs/DrTog.o .libs/DrArrow.o .libs/DrPoly.o .libs/DrHiDash.o .libs/ValTime.o .libs/FocusAct.o .libs/CvtUnit.o .libs/ScalTics.o .libs/ScroVis.o .libs/WidGet.o .libs/PrintS.o .libs/Obso1_2.o .libs/ObsoStr.o .libs/ObsoXme.o .libs/Obso2_0.o .libs/XpmAttrib.o .libs/XpmCrIFrDat.o .libs/XpmInfo.o .libs/XpmWrFFrDat.o .libs/Xpmmisc.o .libs/XpmCrBufFrI.o .libs/XpmCrIFrP.o .libs/XpmRdFToBuf.o .libs/XpmWrFFrI.o .libs/Xpmparse.o .libs/XpmCrBufFrP.o .libs/XpmCrPFrBuf.o .libs/XpmRdFToDat.o .libs/XpmWrFFrP.o .libs/Xpmrgb.o .libs/XpmCrDatFrI.o .libs/XpmCrPFrDat.o .libs/XpmRdFToI.o .libs/Xpmcreate.o .libs/Xpmscan.o .libs/XpmCrDatFrP.o .libs/XpmCrPFrI.o .libs/XpmRdFToP.o .libs/Xpmdata.o .libs/XpmCrIFrBuf.o .libs/XpmImage.o .libs/XpmWrFFrBuf.o .libs/Xpmhashtab.o .libs/IconH.o .libs/Container.o .libs/IconG.o .libs/Notebook.o .libs/ComboBox.o .libs/GrabShell.o .libs/SpinB.o .libs/SSpinB.o .libs/TxtPropCv.o .libs/XmStringSeg.o .libs/TranslNew.o .libs/SlideC.o .libs/ToolTip.o .libs/EditresCom.o .libs/XmExtUtil.o .libs/Column.o .libs/ButtonBox.o .libs/ColorS.o .libs/Picture.o .libs/DataFSel.o .libs/DataF.o .libs/MultiList.o .libs/I18List.o .libs/Paned.o .libs/FontS.o .libs/IconBox.o .libs/IconButton.o .libs/xmlist.o .libs/Hierarchy.o .libs/Outline.o .libs/TabBox.o .libs/TabList.o .libs/TabStack.o .libs/DrawUtils.o .libs/Tree.o .libs/DropDown.o .libs/Jpeg.o .libs/Png.o -L/usr/X11R6/lib -lXmu -lXt -lXext -lXp -lX11 /usr/lib/libiconv.dylib -lXft -lfreetype -lfontconfig -lXrender -ljpeg -lpng -install_name /opt/local/lib/libXm.4.dylib -Wl,-compatibility_version -Wl,5 -Wl,-current_version -Wl,5.0 /usr/bin/libtool: can't locate file for: -ljpeg /usr/bin/libtool: file: -ljpeg is not an object file (not allowed in a library) /usr/bin/libtool: can't locate file for: -lpng /usr/bin/libtool: file: -lpng is not an object file (not allowed in a library) make[3]: * [libXm.la] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all-recursive] Error 1

Error: Status 1 encountered during processing.

Attachments (1)

openMotif_Portfile.patch (500 bytes) - added by tatyana@… 19 years ago.
openMotif Portfile patch

Download all attachments as: .zip

Change History (4)

Changed 19 years ago by tatyana@…

Attachment: openMotif_Portfile.patch added

openMotif Portfile patch

comment:1 Changed 19 years ago by tatyana@…

Cc: yves@… tatyana@… added

comment:2 Changed 19 years ago by yves@…

Fixed in cvs - thanks for the patch

Thanks Mahajivana for closing the bug (if it works for you of course)

comment:3 Changed 19 years ago by jmpp@…

Resolution: fixed
Status: newclosed

Closing per Yves' request, setting to "fixed" as that's what I can conclude from the exchange with the reporters. If another resolution is required, just let me know and I'll gladly change it.

-jmpp

Note: See TracTickets for help on using tickets.