Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534450 - net-libs/webkit-gtk-2.6.4 - .../work/webkitgtk-2.6.4/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:310:1: warning: control reaches end of non-void function [-Wreturn-type]
Summary: net-libs/webkit-gtk-2.6.4 - .../work/webkitgtk-2.6.4/Source/WebCore/platform/...
Status: RESOLVED DUPLICATE of bug 533704
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-3.14
  Show dependency tree
 
Reported: 2015-01-03 16:57 UTC by Reto Gantenbein (ganto)
Modified: 2015-01-23 17:11 UTC (History)
1 user (show)

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


Attachments
build.log of webkit-gtk-2.6.4 with USE="-opengl" (webkit-gtk-2.6.4_build.log.xz,101.82 KB, application/x-xz)
2015-01-03 17:03 UTC, Reto Gantenbein (ganto)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reto Gantenbein (ganto) 2015-01-03 16:57:27 UTC
When I first tried to emerge webkit-gtk-2.6.4 with USE="-opengl" as I've configured it in /etc/portage/package.use for older webkit-gtk releases, the compilation failed with:

[...]

/var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkitgtk-2.6.4/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:310:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
Source/WebCore/CMakeFiles/WebCore.dir/build.make:57400: recipe for target 'Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/cairo/GraphicsContext3DCairo.cpp.o' failed
make[2]: *** [Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/cairo/GraphicsContext3DCairo.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkit-gtk-2.6.4_build'
CMakeFiles/Makefile2:602: recipe for target 'Source/WebCore/CMakeFiles/WebCore.dir/all' failed
make[1]: *** [Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkit-gtk-2.6.4_build'
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
 ^[[31;01m*^[[0m ERROR: net-libs/webkit-gtk-2.6.4::gentoo failed (compile phase):
 ^[[31;01m*^[[0m   emake failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=net-libs/webkit-gtk-2.6.4::gentoo'`,
 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=net-libs/webkit-gtk-2.6.4::gentoo'`.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-2.6.4/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-2.6.4/temp/environment'.
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkit-gtk-2.6.4_build'
 ^[[31;01m*^[[0m S: '/var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkitgtk-2.6.4'

If the "opengl" USE flag is added, the compilation successfully completes.

x11-libs/cairo-1.12.18 is installed with USE="X glib opengl openvg svg xcb xlib-xcb (-aqua) -debug (-directfb) (-drm) (-gallium) (-gles2) (-qt4) -static-libs -valgrind"

Reproducible: Always

Steps to Reproduce:
Compile webkit-gtk-2.6.4 with USE="egl geoloc gstreamer introspection jit libsecret spell webgl -coverage -debug -doc -opengl" emerge =net-libs/webkit-gtk-2.6.4
Actual Results:  
Compilation failed with the error mentioned above.

Expected Results:  
Compilation works or hint about invalid USE flag configuration.

Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/no-emul-linux-x86/desktop/gnome/systemd, gcc-4.8.3, glibc-2.19-r1, 3.18.1-gentoo x86_64)
=================================================================
System uname: Linux-3.18.1-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1075T_Processor-with-gentoo-2.2
KiB Mem:    16373436 total,   2997420 free
KiB Swap:    4194300 total,   4190424 free
Timestamp of tree: Sat, 03 Jan 2015 02:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [disabled]
app-shells/bash:          4.3_p30-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r4
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3-r1, 1.11.6-r1, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.3-r2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo x11 sunrise virtualization steam-overlay ubelix linuxmonk ruby
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/spool/munin-async/.ssh"
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.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles merge-sync 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.switch.ch/ftp/mirror/gentoo/ http://de-mirror.org/distro/gentoo/"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/usr/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="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/sunrise /var/lib/layman/virtualization /var/lib/layman/steam /var/lib/layman/ruby"
SYNC="rsync://pkgs.home.ch/gentoo-portage"
USE="3dnow 3dnowext X X509 a52 aac aalib acl acpi aio aisleriot alsa amd64 amr apng archive aspell async audio audit avahi bash-completion berkdb bluetooth bonjour bookmarks branding brasero btrfs bzip2 cairo caps ccache cdaudio cdda cddb cdio cdr cdrkit cjk cli clutter colord console corefonts cracklib crypt css cups curl cxx daap dbus dc1394 dconf deskbar device-mapper dga dhcp dia discouraged disk-partition diskio divx dmi dmraid dri drm dts dv dvd dvdr dvi dvipdfm eds emboss emerald enca encode evo exchange exif expat fam fasttrack fat fbcon ffmpeg firefox flac flickr fontconfig fortran ftp fts fts3 fuse gaim gallium gbm gcj gconf gd gdbm gdu gedit geoip gif gimp gimpprint git glamor glib glitz glsa glut gmp gnome gnome-keyring gnome-online-accounts gnome-print gnuplot gnutella gnutls gphoto2 gpm graphics graphviz grilo gs gsf gstreamer gtk gtk3 gtkhtml gudev guile h323 hddtemp hfs hwdb ical iconv icq icu id3tag idn ieee1394 imagemagick imap inherit-graph inkjar introspection ios ipod iptc ipv6 irc ithreads jabber jpeg kate kerberos keymap keyring kpathsea kqemu kvm lame lastfm latex lcms ldap libass libnotify libsamplerate libsecret libsexy live llvm-gcc lm_sensors logrotate lvm lzma lzo mad magic map matroska mdadm mdnsresponder-compat midi mjpeg mmap mmx mmxext mng modules mono mp2 mp3 mp4 mpeg msn mtp multilib musepack musicbrainz nautilus ncurses network networking networkmanager nfs nfsidmap nls nntp nolvm1 nolvmstatic nptl nsplugin nss ntfs ntfsprogs nvidia ocamlopt ofx ogg opengl openmp openvg osmesa pam pango parted pcntl pcre pdf pdfimport playlist plotutils png podcast policykit postscript ppds prediction print pstricks pulseaudio python3 qemu qt3support qt4 quicktime rar rdesktop readline resolvconf rtc rtmp rtsp sasl schroedinger science scrobbler sdl secure-delete sendto session shout sip smi smp socialweb soundtouch soup sourceview spell sse sse2 ssh ssl stream subtitles subversion svg symlink systemd taglib tagwriting tcpd telepathy tex4ht tga theora threads threadsonly tiff tk toolkit-scroll-bars totem tracker truetype udev udisks unicode unique upnp upower urandom usb usbredir v4l2 vala vcd vdisk vdpau video vim-syntax virtualbox vlm vnc vorbis vpx vte wav webgl webkit wma wmf wxwidgets x264 xa xanim xattr xcb xcomposite xetex xfs xinerama xml xmldoclet xmp xulrunner xv xvid xvmc youtube zeitgeist zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MPMS="worker" 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" CURL_SSL="openssl" 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 ublox 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" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="nouveau vesa" 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
Comment 1 Reto Gantenbein (ganto) 2015-01-03 17:03:41 UTC
Created attachment 393088 [details]
build.log of webkit-gtk-2.6.4 with USE="-opengl"
Comment 2 Pacho Ramos gentoo-dev 2015-01-03 17:45:47 UTC
Looks related with bug 533704 :/
Comment 3 Pacho Ramos gentoo-dev 2015-01-23 17:11:22 UTC
/var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkitgtk-2.6.4/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:309:26: error: canno
t convert ‘std::unique_ptr<WebCore::GraphicsContext3DPrivate>::pointer {aka WebCore::GraphicsContext3DPrivate*}’ to ‘void**’ in return
     return m_private.get();


It's the same

*** This bug has been marked as a duplicate of bug 533704 ***