Bug 210435 - media-video/subtitleripper-0.3.4-r2 fails with media-libs/netpbm-10.41.0
|
Bug#:
210435
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: trapni@gentoo.org
|
Reported By: michael.schachtebeck@gmx.de
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: media-video/subtitleripper-0.3.4-r2 fails with media-libs/netpbm-10.41.0
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-02-17 07:16 0000
|
media-video/subtitleripper-0.3.4-r2 builds fine with media-libs/netpbm-10.40.0,
but it fails with media-libs/netpbm-10.41.0.
The possible reason: netpbm-10.40.0 installs ppm.h in /usr/include, and
netpbm-10.41.0 installs ppm.h in /usr/include/netpbm.
The error exact error message is:
Compiling srttool.c
subtitle2pgm.c:31:17: error: ppm.h: No such file or directory
subtitle2pgm.c: In function 'usage':
subtitle2pgm.c:76: warning: implicit declaration of function 'exit'
subtitle2pgm.c:76: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c: In function 'main':
subtitle2pgm.c:119: warning: implicit declaration of function 'ppm_init'
subtitle2pgm.c:156: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:165: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:174: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:183: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:189: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:212: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:217: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:233: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:238: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:246: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:258: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:272: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:293: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:322: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:327: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:336: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:356: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:374: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:406: warning: incompatible implicit declaration of built-in
function 'exit'
subtitle2pgm.c:446: warning: pointer targets in passing argument 2 of
'spudec_assemble' differ in signedness
subtitle2pgm.c:459: warning: incompatible implicit declaration of built-in
function 'exit'
make: *** [subtitle2pgm.o] Error 1
make: *** Waiting for unfinished jobs....
spudec.c:40:17: error: ppm.h: No such file or directory
spudec.c: In function 'spudec_writeout_ppm':
spudec.c:532: error: 'pixel' undeclared (first use in this function)
spudec.c:532: error: (Each undeclared identifier is reported only once
spudec.c:532: error: for each function it appears in.)
spudec.c:532: error: 'ppm_image' undeclared (first use in this function)
spudec.c:533: error: expected ';' before 'p'
spudec.c:558: warning: implicit declaration of function 'ppm_allocarray'
spudec.c:567: warning: implicit declaration of function 'PPM_ASSIGN'
spudec.c:567: error: 'p' undeclared (first use in this function)
spudec.c:579: warning: implicit declaration of function 'ppm_writeppm'
spudec.c:583: warning: implicit declaration of function 'ppm_freearray'
make: *** [spudec.o] Error 1
Reproducible: Always
Steps to Reproduce:
1. emerge =media-libs/netpbm-10.41.0
2. emerge =media-video/subtitleripper-0.3.4-r2
Output of emerge --info:
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1,
2.6.24-gentoo-r2 i686)
=================================================================
System uname: 2.6.24-gentoo-r2 i686 AMD Athlon(tm) 64 X2 Dual Core Processor
4200+
Timestamp of tree: Sat, 16 Feb 2008 08:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python: 2.5.1-r5
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.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.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -O2 -march=athlon64 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /sbin/mount.crypt /sbin/umount.crypt /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env
/usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config
/usr/share/hddtemp/hddtemp.db"
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/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS=" -O2 -march=athlon64 -fomit-frame-pointer -pipe"
DISTDIR="/usr/distfiles/"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de nds"
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/local/layman/sunrise /usr/local/portage-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa apache2 apm arts artswrappersuid
audiofile avi bash-completion bcmath berkdb bitmap-fonts browserplugin bzip2
bzlib cairo cdparanoia cdr cli cracklib crypt cups dbus dga directfb divx
divx4linux dri dv dvd dvdr dvdread eds emacs emboss encode evo exif fam fbcon
ffmpeg firefox foomaticdb fortran ftp gdbm gif glx gmedia gpm gstreamer gtk
gtk2 hal hpn iconv icq imagemagick imap isdnlog jack jikes jpeg jpeg2k kde
kdeenablefinal kdehiddenvisibility kerberos lm_sensors mad maildir mailwrapper
mbox midi mikmod mime mmx mmxext mozilla mp3 mpeg mudflap ncurses nls nptl
nptlonly nsplugin offensive ogg oggvorbis openal opengl openmp oscar oss pam
pcre pdf perl pic plotutils png posix ppds pppd python qt qt3 qt3support qt4
quicktime readline real reflection samba scanner sdl session slang sndfile
speex spell spl sse sse2 ssl svg svga symlink tcpd tetex theora threads tidy
tiff truetype truetype-fonts type1-fonts unicode usb vcd vidix vorbis
win32codecs wmp x86 xcomposite xine xorg xosd xscreensaver xv xvid 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"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="de nds" USERLAND="GNU" VIDEO_CARDS="nv nvidia
vesa vga"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Yer I get that as well
patched ebuild (new USE flag to switch it)
Confirming, patch works here on ~amd64 Thanks!
/Charlie
I just committed 0.3.4-r3, which works with >=netpbm-0.41.0.
Is this really fixed?
I have 0.3.4-r1 and it gave the same problem. In fact, it didn't work with
netpbm-10.43.0...
I'll upgrade to 0.3.4-r3, which is marked unstable. But I think someone should
still fix the 0.3.4-r1 ebuild - at the very least put a warning message in
there.
Why is the fixed ebuild not stable? The stable ebuild doesn't work.