LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-12-2011, 03:56 AM   #1
Wed
Member
 
Registered: Sep 2005
Location: Sweden
Distribution: Slackware
Posts: 249

Rep: Reputation: 45
perl-gtk2 fails at testing


I am trying to install dvd::rip and need among other things to install perl-gtk2. But it fails, so far twice. As far as I can tell, all dependencies are well met.

Code:
t/GtkSpinButton.t .................. ok
t/GtkStatusBar.t ................... ok
Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 40 and height -8799 at t/GtkStatusIcon.t line 78.
Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 40 and height -8799 at t/GtkStatusIcon.t line 78.
Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 40 and height -8799 at t/GtkStatusIcon.t line 78.
Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 40 and height -8799 at t/GtkStatusIcon.t line 85.
Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 40 and height -8799 at t/GtkStatusIcon.t line 85.
Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 40 and height -8799 at t/GtkStatusIcon.t line 85.

#   Failed test at t/GtkStatusIcon.t line 92.
#                   '-9112'
#     doesn't match '(?-xism:^\d+$)'

#   Failed test at t/GtkStatusIcon.t line 93.
#                   '-8803'
#     doesn't match '(?-xism:^\d+$)'

#   Failed test at t/GtkStatusIcon.t line 111.

#   Failed test at t/GtkStatusIcon.t line 112.
# Looks like you failed 4 tests of 36.
t/GtkStatusIcon.t .................. 
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/36 subtests 
	(less 2 skipped subtests: 30 okay)
t/GtkStock.t ....................... ok
t/GtkStyle.t ....................... ok
Code:
Test Summary Report
-------------------
t/GtkStatusIcon.t                (Wstat: 1024 Tests: 36 Failed: 4)
  Failed tests:  19-20, 25-26
  Non-zero exit status: 4
Files=217, Tests=4714, 78 wallclock secs ( 1.82 usr  0.92 sys + 39.50 cusr  5.00 csys = 47.24 CPU)
Result: FAIL
Failed 1/217 test programs. 4/4714 subtests failed.
make: *** [test_dynamic] Error 255

perl-gtk2:
Would you like to continue processing the rest of the
build queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:
Suggestions? It is installed by sbopkg.
 
Old 04-12-2011, 04:55 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
What version of Slackware? What version of sbopkg? What dependencies do you think you need? Does it also fail outside of sbopkg?

It works for me on Slackware 13.1 with sbopkg 0.34.1 and on Slackware-current with sbopkg-svn_r903.
 
Old 04-12-2011, 05:04 AM   #3
Wed
Member
 
Registered: Sep 2005
Location: Sweden
Distribution: Slackware
Posts: 249

Original Poster
Rep: Reputation: 45
I am on Slack 13.1 32bit and sbopkg 0.34.0

Quote:
This requires transcode, perl-extutils-depends, perl-extutils-pkgconfig,
perl-glib, perl-cairo, perl-gtk2, perl-event, and perl-libintl.

ffmpeg, lsdvd, ogmtools, mjpegtools, xvid4conf, subtitleripper, and fping are optional dependencies available at SlackBuilds.org.
Transcode also required lame, and pango was requested by one of the packages. I haven't tried outside sbopkg, but downloaded gtk2-perl as a txz from slacky. It is not installed yet.
 
Old 04-12-2011, 01:11 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
This worked for me:
Code:
perl-extutils-depends
perl-extutils-pkgconfig
perl-glib
perl-test-number-delta
perl-cairo
perl-pango
perl-gtk2
I didn't try to build dvdrip, but only perl-gtk2. If that doesn't work for you, all I can figure is something amiss on your system or something specific to 32-bitness. I didn't follow the bit about having 'gtk2-perl' as a binary - if you're installing a lot of third party binary packages or mixing and matching then that's likely it. On the other hand, if you want to install 3rd party binaries, why wait? But what I meant by asking about whether it failed outside of sbopkg is to determine if the failure is an SBo or sbopkg problem by also running the SlackBuild 'by hand'. But, in this case, it's almost certainly not either one.

(Note: perl-gtk2 also seems to build without perl-test-number-delta on my system. If it does this on all systems and also functions properly, this would mean perl-cairo's upstream README (which the SBo README follows) is wrong. And dvdrip's SBo README is wrong (a) for leaving out perl-pango if it's going to try to itemize everything or (b) for trying to itemize everything when the SOP, as I understand it, is to only list your top-level deps. So you might want to contact the maintainers about those parts.)
 
Old 04-12-2011, 01:53 PM   #5
Wed
Member
 
Registered: Sep 2005
Location: Sweden
Distribution: Slackware
Posts: 249

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by slakmagik View Post
I didn't try to build dvdrip, but only perl-gtk2. If that doesn't work for you, all I can figure is something amiss on your system or something specific to 32-bitness.
Well, perl-gtk2 is the culprit, no matter the end purpose of dvdrip. Apart from quite a few slackbuilds, many via sbopkg, only very few are from other sources.

Quote:
I didn't follow the bit about having 'gtk2-perl' as a binary - if you're installing a lot of third party binary packages or mixing and matching then that's likely it. On the other hand, if you want to install 3rd party binaries, why wait?
I quite like the idea that the code is munched locally. But sometimes that is just not going to happen. When I have exhausted my efforts, or when I am just plain exhausted, I will install the precompiled binary. Apart from the official qt3 and lshw from somwhere else, all my third party binaries are from AlienBOB (five of those). Everything else is SBo.

Quote:
But what I meant by asking about whether it failed outside of sbopkg is to determine if the failure is an SBo or sbopkg problem by also running the SlackBuild 'by hand'. But, in this case, it's almost certainly not either one.
I ran it as a manual slackbuild, but the result was identical

Quote:
(Note: perl-gtk2 also seems to build without perl-test-number-delta on my system. If it does this on all systems and also functions properly, this would mean perl-cairo's upstream README (which the SBo README follows) is wrong. And dvdrip's SBo README is wrong (a) for leaving out perl-pango if it's going to try to itemize everything or (b) for trying to itemize everything when the SOP, as I understand it, is to only list your top-level deps. So you might want to contact the maintainers about those parts.)
The slackbuild for perl-gtk2 lists only perl-glib and perl-pango as deps. But I ran perl-test-number-delta through sbopkg (without a hitch) just to rule things out. perl-gtk2 still fail in the same way, as expected, from your note. It would of course be nice to know about lame and perl-pago right at the start: dvd::rip. I'll make a note of it to the maintainer.
 
Old 04-13-2011, 09:21 AM   #6
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Wed,
i had the same problem. In the end i just installed perl-gtk using the tool cpan2tgz. It is available from slackbuilds.org. Give it a try.
 
Old 04-13-2011, 10:47 AM   #7
Wed
Member
 
Registered: Sep 2005
Location: Sweden
Distribution: Slackware
Posts: 249

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by solarfields View Post
Wed,
i had the same problem. In the end i just installed perl-gtk using the tool cpan2tgz. It is available from slackbuilds.org. Give it a try.
Thanks for me not being alone with this! I'll go ahead soon.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrade from etch to testing fails kpachopoulos Debian 2 04-06-2008 04:12 PM
Simple GTK2-Perl question vargadanis Programming 3 10-21-2006 11:39 AM
Installation fails during CD testing antis35 Fedora - Installation 2 06-10-2005 11:02 AM
gtk2-perl progressbar game_dev Programming 2 11-17-2004 09:58 AM
lsdvd - gtk2-perl help please Giallo998 Linux - Newbie 1 11-11-2003 07:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration