[MacPorts] #34746: scamp 1.6.2 configure error - build failure
#34746: scamp 1.6.2 configure error - build failure ---------------------------------------+------------------------------------ Reporter: abraham@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: scamp ---------------------------------------+------------------------------------ Hi, I'm attempting to build scamp 1.6.2 on Mac OS X Lion (10.7.4). I currently have XCode 4.1 installed. I've been using MacPorts successfully for quite some time and this appears to be an isolated problem. I tried building with clang in addition to llvm but neither compiler worked. Looking through the build log file reveals the following build error which I think might indicate a missing dependency: {{{ :info:build Undefined symbols for architecture x86_64: :info:build "_plcol", referenced from: :info:build _cplot_allsky in astrcplot.o :info:build _cplot_astrefprop in astrcplot.o :info:build _cplot_astrcolshift1d in astrcplot.o :info:build _cplot_referrhisto2d in astrcplot.o :info:build _cplot_referrhisto1d in astrcplot.o :info:build _cplot_aderrhisto2d in astrcplot.o :info:build _cplot_aderrhisto1d in astrcplot.o :info:build ... :info:build (maybe you meant: _c_plcol0, _c_plcol1 ) :info:build ld: symbol(s) not found for architecture x86_64 }}} Here is what is reported on the command line (after removing the messages regarding installation of dependencies, which appeared to install fine): {{{ ---> Fetching archive for scamp ---> Attempting to fetch scamp-1.6.2_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/scamp ---> Fetching distfiles for scamp ---> Attempting to fetch scamp-1.6.2.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/scamp ---> Verifying checksum(s) for scamp ---> Extracting scamp ---> Configuring scamp ---> Building scamp Error: org.macports.build for port scamp returned: command execution failed To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port scamp failed }}} -- Ticket URL: <https://trac.macports.org/ticket/34746> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34746: scamp 1.6.2 configure error - build failure ---------------------------------------+------------------------------------ Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: scamp ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => tim@… Comment: Please attach the main.log file. -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34746: scamp build failure: Undefined symbols _plcol ---------------------------------------+------------------------------------ Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: scamp ---------------------------------------+------------------------------------ Comment(by ryandesign@…): Also, please consider upgrading Xcode; 4.1 is old. -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34746: scamp build failure: Undefined symbols _plcol ---------------------------------------+------------------------------------ Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: scamp ---------------------------------------+------------------------------------ Comment(by abraham@…): Replying to [comment:1 ryandesign@…]:
Please attach the main.log file.
Done! Thanks for the suggestion, this is the first ticket I've filed and I'm a little unsure what information is critical vs. redundant. -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34746: scamp build failure: Undefined symbols _plcol ---------------------------------------+------------------------------------ Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: scamp ---------------------------------------+------------------------------------ Comment(by abraham@…): Replying to [comment:2 ryandesign@…]:
Also, please consider upgrading Xcode; 4.1 is old.
Will do. -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34746: scamp build failure: Undefined symbols _plcol ---------------------------------------+------------------------------------ Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: scamp ---------------------------------------+------------------------------------ Comment(by abraham@…): Replying to [comment:4 abraham@…]:
Replying to [comment:2 ryandesign@…]:
Also, please consider upgrading Xcode; 4.1 is old.
Will do.
Hi, I've upgraded to XCode 4.3.2 and the port still fails to build (same issues). -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34746: scamp build failure: Undefined symbols _plcol ---------------------------------------+------------------------------------ Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: scamp ---------------------------------------+------------------------------------ Comment(by jmr@…): Apparently plcol came from plplot, but was deprecated and removed. The replacement is plcol0. http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.9/plcol.html -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34746: scamp build failure: Undefined symbols _plcol ------------------------+------------------- Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: scamp | ------------------------+------------------- Comment (by aronnax@…): The upstream developer change from plcol to plcol0 in trunk: http://www.astromatic.net/wsvn/public/filedetails.php?repname=public+softwar... tim, are you in touch with this package's author? Can you ask him when the next release will be available? -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34746: scamp build failure: Undefined symbols _plcol ------------------------+------------------- Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: scamp | ------------------------+------------------- Comment (by Deil.Christoph@…): Replying to [comment:7 aronnax@…]:
The upstream developer changed from plcol to plcol0 in trunk:
http://www.astromatic.net/wsvn/public/filedetails.php?repname=public+softwar...
tim, are you in touch with this package's author? Can you ask him when
the next release will be available? I just asked in the SCAMP forum if they can make a new release to get the fix for this issue out: http://www.astromatic.net/forum/showthread.php?tid=851 (Macports currently is at 1.6.2, I also tried with the latest release 1.7, which still contains the problem, so no need to update the port at this point) -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#34746: scamp build failure: Undefined symbols _plcol ------------------------+------------------- Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: scamp | ------------------------+------------------- Comment (by juandesant@…): I'm having the exact same problem with MacPorts 2.2.1 on Mavericks, with Xcode 5.0.2 and `xcode-select --install` already performed. All of scamp dependencies (including atlas and libgcc), and the rest of Astromatic software (stiff, stuff, sextractor, skymapper, weightwatcher), installed like a charm. Will ping in the Astromatic forum as well. Not sure if it's worth it to add my main.log file. -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#34746: scamp build failure: Undefined symbols _plcol ------------------------+------------------- Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: scamp | ------------------------+------------------- Comment (by stefan.meingast@…): Scamp 2.0 just came out of beta a few days ago. Would it be possible to update the port at this time? -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#34746: scamp build failure: Undefined symbols _plcol ------------------------+------------------- Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: scamp | ------------------------+------------------- Comment (by Deil.Christoph@…): I'm still seeing this issue on Mac OS X 10.9 (see main.log here: https://gist.github.com/cdeil/2c18711341dd54e9a54c ) Note that I've made an update request for all Astromatic port here: https://trac.macports.org/ticket/43536#comment:3 Did anyone try the latest SCAMP release ... is this issue fixed? -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#34746: scamp build failure: Undefined symbols _plcol ------------------------+------------------- Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: scamp | ------------------------+------------------- Comment (by Deil.Christoph@…): I've attached a diff for an updated Portfile that works for me on Mac OS X 10.9. Given that this issue is 2 years old and Tim hasn't commented, maybe someone else can review and commit the patch? -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#34746: scamp build failure: Undefined symbols _plcol ------------------------+------------------- Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: scamp | ------------------------+------------------- Comment (by mf2k@…): Some notes about your patch: - The $Id$ line should not be changed. - You also changed the license field, was that intended? - Use [https://guide.macports.org/#reference.phases.checksum modern checksums]. -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#34746: scamp build failure: Undefined symbols _plcol ------------------------+------------------- Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: scamp | ------------------------+------------------- Comment (by aronnax@…): Replying to [comment:15 mf2k@…]:
- You also changed the license field, was that intended?
According to the latest scamp manual, the license is GPL-3+. -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#34746: scamp build failure: Undefined symbols _plcol ------------------------+------------------- Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: scamp | ------------------------+------------------- Comment (by aronnax@…): By the way, the patched built fine on my Mavericks machine. -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#34746: scamp build failure: Undefined symbols _plcol ------------------------+------------------- Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: scamp | ------------------------+------------------- Comment (by Deil.Christoph@…): Replying to [comment:15 mf2k@…]:
Some notes about your patch: - The $Id$ line should not be changed.
Done.
- You also changed the license field, was that intended?
Yes, the license was changed from CeCILL to GPL-3+ : http://astromatic.iap.fr/wsvn/public/filedetails.php?repname=public+software...
- Use [https://guide.macports.org/#reference.phases.checksum modern checksums].
Done. The updated diff is attached as {{{Portfile-scamp.diff}}}. -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
#34746: scamp build failure: Undefined symbols _plcol ------------------------+------------------- Reporter: abraham@… | Owner: tim@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: scamp | ------------------------+------------------- Comment (by Deil.Christoph@…): Could a Macports committer please commit this patch? -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:19> MacPorts <http://www.macports.org/> Ports system for OS X
#34746: scamp build failure: Undefined symbols _plcol ------------------------+-------------------- Reporter: abraham@… | Owner: tim@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: duplicate | Keywords: Port: scamp | ------------------------+-------------------- Changes (by aronnax@…): * status: new => closed * resolution: => duplicate Comment: See #43536. -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:20> MacPorts <http://www.macports.org/> Ports system for OS X
#34746: scamp build failure: Undefined symbols _plcol ------------------------+-------------------- Reporter: abraham@… | Owner: tim@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: duplicate | Keywords: Port: scamp | ------------------------+-------------------- Comment (by aronnax@…): Since the update to plplot 5.10.0, I now get: {{{ Undefined symbols for architecture x86_64: "_plwid", referenced from: _cplot_allsky in astrcplot.o _cplot_drawcoordgrid in astrcplot.o _cplot_drawloccoordgrid in astrcplot.o _cplot_fgroup in astrcplot.o _cplot_distort in astrcplot.o _cplot_astintsysmap in astrcplot.o _cplot_astrefsysmap in astrcplot.o ... ld: symbol(s) not found for architecture x86_64 }}} And I can see that {{{plwid}}} is deprecated in favor of {{{plwidth}}}. See http://plplot.sourceforge.net/docbook-manual/plplot- html-5.10.0/plwid.html. -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:21> MacPorts <http://www.macports.org/> Ports system for OS X
#34746: scamp build failure: Undefined symbols _plcol ------------------------+-------------------- Reporter: abraham@… | Owner: tim@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: duplicate | Keywords: Port: scamp | ------------------------+-------------------- Comment (by aronnax@…): Christoph, what is the preferred way to contact the upstream developer to ask them to fix this and issue a new release? I see that you went to the forum, but there's also an email author contact: http://www.astromatic.net/team/emmanuel -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:22> MacPorts <http://www.macports.org/> Ports system for OS X
#34746: scamp build failure: Undefined symbols _plcol ------------------------+-------------------- Reporter: abraham@… | Owner: tim@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: duplicate | Keywords: Port: scamp | ------------------------+-------------------- Comment (by aronnax@…): In r121752, I added patches to fix the plplot API change. I also sent the patches to the upstream project. -- Ticket URL: <https://trac.macports.org/ticket/34746#comment:23> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts