Opened 12 years ago
Closed 12 years ago
#34514 closed defect (fixed)
p5.14-sgml-parser-opensp @0.994.0_3 build failure
Reported by: | mndavidoff (Monte Davidoff) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | haspatch | Cc: | |
Port: | p5.14-sgml-parser-opensp p5.12-sgml-parser-opensp p5.10-sgml-parser-opensp p5.8-sgml-parser-opensp p5-sgml-parser-opensp |
Description
The p5.14-sgml-parser-opensp port fails to build:
$ sudo port -vs install p5.14-sgml-parser-opensp ---> Computing dependencies for p5.14-sgml-parser-opensp. ---> Fetching distfiles for p5.14-sgml-parser-opensp ---> Verifying checksum(s) for p5.14-sgml-parser-opensp ---> Checksumming SGML-Parser-OpenSP-0.994.tar.gz ---> Extracting p5.14-sgml-parser-opensp ---> Extracting SGML-Parser-OpenSP-0.994.tar.gz ---> Applying patches to p5.14-sgml-parser-opensp ---> Applying Makefile.PL.patch patching file Makefile.PL ---> Configuring p5.14-sgml-parser-opensp Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lstdc++ Writing Makefile for SGML::Parser::OpenSP Writing MYMETA.yml ---> Building p5.14-sgml-parser-opensp make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-sgml-parser-opensp/p5.14-sgml-parser-opensp/work/SGML-Parser-OpenSP-0.994' /opt/local/bin/perl5.14 /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/xsubpp -C++ -typemap /opt/local/lib/perl5/5.14.2/ExtUtils/typemap -typemap typemap OpenSP.xs > OpenSP.xsc && mv OpenSP.xsc OpenSP.c cp lib/SGML/Parser/OpenSP.pm blib/lib/SGML/Parser/OpenSP.pm cp lib/SGML/Parser/OpenSP/Tools.pm blib/lib/SGML/Parser/OpenSP/Tools.pm Running Mkbootstrap for SGML::Parser::OpenSP () chmod 644 OpenSP.bs cp OpenSP.bs blib/arch/auto/SGML/Parser/OpenSP/OpenSP.bs chmod 644 blib/arch/auto/SGML/Parser/OpenSP/OpenSP.bs /usr/bin/gcc-4.2 -c -pipe -O2 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector -I/opt/local/include -arch x86_64 -O3 -DVERSION=\"0.994\" -DXS_VERSION=\"0.994\" "-I/opt/local/lib/perl5/5.14.2/darwin-multi-2level/CORE" -DSP_MULTI_BYTE=1 OpenSP.c OpenSP.xs:14: error: expected identifier or ‘(’ before string constant In file included from /opt/local/include/OpenSP/EventGenerator.h:11, from /opt/local/include/OpenSP/ParserEventGeneratorKit.h:11, from OpenSP.xs:26: /opt/local/include/OpenSP/SGMLApplication.h:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SGMLApplication’ /opt/local/include/OpenSP/SGMLApplication.h:295: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token /opt/local/include/OpenSP/SGMLApplication.h:302: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token /opt/local/include/OpenSP/SGMLApplication.h:308: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token In file included from /opt/local/include/OpenSP/ParserEventGeneratorKit.h:11, from OpenSP.xs:26: /opt/local/include/OpenSP/EventGenerator.h:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘EventGenerator’ In file included from OpenSP.xs:26: /opt/local/include/OpenSP/ParserEventGeneratorKit.h:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ParserEventGeneratorKitImpl’ /opt/local/include/OpenSP/ParserEventGeneratorKit.h:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ParserEventGeneratorKit’ OpenSP.xs:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SgmlParserOpenSP’ OpenSP.xs:109: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvAttributes’ OpenSP.xs:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvByteOffset’ OpenSP.xs:111: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvCdataChunks’ OpenSP.xs:112: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvColumnNumber’ OpenSP.xs:113: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvComment’ OpenSP.xs:114: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvComments’ OpenSP.xs:115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvContentType’ OpenSP.xs:116: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvData’ OpenSP.xs:117: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvDataType’ OpenSP.xs:118: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvDeclType’ OpenSP.xs:119: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvDefaulted’ OpenSP.xs:120: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvEntities’ OpenSP.xs:121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvEntity’ OpenSP.xs:122: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvEntityName’ OpenSP.xs:123: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvEntityOffset’ OpenSP.xs:124: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvExternalId’ OpenSP.xs:125: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvFileName’ OpenSP.xs:126: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvGeneratedSystemId’ OpenSP.xs:127: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvIncluded’ OpenSP.xs:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvIndex’ OpenSP.xs:129: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvIsGroup’ OpenSP.xs:130: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvIsId’ OpenSP.xs:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvIsInternal’ OpenSP.xs:132: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvIsNonSgml’ OpenSP.xs:133: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvIsSdata’ OpenSP.xs:134: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvLineNumber’ OpenSP.xs:135: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvMessage’ OpenSP.xs:136: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvName’ OpenSP.xs:137: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvNonSgmlChar’ OpenSP.xs:138: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvNone’ OpenSP.xs:139: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvNotation’ OpenSP.xs:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvParams’ OpenSP.xs:141: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvPublicId’ OpenSP.xs:142: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvSeparator’ OpenSP.xs:143: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvStatus’ OpenSP.xs:144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvString’ OpenSP.xs:145: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvSystemId’ OpenSP.xs:146: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvText’ OpenSP.xs:147: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvTokens’ OpenSP.xs:148: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HvvType’ OpenSP.xs:154: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token OpenSP.xs:189: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token OpenSP.xs:203: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token OpenSP.xs:217: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token OpenSP.xs:236: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token OpenSP.xs:301: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token OpenSP.xs:315: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token OpenSP.xs:410: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:416: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:471: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:528: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token OpenSP.xs:538: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:549: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:570: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:601: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:712: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:738: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:756: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:797: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:815: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:833: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:852: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:870: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:888: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:912: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:930: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:946: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:962: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:989: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:1054: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:1086: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:1104: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.xs:1144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token OpenSP.c:1220: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token OpenSP.c:1221: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token OpenSP.c:1256: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token OpenSP.c:1257: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token OpenSP.c:1291: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token OpenSP.c:1292: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token OpenSP.c:1328: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token OpenSP.c:1329: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token OpenSP.c:1362: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token OpenSP.c:1363: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token OpenSP.c:1398: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token OpenSP.c:1399: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token make: *** [OpenSP.o] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-sgml-parser-opensp/p5.14-sgml-parser-opensp/work/SGML-Parser-OpenSP-0.994' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-sgml-parser-opensp/p5.14-sgml-parser-opensp/work/SGML-Parser-OpenSP-0.994" && /usr/bin/make -j2 -w all Exit code: 2 Error: org.macports.build for port p5.14-sgml-parser-opensp returned: command execution failed Warning: targets not executed for p5.14-sgml-parser-opensp: org.macports.activate org.macports.build org.macports.destroot org.macports.install Please see the log file for port p5.14-sgml-parser-opensp for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-sgml-parser-opensp/p5.14-sgml-parser-opensp/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port p5.14-sgml-parser-opensp failed
The attached change to the patchfile seems to fix the problem. I tried to fix it in a way that's compatible with r93304. I've attached both a new Makefile.PL.patch
patchfile and a patch to the patchfile -- I didn't know which format was preferred.
Attachments (3)
Change History (5)
Changed 12 years ago by mndavidoff (Monte Davidoff)
Attachment: | main.log.bz2 added |
---|
Changed 12 years ago by mndavidoff (Monte Davidoff)
Attachment: | Makefile.PL.patch added |
---|
Changed 12 years ago by mndavidoff (Monte Davidoff)
Attachment: | Makefile.PL.patch.diff added |
---|
comment:1 Changed 12 years ago by mndavidoff (Monte Davidoff)
comment:2 Changed 12 years ago by neverpanic (Clemens Lang)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This was fixed in r94661. It is all right to close this ticket.