Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555696 - www-client/netsurf-3.3-r1 compile failed: unknown type name ‘GStaticRecMutex’ and ‘GThreadPriority’
Summary: www-client/netsurf-3.3-r1 compile failed: unknown type name ‘GStaticRecMutex’...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL: http://bugs.netsurf-browser.org/manti...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-23 12:46 UTC by Oschtan
Modified: 2015-08-11 11:36 UTC (History)
0 users

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


Attachments
build.log (build.log,176.48 KB, text/x-log)
2015-07-25 23:12 UTC, Oschtan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oschtan 2015-07-23 12:46:38 UTC
In file included from /usr/include/gstreamer-0.10/gst/gstelement.h:56:0,
                 from /usr/include/gstreamer-0.10/gst/gstbin.h:27,
                 from /usr/include/gstreamer-0.10/gst/gst.h:35,
                 from image/video.c:19:
/usr/include/gstreamer-0.10/gst/gstobject.h:283:3: error: unknown type name ‘GStaticRecMutex’
   GStaticRecMutex *lock;
   ^
In file included from /usr/include/gstreamer-0.10/gst/gstpad.h:35:0,
                 from /usr/include/gstreamer-0.10/gst/gstelement.h:57,
                 from /usr/include/gstreamer-0.10/gst/gstbin.h:27,
                 from /usr/include/gstreamer-0.10/gst/gst.h:35,
                 from image/video.c:19:
/usr/include/gstreamer-0.10/gst/gsttask.h:149:3: error: unknown type name ‘GStaticRecMutex’
   GStaticRecMutex *lock;
   ^
/usr/include/gstreamer-0.10/gst/gsttask.h:183:40: error: unknown type name ‘GStaticRecMutex’
 void            gst_task_set_lock       (GstTask *task, GStaticRecMutex *mutex);
                                        ^
/usr/include/gstreamer-0.10/gst/gsttask.h:184:44: error: unknown type name ‘GThreadPriority’
 void            gst_task_set_priority   (GstTask *task, GThreadPriority priority);
                                            ^
In file included from /usr/include/gstreamer-0.10/gst/gstelement.h:57:0,
                 from /usr/include/gstreamer-0.10/gst/gstbin.h:27,
                 from /usr/include/gstreamer-0.10/gst/gst.h:35,
                 from image/video.c:19:
/usr/include/gstreamer-0.10/gst/gstpad.h:671:3: error: unknown type name ‘GStaticRecMutex’
   GStaticRecMutex  *stream_rec_lock;
   ^
In file included from /usr/include/gstreamer-0.10/gst/gstbin.h:27:0,
                 from /usr/include/gstreamer-0.10/gst/gst.h:35,
                 from image/video.c:19:
/usr/include/gstreamer-0.10/gst/gstelement.h:545:3: error: unknown type name ‘GStaticRecMutex’
   GStaticRecMutex      *state_lock;
   ^
In file included from /usr/include/gstreamer-0.10/gst/gst.h:71:0,
                 from image/video.c:19:
/usr/include/gstreamer-0.10/gst/gsttrace.h:127:8: error: unknown type name ‘GStaticMutex’
 extern GStaticMutex     _gst_trace_mutex;
        ^
Makefile:796: recipe for target 'build-Linux-gtk/image_video.o' failed
make: *** [build-Linux-gtk/image_video.o] Error 1
make: *** Waiting for unfinished jobs....
image/webp.c:228:9: warning: no previous prototype for ‘webp_init’ [-Wmissing-prototypes]
 CONTENT_FACTORY_REGISTER_TYPES(webp, webp_types, webp_content_handler);
         ^
make: *** wait: No child processes.  Stop.
 * ERROR: www-client/netsurf-3.3-r1::gentoo failed (compile phase)

Reproducible: Always




emerge --info
Portage 2.2.20 (python 2.7.10-final-0, default/linux/amd64/13.0, gcc-4.9.2, glibc-2.21-r1, 3.18.9-gentoo x86_64)
=================================================================
System uname: Linux-3.18.9-gentoo-x86_64-AMD_Phenom-tm-_8450_Triple-Core_Processor-with-gentoo-2.2
KiB Mem:     3537804 total,    379544 free
KiB Swap:    2104508 total,   2030912 free
Timestamp of repository gentoo: Wed, 22 Jul 2015 14:45:01 +0000
Timestamp of repository oschtan: Fri, 01 May 2015 05:25:44 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
ccache version 3.2.2 [enabled]
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.2::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /mnt/gentoo/gentoo-tree
    sync-type: rsync
    sync-uri: rsync://mirrors.kernel.org/gentoo-portage
    priority: -100

oschtan
    location: /usr/local/portage
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL googleearth google-chrome Oracle-BCLA-JavaSE skype-4.0.0.7-copyright AdobeFlash-11.x Google-TOS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=" -O2 -pipe -march=amdfam10 -mtune=amdfam10"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS=" -O2 -pipe -march=amdfam10 -mtune=amdfam10"
DISTDIR="/mnt/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,--hash-style=gnu,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/mnt/gentoo/package"
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="/mnt/gentoo2"
USE="3dnow 3dnowext X a52 aac aacplus aalib acpi action_modeswitch additions alsa amd64 amr ao ape auto-hinter berkdb bzip2 cairo cgi cleartype cli consolekit cracklib crypt ctype curl custom-cflags cxx dbus declarative demos development djvu dos dri dv dvd emerald enca encode exif extras faac fastcgi fbcondecor ffmpeg fontconfig fortran ftp fuse gd gecko gecko-mediaplayer gif git gles glitz gpm gstreamer gtk3 gudev hddtemp hwdb iconv imlib jabber java jbig jpeg kde kvm lame lastfm latin1 lcms libass libkms libnotify lm_sensors lzma mad mikmod mjpeg mmx mmxext mng mod modules mp3 mp4 mpeg mplayer mudflap multilib multitarget natspec ncurses nls npp nptl nsplugin objc objc++ objc-gc ogg openexr opengl openmp oscar pam pcre pdf perl php plasma png policykit popcnt povray prison pulse pulseaudio python python3 qt3support qt4 rar rcc readline realtime reflection rtc sdk sdl sensord session skey slang sndfile source speex spell spl sqlite sqlite3 srt sse sse2 sse3 sse4a ssl startup-notification suid svg symlink syslog system-wide taglib tcpd templates theora thumbnail tidy tiff truetype udev udisks2 unicode unsupported uploadprogress usb vcd vde vdpau video vorbis vpx webdav-neon x264 xattr xcb xcomposite xml xorg xpm xscreensaver xv xvid xvmc yv12 zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" CAMERAS="kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 samsung" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"
USE_PYTHON="2.7"
Comment 1 Oschtan 2015-07-23 12:48:27 UTC
[ebuild     U  ] www-client/netsurf-3.3-r1::gentoo [3.2-r1::gentoo] USE="bmp gif gstreamer* gtk jpeg mng png rosprite svg svgtiny truetype webp -debug -fbcon -fbcon_frontend_able -fbcon_frontend_linux -fbcon_frontend_sdl -fbcon_frontend_vnc -fbcon_frontend_x -javascript -pdf-writer" ABI_X86="(64) -32 (-x32)"
Comment 2 Amy Liffey gentoo-dev 2015-07-23 12:52:44 UTC
Can you please attach full build.log?

Thanks
Comment 3 Oschtan 2015-07-25 23:12:51 UTC
Created attachment 407624 [details]
build.log
Comment 4 Michael Weber (RETIRED) gentoo-dev 2015-08-11 11:36:01 UTC
This is self inflicetd by netsurf-3.3-r1/work/netsurf-3.3/gtk/Makefile.target
setting -DG_DISABLE_DEPRECATED. Removing it.

commit ec1ff9f13b15b78ac7b0bdd31abc55a494546e3c
Author: Michael Weber <xmw@gentoo.org>
Date:   Tue Aug 11 13:35:34 2015 +0200

    www-client/netsurf: Drop -DG_DISABLE_DEPRECATED (bug 555696, thanks Oschtan). Updating x86_32 deps and REQUIRED_USE.
    
    Package-Manager: portage-2.2.20

www-client/netsurf/netsurf-3.2-r1.ebuild
www-client/netsurf/netsurf-3.3-r1.ebuild