[MacPorts] #31267: AntTweakBar is out of date and fails to build on Lion
#31267: AntTweakBar is out of date and fails to build on Lion -------------------------------------+-------------------------------------- Reporter: jay@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: anttweakbar opengl lion | Port: anttweakbar -------------------------------------+-------------------------------------- Hi there, I noticed that the port for AntTweakBar is broken on Lion. Actually, the problem is that the maintainer of ATB released a new version without bumping his version number. If you go download 1.14 from the project website, you'll notice that it's slightly different than the 1.14 the Macport Portfile is based on. If you could just refresh the mirrored file and update the checksums in the Port, it should compile on Lion just fine. In case you're interested, the make-or-break difference in the two 1.14 snapshots is in src/LoadOGL.h, lines 333:334. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/31267> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31267: AntTweakBar is out of date and fails to build on Lion ------------------------------+--------------------------------------------- Reporter: jay@… | Owner: karcaw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: lion | Port: anttweakbar ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * cc: jay@… (removed) * keywords: anttweakbar opengl lion => lion * owner: macports-tickets@… => karcaw@… -- Ticket URL: <https://trac.macports.org/ticket/31267#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31267: AntTweakBar is out of date and fails to build on Lion ------------------------------+--------------------------------------------- Reporter: jay@… | Owner: karcaw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: lion | Port: anttweakbar ------------------------------+--------------------------------------------- Comment(by karcaw@…): I've attached a patch that should fix the issue. As I dont have Lion yet, i cant test it there. It compiles now on my mac. -- Ticket URL: <https://trac.macports.org/ticket/31267#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31267: AntTweakBar is out of date and fails to build on Lion ------------------------------+--------------------------------------------- Reporter: jay@… | Owner: karcaw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: lion | Port: anttweakbar ------------------------------+--------------------------------------------- Comment(by jay@…): Hm, okay. So I patched the Portfile: {{{ cd $(port dir anttweakbar) patch -p0 < ~/Downloads/AntTweakBar_114_2.patch }}} That applied cleanly. Then I downloaded the .zip file from the project website and converted it to .tbz2, as that is what the Portfile is apparently looking for: {{{ mkdir /tmp/ant cd /tmp/ant unzip ~/Downloads/AntTweakBar_114.zip sudo tar jcf $(port dir anttweakbar)/files/anttweakbar-1.14_2.darwin_11.x86_64.tbz2 }}} And then tried building the port again: {{{ sudo port install anttweakbar }}} But it fails on the checksum verification: {{{ :debug:checksum checksum phase started at Thu Sep 15 13:10:16 EDT 2011 :notice:checksum ---> Verifying checksum(s) for anttweakbar :debug:checksum Executing org.macports.checksum (anttweakbar) :info:checksum ---> Checksumming AntTweakBar_114 :error:checksum Checksum (sha1) mismatch for AntTweakBar_114 :info:checksum Portfile checksum: AntTweakBar_114 sha1 b6405082efb6d6f26b3856a1b12c4e520055390e :info:checksum Distfile checksum: AntTweakBar_114 sha1 a3e2d2c756413d1c562946a9e7b8190734284f2b :error:checksum Checksum (rmd160) mismatch for AntTweakBar_114 :info:checksum Portfile checksum: AntTweakBar_114 rmd160 6297484674785807a8e750ccc8934dcba35f8353 :info:checksum Distfile checksum: AntTweakBar_114 rmd160 89fab9e632b54c858ed1a5f85a2abb802efe403d :info:checksum The correct checksum line may be: :info:checksum checksums sha1 a3e2d2c756413d1c562946a9e7b8190734284f2b \ rmd160 89fab9e632b54c858ed1a5f85a2abb802efe403d :error:checksum Target org.macports.checksum returned: Unable to verify file checksums :debug:checksum Backtrace: Unable to verify file checksums }}} What am I doing wrong? -- Ticket URL: <https://trac.macports.org/ticket/31267#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31267: AntTweakBar is out of date and fails to build on Lion ------------------------------+--------------------------------------------- Reporter: jay@… | Owner: karcaw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: lion | Port: anttweakbar ------------------------------+--------------------------------------------- Comment(by karcaw@…): My version of the portfile expects the zip file, does yours show the 'use_zip yes' line in it? can you remove old version of the Downloaded zip file, and try installing again, and post the output? -- Ticket URL: <https://trac.macports.org/ticket/31267#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31267: AntTweakBar is out of date and fails to build on Lion ------------------------------+--------------------------------------------- Reporter: jay@… | Owner: karcaw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: lion | Port: anttweakbar ------------------------------+--------------------------------------------- Comment(by jay@…): That worked, and the port compiles and installs cleanly on Lion now :) -- Ticket URL: <https://trac.macports.org/ticket/31267#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31267: AntTweakBar is out of date and fails to build on Lion ------------------------------+--------------------------------------------- Reporter: jay@… | Owner: karcaw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: lion | Port: anttweakbar ------------------------------+--------------------------------------------- Comment(by jay@…): Hi Karcaw, Can you commit this patch? The official port is still broken on 10.7. Jay -- Ticket URL: <https://trac.macports.org/ticket/31267#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31267: AntTweakBar is out of date and fails to build on Lion ------------------------------+--------------------------------------------- Reporter: jay@… | Owner: karcaw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: lion | Port: anttweakbar ------------------------------+--------------------------------------------- Comment(by karcaw@…): I dont have direct commit access, i'll email someone to merge it. -- Ticket URL: <https://trac.macports.org/ticket/31267#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31267: AntTweakBar is out of date and fails to build on Lion ------------------------------+--------------------------------------------- Reporter: jay@… | Owner: karcaw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: lion | Port: anttweakbar ------------------------------+--------------------------------------------- Comment(by nk@…): Replying to [comment:5 jay@…]:
That worked, and the port compiles and installs cleanly on Lion now :) Could you please clarify the last step – "remove old version of the Downloaded zip file"? That would be really useful.
-- Ticket URL: <https://trac.macports.org/ticket/31267#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31267: AntTweakBar is out of date and fails to build on Lion ------------------------------+--------------------------------------------- Reporter: jay@… | Owner: karcaw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: lion | Port: anttweakbar ------------------------------+--------------------------------------------- Comment(by karcaw@…): IIRC the upstream developer made a small change to the AntTweakBar_114.zip file on his website, but did not bump the version number. therefore the one downloaded previously needed to be removed to force a new download. -- Ticket URL: <https://trac.macports.org/ticket/31267#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31267: AntTweakBar is out of date and fails to build on Lion ------------------------------+--------------------------------------------- Reporter: jay@… | Owner: karcaw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: lion | Port: anttweakbar ------------------------------+--------------------------------------------- Comment(by nk@…): Replying to [comment:9 karcaw@…]:
IIRC the upstream developer made a small change to the AntTweakBar_114.zip file on his website, but did not bump the version number. therefore the one downloaded previously needed to be removed to force a new download.
Strange, I still have a checksum problem… There was also a trouble with sudo tar jcf $(port dir anttweakbar)/files/anttweakbar-1.14_2.darwin_11.x86_64.tbz2 command (error was "tar: no files or directories specified"), and I solved it by adding the asterisk to the end. Probably, I was doing it wrong? -- Ticket URL: <https://trac.macports.org/ticket/31267#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31267: AntTweakBar is out of date and fails to build on Lion -------------------------------+-------------------------------------------- Reporter: jay@… | Owner: karcaw@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: lion Port: anttweakbar | -------------------------------+-------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r93605 -- Ticket URL: <https://trac.macports.org/ticket/31267#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts