Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407385 - x11-libs/qwtplot3d-0.2.7-r1 - include/qwt3d_openglhelper.h:67:31: error: 'gluErrorString' was not declared in this scope
Summary: x11-libs/qwtplot3d-0.2.7-r1 - include/qwt3d_openglhelper.h:67:31: error: 'glu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-08 08:48 UTC by Helmut Jarausch
Modified: 2012-03-09 09:31 UTC (History)
1 user (show)

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


Attachments
build log (build.log,8.19 KB, text/plain)
2012-03-08 08:48 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2012-03-08 08:48:22 UTC
Created attachment 304603 [details]
build log

emerging x11-libs/qwtplot3d-0.2.7-r1 fails due to
include/qwt3d_openglhelper.h:67:31: error: 'gluErrorString' was not declared in this scope

and

include/qwt3d_enrichment_std.h:65:2: error: 'GLUquadricObj' does not name a type


emerge --info x11-libs/qwtplot3d
Portage 2.2.0_alpha90 (default/linux/amd64/10.0/desktop, gcc-4.6.2, glibc-2.14.1-r2, 3.3.0-rc6 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.3.0-rc6-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-2.1
Timestamp of tree: Thu, 08 Mar 2012 05:45:01 +0000
ccache version 3.1.7 [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2, 4.6.2, 4.7.0_pre9999::local, 4.8.0_alpha20120302::local
sys-devel/gcc-config:     1.5.1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo sunrise local
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -O2 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/lib/neatx/home"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=native -O2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
LANG="en_US.iso88591"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j4"
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/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.informatik.RWTH-Aachen.de/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X a52 aac acl acpi alsa amd64 atm avahi berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fortran fuse gdbm gdu gfortran gif gimp gnome gpm gtk gtk2 iconv ipv6 jpeg kde lapack lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt qt3support qt4 readline sdl session smp spell sqlite sqlite3 sse sse2 sse3 sse4a ssl startup-notification svg sysfs tcl tcpd threads tiff tk truetype udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" 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" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

x11-libs/qwtplot3d-0.2.7-r1 was built with the following:
USE="(multilib) -doc -examples"
CFLAGS="-mtune=native -O2 -pipe"
CXXFLAGS="-mtune=native -O2 -pipe"
LDFLAGS="-Wl,-O1"
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-03-08 09:37:20 UTC
Are you sure you are not using the p.masked mesa-8.0.1-r1 with broken GLU? If yes, upgrade to -r2.
Comment 2 Helmut Jarausch 2012-03-08 11:47:08 UTC
(In reply to comment #1)
> Are you sure you are not using the p.masked mesa-8.0.1-r1 with broken GLU?
> If yes, upgrade to -r2.


At least I have 

eix -e mesa

Installed versions:  8.0.1-r2{tbz2}(01:47:02 PM 03/04/2012)(classic egl gallium llvm nptl osmesa shared-glapi video_cards_radeon -bindist -d3d -debug -g3dvl -gbm -gles1 -gles2 -kernel_FreeBSD -openvg -pax_kernel -pic -selinux -shared-dricore -vdpau -video_cards_i915 -video_cards_i965 -video_cards_intel -video_cards_nouveau -video_cards_r100 -video_cards_r200 -video_cards_r300 -video_cards_r600 -video_cards_vmware -wayland -xvmc)

cd /usr/lib64/mesa
ls -tl

-rwxr-xr-x 1 root root 15466752 Mar  4 13:47 r300g_dri.so
-rwxr-xr-x 1 root root 15411168 Mar  4 13:47 r600g_dri.so
-rwxr-xr-x 1 root root  3714280 Mar  4 13:47 r200_dri.so
-rwxr-xr-x 1 root root  3681256 Mar  4 13:47 radeon_dri.so
-rwxr-xr-x 1 root root  3407656 Mar  4 13:47 swrast_dri.so
-rwxr-xr-x 1 root root 15493672 Mar  4 13:47 swrastg_dri.so


ls -tl /usr/lib64/libGLU* /usr/lib64/libOSMesa* /usr/lib64/libglapi*
lrwxrwxrwx 1 root root      39 Mar  4 13:47 /usr/lib64/libGLU.so.1 -> opengl/xorg-x11/lib/libGLU.so.1.3.08000*
lrwxrwxrwx 1 root root      39 Mar  4 13:47 /usr/lib64/libGLU.so -> opengl/xorg-x11/lib/libGLU.so.1.3.08000*
lrwxrwxrwx 1 root root      13 Mar  4 13:47 /usr/lib64/libglapi.so -> libglapi.so.0*
lrwxrwxrwx 1 root root      14 Mar  4 13:47 /usr/lib64/libOSMesa.so -> libOSMesa.so.8*
lrwxrwxrwx 1 root root      17 Mar  4 13:47 /usr/lib64/libglapi.so.0 -> libglapi.so.0.0.0*
lrwxrwxrwx 1 root root      18 Mar  4 13:47 /usr/lib64/libOSMesa.so.8 -> libOSMesa.so.8.0.0*
-rwxr-xr-x 1 root root  149792 Mar  4 13:47 /usr/lib64/libglapi.so.0.0.0*
-rwxr-xr-x 1 root root 3415856 Mar  4 13:47 /usr/lib64/libOSMesa.so.8.0.0*

ls -tl opengl/xorg-x11/lib/libGLU*
lrwxrwxrwx 1 root root     11 Mar  4 13:47 opengl/xorg-x11/lib/libGLU.so -> libGLU.so.1*
lrwxrwxrwx 1 root root     19 Mar  4 13:47 opengl/xorg-x11/lib/libGLU.so.1 -> libGLU.so.1.3.08000*
-rwxr-xr-x 1 root root 465536 Mar  4 13:47 opengl/xorg-x11/lib/libGLU.so.1.3.08000*
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2012-03-08 15:54:14 UTC
@qt
what happend here? I also have several problems like this with texmaker, cmake ...
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2012-03-08 16:02:30 UTC
(In reply to comment #3)
> @qt
> what happend here? I also have several problems like this with texmaker,
> cmake ...

Which Qt version?
GLU usage has been completely removed in Qt 4.8, so there might be some code out there which directly uses GLU but does not include the header files.
Comment 5 Andrey Grozin gentoo-dev 2012-03-09 09:23:09 UTC
(In reply to comment #4)
> Which Qt version?
> GLU usage has been completely removed in Qt 4.8, so there might be some code
> out there which directly uses GLU but does not include the header files.
This problem may be similar to #407389 - gle also requires some additional glu #includes after upgrading qt to 4.8.
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2012-03-09 09:31:37 UTC
*qwtplot3d-0.2.7-r2 (08 Mar 2012)

  08 Mar 2012; Justin Lecher <jlec@gentoo.org> +files/qwtplot3d-qt48.patch,
  +qwtplot3d-0.2.7-r2.ebuild, metadata.xml:
  Add fix for qt4.8, #407385; move to EAPI=4 and qt4-r2.eclass