Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352677 - media-video/vlc-1.1.4 svg.c:48:18: error: glib.h
Summary: media-video/vlc-1.1.4 svg.c:48:18: error: glib.h
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 12:59 UTC by jadd
Modified: 2011-01-28 00:08 UTC (History)
1 user (show)

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


Attachments
vlc-1.1.4-build-with-svg.log (vlc-1.1.4-build.log,118.14 KB, text/plain)
2011-01-25 13:22 UTC, jadd
Details
vlc-1.1.4-with-libnotify-build.log (vlc-1.1.4-with-libnotify-build.log,121.83 KB, text/plain)
2011-01-25 13:28 UTC, jadd
Details
Better 2.log (/home/david/vlc-1.1.4-libnotify.log,121.83 KB, text/plain)
2011-01-25 13:44 UTC, jadd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jadd 2011-01-25 12:59:28 UTC
USE="-embedded" emerge -Dtv vlc

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] media-video/vlc-1.1.4  USE="X a52 aac aalib alsa avahi bidi cdda cddb dbus dirac dts dvb dvd ffmpeg flac gcrypt gnutls httpd id3tag ieee1394 jack libass libv4l libv4l2 matroska mmx mp3 mpeg musepack ncurses nsplugin ogg opengl png pulseaudio pvr qt4 rtsp samba schroedinger sdl skins speex sse stream svg* theora truetype twolame udev v4l v4l2 vaapi vcdx vlm vorbis win32codecs x264 xcb xml xosd xv (-altivec) -atmo -dc1394 -debug -directfb -fbcon -fluidsynth -fontconfig -ggi -gnome -kate -kde -libcaca -libnotify -libproxy -libtiger -lirc -live -lua -modplug -mtp -optimisememory -oss -projectm -remoteosd -run-as-root -sdl-image -shine -shout -sqlite -svga -taglib -upnp -wma-fixed -zvbi" 0 kB [0]
[nomerge      ]  net-libs/xulrunner-1.9.2.9-r10  USE="alsa cups dbus ipc libnotify startup-notification wifi -custom-optimization -debug -gnome -java -system-sqlite"  [1]
[nomerge      ]   net-print/cups-1.4.4-r2  USE="X acl dbus gnutls jpeg kerberos ldap pam perl png python slp ssl threads tiff usb -debug -java -php -samba -static-libs -xinetd" LINGUAS="da de es eu fi fr it ja ko nl pl pt pt_BR ru sv zh zh_TW -id -no"  [0]
[nomerge      ]    app-text/poppler-0.14.4  USE="abiword cairo cxx jpeg lcms png qt4 utils xpdf-headers -cjk -curl -debug -doc -exceptions -jpeg2k"  [0]
[nomerge      ]     x11-libs/qt-gui-4.6.2  USE="accessibility cups dbus exceptions glib mng qt3support tiff xinerama (-aqua) -debug -gtk -nas -nis -pch -raster"  [0]
[ebuild  N    ]      x11-libs/qt-qt3support-4.6.2  USE="accessibility exceptions kde (-aqua) -debug -pch -phonon" 0 kB [0]
[ebuild  N    ]       x11-libs/qt-sql-4.6.2  USE="exceptions iconv mysql qt3support sqlite (-aqua) -debug -firebird -odbc -pch -postgres" 0 kB [0]
[nomerge      ] dev-perl/DBD-mysql-4.01.6  [0]
[nomerge      ]  virtual/mysql-5.1  [0]
[ebuild   R   ]   dev-db/mysql-5.1.50-r1  USE="community perl ssl -big-tables -cluster -debug -embedded* -extraengine -latin1 -max-idx-128 -minimal -pbxt -profiling (-selinux) -static -test -xtradb (-pic%*)" 0 kB [1=>0]
[ebuild  N    ] app-text/poppler-0.14.4  USE="abiword cairo cxx jpeg lcms png qt4 utils xpdf-headers -cjk -curl -debug -doc -exceptions -jpeg2k" 0 kB [0]

Total: 5 packages (3 new, 2 reinstalls), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /var/lib/layman/sabayon

If USE="-svg" it's okay.

Reproducible: Always

Steps to Reproduce:
1.USE="-embedded" emerge -Dtv vlc
2.USE="-embedded" FEATURES="nostrip" LC_ALL="C" emerge -Dtv vlc
3.

Actual Results:  
  CC     libsvg_plugin_la-svg.lo
  CC     libxdg_screensaver_plugin_la-xdg.lo
  CC     libaudioscrobbler_plugin_la-audioscrobbler.lo
svg.c:48:18: error: glib.h: No such file or directory
svg.c:49:25: error: glib/gstdio.h: No such file or directory
svg.c:50:82: error: glib-object.h: No such file or directory
svg.c:51:26: error: librsvg/rsvg.h: No such file or directory
svg.c:92: error: expected specifier-qualifier-list before 'GdkPixbuf'
svg.c:98: error: expected declaration specifiers or '...' before 'gpointer'
svg.c: In function 'Create':
svg.c:149: error: implicit declaration of function 'rsvg_init'
svg.c: In function 'svg_GetTemplate':
svg.c:179: error: storage size of 's' isn't known
svg.c:181: error: implicit declaration of function 'fstat'
svg.c:179: warning: unused variable 's'
svg.c: In function 'Destroy':
svg.c:239: error: implicit declaration of function 'rsvg_term'
svg.c: In function 'Render':
svg.c:251: error: 'guchar' undeclared (first use in this function)
svg.c:251: error: (Each undeclared identifier is reported only once
svg.c:251: error: for each function it appears in.)
svg.c:251: error: 'pixels_in' undeclared (first use in this function)
svg.c:261: error: 'svg_rendition_t' has no member named 'p_rendition'
svg.c:264: error: 'svg_rendition_t' has no member named 'p_rendition'
svg.c:266: error: 'svg_rendition_t' has no member named 'p_rendition'
svg.c:272: error: implicit declaration of function 'gdk_pixbuf_get_width'
svg.c:272: error: 'svg_rendition_t' has no member named 'p_rendition'
svg.c:273: error: implicit declaration of function 'gdk_pixbuf_get_height'
svg.c:273: error: 'svg_rendition_t' has no member named 'p_rendition'
svg.c:325: error: implicit declaration of function 'gdk_pixbuf_get_pixels'
svg.c:325: error: 'svg_rendition_t' has no member named 'p_rendition'
svg.c:326: error: implicit declaration of function 'gdk_pixbuf_get_rowstride'
svg.c:326: error: 'svg_rendition_t' has no member named 'p_rendition'
svg.c:327: error: implicit declaration of function 'gdk_pixbuf_get_n_channels'
svg.c:327: error: 'svg_rendition_t' has no member named 'p_rendition'
svg.c:328: error: implicit declaration of function 'gdk_pixbuf_get_has_alpha'
svg.c:328: error: 'svg_rendition_t' has no member named 'p_rendition'
svg.c:345: error: 'p_in' undeclared (first use in this function)
svg.c: At top level:
svg.c:382: error: expected declaration specifiers or '...' before 'gpointer'
svg.c: In function 'svg_SizeCallback':
svg.c:384: error: 'data' undeclared (first use in this function)
svg.c: In function 'svg_RenderPicture':
svg.c:396: error: 'RsvgHandle' undeclared (first use in this function)
svg.c:396: error: 'p_handle' undeclared (first use in this function)
svg.c:397: error: 'GError' undeclared (first use in this function)
svg.c:397: error: 'error' undeclared (first use in this function)
svg.c:399: error: 'svg_rendition_t' has no member named 'p_rendition'
svg.c:401: error: implicit declaration of function 'rsvg_handle_new'
svg.c:409: error: implicit declaration of function 'rsvg_handle_set_size_callback'
svg.c:411: error: implicit declaration of function 'rsvg_handle_write'
svg.c:412: error: 'guchar' undeclared (first use in this function)
svg.c:412: error: expected expression before ')' token
svg.c:416: error: implicit declaration of function 'g_object_unref'
svg.c:416: error: implicit declaration of function 'G_OBJECT'
svg.c:420: error: implicit declaration of function 'rsvg_handle_close'
svg.c:427: error: 'svg_rendition_t' has no member named 'p_rendition'
svg.c:427: error: implicit declaration of function 'rsvg_handle_get_pixbuf'
svg.c: In function 'FreeString':
svg.c:499: error: 'svg_rendition_t' has no member named 'p_rendition'
svg.c:500: error: 'svg_rendition_t' has no member named 'p_rendition'
make[5]: *** [libsvg_plugin_la-svg.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
freetype.c: In function 'LoadFontsFromAttachments':
freetype.c:544: warning: 'vlc_object_find' is deprecated (declared at ../../include/vlc_objects.h:74)
freetype.c: In function 'RenderText':
freetype.c:1176: warning: passing argument 3 of 'fribidi_log2vis' from incompatible pointer type
/usr/include/fribidi/fribidi-deprecated.h:198: note: expected 'enum FriBidiParType *' but argument is of type 'enum FriBidiCharType *'
freetype.c: At top level:
text_renderer.h:497: warning: 'ProcessNodes' defined but not used
inhibit/xdg.c: In function 'Thread':
inhibit/xdg.c:112: warning: variable 'suspended' might be clobbered by 'longjmp' or 'vfork'
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed
 * ERROR: media-video/vlc-1.1.4 failed:
 *   died running emake, base_src_make
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4269:  Called base_src_compile
 *   environment, line  827:  Called base_src_make
 *   environment, line  865:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "died running emake, $FUNCNAME";



emerge --info =media-video/vlc-1.1.4
Portage 2.1.9.25 (default/linux/x86/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.35-sabayon i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-sabayon-i686-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-1.12.14
Timestamp of tree: Tue, 18 Jan 2011 01:45:02 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.10.2, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /usr/share/X11/xkb /usr/share/config /usr/share/config/kdm"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/skel /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.web4u.cz/ http://gentoo.mirror.dkm.cz/pub/gentoo/"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="en en_US cs"
MAKEOPTS="-j6 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/portage /var/lib/layman/sabayon"
SYNC="rsync://81.91.242.10/gentoo-portage"
USE="X a52 aac accessibility acl acpi aiglx alsa artswrappersuid audiofile avahi bash-completion berkdb bidi bluetooth bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus dga dri dts dv dvb dvd dvdr dvdread emboss encode exif fam fame fat ffmpeg firefox flac foomatic-db fortran freetype gcj gdbm gdu gif gimpprint gmp gnutls gphoto2 gpm gsm gtk hal iconv ieee1394 imap inotify ipod ipv6 irc irda jabber jack joystick jpeg kdehiddenvisibility kerberos lame lcd lcms ldap libnotify live lm_sensors lzo mad mail matroska mikmod mjpeg mmx mng modules mozdevelop mp3 mp3rtp mp4 mpeg mudflap musepack musicbrainz ncurses network nls nptl nptlonly nsplugin ntfs ogg openal openexr opengl openmp pam pango pcre pda pdf perl png policykit ppds pppd pulseaudio python qt3support qt4 rar rdesktop readline rss scanner sdl session slp speex spell sse sse2 sse3 ssl startup-notification stream svg sysfs tcpd theora tiff truetype udev unicode usb v4l v4l2 visualization vorbis wifi win32codecs wmf x264 x86 xcb xine xinerama xml xorg xpm xprint xulrunner xv xvid xvmc zeroconf zlib" 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 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" APACHE2_MPMS="prefork" CAMERAS="sonix template" 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" INPUT_DEVICES="evdev keyboard mouse void" KERNEL="linux" LINGUAS="en en_US cs" LIRC_DEVICES="audio audio_alsa serial" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev radeonhd radeon" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

media-video/vlc-1.1.4 was built with the following:
USE="X a52 aac aalib alsa avahi bidi cdda cddb dbus dirac dts dvb dvd ffmpeg flac gcrypt gnutls httpd id3tag ieee1394 jack libass libv4l libv4l2 matroska mmx mp3 mpeg musepack ncurses nsplugin ogg opengl png pulseaudio pvr qt4 rtsp samba schroedinger sdl skins speex sse stream theora truetype twolame udev v4l v4l2 vaapi vcdx vlm vorbis win32codecs x264 xcb xml xosd xv (-altivec) -atmo -dc1394 -debug -directfb -fbcon -fluidsynth -fontconfig -ggi -gnome -kate -kde -libcaca -libnotify -libproxy -libtiger -lirc -live -lua -modplug -mtp -optimisememory -oss -projectm -remoteosd -run-as-root -sdl-image -shine -shout -sqlite -svg -svga -taglib -upnp -wma-fixed -zvbi"
CFLAGS="-O2 -march=native -pipe"
CXXFLAGS="-O2 -march=native -pipe"
Comment 1 jadd 2011-01-25 13:22:22 UTC
Created attachment 260660 [details]
vlc-1.1.4-build-with-svg.log

This is package.use

media-video/vlc debug xulrunner aalib dirac schroedinger id3tag httpd vlm -live libv4l libv4l2 samba pvr rtsp libass twolame vaapi vcdx skins xosd -libnotify

libnotify also causes an error and it is forbidden ...
notify.c:37:21: error: gtk/gtk.h:
The result is in the 2nd build.log.
4th reproduction: USE="-embedded" FEATURES="nostrip" LC_ALL="C" emerge -Dtv vlc
Comment 2 jadd 2011-01-25 13:28:23 UTC
Created attachment 260665 [details]
vlc-1.1.4-with-libnotify-build.log
Comment 3 jadd 2011-01-25 13:44:25 UTC
Created attachment 260666 [details]
Better 2.log
Comment 4 jadd 2011-01-25 13:52:45 UTC
Comment on attachment 260666 [details]
Better 2.log

Sorry, I do not want to load the new log without the bad characters.
Still recorded earlier.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-25 16:10:22 UTC
Looks like 2 bugs.
Comment 6 jadd 2011-01-27 22:39:17 UTC
(In reply to comment #5)
> Looks like 2 bugs.
> 
I apologize to you, it was my fault!
I uninstalled the packages and made Sabayon #revdep-rebuild.
Everything is repaired.
Vlc is compiled with the libnotify and SVG.
So it's not a bug/bugs.
Comment 7 Alexis Ballier gentoo-dev 2011-01-28 00:08:06 UTC
closing then