Hi, hdaps-gl fails to compile with the follow error: >>> Compiling source in /var/tmp/portage/app-laptop/hdaps-gl-0.0.5/work/hdaps-gl-0.0.5 ... make -j2 'CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer -Wl,-O1' cc -march=native -O2 -pipe -fomit-frame-pointer -Wl,-O1 -L/usr/X11R6/lib -o hdaps-gl hdaps-gl.c -lglut -lGL -lGLU -lm hdaps-gl.c:25:21: error: GL/glut.h: No such file or directory Adding virtual/glut to the DEPEND section fixes the problem. emerge --info Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.33-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.33-gentoo-r1-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 30 Apr 2010 20:00:01 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1 dev-python/pycrypto: 2.1.0_beta1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA dlj-1.1 @FSF-APPROVED" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.jaist.ac.jp/pub/Linux/Gentoo/" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en ru" MAKEOPTS="-j2" 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="/data/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/sectools /usr/local/portage/layman/kde-sunset /usr/local/portage" SYNC="rsync://gentoo.o0o.nu/gentoo-portage" USE="#xcb X a52 aac acl acpi alsa bash-completion berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif gpm hal iconv ipv6 jpeg lcms ldap libnotify logitech-mouse mad mikmod mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcmcia pcre pdf perl png ppds pppd python qt3support qt4 readline reflection samba sdl session speex spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype type1 unicode usb vorbis wifi x264 x86 xcb xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" LIRC_DEVICES="sir" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Cannot reproduce that. Looks like you need to run `eselect opengl'.
Created attachment 231035 [details] build.log It still fails. I've done eselect opengl set 2, and here is the list output: #eselect opengl list Available OpenGL implementations: [1] ati [2] xorg-x11 *
Please make sure there is no media-libs/freeglut in your system. Reopening..
Created attachment 231037 [details, diff] The patch adds missing glut dependency
Confirmed. Absolutely must depend on freeglut or else it won't compile.
(In reply to comment #5) > Confirmed. Absolutely must depend on freeglut or else it won't compile. Still broken over a year later. This can't be stabilized until the freeglut dependency is fixed.
Yep, freeglut is definitely needed to compile this.
I don't actually understand why this bug is open for 1.5 years. It should take 5 min to fix it.
fixed