Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411959 - media-plugins/vdr-pvrinput-2011.08.18 with media-video/vdr-1.6.0_p2-r7 - In file included from common.h:17:0, from pvrinput.c:1: filter.h:7:3: error: ‘cFilterData’ does not name a type
Summary: media-plugins/vdr-pvrinput-2011.08.18 with media-video/vdr-1.6.0_p2-r7 - In f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-04-14 13:31 UTC by Markus Lischka
Modified: 2012-04-24 22:21 UTC (History)
0 users

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


Attachments
Build log (build.log,5.37 KB, text/plain)
2012-04-14 13:33 UTC, Markus Lischka
Details
Patch to fix missing include (fix_common_h_missing_header.patch,383 bytes, patch)
2012-04-14 13:34 UTC, Markus Lischka
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Lischka 2012-04-14 13:31:45 UTC
media-plugins/vdr-pvrinput-2011.08.18 fails to build against vdr-1.6.0_p2-r7. Compared to earlier versions, upstream removed several headers (git commit 	7ed2883604e3e7e910e043a69a2ab91e890dc638 <http://projects.vdr-developer.org/git/vdr-plugin-pvrinput.git/commit/?id=7ed2883604e3e7e910e043a69a2ab91e890dc638>).



Reproducible: Always

Steps to Reproduce:
1. Install vdr-1.6.0_p2-r7
2. emerge =media-plugins/vdr-pvrinput-2011.08.18

Actual Results:  
Build fails due to missing declarations, cf. attached build log:

pvrinput.c: In member function ‘virtual cOsdObject* cPluginPvrInput::MainMenuAction()’:
pvrinput.c:89:44: error: ‘cDevice’ has not been declared




Portage 2.1.10.49 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.13-r4, 2.6.32-gentoo-r41 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-r41-i686-AMD_Athlon-tm-_64_Processor_3500+-with-gentoo-2.0.3
Timestamp of tree: Sat, 14 Apr 2012 12:45:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-portage-local
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/vdr/rcscript"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/
revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --keep-going"
FEATURES="assume-digests binpkg-logs buildpkg collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://gentoo.mneisen.org/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de_DE de en_US en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow acl bash-completion berkdb bzip2 caps cli cracklib crypt cxx dri emacs fortran gdbm gpm iconv lirc mmx mo
dules mudflap ncurses nls nptl nptlonly openmp pam pcre pppd readline session sse sse2 ssl sysfs syslog tcpd unicode
 x86 xattr xorg 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 m
eter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_a
lias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filte
r headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique
_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindum
p" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="ttpci" ELIBC="glibc
" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oc
eanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev key
board mouse" KERNEL="linux" LCD_DEVICES="irtrans ncurses" LINGUAS="de_DE de en_US en" LIRC_DEVICES="devinput serial" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv vesa" XTABLES_ADDONS="quota2 psd pknock l
scan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpma
c delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_F
LAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-plugins/vdr-pvrinput-2011.08.18 was built with the following:
USE="test"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -fPIC"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -fPIC"
Comment 1 Markus Lischka 2012-04-14 13:33:02 UTC
Created attachment 308881 [details]
Build log
Comment 2 Markus Lischka 2012-04-14 13:34:38 UTC
Created attachment 308883 [details, diff]
Patch to fix missing include
Comment 3 Joerg Bornkessel (RETIRED) gentoo-dev 2012-04-22 14:41:13 UTC
iam added a git snapshot vdr-pvrinput-2011.09.17
this should fix this issues

####

this snapshot includes still the depricated/removed i18n handling, obselet in >=vdr-1.7.27
iam added a codesnipe to remove the i18n handling


we are looking for a global fix in the comming vdr-plugin-2.eclass
please test this, if it has any affects on compile against vdr-1.6.x
(iam still running on latest devoloper vdr)

ebuild is temp pmasked
you have to unmaks it in /etc/portage/package.unmask

feedback please!
Comment 4 Joerg Bornkessel (RETIRED) gentoo-dev 2012-04-22 17:54:39 UTC
finaly, vdr-1.6 will not compile without the include
added your patch now,

anyway, testrequest for i18n handling still needed...
Comment 5 Markus Lischka 2012-04-22 19:13:51 UTC
Trying to compile the unmasked ebuild vdr-pvrinput-2011.09.17 fails with a checksum error:


>>> Downloading 'http://projects.vdr-developer.org/git/vdr-plugin-pvrinput.git/snapshot/vdr-plugin-pvrinput-3ee6b964382f38715f4a4fe57bd4760044f9a58a.tar.gz'
--2012-04-22 21:07:52--  http://projects.vdr-developer.org/git/vdr-plugin-pvrinput.git/snapshot/vdr-plugin-pvrinput-3ee6b964382f38715f4a4fe57bd4760044f9a58a.tar.gz
Resolving projects.vdr-developer.org... 85.214.78.111
Connecting to projects.vdr-developer.org|85.214.78.111|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: `/srv/install/Gentoo_Linux/portage/distfiles/vdr-pvrinput-2011.09.17.tgz'

    [ <=>                                   ] 70,255      --.-K/s   in 0.09s   

2012-04-22 21:07:53 (738 KB/s) - `/srv/install/Gentoo_Linux/portage/distfiles/vdr-pvrinput-2011.09.17.tgz' saved [70255]

!!! Fetched file: vdr-pvrinput-2011.09.17.tgz VERIFY FAILED!
!!! Reason: Failed on RMD160 verification
!!! Got:      1c1cc189360da030d02b4e50bafbdde063a07ff6
!!! Expected: 1dc904d37aab697d48e6161829341c53a26d22f0
Refetching... File renamed to '/srv/install/Gentoo_Linux/portage/distfiles/vdr-pvrinput-2011.09.17.tgz._checksum_failure_.C53qJS'

!!! Couldn't download 'vdr-pvrinput-2011.09.17.tgz'. Aborting.


Could you please have a look?
Comment 6 Joerg Bornkessel (RETIRED) gentoo-dev 2012-04-22 21:19:46 UTC
hmm, something goes wrong on upload :(

recreated Manifest

plz. remove vdr-pvrinput* from your distdir

resync in ~15 min,

plz, try it agian

thanks
Comment 7 Markus Lischka 2012-04-23 21:24:27 UTC
I tried it several times, but no luck:

!!! Fetched file: vdr-pvrinput-2011.09.17.tgz VERIFY FAILED!
!!! Reason: Failed on RMD160 verification
!!! Got:      174a85c8909fdef8a77c81365a65bcdb7b43a704
!!! Expected: 4843e47b5a875d63ddb34a4c805caee7dfeb5381

Furthermore: With every try, the checksum of the downloaded file changed! I then compared the downloaded git snapshot to the released snapshot 2011.08.18 and found no differences. The snapshot tarball 2011.08.18 is also dated as 17.09.2011 11:06, see <http://projects.vdr-developer.org/projects/plg-pvrinput/files>.


Emerging the updated ebuild 2011.08.18 works, but there's a warning I never noticed before:

>>> Preparing source in /var/tmp/portage/media-plugins/vdr-pvrinput-2011.08.18/work/pvrinput-2011-08-18 ...
 * Patching Makefile
 * Auto converting translations to gettext ...
 * Conversion to gettext failed. Plugin needs fixing.                                                        [ !! ]
 * Plugin has no OSD texts or will have only english OSD texts
 * Applying missing-include.diff ...                                                                         [ ok ]
>>> Source prepared.


Let me know if I should test your i18n handling using the 2011.08.18 tarball.
Comment 8 Joerg Bornkessel (RETIRED) gentoo-dev 2012-04-23 23:20:00 UTC
bad thing with download from git,
anyway, i uploaded the source to gentoo mirror
should works now


your never seen messages comes from my last changes in vdr-plugin.eclass
i reverted this changes for now,
this is a false positiv error
finaly will the gettext language compile still handled

plz, resync
test again,

thanks for your helpout
Comment 9 Markus Lischka 2012-04-24 21:53:57 UTC
vdr-pvrinput-2011.09.17 now emerges correctly, compiles and works (the OSD displays localized German entries). Thanks!
Comment 10 Joerg Bornkessel (RETIRED) gentoo-dev 2012-04-24 22:21:03 UTC
sounds good,

i removed the pmask entry

thanks for your help out and testing