Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59745 - emerge XML-SAX-Writer-0.44 fails while emerging dependencies for mythtv
Summary: emerge XML-SAX-Writer-0.44 fails while emerging dependencies for mythtv
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 59929 62077 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-07 20:58 UTC by mike
Modified: 2004-09-07 06:47 UTC (History)
2 users (show)

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


Attachments
Patched ebuild to include the Text-Iconv patch (XML-SAX-Writer-0.44.ebuild.patch,709 bytes, patch)
2004-08-29 18:56 UTC, Ian Perry
Details | Diff
Patch to fix Text-Iconv problem from http://rt.cpan.org/NoAuth/Bug.html?id=7436 (iconvclass.patch,657 bytes, patch)
2004-08-29 18:57 UTC, Ian Perry
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mike 2004-08-07 20:58:06 UTC
here is the output of trying to emerge the package
-----------------------------------------------------------

>>> emerge (1 of 42) dev-perl/XML-SAX-Writer-0.44 to /
>>> md5 src_uri ;-) XML-SAX-Writer-0.44.tar.gz
>>> Unpacking source...
>>> Unpacking XML-SAX-Writer-0.44.tar.gz to /var/tmp/portage/XML-SAX-Writer-0.44/work
>>> Source unpacked.
Checking if your kit is complete...
Looks good
Writing Makefile for XML::SAX::Writer
cp Writer.pm blib/lib/XML/SAX/Writer.pm
cp lib/XML/SAX/Writer/XML.pm blib/lib/XML/SAX/Writer/XML.pm
Manifying blib/man3/XML::SAX::Writer.3pm
Manifying blib/man3/XML::SAX::Writer::XML.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/05basic........NOK 18#     Failed test (t/05basic.t at line 51)
#     iconv converter for real encoding isn't a 'Text::Iconv' it's a 'Text::IconvPtr'
t/05basic........ok 23/27# Looks like you failed 1 tests of 27.
t/05basic........dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 18
        Failed 1/27 tests, 96.30% okay
t/10consumers....ok
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/05basic.t    1   256    27    1   3.70%  18
Failed 1/2 test scripts, 50.00% okay. 1/42 subtests failed, 97.62% okay.
make: *** [test_dynamic] Error 255

!!! ERROR: dev-perl/XML-SAX-Writer-0.44 failed.
!!! Function perl-module_src_compile, Line 64, Exitcode 2
!!! test failed
------------------------------------------------------------------------


here is my make.conf
------------------------------------------------------------------------

PORTAGE_TMPDIR=/var/tmp
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j4"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
USE="gnome gtk alsa oss cdr apache2 apm audiofile avi cups divx4linux dvd evo gd gif gstreamer icq imagemagick imlib java joystick jpeg lirc mozilla pdflib perl postgres mysql -qt -kde quicktime samba tcpd truetype usb yahoo"
FEATURES="ccache distcc"
CCACHE_SIZE="4G"
DISTCC_DIR=${PORTAGE_TMPDIR}/portage/.distcc
-----------------------------------------------------------------------------


Like it says in the summary, I am trying to build the dependencies for mythtv.  Please let me know if any other info is requested.  

mikeyb

Reproducible: Always
Steps to Reproduce:
1.emerge XML-SAX-Writer
2.
3.

Actual Results:  
failed install of package

Expected Results:  
want package to be installed, and continue on with other mythtv dependencies
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2004-08-08 06:25:27 UTC
Since the test that's failing is using Text::Iconv, let's confirm you have that. Please report back the results of the following:

perl -e 'use Text::Iconv; my $version = $Text::Iconv::VERSION; print "$version"'
Comment 2 Maurice van der Pot (RETIRED) gentoo-dev 2004-08-08 07:15:55 UTC
Same problem here, so I'll reply. The output of the command is "1.4"
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2004-08-08 09:32:34 UTC
I think is in an incompatibility between the version of Text::Iconv that the author of XML::SAX::Writer used when writing the tests, and the version that is currently available (1.4). Would you be willing to remove the line SRC_TEST="do" from the XML-SAX-Writer ebuild and verify that the modules/apps that depended on this can proceed installing correctly?
Comment 4 mike 2004-08-08 19:06:50 UTC
the output on my box is "1.3" for
perl -e 'use Text::Iconv; my $version = $Text::Iconv::VERSION; print "$version"'  

I did
emerge /usr/portage/dev-perl/Text-Iconv/Text-Iconv-1.4.ebuild

but the output remained 1.3, I don't know if I should be worried about this??

I removed the line SRC_TEST="do" from the XML-SAX-Writer ebuild, and the emerge process went fine after that.  After XML-SAX-Writer merged successfully, I restarted 
emerge --onlydeps mythtv mythvideo mythdvd mythtv-themes

it failed this time on XML-Twig-3.13.  I found another bug entry for that and did 
emerge /usr/portage/dev-perl/XML-Twig/XML-Twig-3.15.ebuild

and that worked fine.  Then restarted 
emerge --onlydeps mythtv mythvideo mythdvd mythtv-themes

everything else went fine, along with the install of mythtv itself and it's components.  Thanks for solving my problem, hopefully I won't encounter any probs.

mikeyb
Comment 5 Ian Perry 2004-08-29 18:56:09 UTC
Created attachment 38458 [details, diff]
Patched ebuild to include the Text-Iconv patch
Comment 6 Ian Perry 2004-08-29 18:57:00 UTC
Created attachment 38459 [details, diff]
Patch to fix Text-Iconv problem from http://rt.cpan.org/NoAuth/Bug.html?id=7436
Comment 7 Ian Perry 2004-08-29 18:59:19 UTC
Comment on attachment 38458 [details, diff]
Patched ebuild to include the Text-Iconv patch

This patch allows the ebuild to complete the tests successfully, instead of
just not running them. Uses the other attached patch (iconvclass.patch)
Comment 8 Jason Shoemaker (RETIRED) gentoo-dev 2004-08-30 15:30:35 UTC
*** Bug 59929 has been marked as a duplicate of this bug. ***
Comment 9 Jason Shoemaker (RETIRED) gentoo-dev 2004-08-30 15:31:41 UTC
*** Bug 62077 has been marked as a duplicate of this bug. ***
Comment 10 Kurt Hindenburg 2004-09-05 08:20:50 UTC
The patches from #6 and #7 work fine on x86.  Time for a -r1 ebuild?
Comment 11 Michael Cummings (RETIRED) gentoo-dev 2004-09-07 06:47:48 UTC
Ian - thanks for finding the patch on this one. -r1 was committed about 20 minutes ago containing the patch. Please reopen this bug if the problem persists, but this patch should just about cover it completely.