[MacPorts] #35115: p5-sgml-parser-opensp @0.994.0_4 build fails

MacPorts noreply at macports.org
Sat Jul 7 19:08:03 PDT 2012


#35115: p5-sgml-parser-opensp @0.994.0_4 build fails
------------------------------------------+---------------------------------
 Reporter:  md14-macports@…               |       Owner:  macports-tickets@…                                                                                                                                    
     Type:  defect                        |      Status:  new                                                                                                                                                   
 Priority:  Normal                        |   Milestone:                                                                                                                                                        
Component:  ports                         |     Version:  2.1.1                                                                                                                                                 
 Keywords:  haspatch                      |        Port:  p5-sgml-parser-opensp, p5.8-sgml-parser-opensp, p5.10-sgml-parser-opensp, p5.12-sgml-parser-opensp, p5.14-sgml-parser-opensp, p5.16-sgml-parser-opensp
------------------------------------------+---------------------------------
 The p5.16-sgml-parser-opensp port fails to build:

 {{{
 $ sudo port -vs install p5.16-sgml-parser-opensp
 --->  Computing dependencies for p5.16-sgml-parser-opensp.
 --->  Fetching distfiles for p5.16-sgml-parser-opensp
 --->  Verifying checksum(s) for p5.16-sgml-parser-opensp
 --->  Checksumming SGML-Parser-OpenSP-0.994.tar.gz
 --->  Extracting p5.16-sgml-parser-opensp
 --->  Extracting SGML-Parser-OpenSP-0.994.tar.gz
 --->  Applying patches to p5.16-sgml-parser-opensp
 --->  Applying Makefile.PL.patch
 patching file Makefile.PL
 --->  Configuring p5.16-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 and MYMETA.json
 --->  Building p5.16-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.16-sgml-parser-opensp/work/SGML-Parser-
 OpenSP-0.994'
 /opt/local/bin/perl5.16
 /opt/local/lib/perl5/vendor_perl/5.16.0/ExtUtils/xsubpp  -C++ -typemap
 /opt/local/lib/perl5/5.16.0/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.16.0/darwin-thread-
 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’
 ...
 }}}

 This problem was previously fixed in r94661. Something must have happened
 and the r94661 fix is no longer working. The attached patch to the
 patchfile is another way to fix it.

-- 
Ticket URL: <https://trac.macports.org/ticket/35115>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list