Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 30590
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Perl Devs @ Gentoo <perl@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gregg Casillo <gregg.casillo@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 30590 depends on: Show dependency tree
Bug 30590 blocks: 33651
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-10-07 11:45 0000
While doing an "emerge -u world" in order to move up to Gnome 2.4, I ran into a
compile problem with dev-perl/XML-LibXML. I am running Gentoo 1.4 on a Gateway
YGR600 laptop with 256MB of RAM and recently went with ACCEPT_KEYWORDS="~x86"
in my make.conf; before using ACCEPT_KEYWORDS="~x86", I had no problems. I did
an "emerge sync" just before "emerge -u world". I get down to XML-LibXML and
get the following warning:

Calculating world dependencies ...done!
>>> emerge (1 of 83) dev-perl/XML-LibXML-1.55 to /
>>> md5 src_uri ;-) XML-LibXML-1.55.tar.gz
>>> Unpacking source...
>>> Unpacking XML-LibXML-1.55.tar.gz to /var/tmp/portage/XML-LibXML-1.55/work
>>> Source unpacked.
enable native perl UTF8
running xml2-config...untested
WARNING!
The installed version of libxml2 was not tested with this version of
XML::LibXML.

    XML::LibXML may fail building or some tests may not pass.
    Expect strange errors and unstable scripts.

    Check the README file for more informations
END OF WARNING

"etcat -v libxml2" shows that I have libxml2 version 2.5.11 installed. The
compile begins after the warning listed above and fails with this:

gcc -c  -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=pentium3
-O3 -pipe -fomit-frame-pointer   -DVERSION=\"1.55\" -DXS_VERSION=\"1.55\" -fpic
"-I/usr/lib/perl5/5.8.1/i686-linux-thread-multi/CORE"  -DHAVE_UTF8 -DHAVE_BLANK
perl-libxml-sax.c
perl-libxml-sax.c: In function `PmmSAXInitialize':
perl-libxml-sax.c:82: error: `my_perl' undeclared (first use in this function)
perl-libxml-sax.c:82: error: (Each undeclared identifier is reported only once
perl-libxml-sax.c:82: error: for each function it appears in.)
make: *** [perl-libxml-sax.o] Error 1

!!! ERROR: dev-perl/XML-LibXML-1.55 failed.
!!! Function perl-module_src_compile, Line 49, Exitcode 2
!!! compilation failed

My CFLAGS from my make.conf:
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"

Some Google searching seems to indicate that XML-LibXML-1.55 should work with
libxml2-2.5.11 according to this AxKit thread:
http://www.mail-archive.com/axkit-users@axkit.org/msg04029.html

------- Comment #1 From Gregg Casillo 2003-10-07 20:49:15 0000 -------
I can make XML-LibXML-1.56 from source downloaded on CPAN. I still get the
warning about the module version not being tested with libxml2, but it makes,
all make tests succeed, and I can install (but didn't). Instead, I cobbled
together an ebuild for XML-LibXML-1.56 by more or less copying what was in
the 1.55 ebuild. This allowed me to proceed with my "emerge -u world".

------- Comment #2 From Shaun Guth 2003-10-08 16:05:52 0000 -------
Had this exact same problem, version bump to 1.56 with no changes to ebuild
worked perfectly.

------- Comment #3 From Robert Coie (RETIRED) 2003-12-20 14:48:23 0000 -------
1.56 in portage.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug