/security/logcheck-1.2.54 build failure

Alexey V. Degtyarev alexey at renatasystems.org
Mon Apr 27 22:38:09 UTC 2009


> I have the same problem Kim reported.  Rebuilding OpenSP didn't change
> anything.  osx runs and waits for console input and complains about
> random typing...

 I can reproduce exactly the same error report as Kim shown by simply
 moving /usr/local/bin/osx -> /usr/local/bin/osx.smth:

$ which osx osx.flor
/usr/local/bin/osx.flor
$ make build
===>  Building for logcheck-1.2.54_3
-:1: parser error : Start tag expected, '<' not found
/usr/local/bin/sgml2xml-isoent: cannot find sx(sgml2xml) or osx to convert SGML 
^
unable to parse -

no element found at line 1, column 0, byte 0 at /usr/local/lib/perl5/site_perl/5.8.9/mach/XML/Parser.pm line 187
*** Error code 255

Stop in /usr/ports/security/logcheck.
$ mv /usr/local/bin/osx.flor /usr/local/bin/osx
$ make build
===>  Building for logcheck-1.2.54_3
/usr/local/bin/osx:logcheck.sgml:1:59:W: cannot generate system identifier for public text "-//OASIS//DTD DocBook V4.1//EN"
/usr/local/bin/osx:logcheck.sgml:34:0:E: reference to entity "REFENTRY" for which no system identifier could be generated
[...]
/usr/local/bin/osx:logcheck.sgml:260:9:E: element "PARA" undefined
$

 Despite all these errors and warnings from logcheck.sgml build becomes
 done. Can you please share the full cut-and-paste build log?


> The output of my make pretty-print-build-depends-list on the logcheck in
> ports now is below. What perl version is installed on the box that you
> built logcheck OK with?
> 

> Script started on Mon Apr 27 14:25:57 2009
> This port requires package(s) "OpenSP-1.5.2_1 docbook2X-0.8.8_2
> dsssl-docbook-modular-1.79_1,1 expat-2.0.1 gettext-0.17_1 gmake-3.81_3
> libiconv-1.11_1 libxml2-2.7.3 libxslt-1.1.24_2
> p5-XML-NamespaceSupport-1.09_1 p5-XML-Parser-2.36 p5-XML-SAX-0.96
> p5-XML-SAX-Expat-0.40 perl-5.8.9_2 pkg-config-0.23_1
> sdocbook-xml-1.1,1 xmlcatmgr-2.2" to build.
> 
> Script done on Mon Apr 27 14:25:57 2009

 Exactly the same as yours. I'm running 7.1-RELEASE-p2 amd64.


-- 
Alexey V. Degtyarev


More information about the freebsd-ports mailing list