Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33651 - Compile problem with dev-perl/XML-LibXML-1.56 with libxml2-2.6.0
Summary: Compile problem with dev-perl/XML-LibXML-1.56 with libxml2-2.6.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL: http://rt.cpan.org/NoAuth/Bug.html?id...
Whiteboard:
Keywords:
: 36493 (view as bug list)
Depends on: 30590
Blocks:
  Show dependency tree
 
Reported: 2003-11-16 19:32 UTC by Guido Sohne
Modified: 2004-01-30 17:10 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
New Ebuild for 1.56 version (XML-LibXML-1.56-r1.ebuild,1.07 KB, text/plain)
2004-01-03 13:46 UTC, Chris Lyttle
Details
Patch to make 1.56 compile (XML-LibXML-1.56-gentoo.patch,1.10 KB, patch)
2004-01-03 13:46 UTC, Chris Lyttle
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Sohne 2003-11-16 19:32:27 UTC
Emerging XML-LibXML-1.55 or XML-LibXML-1.56 give the following error:

gcc -c  -I/usr/include/libxml2 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -s -march=pentium4 -fomit-frame-pointer -pipe   -DVERSION=\"1.55\" -DXS_VERSION=\"1.55\" -fpic "-I/usr/lib/perl5/5.8.2/i686-linux/CORE"  -DHAVE_UTF8 -DHAVE_BLANK LibXML.c
In file included from LibXML.xs:31:
/usr/include/libxml2/libxml/DOCBparser.h:16:2: warning: #warning "The DOCBparser module has been deprecated in libxml2-2.6.0"
LibXML.xs:73: error: duplicate `extern'
LibXML.xs:74: error: duplicate `extern'
LibXML.xs:76: error: duplicate `extern'
LibXML.xs:77: error: duplicate `extern'
LibXML.xs:78: error: duplicate `extern'
LibXML.xs:79: error: duplicate `extern'
make: *** [LibXML.o] Error 1

Bugzilla on CPAN has a bug filed on this as well with an attached fix. To get XML-LibXML to compile and install cleanly, you need to remove the lines mentioning the duplicate extern (as above) from LibXML.xs ...
Comment 1 Guido Sohne 2003-11-16 19:33:20 UTC
See CPAN Bugzilla: http://rt.cpan.org/NoAuth/Bug.html?id=4355
Comment 2 Howard B. Golden 2003-12-21 12:05:42 UTC
The fix Guido gives works for me.
Comment 3 keith d. zimmerman 2003-12-29 20:14:13 UTC
the fix worked for me as well
Comment 4 Austin Frank 2004-01-01 20:49:13 UTC
fix also worked for me
Comment 5 Chris Lyttle 2004-01-03 13:45:00 UTC
This fix also works for me. I've created ebuild and patch for this. Also bug 36493 seems to be the same problem.
Comment 6 Chris Lyttle 2004-01-03 13:46:04 UTC
Created attachment 23097 [details]
New Ebuild for 1.56 version
Comment 7 Chris Lyttle 2004-01-03 13:46:39 UTC
Created attachment 23098 [details, diff]
Patch to make 1.56 compile
Comment 8 Robert Coie (RETIRED) gentoo-dev 2004-01-30 17:09:26 UTC
Fixed in 1.56-r1.  Thanks.
Comment 9 Robert Coie (RETIRED) gentoo-dev 2004-01-30 17:10:49 UTC
*** Bug 36493 has been marked as a duplicate of this bug. ***