Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
www-client/opera error cannot stat 'usr/lib/x86_64-linux-gnu
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
Goshanecr
Apprentice
Apprentice


Joined: 17 Aug 2005
Posts: 158
Location: Russia

PostPosted: Fri Jun 03, 2016 5:42 pm    Post subject: www-client/opera error cannot stat 'usr/lib/x86_64-linux-gnu Reply with quote

Good day friends!

I'm try to install latest opera ebuild but it fails. Whats wrong in my configuration?
Opera exists and downloads for x86, what it need from x86_64-linux-gnu?

emerge --info
Code:
Portage 2.2.28 (python 2.7.11-final-0, default/linux/x86/13.0/desktop, gcc-5.3.0, glibc-2.23-r2, 4.6.0-gentoo i686)
=================================================================
System uname: Linux-4.6.0-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1.60GHz-with-gentoo-2.2
KiB Mem:      253144 total,     85004 free
KiB Swap:    1048572 total,   1038820 free
Timestamp of repository gentoo: Fri, 03 Jun 2016 17:30:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake:           3.5.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::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.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-vcs-ignore: true

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -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 xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.utf8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa berkdb bindist branding bzip2 cairo cdda cli consolekit cracklib crypt cxx dbus dri dts emboss encode exif fam firefox flac fortran gdbm gif glamor gpm iconv jpeg lcms libnotify mad minimal mng modules mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support readline sdl seccomp session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wifi wxwidgets x264 x86 xattr xcb xml xorg xv xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb status unique_id unixd 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" CPU_FLAGS_X86="mmx mmxext sse sse2" 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru en ru_RU en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="radeon modesetting r200" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


VAIO-BOOK goshanecr # emerge -u www-client/opera
Code:

 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) www-client/opera-37.0.2178.54::gentoo
>>> Downloading 'http://distfiles.gentoo.org/distfiles/opera-stable_37.0.2178.54_i386.deb'
--2016-06-04 03:38:15--  http://distfiles.gentoo.org/distfiles/opera-stable_37.0.2178.54_i386.deb
Resolving distfiles.gentoo.org... 156.56.247.195, 137.226.34.46, 64.50.233.100, ...
Connecting to distfiles.gentoo.org|156.56.247.195|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50175044 (48M) [text/plain]
Saving to: ‘/usr/portage/distfiles/opera-stable_37.0.2178.54_i386.deb’

/usr/portage/distfi 100%[===================>]  47,85M   345KB/s    in 55s     

2016-06-04 03:39:10 (889 KB/s) - ‘/usr/portage/distfiles/opera-stable_37.0.2178.54_i386.deb’ saved [50175044/50175044]

 * opera-stable_37.0.2178.54_i386.deb SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                              [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.6.0-gentoo/build
 * Found sources for kernel version:
 *     4.6.0-gentoo
>>> Unpacking source...
>>> Unpacking opera-stable_37.0.2178.54_i386.deb to /var/tmp/portage/www-client/opera-37.0.2178.54/work
>>> Unpacking data.tar.xz to /var/tmp/portage/www-client/opera-37.0.2178.54/work
>>> Source unpacked in /var/tmp/portage/www-client/opera-37.0.2178.54/work
>>> Preparing source in /var/tmp/portage/www-client/opera-37.0.2178.54/work ...
mv: cannot stat 'usr/lib/x86_64-linux-gnu': No such file or directory
 * ERROR: www-client/opera-37.0.2178.54::gentoo failed (prepare phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 133:  Called src_prepare
 *   environment, line 3222:  Called die
 * The specific snippet of code:
 *       mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die;
 *
 * If you need support, post the output of `emerge --info '=www-client/opera-37.0.2178.54::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/opera-37.0.2178.54::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/opera-37.0.2178.54/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/opera-37.0.2178.54/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/opera-37.0.2178.54/work'
 * S: '/var/tmp/portage/www-client/opera-37.0.2178.54/work'

>>> Failed to emerge www-client/opera-37.0.2178.54, Log file:

>>>  '/var/tmp/portage/www-client/opera-37.0.2178.54/temp/build.log'

 * Messages for package www-client/opera-37.0.2178.54:

 * ERROR: www-client/opera-37.0.2178.54::gentoo failed (prepare phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 133:  Called src_prepare
 *   environment, line 3222:  Called die
 * The specific snippet of code:
 *       mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die;
 *
 * If you need support, post the output of `emerge --info '=www-client/opera-37.0.2178.54::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/opera-37.0.2178.54::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/opera-37.0.2178.54/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/opera-37.0.2178.54/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/opera-37.0.2178.54/work'
 * S: '/var/tmp/portage/www-client/opera-37.0.2178.54/work'
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Sun Jun 05, 2016 7:22 pm    Post subject: Reply with quote

Maybe ebuild bug?
If I look on ebuild I see in src_prepare function
Code:
...
mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die
...

I think that the correct code is:
Code:
...
if use amd64; then
    mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die
else
    mv usr/lib/i386-linux-gnu usr/$(get_libdir) || die
fi
...

_________________
Questions are guaranteed in life; Answers aren't.
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