Opened 14 years ago
Closed 13 years ago
#24917 closed defect (fixed)
xtide install error
Reported by: | singhalg@… | Owned by: | jberry@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ||
Port: | xtide |
Description
sudo port -d install xtide returns collect2 : ld returned 1 exit status. Here is the complete output:
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xtide DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xtide DEBUG: OS Platform: darwin DEBUG: OS Version: 10.3.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 xtide. DEBUG: Requested variant i386 is not provided by port xtide. DEBUG: Requested variant macosx is not provided by port xtide. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libpng DEBUG: epoch: in tree: 0 installed: 0 DEBUG: libpng 1.2.43_0 exists in the ports tree DEBUG: libpng 1.2.43_0 is the latest installed DEBUG: libpng 1.2.43_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/graphics/libpng DEBUG: OS Platform: darwin DEBUG: OS Version: 10.3.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: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port libpng. DEBUG: Requested variant i386 is not provided by port libpng. DEBUG: Requested variant macosx is not provided by port libpng. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib DEBUG: epoch: in tree: 0 installed: 0 DEBUG: zlib 1.2.5_0 exists in the ports tree DEBUG: zlib 1.2.5_0 is the latest installed DEBUG: zlib 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/archivers/zlib DEBUG: OS Platform: darwin DEBUG: OS Version: 10.3.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 zlib. DEBUG: Requested variant i386 is not provided by port zlib. DEBUG: Requested variant macosx is not provided by port zlib. DEBUG: No need to upgrade! zlib 1.2.5_0 >= zlib 1.2.5_0 DEBUG: No need to upgrade! libpng 1.2.43_0 >= libpng 1.2.43_0 ---> Computing dependencies for xtide DEBUG: Searching for dependency: libpng DEBUG: Found Dependency: receipt exists for libpng DEBUG: Executing org.macports.main (xtide) DEBUG: Skipping completed org.macports.fetch (xtide) DEBUG: Skipping completed org.macports.checksum (xtide) DEBUG: setting option extract.cmd to /usr/bin/bzip2 DEBUG: Skipping completed org.macports.extract (xtide) DEBUG: Skipping completed org.macports.patch (xtide) DEBUG: Skipping completed org.macports.configure (xtide) ---> Building xtide DEBUG: Executing org.macports.build (xtide) 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_xtide/work/xtide-2.8.3" && /usr/bin/make -j8 all' /usr/bin/g++-4.2 -L/opt/local/lib -L -L/usr/local/lib -L/usr/contrib/lib -o xtide xtide.o xxerrors.o xxContext.o xxTitleScreen.o xxGlobe.o xxLocationList.o xxXTideRoot.o xxTideContext.o xxDisclaimer.o xxTextMode.o xxDrawable.o xxErrorBox.o xxHelpBox.o xxFilename.o xxStep.o xxRareModeSavePrompts.o xxTimestampDialog.o xxMarkLevel.o xxGraphMode.o xxPixmapGraph.o xxAspect.o xxClock.o xxWindow.o xxTimestamp.o xxMultiChoice.o xxHorizDialog.o xxUnsignedChooser.o wvsrtv.o xxMap.o Dstr.o HarmonicsPath.o PredictionValue.o Amplitude.o Angle.o Speed.o Timestamp.o Interval.o Year.o TabulatedConstituent.o Coordinates.o HarmonicsFile.o StationRef.o StationIndex.o ConstantSet.o TideContext.o Offsets.o ConstituentSet.o ConstantSetWrapper.o Station.o xml_l.o xml_y.o xmlstruct.o ReferenceStation.o SubordinateStation.o skycal.o Colors.o Graph.o RGBGraph.o Settings.o TTYGraph.o Calendar.o Banner.o NullableAngle.o NullableInterval.o TideEvent.o TideEventsOrganizer.o externC.o MetaField.o libtcd/libtcd.a -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lXpm -lpng -lz -lm /usr/bin/g++-4.2 -L/opt/local/lib -L -L/usr/local/lib -L/usr/contrib/lib -o xttpd xttpd.o ZoneIndex.o errors.o Dstr.o HarmonicsPath.o PredictionValue.o Amplitude.o Angle.o Speed.o Timestamp.o Interval.o Year.o TabulatedConstituent.o Coordinates.o HarmonicsFile.o StationRef.o StationIndex.o ConstantSet.o TideContext.o Offsets.o ConstituentSet.o ConstantSetWrapper.o Station.o xml_l.o xml_y.o xmlstruct.o ReferenceStation.o SubordinateStation.o skycal.o Colors.o Graph.o RGBGraph.o Settings.o TTYGraph.o Calendar.o Banner.o NullableAngle.o NullableInterval.o TideEvent.o TideEventsOrganizer.o externC.o MetaField.o libtcd/libtcd.a -lpng -lz -lm /usr/bin/g++-4.2 -L/opt/local/lib -L -L/usr/local/lib -L/usr/contrib/lib -o tide tide.o errors.o Dstr.o HarmonicsPath.o PredictionValue.o Amplitude.o Angle.o Speed.o Timestamp.o Interval.o Year.o TabulatedConstituent.o Coordinates.o HarmonicsFile.o StationRef.o StationIndex.o ConstantSet.o TideContext.o Offsets.o ConstituentSet.o ConstantSetWrapper.o Station.o xml_l.o xml_y.o xmlstruct.o ReferenceStation.o SubordinateStation.o skycal.o Colors.o Graph.o RGBGraph.o Settings.o TTYGraph.o Calendar.o Banner.o NullableAngle.o NullableInterval.o TideEvent.o TideEventsOrganizer.o externC.o MetaField.o libtcd/libtcd.a -lpng -lz -lm ldld:: ld:- -LL must be immediately -followed by La directorymust be immediately followedpathmust (beno immediately followed by aspace ) directoryby patha (directoryno pathspace )( no space) collect2: ld returned 1 exit status collect2: ld returned 1 exit status collect2: ld returned 1 exit status make: *** [tide] Error 1 make: *** Waiting for unfinished jobs.... make: *** [xttpd] Error 1 make: *** [xtide] Error 1 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_xtide/work/xtide-2.8.3" && /usr/bin/make -j8 all " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xtide/work/xtide-2.8.3" && /usr/bin/make -j8 all " returned 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 xtide): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>}}}
Change History (4)
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Keywords: | xtide removed |
---|---|
Owner: | changed from macports-tickets@… to jberry@… |
Port: | xtide added |
comment:2 Changed 14 years ago by s-macports@…
This is a Mac-specific bug (omission) in xtide's configure.in file that makes it fail to determine where the X11 libraries are. Look in configure.in around line 50, and you will see some code that looks for "libXaw" with various extensions such as ".so" and ".a". On the Mac, the proper extension is ".dylib". Expanding this code to look for "libXaw.dylib" in addition to the others fixes the problem. Note, there are two lines that need to be changed, around lines 53 and 58. I would send you a patch, but I'm not quite up to speed on the Macports system yet.
comment:3 Changed 14 years ago by tommyb06@…
it is still broken: here is an excerpt from the logfile. I'm on SL-64 bit. I believe the errors are the same as of 10 months ago.
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xtide/work/xtide-2.8.3" && /usr/bin/make -j2 all' :info:build /usr/bin/g++-4.2 -L/opt/local/lib -L -L/usr/local/lib -L/usr/contrib/lib -o xtide xtide.o xxerrors.o xxContext.o xxTitleScreen.o xxGlobe.o xxLocationList.o xxXTideRoot.o xxTideContext.o xxDisclaimer.o xxTextMode.o xxDrawable.o xxErrorBox.o xxHelpBox.o xxFilename.o xxStep.o xxRareModeSavePrompts.o xxTimestampDialog.o xxMarkLevel.o xxGraphMode.o xxPixmapGraph.o xxAspect.o xxClock.o xxWindow.o xxTimestamp.o xxMultiChoice.o xxHorizDialog.o xxUnsignedChooser.o wvsrtv.o xxMap.o Dstr.o HarmonicsPath.o PredictionValue.o Amplitude.o Angle.o Speed.o Timestamp.o Interval.o Year.o TabulatedConstituent.o Coordinates.o HarmonicsFile.o StationRef.o StationIndex.o ConstantSet.o TideContext.o Offsets.o ConstituentSet.o ConstantSetWrapper.o Station.o xml_l.o xml_y.o xmlstruct.o ReferenceStation.o SubordinateStation.o skycal.o Colors.o Graph.o RGBGraph.o Settings.o TTYGraph.o Calendar.o Banner.o NullableAngle.o NullableInterval.o TideEvent.o TideEventsOrganizer.o externC.o MetaField.o libtcd/libtcd.a -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lXpm -lpng -lz -lm :info:build /usr/bin/g++-4.2 -L/opt/local/lib -L -L/usr/local/lib -L/usr/contrib/lib -o xttpd xttpd.o ZoneIndex.o errors.o Dstr.o HarmonicsPath.o PredictionValue.o Amplitude.o Angle.o Speed.o Timestamp.o Interval.o Year.o TabulatedConstituent.o Coordinates.o HarmonicsFile.o StationRef.o StationIndex.o ConstantSet.o TideContext.o Offsets.o ConstituentSet.o ConstantSetWrapper.o Station.o xml_l.o xml_y.o xmlstruct.o ReferenceStation.o SubordinateStation.o skycal.o Colors.o Graph.o RGBGraph.o Settings.o TTYGraph.o Calendar.o Banner.o NullableAngle.o NullableInterval.o TideEvent.o TideEventsOrganizer.o externC.o MetaField.o libtcd/libtcd.a -lpng -lz -lm :info:build ld: -L must be immediately followed by a directory path (no space) :info:build collect2: ld returned 1 exit status :info:build make: *** [xtide] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build ld: -L must be immediately followed by a directory path (no space) :info:build collect2: ld returned 1 exit status :info:build make: *** [xttpd] Error 1
comment:4 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Updated to 2.11 in r79134 and builds fine now.
Please put the name of the port in the Port field, and cc the maintainer.