Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479532 - media-tv/xawtv-3.95-r2 with media-libs/jpeg-? - libng/plugins/conv-mjpeg.c:232:18: error: ‘struct jpeg_compress_struct’ has no member named ‘do_fancy_downsampling’
Summary: media-tv/xawtv-3.95-r2 with media-libs/jpeg-? - libng/plugins/conv-mjpeg.c:23...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-02 16:15 UTC by jms
Modified: 2013-09-12 13:40 UTC (History)
4 users (show)

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


Attachments
build log (media-tv:xawtv-3.95-r2:20130802-150105.log,52.01 KB, text/plain)
2013-08-02 16:17 UTC, jms
Details
environment (environment,123.68 KB, text/plain)
2013-08-02 16:18 UTC, jms
Details
emerge --info '=media-tv/xawtv-3.95-r2::gentoo' output (emerge_info_xawtv.txt,20.40 KB, text/plain)
2013-08-03 09:07 UTC, Cybertinus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jms 2013-08-02 16:15:43 UTC
I have 
[I] media-tv/xawtv
     Available versions:  3.95-r2 {X aalib alsa dv lirc mmx motif nls opengl quicktime xext xv zvbi}
     Installed versions:  3.95-r2(02:16:53 10/04/13)(X aalib alsa dv motif nls opengl quicktime xv -lirc -mmx -xext -zvbi)

after a world update I am asked to recompile it due to libjpeg update.

now media-tv/xawtv-3.95-r2 fail to compile:

libng/plugins/conv-mjpeg.c:282:5: warning: pointer targets in passing argument 3 of ‘jpeg_write_marker’ differ in signedness [-Wpointer-sign]
In file included from libng/plugins/conv-mjpeg.c:8:0:
/usr/include/jpeglib.h:1058:14: note: expected ‘const JOCTET *’ but argument is of type ‘char *’
make: *** [libng/plugins/conv-mjpeg.o] Error 1
make: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -ggdb -I/usr/include/X11/fonts -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/freetype2 -I/usr/X11R6/include/X11/fonts -I. -I./vbistuff -I./x11 -I./jwz -I./common -I./console -I./x11 -I./structs -I./libng -Llibng -DCONFIGFILE="/etc/X11/xawtvrc" -DLIBDIR="/usr/lib64/xawtv" -DDATADIR="/usr/share/xawtv" -DVERSION="3.95" -fPIC -Wp,-MD,mk/libng_plugins_read-qt.tmp -c -o libng/plugins/read-qt.o libng/plugins/read-qt.c
libng/plugins/read-avi.c: In function ‘avi_add_movi’:
libng/plugins/read-avi.c:68:3: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘off_t’ [-Wformat]
libng/plugins/read-avi.c:68:3: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘off_t’ [-Wformat]
libng/plugins/read-avi.c: In function ‘avi_find_chunk’:
libng/plugins/read-avi.c:217:4: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘off_t’ [-Wformat]
libng/plugins/read-avi.c: In function ‘avi_adata’:
libng/plugins/read-avi.c:370:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/read-avi.c: In function ‘avi_vdata’:
libng/plugins/read-avi.c:347:7: warning: ignoring return value of ‘readv’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/read-avi.c:351:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/read-avi.c: In function ‘avi_parse_header’:
libng/plugins/read-avi.c:137:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/read-avi.c:140:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/read-avi.c:152:10: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/read-avi.c:156:10: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/read-avi.c:161:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/read-avi.c:166:10: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/write-avi.c: In function ‘avi_video’:
libng/plugins/write-avi.c:405:2: warning: pointer targets in passing argument 2 of ‘avi_addindex’ differ in signedness [-Wpointer-sign]
libng/plugins/write-avi.c:154:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’
libng/plugins/write-avi.c: In function ‘avi_audio’:
libng/plugins/write-avi.c:433:2: warning: pointer targets in passing argument 2 of ‘avi_addindex’ differ in signedness [-Wpointer-sign]
libng/plugins/write-avi.c:154:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’
libng/plugins/write-avi.c: In function ‘avi_writeindex’:
libng/plugins/write-avi.c:173:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/write-avi.c:174:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/write-avi.c: In function ‘avi_bigfile’:
libng/plugins/write-avi.c:193:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/write-avi.c:204:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/write-avi.c: In function ‘avi_write_header’:
libng/plugins/write-avi.c:230:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/write-avi.c:232:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/write-avi.c:234:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/write-avi.c:237:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
libng/plugins/write-avi.c:239:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
emake failed


Reproducible: Always
Comment 1 jms 2013-08-02 16:16:42 UTC
emerge --info =media-tv/xawtv-3.95-r2
Portage 2.1.13.2 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.15-r3, 3.9.6-gentoo-jms-3.9.6 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.9.6-gentoo-jms-3.9.6-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     7676464 total,   2126284 free
KiB Swap:    8396796 total,   8284064 free
Timestamp of tree: Fri, 02 Aug 2013 12:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5, 3.2.5-r1
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 ao avahi bash-completion berkdb bindist bluetooth branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt css cups cxx dbus declarative dhcpcd dri dts dv dvb dvd dvdnav dvdr emboss encode evdev exif fam firefox flac fontconfig fortran gd gdbm gif gpm gtk gzip iconv icu imap ipv6 jpeg jpeg2k kde kipi laptop lcms ldap libav libnotify lzma lzo mad maildir matroska memlimit mhash mikmod mime mmap mmx mng mod modules motif mp3 mp4 mpeg mtp mudflap multilib mysql ncurse ncurses nls nptl ogg openal opengl openmp oss pam pango pcmcia pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 quicktime raw readline resolvconf scanner sdl semantic-desktop sematic-deskyop session smp spell sse sse2 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg syslog taglib tcpd theora thumbnail tidy tiff truetype udev udisks unicode upower usb utf8 v4l v4l2 vaapi vcd vdpau video vim-syntax vorbis wifi win32codecs wxwidgets x x264 xcb xcomposit xcomposite xine xinerama xml xosd xpm xscreensaver xulrunner xv xvid xvmc zip zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en es fr en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa nvidia modesetting" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

media-tv/xawtv-3.95-r2 was built with the following:
USE="X aalib alsa (consolekit) dv motif (multilib) nls opengl (policykit) quicktime xv -lirc (-mmx) -xext -zvbi" ABI_X86="64"
CFLAGS="-march=native -O2 -pipe -I/usr/include/X11/fonts"
CXXFLAGS="-march=native -O2 -pipe -I/usr/include/X11/fonts"
Comment 2 jms 2013-08-02 16:17:31 UTC
Created attachment 354942 [details]
build log
Comment 3 jms 2013-08-02 16:18:24 UTC
Created attachment 354944 [details]
environment
Comment 4 jospezial 2013-08-02 18:51:35 UTC
Same here.

@jms:
the error happens a few lines earlier than in your first comment.
As you can see in your attached log:

libng/plugins/conv-mjpeg.c: In Funktion »mjpg_yuv_init«:
libng/plugins/conv-mjpeg.c:232:18: Fehler: »struct jpeg_compress_struct« hat kein Element namens »do_fancy_downsampling«
     h->mjpg_cinfo.do_fancy_downsampling = FALSE;
                  ^
(this is from my log)
Comment 5 jms 2013-08-02 19:04:19 UTC
(In reply to jospezial from comment #4)

> the error happens a few lines earlier than in your first comment.
> As you can see in your attached log:
> 
> libng/plugins/conv-mjpeg.c: In Funktion »mjpg_yuv_init«:
> libng/plugins/conv-mjpeg.c:232:18: Fehler: »struct jpeg_compress_struct« hat
> kein Element namens »do_fancy_downsampling«
>      h->mjpg_cinfo.do_fancy_downsampling = FALSE;
>                   ^
> (this is from my log)
you're right:
libng/plugins/conv-mjpeg.c:232:18: error: ‘struct jpeg_compress_struct’ has no member named ‘do_fancy_downsampling’

Thanks for pointing it out.
Comment 6 Jouni Rinne 2013-08-03 05:34:25 UTC
Confirmed, the same error here...
Comment 7 Cybertinus 2013-08-03 09:07:19 UTC
I've got the same error here too. And to prevent this from being only a "me too" comment, some additional info, as requested by my emerge output:

The output of emerge --info '=media-tv/xawtv-3.95-r2::gentoo' can be found in the file emerge_info_xawtv.txt

And the output of emerge -pqv '=media-tv/xawtv-3.95-r2::gentoo':
# emerge -pqv '=media-tv/xawtv-3.95-r2::gentoo'
[ebuild   R   ] media-tv/xawtv-3.95-r2  USE="X alsa nls opengl xv -aalib -dv -lirc (-mmx) -motif -quicktime -xext -zvbi"


Hopes this helps to shed some more light on this bug.
Comment 8 Cybertinus 2013-08-03 09:07:59 UTC
Created attachment 355002 [details]
emerge --info '=media-tv/xawtv-3.95-r2::gentoo' output
Comment 9 jospezial 2013-09-12 10:13:48 UTC
https://bugs.gentoo.org/show_bug.cgi?id=479848
is a dup of this.

btw, it has been fixed