Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224547 - media-video/gnome-subtitles-0.8 fails to build, missing libsub package
Summary: media-video/gnome-subtitles-0.8 fails to build, missing libsub package
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-01 22:23 UTC by Steve Garcia
Modified: 2008-11-26 22:50 UTC (History)
10 users (show)

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


Attachments
config log from emerge (gnome-subtitles-config.log,30.49 KB, text/plain)
2008-06-01 22:28 UTC, Steve Garcia
Details
sublib 0.9 ebuild (sublib-0.9.ebuild,475 bytes, text/plain)
2008-06-05 14:51 UTC, Jimmy.Jazz
Details
gnome-subtitles 0.8 ebuild (gnome-subtitles-0.8.ebuild,849 bytes, text/plain)
2008-06-05 14:52 UTC, Jimmy.Jazz
Details
better sublib-0.9.ebuild (sublib-0.9.ebuild,477 bytes, text/plain)
2008-06-12 01:55 UTC, Alexandre Rostovtsev (RETIRED)
Details
Gnome Subtitles 0.8 ebuild r1 (gnome-subtitles-0.8-r1.ebuild,757 bytes, text/plain)
2008-07-27 18:34 UTC, Pedro Castro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Garcia 2008-06-01 22:23:59 UTC
Trying to update from media-video/gnome-subtitles-0.7.2-r1, version 0.8 emerge failed.  Error message says "No package 'sublib' found."

I was unable to find any package named libsub in portage.

Reproducible: Always

Steps to Reproduce:
1. `emerge -pDuv gnome-subtitles`

Actual Results:  
emerge fails with  the error 

"checking for SUBLIB... configure: error: Package requirements (sublib >= 0.9) were not met:

No package 'sublib' found"

Expected Results:  
Successful completion of emerge
Comment 1 Steve Garcia 2008-06-01 22:28:28 UTC
Created attachment 155173 [details]
config log from emerge

config.log from media-video/gnome-subtitles-0.8
Comment 2 Mart Raudsepp gentoo-dev 2008-06-01 22:30:56 UTC
This package is not maintainer by the GNOME team and is not a GNOME component. Please check metadata before assigning bugs or selecting non-default component (that automatically puts a assignee other than bug-wranglers for many cases), or just let it be and let bug-wranglers handle it.
Thanks for the report though, I'm reassigning it to the correct maintainers so they can have a look at it
Comment 3 Steve Garcia 2008-06-01 22:36:55 UTC
(In reply to comment #2)
> This package is not maintainer by the GNOME team and is not a GNOME component.
> Please check metadata before assigning bugs or selecting non-default component
> (that automatically puts a assignee other than bug-wranglers for many cases),
> or just let it be and let bug-wranglers handle it.
> Thanks for the report though, I'm reassigning it to the correct maintainers so
> they can have a look at it
> 

Thanks, I was fooled by the name.

Here is my emerge-info:

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r1 i686)
=================================================================
System uname: 2.6.25-gentoo-r1 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
Timestamp of tree: Sun, 01 Jun 2008 14:03:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -msse3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -msse3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.espri.arizona.edu/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo http://gentoo.seren.com/gentoo"
LANG="C"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/xeffects /usr/local/layman/custom-kernels /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac accessibility acl acpi additions aiglx aim alsa ao apache2 arj arts artworkextra audiofile bash-completion berkdb binfilter bonobo branding bzip2 cairo cardbus cdda cddb cdparanoia cdr chroot cli colordiff corba cpudetection cracklib crypt css cups curl curlwrappers daap dbus dga dia directfb divx dri dts dv dvb dvd dvdread emf enca encode examples exif expat fame fbcon fbsplash ffmpeg fftw filepicker firefox flac foomaticdb fortran ftp gcj gd gdbm gif glitz gnome gnutls gphoto2 gpm gs gstreamer gtk gtk2 hal hddtemp i8x0 iconv icq id3tag imagemagick inkjar innodb ipv6 ipw4965 isdnlog jabber java javascript jbig jpeg jpeg2k justify kde kqemu ladspa lcms lha libsamplerate libwww live lm_sensors lzo mad mcal md5sum midi mime mjpeg mmap mmx mmxext mng mod modplug mozbranding mozcalendar mozilla mozsvg mp2 mp3 mpeg mplayer mudflap musepack mysql mysqli nas ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp oss pam pcmcia pcntl pcre pda pdf perl php plotutils png postscript ppds pppd python qt qt3 quicktime rar readline real reflection reiserfs rtc rtsp scanner sdl sensord session sftp shorten shout skins sms sndfile speex spell spl srt sse2 ssl ssse3 stream subtitles svg svga t1lib tcpd teletext tetex tga theora threads tiff timidity tk toolbar truetype tta type1 unicode unzip upnp urandom vcd vidix vim-syntax vorbis vorbis-psy wifi win32codecs wireless wma wmf wmp wxwindows x86 xcomposite xine xml xorg xosd xscreensaver xv xvid xvmc yahoo yv12 zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa i810 i915 i965 vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 4 Pedro Castro 2008-06-01 22:39:50 UTC
As of version 0.8, Gnome Subtitles no longer ships with SubLib, so a SubLib
package needs to be created. Besides that, the following dependencies also need
to be added: GtkSpell >= 2.0 and Enchant >= 1.3.

I would change the ebuilds myself, but I don't have a working Gentoo system
ATM.
Comment 5 Jimmy.Jazz 2008-06-05 14:51:00 UTC
Created attachment 155601 [details]
sublib 0.9 ebuild
Comment 6 Jimmy.Jazz 2008-06-05 14:52:09 UTC
Created attachment 155603 [details]
gnome-subtitles 0.8 ebuild
Comment 7 Jimmy.Jazz 2008-06-05 14:54:30 UTC
the gnome-titles ebuild is rather small, i didn't find useful to do a diff file for it
Comment 8 Art Wallace 2008-06-05 15:20:31 UTC
Shouldn't sublib depend on Mono at a minimum?
Comment 9 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-06-12 01:55:24 UTC
Created attachment 156451 [details]
better sublib-0.9.ebuild

Fixed license. Fixed dependencies. Made keywords realistic (I wonder how you tested your ebuild on hppa, given that mono doesn't work on it ;).

And IMHO, sublib should be in category dev-dotnet, not in media-libs. (And therefore, the dependency in gnome-subtitles should also be changed to dev-dotnet/sublib).
Comment 10 Tiago Batista 2008-07-18 19:31:36 UTC
I was about to fill a bug for this, instead I'll report that the adition of the required dependencies, including sublib solves the problem.

When can I expect the updated ebuilds on portage?
Comment 11 Tiago Batista 2008-07-18 19:35:51 UTC
Sorry, I was too fast on the post, it compiles, but still does not work on my system, I'll try later with some less aggressive CFLAGS...
Comment 12 Alexandre Borges Marcelo 2008-07-25 00:11:01 UTC
I'm glad to say it works fine so far in my amd64 system, but gnome-subtitles apparently depends on scrollkeeper as well. I know many gnome apps depend on it, so that's probably why no one noticed...
Comment 13 Pedro Castro 2008-07-27 18:34:05 UTC
Created attachment 161482 [details]
Gnome Subtitles 0.8 ebuild r1

Fixed header.
Added Scrollkeeper dependency.
Comment 14 Steve Dibb (RETIRED) gentoo-dev 2008-07-29 01:06:43 UTC
(In reply to comment #9)
> Created an attachment (id=156451) [edit]
> better sublib-0.9.ebuild

I haven't looked through the mono eclass, but why did you decide to override src_install?  Seems fine without it to me.

Comment 15 Steve Dibb (RETIRED) gentoo-dev 2008-07-29 01:11:14 UTC
(In reply to comment #14)
> (In reply to comment #9)
> > Created an attachment (id=156451) [edit]
> > better sublib-0.9.ebuild
> 
> I haven't looked through the mono eclass, but why did you decide to override
> src_install?  Seems fine without it to me.
> 

Okay, scratch the stupid question, I am obviously blind.
Comment 16 Steve Dibb (RETIRED) gentoo-dev 2008-07-29 01:18:43 UTC
media-libs/sublib-0.9 added to the tree, thanks for the ebuild Alex

x86 arch team, could you please test/keyword the ebuild for me so I can revbump gnome-subtitles with the correct deps
Comment 17 Le retraité 2008-08-17 07:55:18 UTC
Works fine for me, however I had to play with my local portage overlay since sublib doesn't have the ~x86 keyword and gnome-subtitle the sublib dependancy.
Comment 18 Markus Meier gentoo-dev 2008-08-17 15:57:08 UTC
~x86 added
Comment 19 giepi 2008-08-17 16:27:27 UTC
Hi,
I still can't use gnome-subtitles since 0.6. The version I got with this ebuild crashes as well. I have sublib 0.9 and the problem is when I click on the Open File button, the whole program crashes.

This is the stacktrace:

  at (wrapper managed-to-native) GLib.Signal.g_signal_get_invocation_hint (intptr) <0x00004>
  at (wrapper managed-to-native) GLib.Signal.g_signal_get_invocation_hint (intptr) <0xffffffff>
  at GLib.Signal.get_Handler () <0x0001c>
  at GLib.Signal.voidObjectCallback (intptr,intptr) <0x0005b>
  at (wrapper native-to-managed) GLib.Signal.voidObjectCallback (intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) Gtk.Object.gtk_object_destroy (intptr) <0x00004>
  at (wrapper managed-to-native) Gtk.Object.gtk_object_destroy (intptr) <0xffffffff>
  at Gtk.Object.Destroy () <0x0001a>
  at Gtk.Widget.Destroy () <0x0000d>
  at GnomeSubtitles.GUI.Kill () <0x0000e>
  at GnomeSubtitles.Global.Kill () <0x00038>
  at GnomeSubtitles.Global.Run (GnomeSubtitles.Execution) <0x00092>
  at GnomeSubtitles.Executable.Main (string[]) <0x0003a>
  at (wrapper runtime-invoke) GnomeSubtitles.Executable.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	gnome-subtitles [0x8174585]
	gnome-subtitles [0x807f7bd]
	[0xffffe40c]

This is my emerge --info:
Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: 2.6.25-gentoo-r7 i686 Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz
Timestamp of tree: Thu, 14 Aug 2008 07:36:02 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT"
LDFLAGS="-Wl,-O1"
LINGUAS="it_IT it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/zugaina /usr/portage/local/layman/armagetron /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi allegro alsa amazon amrnb animgif artworkextra auto-completion avahi bash-completion berkdb binary-drivers bluetooth bonusscripts branding bzip2 c++ cairo calendar cdaudio cdda cddb cdparanoia cdr cli cpudetection cpufreq cpulimit cracklib crypt cxx dbus dri dvd dvdr dvdread eds emboss encode evo fam ffmpeg firefox flac fortran games gdbm gecko gif gimp glade gnome gnome-keyring gpm gstreamer gtk gtkhtml gzip hal iconv id3tag ipv6 ipw4965 irc isdnlog jpeg kerberos langpacks laptop libnotify lm_sensors mad midi mikmod mime mono mp3 mp4 mp4live mpeg mpeg2 mudflap ncurses network networking networkmanager nls nntp nocd nptl nptlonly ntfs offensive ogg opengl openmp pam pango patented pcmcia pcre pdf perl pidgin png ppds pppd prediction python qt3support quicktime readline reflection rss screenshot scsi sdl sdl-image sdl-sound sdlaudio session smartcard smp sms smtp sound sounds spell spl ssl startup-notification stream subtitles svg switch_user sysfs szip taglib tagwriting tcpd teamarena text textures thumbnail thunderbird tiff timezone timidity truetype ttxtsubs tunepimp ui unicode unzip upnp usb utils vcd vcdx video videos visual vorbis webmail wifi win32codecs wininst wma wmp wxwindows x86 xchatdccserver xcomposite xemacs xine xinerama xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it_IT it" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Since I don't wanna flood, I'll wait your signal for more requested infos.
Comment 20 Pedro Castro 2008-08-20 14:38:59 UTC
(In reply to comment #19)
> Hi,
> I still can't use gnome-subtitles since 0.6. The version I got with this ebuild
> crashes as well. I have sublib 0.9 and the problem is when I click on the Open
> File button, the whole program crashes.
Hi,

Which version of Mono do you have installed? If 1.9.x, please try the 1.2.x series to see if the problem persists.
Comment 21 giepi 2008-08-21 00:25:09 UTC
you're amazing man.
Just installed 1.2.5-r1 and now it's perfectly working
Comment 22 giepi 2008-08-28 14:02:24 UTC
I was wondering... I should notice this issue to the gnome-subtitles dev team? or is it just gentoo-related?
Comment 23 Pedro Castro 2008-08-28 18:46:34 UTC
(In reply to comment #22)
> I was wondering... I should notice this issue to the gnome-subtitles dev team?
> or is it just gentoo-related?
> 
Hi, that would be me. ;-)
Comment 24 giepi 2008-08-29 23:03:59 UTC
(In reply to comment #23)
> Hi, that would be me. ;-)


Then I shall consider my duty fulfilled :)
keep on the good work :)
Comment 25 Le retraité 2008-11-05 11:45:43 UTC
Now that sublib is in portage, the gnome-subtitles-0.8 ebuild just need to be upgraded with a few dependencies right ? Is it going to be pushed in portage any time soon ? Because it seems pretty trivial to me.
Comment 26 Peter Alfredsen (RETIRED) gentoo-dev 2008-11-26 22:50:38 UTC
+*gnome-subtitles-0.8-r1 (26 Nov 2008)
+
+  26 Nov 2008; Peter Alfredsen <loki_val@gentoo.org> metadata.xml,
+  -gnome-subtitles-0.7.2.ebuild, -gnome-subtitles-0.7.2-r1.ebuild,
+  -gnome-subtitles-0.8.ebuild, +gnome-subtitles-0.8-r1.ebuild:
+  Fix bug 224547, depend on gtk-sharp with fixed api (b.gnome.o 558312
+  b.novell.c 445370) and update deps for mono-2.
+