Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mesa-progs-8.2.0 requires glew package[Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Mon Sep 15, 2014 11:22 pm    Post subject: mesa-progs-8.2.0 requires glew package[Solved] Reply with quote

Apparently mesa-progs-8.2.0 needs the glew package. The current ebuild doesn't seem to pull it in.
Code:
IUSE="egl gles1 gles2"

RDEPEND="
   egl? ( media-libs/glew )
   gles1? ( media-libs/glew )
   gles2? ( media-libs/glew )
   media-libs/mesa[egl?,gles1?,gles2?]
   virtual/opengl
   x11-libs/libX11"
DEPEND="${RDEPEND}
   virtual/glu
   x11-proto/xproto"


emerge mesa-progs shows this message:
Code:
 checking for GLEW... no
configure: error: Package requirements (glew >= 1.5.4) were not met:

No package 'glew' found

After I installed glew manually, then mesa-progs-8.2.0 compiled normally.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11


Last edited by wrc1944 on Wed Sep 17, 2014 5:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21629

PostPosted: Tue Sep 16, 2014 12:12 am    Post subject: Reply with quote

The output you quoted disagrees with you. Are you trying to report that glew is required even when none of egl, gles1, or gles2 is in USE?
Back to top
View user's profile Send private message
beguiledfoil
n00b
n00b


Joined: 23 Jan 2011
Posts: 48

PostPosted: Tue Sep 16, 2014 12:38 am    Post subject: Reply with quote

I think that's what I'm seeing:

Code:
checking for GLEW... no
configure: error: Package requirements (glew >= 1.5.4) were not met:

No package 'glew' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLEW_CFLAGS
and GLEW_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


And the emerge --info:

Code:

emerge --info '=x11-apps/mesa-progs-8.2.0::gentoo'
--- Invalid USE flag in '/usr/portage/profiles/base/use.mask': 'net-libs/ortp zrtp'
Portage 2.2.12 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.8.3, glibc-2.19-r1, 3.16.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.16.1-gentoo-x86_64-Intel-R-_Core-TM-_i5-4260U_CPU_@_1.40GHz-with-gentoo-2.2
KiB Mem:     3987864 total,    520480 free
KiB Swap:    8191996 total,   8156808 free
Timestamp of tree: Mon, 15 Sep 2014 23:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.1
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.1
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo dotnet
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe"
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/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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/dotnet"
USE="X a52 aac acl acpi alsa amd64 android autotools berkdb bindist bluetooth branding bzip2 cairo cdda cdr clang cli cmake cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif extraengine fakevim fam ffmpeg firefox flac fortran gdbm gif git gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify lua mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit postproc ppds pulseaudio python qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg symlink systemd tcpd threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, SYNC, USE_PYTHON
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Tue Sep 16, 2014 1:22 am    Post subject: Reply with quote

Hu wrote:
Quote:
The output you quoted disagrees with you. Are you trying to report that glew is required even when none of egl, gles1, or gles2 is in USE?

What happened was mesa-progs wouldn't compile, and the message was as I posted above. I then checked with equery and indeed I didn't have glew installed, so I installed it and then mesa-progs then compiled normally. I looked at the mesa-progs ebuild RDEPEND= " stanza, but was not entirely sure what the question marks and ( media-libs/glew ) implied.

However, since installing glew allowed mesa-progs to compile, I figured I had done the correct thing in posting. Any clarification and/or tips would be much appreciated, as I'm obviously not an ebuild expert.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Tue Sep 16, 2014 9:54 am    Post subject: Reply with quote

See bug 522910.
https://bugs.gentoo.org/show_bug.cgi?id=522910
It bit me too.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21629

PostPosted: Tue Sep 16, 2014 10:07 pm    Post subject: Reply with quote

wrc1944 wrote:
However, since installing glew allowed mesa-progs to compile, I figured I had done the correct thing in posting. Any clarification and/or tips would be much appreciated, as I'm obviously not an ebuild expert.
The bug cited by gerard82 confirms my suspicion, though you did not answer the question I asked. I wanted to know if you had USE="-egl -gles1 -gles2" when you saw the problem, since setting any of those to enabled would have instructed Portage to install glew automatically.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Wed Sep 17, 2014 5:32 pm    Post subject: Reply with quote

Thanks to all for the replies and info!
I did not have USE="-egl -gles1 -gles2" set in my make.conf, and emerge --info doesn't have them listed as enabled on my Gentoo installs. I just synced, and it looks as if the ebuild was modified as the bug report indicated, i.e. it pulls in glew regardless of whether those USE flags are enabled, or not. I'll mark this one solved.

Code:
 amd64 wrc # emerge -pv mesa-progs

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

Calculating dependencies... done!
[ebuild  N     ] media-libs/glew-1.10.0-r2:0/1.10  USE="-doc -static-libs" ABI_X86="(64) -32 (-x32)" 555 KiB
[ebuild  N     ] x11-apps/mesa-progs-8.2.0  USE="-egl -gles1 -gles2" 9,836 KiB

_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum