Jump to content
Forums in Read-Only Mode - Please use Reddit ×
  • 0

[SOLVED] media-libs/glew building error


edps

Question

Hello everyone!

 

My Funtoo installation (i686) is over 1 year old, and this is an excellent system, but it happens that recently i cannot update the media-libs/glew package, even if i remove it and install it manually.

 

This is a installation attempt:









funtoo edps # emerge -av media-libs/glew

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

Calculating dependencies... done!
[ebuild  N     ] media-libs/glew-2.0.0:0/2.0::gentoo  USE="-doc -static-libs" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-libs/glew-2.0.0::gentoo
>>> Failed to emerge media-libs/glew-2.0.0, Log file:
>>>  '/var/log/portage/media-libs:glew-2.0.0:20161119-124307.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 3.56, 3.35, 3.07
 * Package:    media-libs/glew-2.0.0
 * Repository: gentoo
 * USE:        abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking glew-2.0.0.tgz to /var/tmp/portage/media-libs/glew-2.0.0/work
>>> Source unpacked in /var/tmp/portage/media-libs/glew-2.0.0/work
>>> Preparing source in /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0 ...
 * Applying glew-2.0.0-install-headers.patch ...
 [ ok ]
 * Will copy sources from /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0
 * abi_x86_32.x86: copying to /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0-abi_x86_32.x86
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_compile
make -s -j2 GLEW_DEST=/usr LIBDIR=/usr/lib AR=i686-pc-linux-gnu-ar STRIP=true CC=i686-pc-linux-gnu-gcc 'LD=i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed' M_ARCH= LDFLAGS.EXTRA= 'POPT=-march=i686 -O2 -pipe -fomit-frame-pointer' 
/bin/sh: line 0: test: too many arguments
Makefile:40: *** "Platform 'acpi bash-completion binary bindist consolekit curl dbus hal ftp introspection lm_sensors md5sum mtp ncurses nls ntp pam parted pcre policykit polkit pppd python perl qt3support qt4 ssl suid tests threads udev udisks unicode usb uuid' not supported".  Stop.
 * ERROR: media-libs/glew-2.0.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-libs/glew-2.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/glew-2.0.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/media-libs:glew-2.0.0:20161119-124307.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/glew-2.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0'

 * Messages for package media-libs/glew-2.0.0:

 * ERROR: media-libs/glew-2.0.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-libs/glew-2.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/glew-2.0.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/media-libs:glew-2.0.0:20161119-124307.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/glew-2.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (media-libs/glew-2.0.0:0/2.0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/media-libs:glew-2.0.0:20161119-124307.log'
 * 
funtoo edps # 

emerge --info '=media-libs/glew-2.0.0::gentoo' says:









funtoo edps # emerge --info '=media-libs/glew-2.0.0::gentoo'
Portage 2.3.2 (python 3.4.5-final-0, funtoo/1.0/linux-gnu/arch/x86-32bit, gcc-4.9.3, glibc-2.22, 4.8.6-gentoo-smp i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.8.6-gentoo-smp-i686-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-2.2.1
KiB Mem:     3094996 total,    327588 free
KiB Swap:          0 total,         0 free
sh bash 4.3_p42
ld GNU ld (Funtoo 2.25) 2.25.0
ccache version 3.3.3 [enabled]
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.3.3::gentoo
dev-util/cmake:           3.6.3::gentoo
sys-apps/baselayout:      2.2.1::gentoo
sys-apps/openrc:          0.18.3-r2::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25-r2::gentoo
sys-devel/gcc:            4.9.3-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://github.com/funtoo/ports-2012.git
    priority: -1000

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/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=i686 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --jobs=2 --load-average=2 --autounmask-write=y --with-bdeps=y --quiet-build=y --keep-going=y"
FEATURES="assume-digests binpkg-logs ccache clean-logs collision-protect config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -mtune=generic -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pt_BR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pt_BR.UTF-8 pt_BR.ISO8859-1 pt_BR"
MAKEOPTS="-s -j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
USE="(-ioctl) 3dnow 3dnowext 7zip X a52 aac acl acpi aiglx alsa apng bash-completion berkdb binary bindist bluray bzip2 cairo cdda cddb cdio cdparanoia cdr consolekit cracklib crypt cups curl cxx dbus dri dts dvd dvdr dvdread dvi encode exif faac faad fam fat ffmpeg firefox flac flash foomatic-db freetype ftp fuse gdbm gif gnome-keyring gpm gstreamer gtk gtk3 gvfs gzip hal hfs ico icons iconv icu ieee1394 imagemagick imlib inotify introspection ios ipod ipv6 jack java javascript jpeg jpeg2k lame lcd libass libguess libkms libmpeg2 libnotify libwww lm_sensors lock lzma mad matroska md5sum mesa mime mjpeg mmx mmxext modules mp3 mp4 mpeg mtp mtpfs mudflap musepack musicbrainz ncurses nls nptl nsplugin ntfs ntp nvidia ogg openal openbox opengl openmp pam parted pcre pdf perl png policykit polkit postproc ppds pppd python qt3support qt4 quicktime rar readline resolvconf scanner sdl session sndfile spell sse sse2 sse3 ssl startup-notification stream subtitle suid svg sysfs taglib tcpd tests theora threads thunar tiff transcode truetype twolame udev udisks unicode usb uuid v4l v4l2 vdpau vorbis vpx wav wavpack webp win32codecs wmf x264 x265 x86 xa xattr xcb xcomposite xdg xfce4-meta xine xinerama xml xpm xprint xscreensaver xulrunner xv xvfb xvid xvmc xz zlib" ABI_X86="32" ALSA_CARDS="nvidia" 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 authn_core authz_core socache_shmcb unixd" 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" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" 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-32 pc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" L10N="pt_BR.UTF-8 pt_BR.ISO8859-1 pt_BR" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pt_BR.UTF-8 pt_BR.ISO8859-1 pt_BR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

funtoo edps # 

emerge -pqv says:









funtoo edps # emerge -pqv '=media-libs/glew-2.0.0::gentoo'
[ebuild  N    ] media-libs/glew-2.0.0  USE="-doc -static-libs" 
funtoo edps # 

and build log:









funtoo edps # cat /var/log/portage/media-libs:glew-2.0.0:20161119-124307.log
 * Package:    media-libs/glew-2.0.0
 * Repository: gentoo
 * USE:        abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking glew-2.0.0.tgz to /var/tmp/portage/media-libs/glew-2.0.0/work
>>> Source unpacked in /var/tmp/portage/media-libs/glew-2.0.0/work
>>> Preparing source in /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0 ...
 * Applying glew-2.0.0-install-headers.patch ...
 [ ok ]
 * Will copy sources from /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0
 * abi_x86_32.x86: copying to /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0-abi_x86_32.x86
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_compile
make -s -j2 GLEW_DEST=/usr LIBDIR=/usr/lib AR=i686-pc-linux-gnu-ar STRIP=true CC=i686-pc-linux-gnu-gcc 'LD=i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed' M_ARCH= LDFLAGS.EXTRA= 'POPT=-march=i686 -O2 -pipe -fomit-frame-pointer' 
/bin/sh: line 0: test: too many arguments
Makefile:40: *** "Platform 'acpi bash-completion binary bindist consolekit curl dbus hal ftp introspection lm_sensors md5sum mtp ncurses nls ntp pam parted pcre policykit polkit pppd python perl qt3support qt4 ssl suid tests threads udev udisks unicode usb uuid' not supported".  Stop.
 * ERROR: media-libs/glew-2.0.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-libs/glew-2.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/glew-2.0.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/media-libs:glew-2.0.0:20161119-124307.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/glew-2.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0'

This system is updated weekly...

 

Thank's in advance for those who can help.

 

@edps

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

I think the problem was in the following block of USES:

acpi bash-completion binary bindist consolekit curl dbus hal ftp introspection lm_sensors md5sum mtp ncurses nls ntp pam parted pcre policykit polkit pppd python perl qt3support qt4 ssl suid tests threads udev udisks unicode usb uuid

I just commented them in make.conf and run:

 

# emerge media-libs/glew

 

And works! But due to collision problems (because i had reinstalled the package in the traditional way = ./configure blah blah blah) the package was not installed.

 

Then i manually removed the files and re-executed:

 

# emerge media-libs/glew:

[ 10:51 ]  [ edps@funtoo:~ ]
 $ sudo emerge media-libs/glew        

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

Calculating dependencies... done!
[ebuild  N     ] media-libs/glew-2.0.0  USE="-doc -static-libs" 

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-libs/glew-2.0.0::gentoo
>>> Installing (1 of 1) media-libs/glew-2.0.0::gentoo
>>> Failed to install media-libs/glew-2.0.0, Log file:
>>>  '/var/log/portage/media-libs:glew-2.0.0:20161120-125137.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.93, 0.84, 0.84
 * Package:    media-libs/glew-2.0.0
 * Repository: gentoo
 * USE:        abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking glew-2.0.0.tgz to /var/tmp/portage/media-libs/glew-2.0.0/work
>>> Source unpacked in /var/tmp/portage/media-libs/glew-2.0.0/work
>>> Preparing source in /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0 ...
 * Applying glew-2.0.0-install-headers.patch ...
 [ ok ]
 * Will copy sources from /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0
 * abi_x86_32.x86: copying to /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0-abi_x86_32.x86
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_compile
make -s -j2 GLEW_DEST=/usr LIBDIR=/usr/lib AR=i686-pc-linux-gnu-ar STRIP=true CC=i686-pc-linux-gnu-gcc 'LD=i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed' M_ARCH= LDFLAGS.EXTRA= 'POPT=-march=i686 -O2 -pipe -fomit-frame-pointer' 
>>> Source compiled.
>>> Test phase [not enabled]: media-libs/glew-2.0.0

>>> Install glew-2.0.0 into /var/tmp/portage/media-libs/glew-2.0.0/image/ category media-libs
 * abi_x86_32.x86: running multilib-minimal_abi_src_install
make -s -j2 GLEW_DEST=/var/tmp/portage/media-libs/glew-2.0.0/image//usr LIBDIR=/var/tmp/portage/media-libs/glew-2.0.0/image//usr/lib PKGDIR=/var/tmp/portage/media-libs/glew-2.0.0/image//usr/lib/pkgconfig AR=i686-pc-linux-gnu-ar STRIP=true CC=i686-pc-linux-gnu-gcc 'LD=i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed' M_ARCH= LDFLAGS.EXTRA= 'POPT=-march=i686 -O2 -pipe -fomit-frame-pointer' install.all 
>>> Completed installing glew-2.0.0 into /var/tmp/portage/media-libs/glew-2.0.0/image/

 * Final size of build directory: 18168 KiB
 * Final size of installed tree: 2488 KiB

making executable: usr/lib/libGLEW.so.2.0.0
strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   usr/lib/libGLEW.so.2.0.0
   usr/bin/glewinfo
   usr/bin/visualinfo
ecompressdir: bzip2 -9 /usr/share/doc
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at https://bugs.gentoo.org/ unless you report exactly
 * which two packages install the same file(s). See
 * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how
 * to solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 * 
 * package media-libs/glew-2.0.0 NOT merged
 * 
 * Detected file collision(s):
 * 
 * 	/usr/lib/libGLEW.so.2.0.0
 * 	/usr/lib/pkgconfig/glew.pc
 * 	/usr/include/GL/wglew.h
 * 	/usr/include/GL/glxew.h
 * 	/usr/include/GL/glew.h
 * 	/usr/lib/libGLEW.so
 * 	/usr/lib/libGLEW.so.2.0
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * None of the installed packages claim the file(s).
 * 
 * Package 'media-libs/glew-2.0.0' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

 * Messages for package media-libs/glew-2.0.0:

 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at https://bugs.gentoo.org/ unless you report exactly
 * which two packages install the same file(s). See
 * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how
 * to solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 * 
 * package media-libs/glew-2.0.0 NOT merged
 * 
 * Detected file collision(s):
 * 
 * 	/usr/lib/libGLEW.so.2.0.0
 * 	/usr/lib/pkgconfig/glew.pc
 * 	/usr/include/GL/wglew.h
 * 	/usr/include/GL/glxew.h
 * 	/usr/include/GL/glew.h
 * 	/usr/lib/libGLEW.so
 * 	/usr/lib/libGLEW.so.2.0
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * None of the installed packages claim the file(s).
 * 
 * Package 'media-libs/glew-2.0.0' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (media-libs/glew-2.0.0:0/2.0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/media-libs:glew-2.0.0:20161120-125137.log'
 * 

 * GNU info directory index is up-to-date.


[ 10:52 ]  [ edps@funtoo:~ ]
 $ sudo rm -fv /usr/lib/libGLEW.so.2.0.0
sudo rm -fv /usr/lib/pkgconfig/glew.pc
sudo rm -fv /usr/include/GL/wglew.h
sudo rm -fv /usr/include/GL/glxew.h
sudo rm -fv /usr/include/GL/glew.h
sudo rm -fv /usr/lib/libGLEW.so
sudo rm -fv /usr/lib/libGLEW.so.2.0
removido ?/usr/lib/libGLEW.so.2.0.0?
removido ?/usr/lib/pkgconfig/glew.pc?
removido ?/usr/include/GL/wglew.h?
removido ?/usr/include/GL/glxew.h?
removido ?/usr/include/GL/glew.h?
removido ?/usr/lib/libGLEW.so?
removido ?/usr/lib/libGLEW.so.2.0?


[ 10:53 ]  [ edps@funtoo:~ ]
 $ sudo emerge media-libs/glew          

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

Calculating dependencies... done!
[ebuild  N     ] media-libs/glew-2.0.0  USE="-doc -static-libs" 

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-libs/glew-2.0.0::gentoo
>>> Installing (1 of 1) media-libs/glew-2.0.0::gentoo
>>> Recording media-libs/glew in "world" favorites file...
>>> Jobs: 1 of 1 complete                           Load avg: 0.77, 0.79, 0.82
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

Problem SOLVED! Thank you all!

 

Seguindo com um novo update:

 

https://gist.github.com/anonymous/f12da86ab8a34a229f8e35f6876e6950

 

@Otakku, primeiramente obrigado pela ajuda. Sobre escrever em pt_BR, acho que por ser um f?rum nternacional, talvez n?o seja correto utilizar a nossa l?ngua aqui.

Link to comment
Share on other sites

  • 0

cd /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0-abi_x86_32.x86/config

bash config.guess | cut -d - -f 3 | sed -e 's/[0-9\.]//g;'

what output of above command do you get?

 

This:

funtoo edps # cd /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0-abi_x86_32.x86/config
funtoo config # bash config.guess | cut -d - -f 3 | sed -e 's/[0-9\.]//g;'
linux
funtoo config # 

Link to comment
Share on other sites

  • 0

normalmente eu comento a USE="..." no make.conf para instalar o glew ele da incopatibilidade com algumas uses. 

 

comenta o #USE=".." no make e da emerge ele direto com --nodeps depois continua. 

 

 

I normally comment the USE="..." on make.conf to install the glew package sometime hace conflicts with few use flags 

 

 

so you can comment and after install uncomment and keep going

Link to comment
Share on other sites

×
×
  • Create New...