[MacPorts] #20484: xercesc-3.0.1 Build failure
#20484: xercesc-3.0.1 Build failure -----------------------------+---------------------------------------------- Reporter: jhauser@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: -----------------------------+---------------------------------------------- When installing shibboleth 2 on Mac OS X Server 10.5.7, and following the instructions here: https://spaces.internet2.edu/display/SHIB2/NativeSPMacPortInstallation I get a failure in building xercesc as follows: {{{ ---> Fetching xercesc ---> Attempting to fetch xerces-c-3.0.1.tar.gz from http://distfiles.macports.org/xercesc ---> Attempting to fetch xerces-c-3.0.1.tar.gz from http://archive.apache.org/dist/xerces/c/3/sources/ ---> Verifying checksum(s) for xercesc ---> Extracting xercesc ---> Configuring xercesc ---> Building xercesc Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_usr_local_ports_shibboleth_xercesc/work/xerces-c-3.0.1" && make all " returned error 2 Command output: make all-recursive Making all in src Making all in xercesc/util/MsgLoaders/ICU/resources /opt/local/bin/genrb root.txt /opt/local/bin/pkgdata --name xercesc_messages_3_0 --mode dll -d . -M '"CC=/usr/bin/gcc-4.0" "CXX=/usr/bin/g++-4.0" "AR=ar" "RANLIB=ranlib" "CPPFLAGS=-I/opt/local/include" "CFLAGS=-O2" "CXXFLAGS=-O2 -D_THREAD_SAFE " "LDFLAGS=-L/opt/local/lib"' ./res-file-list.txt /opt/local/bin/pkgdata: error in command line argument "-M" Run '/opt/local/bin/pkgdata --help' for help. make[3]: *** [xercesc_messages.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 }}} I tried the workaround posted here (see the comments): https://www.switch.ch/aai/docs/shibboleth/SWITCH/2.1/sp/deployment/mac- ports.html But that failed as well: {{{ ---> Applying patches to xercesc Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_usr_local_ports_shibboleth_xercesc/work/xerces-c-3.0.1" && patch -p1 < '/usr/local/ports/shibboleth/xercesc/files/xerces-c-nocf.diff'" returned error 1 Command output: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 16 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -rup xerces-c-src_2_8_0.orig/src/xercesc/util/Platforms/FreeBSD/FreeBSDDefs.hpp xerces-c-src_2_8_0/src/xercesc/util/Platforms/FreeBSD/FreeBSDDefs.hpp |--- xerces-c-src_2_8_0.orig/src/xercesc/util/Platforms/FreeBSD/FreeBSDDefs.hpp 2007-08-28 20:44:11.000000000 +0200 |+++ xerces-c-src_2_8_0/src/xercesc/util/Platforms/FreeBSD/FreeBSDDefs.hpp 2008-03-28 16:10:44.000000000 +0100 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 40 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -rup xerces-c-src_2_8_0.orig/src/xercesc/util/Platforms/Makefile.in xerces-c-src_2_8_0/src/xercesc/util/Platforms/Makefile.in |--- xerces-c-src_2_8_0.orig/src/xercesc/util/Platforms/Makefile.in 2007-08-28 20:44:12.000000000 +0200 |+++ xerces-c-src_2_8_0/src/xercesc/util/Platforms/Makefile.in 2008-03-31 08:33:25.000000000 +0100 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored patching file src/xercesc/util/XercesDefs.hpp Hunk #1 FAILED at 107. 1 out of 1 hunk FAILED -- saving rejects to file src/xercesc/util/XercesDefs.hpp.rej }}} So I nuked the whole ports/shibboleth directory, then started the process by doing a 'port install xercesc' which did successfully install 2.8.0_1, and I could then install shibboleth 2 after that. -- Ticket URL: <http://trac.macports.org/ticket/20484> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20484: xercesc-3.0.1 Build failure ------------------------------+--------------------------------------------- Reporter: jhauser@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: | ------------------------------+--------------------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => invalid Comment: This is not a problem with Macports portfiles. If you want this running in Macports, you should file a new ticket to add Shibboleth to the port tree and attach the portfile from the website. And maybe file another ticket to update xercesc to version 3.0.1. -- Ticket URL: <http://trac.macports.org/ticket/20484#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20484: xercesc-3.0.1 Build failure ------------------------------+--------------------------------------------- Reporter: jhauser@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: shibboleth | ------------------------------+--------------------------------------------- Changes (by snc@…): * port: => shibboleth Comment: Replying to [comment:1 macsforever2000@…]:
If you want this running in Macports, you should file a new ticket to add Shibboleth to the port tree and attach the portfile from the website. And maybe file another ticket to update xercesc to version 3.0.1.
I'm adding these ports to MacPorts, creating xercesc3 while leaving xercesc alone. -- Ticket URL: <http://trac.macports.org/ticket/20484#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20484: xercesc-3.0.1 Build failure ------------------------------------------------------------------------------+ Reporter: jhauser@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: shibboleth xmltooling xml-security-c xercesc3 opensaml log4shib | ------------------------------------------------------------------------------+ Changes (by snc@…): * cc: snc@… (added) * port: shibboleth => shibboleth xmltooling xml-security-c xercesc3 opensaml log4shib -- Ticket URL: <http://trac.macports.org/ticket/20484#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20484: xercesc-3.0.1 Build failure ------------------------------------------------------------------------------+ Reporter: jhauser@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: shibboleth xmltooling xml-security-c xercesc3 opensaml log4shib | ------------------------------------------------------------------------------+ Comment(by snc@…): All of the ports are now created with subcategory shibboleth. They also have livechecks to look for updates from the above links. -- Ticket URL: <http://trac.macports.org/ticket/20484#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20484: xercesc-3.0.1 Build failure ------------------------------------------------------------------------------+ Reporter: jhauser@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: shibboleth xmltooling xml-security-c xercesc3 opensaml log4shib | ------------------------------------------------------------------------------+ Comment(by will@…): same error still exists with xercesc3: {{{ ~$ sudo port install xercesc3 ---> Fetching xercesc3 ---> Verifying checksum(s) for xercesc3 ---> Extracting xercesc3 ---> Configuring xercesc3 ---> Building xercesc3 Error: Target org.macports.build returned: shell command " cd "/opt/mp/var/macports/build/_opt_mp_var_macports_sources_rsync.macports.org_release_ports_textproc_xercesc3/work/xerces-c-3.0.1" && make all " returned error 2 Command output: make all-recursive Making all in src Making all in xercesc/util/MsgLoaders/ICU/resources /opt/mp/bin/genrb root.txt /opt/mp/bin/pkgdata --name xercesc_messages_3_0 --mode dll -d . -M '"CC=/usr/bin/gcc-4.0" "CXX=/usr/bin/g++-4.0" "AR=ar" "RANLIB=ranlib" "CPPFLAGS=-I/opt/mp/include" "CFLAGS=-O2" "CXXFLAGS=-O2 -D_THREAD_SAFE " "LDFLAGS=-L/opt/mp/lib"' ./res-file-list.txt /opt/mp/bin/pkgdata: error in command line argument "-M" Run '/opt/mp/bin/pkgdata --help' for help. make[3]: *** [xercesc_messages.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 }}} -- Ticket URL: <http://trac.macports.org/ticket/20484#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20484: xercesc-3.0.1 Build failure ------------------------------------------------------------------------------+ Reporter: jhauser@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: shibboleth xmltooling xml-security-c xercesc3 opensaml log4shib | ------------------------------------------------------------------------------+ Comment(by macsforever2000@…): Replying to [comment:5 will@…]:
same error still exists with xercesc3:
This should be filed as a new ticket. -- Ticket URL: <http://trac.macports.org/ticket/20484#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20484: xercesc-3.0.1 Build failure ------------------------------------------------------------------------------+ Reporter: jhauser@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: shibboleth xmltooling xml-security-c xercesc3 opensaml log4shib | ------------------------------------------------------------------------------+ Comment(by macsforever2000@…): Indeed ticket #20490 has already been filed. -- Ticket URL: <http://trac.macports.org/ticket/20484#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts