[MacPorts] #22287: Updated portfile for xercesc 2.8.0 on Snow Leopard 64 bit
#22287: Updated portfile for xercesc 2.8.0 on Snow Leopard 64 bit --------------------------------------------+------------------------------- Reporter: wyldfire@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: --------------------------------------------+------------------------------- Currently xercesc 2.8.0 does not build using macports on Snow Leopard. I have changed the portfile to include a patch posted at the Xerces issue tracker (https://issues.apache.org/jira/browse/XERCESC-1772?page=com.atlassian.jira.p... %3Aall-tabpanel) and changed a few parameters allowing it to build on Snow Leopard. I hope that is also builds well on older systems. I am using "darwin 10" as an indicator to build xerces in 64bit mode. This is probably not the best choice, but I do not know how to detect in the port file if the build is actually targetting 64bit, -- Ticket URL: <http://trac.macports.org/ticket/22287> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22287: Updated portfile for xercesc 2.8.0 on Snow Leopard 64 bit --------------------------------------------+------------------------------- Reporter: wyldfire@… | Owner: chris.ridd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: xercesc --------------------------------------------+------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => chris.ridd@… * port: => xercesc Comment: The way to tell which architecture you should be building for is to look at the `$build_arch` variable. -- Ticket URL: <http://trac.macports.org/ticket/22287#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22287: Updated portfile for xercesc 2.8.0 on Snow Leopard 64 bit --------------------------------------------+------------------------------- Reporter: wyldfire@… | Owner: chris.ridd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: xercesc --------------------------------------------+------------------------------- Comment(by hauns@…): i am trying to build xerces 2.8.0 in 64bit one on sl. the standard port install comes with the unpatched portfile - has the patch not been integrated? hence i patched the portfile manually. next problem is that macsvn.diff cannot be found on any of the servers: {{{ ---> Fetching xercesc ---> Attempting to fetch macsvn.diff from http://distfiles.macports.org/xercesc ---> Attempting to fetch macsvn.diff from http://arn.se.distfiles.macports.org/xercesc ---> Attempting to fetch macsvn.diff from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/xercesc ---> Attempting to fetch macsvn.diff from http://svn.macports.org/repository/macports/distfiles/xercesc ---> Attempting to fetch macsvn.diff from http://svn.macports.org/repository/macports/distfiles/general/ ---> Attempting to fetch macsvn.diff from http://svn.macports.org/repository/macports/downloads/xercesc Error: Target org.macports.fetch returned: fetch failed }}} alright, i manually add it to the dist area. now, it complains about missing checksums: {{{ Error: No checksum set for macsvn.diff Error: No checksum set for xerces-c-src_2_8_0.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing. }}} i give up. any clews welcomed. -- Ticket URL: <http://trac.macports.org/ticket/22287#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22287: Updated portfile for xercesc 2.8.0 on Snow Leopard 64 bit --------------------------------------------+------------------------------- Reporter: wyldfire@… | Owner: chris.ridd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: xercesc --------------------------------------------+------------------------------- Comment(by wyldfire@…): The patch should update the following file: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/xercesc/Portfile Additionally download macsvn.diff and place it at. /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/xercesc/files/macsvn.diff With those files I was able to clean xerces (to remove any previous build data) and install it. I had no messages about checksums. According to the Guide (http://guide.macports.org/#development.introduction) the checksum in the Portfile applies only to the xerces tarball. I don't know why it is complaining about a missing checksum. Are you sure your Portfile is still intact? -- Ticket URL: <http://trac.macports.org/ticket/22287#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22287: Updated portfile for xercesc 2.8.0 on Snow Leopard 64 bit --------------------------------------------+------------------------------- Reporter: wyldfire@… | Owner: chris.ridd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: xercesc --------------------------------------------+------------------------------- Comment(by hauns@…): i had the diff file in /opt/local/var/macports/distfiles/xercesc/. moving it to your suggested location solved the issue. thanks for the quick feedback. any idea when this fix becomes a default? (i used to think patches are automatically integrated, here i had to patch manually) Replying to [comment:3 wyldfire@…]:
The patch should update the following file:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/xercesc/Portfile
Additionally download macsvn.diff and place it at.
/opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/xercesc/files/macsvn.diff
With those files I was able to clean xerces (to remove any previous
build data) and install it. I had no messages about checksums. According to the Guide (http://guide.macports.org/#development.introduction) the checksum in the Portfile applies only to the xerces tarball. I don't know why it is complaining about a missing checksum. Are you sure your Portfile is still intact? -- Ticket URL: <http://trac.macports.org/ticket/22287#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22287: Updated portfile for xercesc 2.8.0 on Snow Leopard 64 bit ---------------------------------------------+------------------------------ Reporter: wyldfire@… | Owner: chris.ridd@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: xercesc | ---------------------------------------------+------------------------------ Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Thank you for the patch. I committed it in r62017. I also included your disabling of the parallel build, because the build failed when I did not. I did not use your platform darwin 10 section to enable the 64-bit build, because I implemented that more generally in r62014. I did not add the line `configure.ldflags-delete -L${prefix}/lib` because I did not understand why you had added it. #20979 is a duplicate. -- Ticket URL: <http://trac.macports.org/ticket/22287#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22287: Updated portfile for xercesc 2.8.0 on Snow Leopard 64 bit ---------------------------------------------+------------------------------ Reporter: wyldfire@… | Owner: chris.ridd@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: xercesc | ---------------------------------------------+------------------------------ Comment(by wyldfire@…): Thanks for integrating the patch. I don't remember why I added the ldflags-delete line - likely something did not work and this fixed it for me, but that might also just have been an artifact of me trying to get the stuff compiling. If it worked for you without this, I suppose it's just fine. -- Ticket URL: <http://trac.macports.org/ticket/22287#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts