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

Filename Description Type Creator Created Size Actions
XML-SAX-Writer-0.44.ebuild.patch Patched ebuild to include the Text-Iconv patch patch Ian Perry 2004-08-29 18:56 0000 709 bytes Details | Diff
iconvclass.patch Patch to fix Text-Iconv problem from http://rt.cpan.org/NoAuth/Bug.html?id=7436 patch Ian Perry 2004-08-29 18:57 0000 657 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 59745 depends on: Show dependency tree
Bug 59745 blocks:
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: 2004-08-07 20:58 0000
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 From Michael Cummings (RETIRED) 2004-08-08 06:25:27 0000 -------
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 From Maurice van der Pot 2004-08-08 07:15:55 0000 -------
Same problem here, so I'll reply. The output of the command is "1.4"

------- Comment #3 From Michael Cummings (RETIRED) 2004-08-08 09:32:34 0000 -------
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 From mike 2004-08-08 19:06:50 0000 -------
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 From Ian Perry 2004-08-29 18:56:09 0000 -------
Created an attachment (id=38458) [details]
Patched ebuild to include the Text-Iconv patch

------- Comment #6 From Ian Perry 2004-08-29 18:57:00 0000 -------
Created an attachment (id=38459) [details]
Patch to fix Text-Iconv problem from http://rt.cpan.org/NoAuth/Bug.html?id=7436

------- Comment #7 From Ian Perry 2004-08-29 18:59:19 0000 -------
(From update of attachment 38458 [details])
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 From Jason Shoemaker (RETIRED) 2004-08-30 15:30:35 0000 -------
*** Bug 59929 has been marked as a duplicate of this bug. ***

------- Comment #9 From Jason Shoemaker (RETIRED) 2004-08-30 15:31:41 0000 -------
*** Bug 62077 has been marked as a duplicate of this bug. ***

------- Comment #10 From Kurt Hindenburg 2004-09-05 08:20:50 0000 -------
The patches from #6 and #7 work fine on x86.  Time for a -r1 ebuild?

------- Comment #11 From Michael Cummings (RETIRED) 2004-09-07 06:47:48 0000 -------
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.

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