ports/140109: www/validator 0.8.3_1: /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/SGML/Parser/OpenSP/OpenSP.so: Undefined symbol "_ZN15SGMLApplication11nonSgmlCharERKNS_16NonSgmlCharEventE"

isrc informatique.src at gmail.com
Fri Oct 30 14:30:09 UTC 2009


>Number:         140109
>Category:       ports
>Synopsis:       www/validator 0.8.3_1: /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/SGML/Parser/OpenSP/OpenSP.so: Undefined symbol "_ZN15SGMLApplication11nonSgmlCharERKNS_16NonSgmlCharEventE"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 30 14:30:08 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     isrc
>Release:        6.4
>Organization:
>Environment:
* FreeBSD venus.src.iut-velizy.uvsq.fr 6.4-RELEASE-p7 FreeBSD 6.4-RELEASE-p7
* perl -V
Summary of my perl5 (revision 5 version 8 subversion 9) configuration:
  Platform:
    osname=freebsd, osvers=6.3-release-p9, archname=i386-freebsd-64int
    uname='freebsd localhost 6.3-release-p9 freebsd 6.3-release-p9 #0: fri feb 6 17:06:54 cet 2009 root at localhost:usrobjusrsrcsysgeneric_quota i386 '
    config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.8.9/mach -Dprivlib=/usr/local/lib/perl5/5.8.9 -Dman3dir=/usr/local/lib/perl5/5.8.9/perl/man/man3 -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl/5.8.9/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.8.9 -Dscriptdir=/usr/local/bin -Dsiteman3dir=/usr/local/lib/perl5/5.8.9/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dinc_version_list=none -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN" -Doptimize=-O2 -fno-strict-aliasing -pipe -Ud_dosuid -Ui_gdbm -Dusethreads=n -Dusemymalloc=y -Duse64bitint'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=y, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe',
    optimize='-O2 -fno-strict-aliasing -pipe',
    cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe'
    ccversion='', gccversion='3.4.6 [FreeBSD] 20060305', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -Wl,-E '
    libpth=/usr/lib
    libs=-lm -lcrypt -lutil
    perllibs=-lm -lcrypt -lutil
    libc=, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -Wl,-R/usr/local/lib/perl5/5.8.9/mach/CORE'
    cccdlflags='-DPIC -fPIC', lddlflags='-shared '


Characteristics of this binary (from libperl):
  Compile-time options: MYMALLOC PERL_MALLOC_WRAP USE_64_BIT_INT
                        USE_FAST_STDIO USE_LARGE_FILES USE_PERLIO
  Locally applied patches:
        defined-or
  Built under freebsd
  Compiled at Aug 25 2009 23:29:15
  @INC:
    /usr/local/lib/perl5/5.8.9/BSDPAN
    /usr/local/lib/perl5/site_perl/5.8.9/mach
    /usr/local/lib/perl5/site_perl/5.8.9
    /usr/local/lib/perl5/5.8.9/mach
    /usr/local/lib/perl5/5.8.9
    .
>Description:
Hi,
I've just updated the ports tree with portsnap and  compiled  the w3c
validator and all its dependency with portinstall on FreeBSD 6.4  but
whenever i try to validate a html document, i get the following error
message:
---
check: Can't load
'/usr/local/lib/perl5/site_perl/5.8.9/mach/auto/SGML/Parser/OpenSP/OpenSP.so'
for module SGML::Parser::OpenSP:
/usr/local/lib/perl5/site_perl/5.8.9/mach/auto/SGML/Parser/OpenSP/OpenSP.so:
Undefined symbol
"_ZN15SGMLApplication11nonSgmlCharERKNS_16NonSgmlCharEventE" at
/usr/local/lib/perl5/5.8.9/mach/XSLoader.pm line 70
----
I workaround the issue by installing the binary package of validator
(release which is a release validator-0.8.3_1)and friends with
portinstall -PP validator and it works just fine.
>How-To-Repeat:
* compil www/validator with portinstall (accept default compilation options)
* setup apache 
* try to validate a html page with validator : you should get the "undefined symbol" error !

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list