Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed global update [emerging x11-libs/cairo-1.12.14-r4]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Xploderman90
n00b
n00b


Joined: 27 Aug 2012
Posts: 57

PostPosted: Tue Sep 03, 2013 4:49 pm    Post subject: Failed global update [emerging x11-libs/cairo-1.12.14-r4] Reply with quote

Hi all,

I was updating the system, by giving

'emerge --update --deep --with-bdeps=y --newuse world'

but it blocks when emerging cairo, giving this error:
/usr/lib32/libGL.so: could not read symbols: File in wrong format

I have searched in the web and I have understood that this error happens because of problems with multilib or some kind of broken dependencies with 32 libs (maybe i don't have understood anything :D )

I have also tried to put "amd64" in make.conf, then retrying but it was useless.

This is the output of : emerge --info '=x11-libs/cairo-1.12.14-r4'
Code:

Portage 2.1.12.2 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.10.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:     8114404 total,   4765520 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Tue, 03 Sep 2013 14:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=corei7 -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="-O2 -march=corei7 -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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://de-mirror.org/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline savedconfig sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


If i'm forgetting something, excuse me in advance!! :D

(Obviously thanks in advance too)
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1520

PostPosted: Tue Sep 03, 2013 6:06 pm    Post subject: Reply with quote

Hi!

Quote:
/usr/lib32/libGL.so
is from
Quote:
emul-linux-x86-opengl
Reinstall it:
Code:
emerge -v --oneshot emul-linux-x86-opengl
Then try emerge --update...
Back to top
View user's profile Send private message
Xploderman90
n00b
n00b


Joined: 27 Aug 2012
Posts: 57

PostPosted: Tue Sep 03, 2013 6:31 pm    Post subject: Reply with quote

Whoa it was really so simple....solved!! :D

Next time it will not get me!

Thanks :P
Back to top
View user's profile Send private message
hadisarabi
n00b
n00b


Joined: 28 Aug 2013
Posts: 2

PostPosted: Thu Nov 14, 2013 9:42 pm    Post subject: x11-libs/xpyb-1.3.1-r2 emerge error Reply with quote

Hi;

Gnome 3.8 want to install x11-libs/xpyb-1.3.1-r2 package but it failed to emerge with KeyError: 'int64_t'.

I modify the py_client.py file of xpyb-1.3.1-r2.tar.bz2 in /usr/portage/distfiles.

But when i emerge this package again emerge want to download it and don`t use existing package in distfiles.

Code:
#tar -jxvpf xpyb-1.3.1.tar.bz2


Quote:
xpyb-1.3.1/src/


Code:
#vim py_client.py


add this line in "cardinal_types" section:
Code:
'INT64': 'i', 'int64_t': 'i',


and save it and zip the xpyb-1.3.1 folder

Code:
tar -cvjf xpyb-1.3.1.tar.bz2 xpyb-1.3.1


Code:
#cp xpyb-1.3.1.tar.bz2  /usr/portage/distfiles


Code:
#emerge -av x11-libs/xpyb


Any idea for this...
Thank you.
Back to top
View user's profile Send private message
Kobboi
l33t
l33t


Joined: 29 Jul 2005
Posts: 672
Location: Belgium

PostPosted: Fri Nov 15, 2013 1:29 pm    Post subject: Reply with quote

That will not work since the hash of the tarball will not match the hash mentioned in the Portage tree. A proper way would be to create a local overlay and copy the ebuild into it, with an additional call to epatch in src_prepare(). Or, if the package supports epatch_user, use that. Google/IRC will help you along the way.
Back to top
View user's profile Send private message
sandro.grm
n00b
n00b


Joined: 08 May 2011
Posts: 9
Location: Slovenia

PostPosted: Sat Nov 16, 2013 11:29 pm    Post subject: Reply with quote

modify /var/tmp/portage/x11-libs/xpyb-1.3.1-r2/work/xpyb-1.3.1/src/py_client.py
cd /usr/portage/x11-libs/xpyb
ebuild xpyb-1.3.1-r2.ebuid compile
ebuild xpyb-1.3.1-r2.ebuid install
ebuild xpyb-1.3.1-r2.ebuid qmerge

this will install corrected working version and you can proceede on with instalation ( ebuild ... fetch is a problem, does the clean and untar of package)
try: "man ebuild" to grasp the emerge philosophy

cheers, SG
Back to top
View user's profile Send private message
AntiPythagoras
n00b
n00b


Joined: 19 Nov 2013
Posts: 1

PostPosted: Tue Nov 19, 2013 8:58 am    Post subject: Reply with quote

Hi,
I had the same problem this morning.

My patch file: /etc/portage/patches/x11-libs/xpyb-1.3.1-r2/int64.patch

Code:

--- src/py_client.py.orig   2012-03-23 22:24:40.000000000 +0100
+++ src/py_client.py   2013-11-19 10:35:07.130304643 +0100
@@ -19,6 +19,7 @@
                    'INT8':   'b', 'int8_t':  'b',
                    'INT16':  'h', 'int16_t': 'h',
                    'INT32':  'i', 'int32_t': 'i',
+         'INT64':  'i', 'int64_t' : 'i',
                    'BYTE': 'B',
                    'BOOL': 'B',
                    'char': 'b',


You might have to activate user_patch in /etc/portage/bashrc .
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Tue Nov 19, 2013 8:32 pm    Post subject: Reply with quote

Just wanted to emerge hplip, which installs xpyb as dependency and stumbled over this error.
The patch pointed out above doesn't work for me.
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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