View previous topic :: View next topic |
Author |
Message |
sLumpia Tux's lil' helper
Joined: 10 Jul 2006 Posts: 120 Location: troller land
|
Posted: Fri Aug 24, 2007 6:44 pm Post subject: is this expat too? [solved] |
|
|
i just did a fresh install. all compile just fine, i got my Gentoo box run kde perfectly fine.
openofiice also run fine, but when i ran openoffice from konsol, it gives me this error (openoffice still running though):
Code: |
$ oowriter
(process:8271): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function
(process:8271): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
(process:8271): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function
(process:8271): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
(process:8271): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function
(process:8271): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
|
and then i cross to this weird problem. it seems that now i can't emerge anything. every package seems to failed.
then i read this expat thing here, here, and other threads.
i start to thinking that it maybe expat bug. then i start to follow the instruction on those thread:
Voltago wrote: | Code: |
#first, expat itself
emerge -u1 expat
#now some basic libraries that are needed for building stuff
emerge -1 gettext XML-Parser
#clean out old revdep-rebuild data
rm /root/.revdep*
#now, rebuild everything else that is broken
revdep-rebuild -Xp
revdep-rebuild -X
|
|
kernelOfTruth wrote: |
to get most apps running again install
Code: | emerge -1 gettext XML-Parser curl |
and obey the hints at the end of their installation
then
Code: | emerge -1 fontconfig pango gtk+ |
after that execute:
Code: | revdep-rebuild -X --library libexpat.so.0 -i |
|
none of this solution work!
Code: |
root ~ # emerge -1 expat
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) dev-libs/expat-2.0.1 to /
* expat-2.0.1.tar.gz MD5 ;-) ... [ ok ]
* expat-2.0.1.tar.gz RMD160 ;-) ... [ ok ]
* expat-2.0.1.tar.gz SHA1 ;-) ... [ ok ]
* expat-2.0.1.tar.gz SHA256 ;-) ... [ ok ]
* expat-2.0.1.tar.gz size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking expat-2.0.1.tar.gz ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking expat-2.0.1.tar.gz to /var/tmp/portage/dev-libs/expat-2.0.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-libs/expat-2.0.1/work/expat-2.0.1 ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-libs/expat-2.0.1
>>> Install expat-2.0.1 into /var/tmp/portage/dev-libs/expat-2.0.1/image/ category dev-libs
make: *** No rule to make target `install'. Stop.
!!! ERROR: dev-libs/expat-2.0.1 failed.
Call stack:
ebuild.sh, line 1632: Called dyn_install
ebuild.sh, line 1077: Called qa_call 'src_install'
ebuild.sh, line 44: Called src_install
expat-2.0.1.ebuild, line 20: Called die
!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-libs/expat-2.0.1/temp/build.log'. |
Code: |
root ~ # emerge -1 gettext XML-Parser curl
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 3) sys-devel/gettext-0.16.1 to /
* gettext-0.16.1.tar.gz MD5 ;-) ... [ ok ]
* gettext-0.16.1.tar.gz RMD160 ;-) ... [ ok ]
* gettext-0.16.1.tar.gz SHA1 ;-) ... [ ok ]
* gettext-0.16.1.tar.gz SHA256 ;-) ... [ ok ]
* gettext-0.16.1.tar.gz size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking gettext-0.16.1.tar.gz ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking gettext-0.16.1.tar.gz to /var/tmp/portage/sys-devel/gettext-0.16.1/work
* Removing useless C++ checks ... [ ok ]
* Applying gettext-0.14.1-lib-path-tests.patch ... [ ok ]
* Applying gettext-0.14.2-fix-race.patch ... [ ok ]
* Applying gettext-0.15-expat-no-dlopen.patch ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1 ...
* QA Notice: USE Flag 'elibc_glibc' not in IUSE for sys-devel/gettext-0.16.1
!!! ERROR: sys-devel/gettext-0.16.1 failed.
Call stack:
ebuild.sh, line 1632: Called dyn_compile
ebuild.sh, line 983: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
gettext-0.16.1.ebuild, line 53: Called econf '--docdir=/usr/share/doc/gettext-0.16.1' '--without-emacs' '--disable-java' '--without-included-gettext' '--disable-nls'
ebuild.sh, line 589: Called die
!!! configure is not executable
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-devel/gettext-0.16.1/temp/build.log'.
|
Code: | root ~ # emerge -1 fontconfig
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) media-libs/fontconfig-2.4.2 to /
* fontconfig-2.4.2.tar.gz MD5 ;-) ... [ ok ]
* fontconfig-2.4.2.tar.gz RMD160 ;-) ... [ ok ]
* fontconfig-2.4.2.tar.gz SHA1 ;-) ... [ ok ]
* fontconfig-2.4.2.tar.gz SHA256 ;-) ... [ ok ]
* fontconfig-2.4.2.tar.gz size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking fontconfig-2.4.2.tar.gz ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking fontconfig-2.4.2.tar.gz to /var/tmp/portage/media-libs/fontconfig-2.4.2/work
* Applying fontconfig-2.3.2-docbook.patch ... [ ok ]
* Running eautoreconf in '/var/tmp/portage/media-libs/fontconfig-2.4.2/work/fontconfig-2.4.2' ...
* Running aclocal ... [ ok ]
* Running libtoolize --copy --force --automake ... [ ok ]
* Running aclocal ... [ ok ]
* Running autoconf ... [ ok ]
* Running autoheader ... [ ok ]
* Running automake --add-missing --copy ... [ ok ]
* Running elibtoolize in: fontconfig-2.4.2
* Applying sed-1.5.6.patch ...
* Removing useless C++ checks ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-libs/fontconfig-2.4.2/work/fontconfig-2.4.2 ...
!!! ERROR: media-libs/fontconfig-2.4.2 failed.
Call stack:
ebuild.sh, line 1632: Called dyn_compile
ebuild.sh, line 983: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
fontconfig-2.4.2.ebuild, line 41: Called econf '--disable-docs' '--disable-docbook' '--localstatedir=/var' '--with-docdir=/usr/share/doc/fontconfig-2.4.2' '--with-default-fonts=/usr/share/fonts' '--with-add-fonts=/usr/local/share/fonts,/usr/X11R6/lib/X11/fonts' '--enable-libxml2'
ebuild.sh, line 589: Called die
!!! configure is not executable
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-libs/fontconfig-2.4.2/temp/build.log'.
|
Code: |
root ~ # revdep-rebuild
Configuring search environment for revdep-rebuild
Checking reverse dependencies...
Packages containing binaries and libraries broken by a package update
will be emerged.
Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)
Checking dynamic linking consistency...
done.
(/root/.revdep-rebuild.3_rebuild)
Assigning files to ebuilds... Nothing to rebuild
Evaluating package order... done.
(/root/.revdep-rebuild.5_order)
Dynamic linking on your system is consistent... All done.
|
Code: |
root ~ # revdep-rebuild -X --library libexpat.so.0 -i
Configuring search environment for revdep-rebuild
Checking reverse dependencies...
Packages containing binaries and libraries using libexpat.so.0
will be emerged.
Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Checking dynamic linking...
done.
(/root/.revdep-rebuild_77938876.3_rebuild)
Assigning files to packages...
done.
(/root/.revdep-rebuild_77938876.4_packages_raw, /root/.revdep-rebuild_77938876.4_package_owners)
Cleaning list of packages to rebuild... done.
(/root/.revdep-rebuild_77938876.4_packages)
Assigning packages to ebuilds... Nothing to rebuild
Evaluating package order... done.
(/root/.revdep-rebuild_77938876.5_order)
There are no dynamic links to libexpat.so.0... All done.
|
this is my emerge --info:
Code: |
$ emerge --info
Portage 2.1.2.11 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4 i686)
=================================================================
System uname: 2.6.21-gentoo-r4 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 16 Aug 2007 01:47:01 +0000
ccache version 2.4 [enabled]
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.61
sys-devel/automake: 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -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/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /usr/X11R6/bin/startx"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/home/distfiles"
FEATURES="ccache distlocks metadata-transfer prelink sandbox sfperms strict"
GENTOO_MIRRORS="pinguin.stttelkom.ac.id/gentoo komo.padinet.com/gentoo kambing.ui.edu/gentoo gentoo.osuosl.org"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -s"
LINGUAS="en_US"
MAKEOPTS="-j1"
PKGDIR="/home/distfiles"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa arts bash-completion bzip2 cairo cups dbus dvd dvdread encode fam gpm hal imlib jpeg kde kerberos lm_sensors mad mmx mp3 mpeg nptl ogg opengl png ppds qt3 qt3support qt4 readline scanner sdl sse truetype udev unicode usb vorbis x86 xml xv zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="dmix" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
is this expat 2.0.x problem too?
if it's not, what is this?
thanks
ps, sorry for my bad english _________________ I love it
Last edited by sLumpia on Sat Aug 25, 2007 8:45 am; edited 2 times in total |
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Fri Aug 24, 2007 7:18 pm Post subject: |
|
|
No, it couldn't be expat, because you never installed expat-2.0.1; it failed. Something's either very messed up with one or more of the autotools: libtool, autoconf, automake, etc or some other weirdness is afoot. Do you have /var on a separate partition that's being mounted with the noexec option or something? _________________ Thomas S. Howard |
|
Back to top |
|
|
sLumpia Tux's lil' helper
Joined: 10 Jul 2006 Posts: 120 Location: troller land
|
Posted: Fri Aug 24, 2007 7:49 pm Post subject: |
|
|
i do have expat:
Code: |
emerge -pv expat
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-libs/expat-2.0.1 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
|
i did have /var on separate partition, but on fstab i put defaults option. the dafaults option already have exec option in it, didn't it? _________________ I love it |
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Fri Aug 24, 2007 8:13 pm Post subject: |
|
|
Well, it wasn't clear. The way it looked from the post was as if you had attempted to install expat, but it failed. Apparently, you updated succesfully, so that's fine. What's happening now is definitely something else. Can you emerge anything at all? Hmm, alright, a couple stabs in the dark:
1. Post the output of this:
Code: |
grep var /proc/mounts
|
and:
2. The same for this:
_________________ Thomas S. Howard |
|
Back to top |
|
|
sLumpia Tux's lil' helper
Joined: 10 Jul 2006 Posts: 120 Location: troller land
|
Posted: Fri Aug 24, 2007 8:16 pm Post subject: |
|
|
wow, thanks for the fast reply.
Code: |
# grep var /proc/mounts
/dev/hdb5 /var ext2 rw,nosuid,nodev,noexec,noatime 0 0
|
Code: |
# ls -ld /var/tmp/
drwxrwxrwt 11 root root 2048 2007-08-25 03:10 /var/tmp/
|
--edited--
well it seem that my /var patition have noexec option. it this the cause? _________________ I love it |
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Fri Aug 24, 2007 8:33 pm Post subject: |
|
|
Yeah, I'm pretty sure that's it. You can just do this:
Code: |
mount -o remount var
|
after changing fstab (if it needs to be changed). I just use this myself:
Code: |
/dev/vg0/var /var ext3 noatime 0 2
|
_________________ Thomas S. Howard |
|
Back to top |
|
|
sLumpia Tux's lil' helper
Joined: 10 Jul 2006 Posts: 120 Location: troller land
|
Posted: Fri Aug 24, 2007 8:37 pm Post subject: |
|
|
i try to put exec option on my fstab
Code: |
/dev/hdb5 /var ext2 defaults,exec,noatime,users 0 2
|
but it didn't go well:
Code: |
# grep var /proc/mounts
/dev/hdb5 /var ext2 rw,nosuid,nodev,noexec,noatime 0 0
|
what's wrong? is ext2 not executable? _________________ I love it |
|
Back to top |
|
|
Rob1n l33t
Joined: 29 Nov 2003 Posts: 714 Location: Cambridge, UK
|
Posted: Fri Aug 24, 2007 8:49 pm Post subject: |
|
|
By default "users" forces noexec (unless overriden afterwards). Why do you need users to be able to mount/unmount the /var partition? If you really do, then move the exec option to the end, after the users option. |
|
Back to top |
|
|
sLumpia Tux's lil' helper
Joined: 10 Jul 2006 Posts: 120 Location: troller land
|
Posted: Fri Aug 24, 2007 8:54 pm Post subject: |
|
|
oh, i'm sorry. it's my fault.
on my previous gentoo, i need to use /var, because my /home full. i have a bad partition scheme.
btw, anybody know what is cause of my openoffice error messages?
Code: |
$ oowriter
(process:8271): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function
(process:8271): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
(process:8271): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function
(process:8271): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
(process:8271): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function
(process:8271): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed |
thanks
---edited---
well i think open office error messages is not relevan to the main problem, i will mark this thread solved now.
thanks. _________________ I love it |
|
Back to top |
|
|
|
|
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
|
|