Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrade to expat-2.0.x needs revdep-rebuild
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 11, 12, 13 ... 18, 19, 20  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ascendancy
n00b
n00b


Joined: 05 Sep 2007
Posts: 2

PostPosted: Wed Sep 05, 2007 1:26 pm    Post subject: Reply with quote

I've resolved this issue for me by re-emerging gnome-doc-utils following the advice on this guide:

http://www.gentoo.org/proj/en/desktop/gnome/howtos/gnome-2.12-upgrade.xml


coogy wrote:
Has anyone got access violation problems in trying to resolve the expat issues.

Following a revdep-rebuild for expat lots of stuff (mainly gnome) won't rebuild.

Code:

usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libXtst.so /usr/lib/libXext.so /usr/lib/libstartup-notification-1.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl
creating totem-plugin-viewer
make[4]: Leaving directory `/var/tmp/portage/media-video/totem-2.18.2/work/totem-2.18.2/browser-plugin'
make[3]: Leaving directory `/var/tmp/portage/media-video/totem-2.18.2/work/totem-2.18.2/browser-plugin'
make[2]: Leaving directory `/var/tmp/portage/media-video/totem-2.18.2/work/totem-2.18.2/browser-plugin'
make[2]: Entering directory `/var/tmp/portage/media-video/totem-2.18.2/work/totem-2.18.2'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/media-video/totem-2.18.2/work/totem-2.18.2'
make[1]: Leaving directory `/var/tmp/portage/media-video/totem-2.18.2/work/totem-2.18.2'
>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-media-video_-_totem-2.18.2-26666.log"

unlink:    /usr/share/xml2po/docbook.pyc
unlink:    /usr/share/xml2po/docbook.pyc
unlink:    /usr/share/xml2po/docbook.pyc
unlink:    /usr/share/xml2po/docbook.pyc
unlink:    /usr/share/xml2po/docbook.pyc
unlink:    /usr/share/xml2po/docbook.pyc
unlink:    /usr/share/xml2po/docbook.pyc
unlink:    /usr/share/xml2po/docbook.pyc
--------------------------------------------------------------------------------


gnome-desktop epiphany gedit apache... some problem with linking ?

Code:

            cp totem.xml.tmp totem.xml && rm -f totem.xml.tmp)
ACCESS DENIED  unlink:    /usr/share/xml2po/docbook.pyc
Making all in bg
make[3]: Entering directory `/var/tmp/portage/media-video/totem-2.18.2/work/totem-2.18.2/help/bg'
for file in totem-bg.omf; do \
          scrollkeeper-preinstall /usr/share/gnome/help/totem/bg/totem.xml ./$file $file.out; \
        done
touch omf_timestamp
make[3]: Leaving directory `/var/tmp/portage/media-video/totem-2.18.2/work/totem-2.18.2/help/bg'
make[3]: Entering directory `/var/tmp/portage/media-video/totem-2.18.2/work/totem-2.18.2/help'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/media-video/totem-2.18.2/work/totem-2.18.2/help'
if ! test -d fr/; then mkdir fr/; fi
case "." in /*) sd=".";; *) sd="../.";; esac; \
        if [ -f "C/totem.xml" ]; then d="../"; else d="$sd/"; fi; \
        (cd fr/ && \
          `which xml2po` -e -p \
            "${d}fr/fr.po" \
            "${d}C/totem.xml" > totem.xml.tmp && \
            cp totem.xml.tmp totem.xml && rm -f totem.xml.tmp)
ACCESS DENIED  unlink:    /usr/share/xml2po/docbook.pyc
ACCESS DENIED  unlink:    /usr/share/xml2po/docbook.pyc
if ! test -d pa/; then mkdir pa/; fi
case "." in /*) sd=".";; *) sd="../.";; esac; \
        if [ -f "C/totem.xml" ]; then d="../"; else d="$sd/"; fi; \
        (cd pa/ && \
          `which xml2po` -e -p \
            "${d}pa/pa.po" \
            "${d}C/totem.xml" > totem.xml.tmp && \
            cp totem.xml.tmp totem.xml && rm -f totem.xml.tmp)
ACCESS DENIED  unlink:    /usr/share/xml2po/docbook.pyc
if ! test -d pt_BR/; then mkdir pt_BR/; fi
case "." in /*) sd=".";; *) sd="../.";; esac; \
        if [ -f "C/totem.xml" ]; then d="../"; else d="$sd/"; fi; \
        (cd pt_BR/ && \
          `which xml2po` -e -p \


I've followed the advice on the board (the qfile script, emerging gettext and doing a revdep-rebuild (which didn't link with anything)
general revdep-rebuild etc. but still no move on the last ten things to emerge.


EDIT: Just in case anyone else has this prob i got over it by renaming all things docbook under /usr/share/xml2po to foo.docbook. Everything compiled nicely. I'm hoping that the docbook angle is only docs layout (-docs in make.conf :) )
Back to top
View user's profile Send private message
cazort
Guru
Guru


Joined: 19 Sep 2004
Posts: 343
Location: Lancaster, PA

PostPosted: Wed Sep 05, 2007 8:48 pm    Post subject: Reply with quote

I finished running revdep-rebuild and my system is still b0rked. I am able to run all the essential programs, and I can even run kde manually by running kwin, kicker, and kdesktop (all I use).

But KDE won't boot. It hangs on the "Loading desktop" part of the boot process. Also, I can't run the initscript to restart xdm (I am using kdm); it gives me an error "Division by Zero" which I could not find in google.

revdep-rebuild lists a ton of broken libraries which are "not owned by any package" and I have no clue what to do about them. Then it says: "Dynamic linking on your system is consistent...all done" and doesn't want to emerge anything.

Any clues?
_________________
Alex Zorach | Teacology | RateTea | Why This Way
Back to top
View user's profile Send private message
cazort
Guru
Guru


Joined: 19 Sep 2004
Posts: 343
Location: Lancaster, PA

PostPosted: Wed Sep 05, 2007 10:08 pm    Post subject: Reply with quote

ahh, i finally fixed it! re-emerged startkde (although I will never know what/why anything was broken)
_________________
Alex Zorach | Teacology | RateTea | Why This Way
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Thu Sep 06, 2007 8:56 pm    Post subject: Reply with quote

I thought everything was fixed :( apache2 still not working. Any idea what to rebuild to fix it ?

I have done the expat, xml-parser, get-text and the whole script by mzbot.

Strangely after rebuilding apache, ldd shows links to both version:

Quote:
ldd /usr/sbin/apache2
libz.so.1 => /lib/libz.so.1 (0x00002b95c695b000)
libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00002b95c6a6f000)
libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00002b95c6bb5000)
libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x00002b95c6e27000)
libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0x00002b95c6f3f000)
libdb-4.5.so => /usr/lib/libdb-4.5.so (0x00002b95c7044000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00002b95c7261000)
libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x00002b95c7384000)
librt.so.1 => /lib/librt.so.1 (0x00002b95c74a8000)
libm.so.6 => /lib/libm.so.6 (0x00002b95c75b2000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00002b95c7707000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00002b95c783b000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00002b95c7952000)
libdl.so.2 => /lib/libdl.so.2 (0x00002b95c7a6c000)
libc.so.6 => /lib/libc.so.6 (0x00002b95c7b70000)
/lib64/ld-linux-x86-64.so.2 (0x00002b95c683e000)
libexpat.so.0 => not found

_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Thu Sep 06, 2007 10:07 pm    Post subject: Reply with quote

ikshaar wrote:
I thought everything was fixed :( apache2 still not working. Any idea what to rebuild to fix it ?

I had a problem with apache2 also, but not at first because I didn't restart it right away... about a week later BAM no expat library found. HAHA.

turns outs that BOTH versions of apr-util I have on my server needed to be rebuilt.
revdep-rebuild -X found 1 but left the other, revdep-rebuild by itself found the 2nd after the first was recompiled. After both were recompiled, apache2 started up fine. Of course, i emerged apache in the mean time and that overwrote my default vhost conf but that's another story.
Code:
emerge -av =apr-util-0.9.12-r1 =apr-util-1.2.8

do an 'equery list apr-util' if the version numbers don't match.
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 9289

PostPosted: Fri Sep 07, 2007 3:27 am    Post subject: Reply with quote

ikshaar wrote:
Strangely after rebuilding apache, ldd shows links to both version:
What does the output of ldd -u /usr/sbin/apache2 and, more importantly, ldd -v /usr/sbin/apache2 indicate?
Back to top
View user's profile Send private message
santaclaws
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 161
Location: Deeper Underground

PostPosted: Thu Sep 13, 2007 9:45 am    Post subject: Reply with quote

Finally I could not get expat2 to work properly :evil: so I masked this version and recompiled expat1, did a revdep-rebuild (which took a very long time) and - voila: things work as they should.

:wink:
_________________
Software is like sex. It is better when ist is free.
Back to top
View user's profile Send private message
Polynomial-C
Developer
Developer


Joined: 01 Jun 2003
Posts: 1426
Location: germany

PostPosted: Thu Sep 13, 2007 12:56 pm    Post subject: Reply with quote

santaclaws wrote:
Finally I could not get expat2 to work properly :evil: so I masked this version and recompiled expat1, did a revdep-rebuild (which took a very long time) and - voila: things work as they should.

:wink:


And what do you do when the first packages stop compiling with expat-1?
_________________
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
santaclaws
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 161
Location: Deeper Underground

PostPosted: Thu Sep 13, 2007 1:15 pm    Post subject: Reply with quote

Polynomial-C wrote:
santaclaws wrote:
Finally I could not get expat2 to work properly :evil: so I masked this version and recompiled expat1, did a revdep-rebuild (which took a very long time) and - voila: things work as they should.

:wink:


And what do you do when the first packages stop compiling with expat-1?


Actually I am using dev-libs/expat-1.95.8 again therefore I masked expat >=2.0.0.

I know that this is not the very best solution but I could not solve the issues that were associated with expat-2.0.0.

Revdep-rebuild could not help either.

Example:

Code:


 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new /root/.revdep-rebuild.1_files

 * Collecting complete LD_LIBRARY_PATH
 * Generated new /root/.revdep-rebuild.2_ldpath

 * Checking dynamic linking consistency
[ 7% ]  *   broken /usr/bin/dbus-viewer (requires libexpat.so.0)
[ 11% ]  *   broken /usr/bin/gfloppy (requires libexpat.so.0)
[ 11% ]  *   broken /usr/bin/gimp-2.2 (requires libexpat.so.0)
[ 12% ]  *   broken /usr/bin/gnomesu (requires libexpat.so.0)
[ 13% ]  *   broken /usr/bin/gparted (requires libparted-1.7.so.1)
[ 26% ]  *   broken /usr/bin/shares-admin (requires libexpat.so.0)
[ 61% ]  *   broken /usr/lib/libfontconfig.so.1.0.4 (requires libexpat.so.0)
[ 62% ]  *   broken /usr/lib/libgdk-x11-2.0.so.0.1000.6 (requires libexpat.so.0)
[ 63% ]  *   broken /usr/lib/libgnomeprint/2.12.1/modules/transports/libgnomeprint-custom.so (requires libexpat.so.0)
[ 63% ]  *   broken /usr/lib/libgnomeprint/2.12.1/modules/transports/libgnomeprint-file.so (requires libexpat.so.0)
[ 63% ]  *   broken /usr/lib/libgnomeprint/2.12.1/modules/transports/libgnomeprint-lpr.so (requires libexpat.so.0)
[ 67% ]  *   broken /usr/lib/libneon.so.26.0.1 (requires libexpat.so.0)
[ 68% ]  *   broken /usr/lib/libpangocairo-1.0.so.0.1400.9 (requires libexpat.so.0)
[ 68% ]  *   broken /usr/lib/libpangoft2-1.0.so.0.1400.9 (requires libexpat.so.0)
[ 68% ]  *   broken /usr/lib/libpangoxft-1.0.so.0.1400.9 (requires libexpat.so.0)
[ 70% ]  *   broken /usr/lib/libvte.so.9.1.6 (requires libexpat.so.0)
[ 71% ]  *   broken /usr/lib/libwx_baseu_xml-2.6.so.0.2.0 (requires libexpat.so.0)
[ 71% ]  *   broken /usr/lib/libwx_base_xml-2.6.so.0.2.0 (requires libexpat.so.0)
[ 71% ]  *   broken /usr/lib/libwx_gtk2_gizmos_xrc-2.6.so.0.2.0 (requires libexpat.so.0)
[ 71% ]  *   broken /usr/lib/libwx_gtk2_qa-2.6.so.0.2.0 (requires libexpat.so.0)
[ 71% ]  *   broken /usr/lib/libwx_gtk2u_gizmos_xrc-2.6.so.0.2.0 (requires libexpat.so.0)
[ 71% ]  *   broken /usr/lib/libwx_gtk2u_qa-2.6.so.0.2.0 (requires libexpat.so.0)
[ 71% ]  *   broken /usr/lib/libwx_gtk2u_xrc-2.6.so.0.2.0 (requires libexpat.so.0)
[ 71% ]  *   broken /usr/lib/libwx_gtk2_xrc-2.6.so.0.2.0 (requires libexpat.so.0)
[ 97% ]  *   broken /usr/sbin/ab2 (requires libexpat.so.0)
[ 97% ]  *   broken /usr/sbin/ab2-ssl (requires libexpat.so.0)
[ 97% ]  *   broken /usr/sbin/apache2 (requires libexpat.so.0)
[ 97% ]  *   broken /usr/sbin/checkgid2 (requires libexpat.so.0)
[ 97% ]  *   broken /usr/sbin/htdbm (requires libexpat.so.0)
[ 97% ]  *   broken /usr/sbin/htdigest2 (requires libexpat.so.0)
[ 97% ]  *   broken /usr/sbin/htpasswd2 (requires libexpat.so.0)
[ 97% ]  *   broken /usr/sbin/httxt2dbm (requires libexpat.so.0)
[ 98% ]  *   broken /usr/sbin/logresolve2 (requires libexpat.so.0)
[ 99% ]  *   broken /usr/sbin/rotatelogs2 (requires libexpat.so.0)
[ 100% ]                 
 * Generated new /root/.revdep-rebuild.3_rebuild

 * Assigning files to packages
 *  !!! /usr/bin/dbus-viewer not owned by any package is broken !!!
 * -n -e
  /usr/bin/dbus-viewer -> (none)
 *  !!! /usr/bin/gfloppy not owned by any package is broken !!!
 * -n -e
  /usr/bin/gfloppy -> (none)
 *  !!! /usr/bin/gimp-2.2 not owned by any package is broken !!!
 * -n -e
  /usr/bin/gimp-2.2 -> (none)
 *  !!! /usr/bin/gnomesu not owned by any package is broken !!!
 * -n -e
  /usr/bin/gnomesu -> (none)
 *   /usr/bin/gparted -> sys-block/gparted
 *  !!! /usr/bin/shares-admin not owned by any package is broken !!!
 * -n -e
  /usr/bin/shares-admin -> (none)
 *  !!! /usr/lib/libfontconfig.so.1.0.4 not owned by any package is broken !!!
 * -n -e
  /usr/lib/libfontconfig.so.1.0.4 -> (none)
 *  !!! /usr/lib/libgdk-x11-2.0.so.0.1000.6 not owned by any package is broken !!!
 * -n -e
  /usr/lib/libgdk-x11-2.0.so.0.1000.6 -> (none)
 *  !!! /usr/lib/libgnomeprint/2.12.1/modules/transports/libgnomeprint-custom.so not owned by any package is broken !!!
 * -n -e
  /usr/lib/libgnomeprint/2.12.1/modules/transports/libgnomeprint-custom.so -> (none)
 *  !!! /usr/lib/libgnomeprint/2.12.1/modules/transports/libgnomeprint-file.so not owned by any package is broken !!!
 * -n -e
  /usr/lib/libgnomeprint/2.12.1/modules/transports/libgnomeprint-file.so -> (none)
 *  !!! /usr/lib/libgnomeprint/2.12.1/modules/transports/libgnomeprint-lpr.so not owned by any package is broken !!!
 * -n -e
  /usr/lib/libgnomeprint/2.12.1/modules/transports/libgnomeprint-lpr.so -> (none)
 *  !!! /usr/lib/libneon.so.26.0.1 not owned by any package is broken !!!
 * -n -e
  /usr/lib/libneon.so.26.0.1 -> (none)
 *  !!! /usr/lib/libpangocairo-1.0.so.0.1400.9 not owned by any package is broken !!!
 * -n -e
  /usr/lib/libpangocairo-1.0.so.0.1400.9 -> (none)
 *  !!! /usr/lib/libpangoft2-1.0.so.0.1400.9 not owned by any package is broken !!!
 * -n -e
  /usr/lib/libpangoft2-1.0.so.0.1400.9 -> (none)
 *  !!! /usr/lib/libpangoxft-1.0.so.0.1400.9 not owned by any package is broken !!!
 * -n -e
  /usr/lib/libpangoxft-1.0.so.0.1400.9 -> (none)
 *  !!! /usr/lib/libvte.so.9.1.6 not owned by any package is broken !!!
 * -n -e
  /usr/lib/libvte.so.9.1.6 -> (none)
 *  !!! /usr/lib/libwx_baseu_xml-2.6.so.0.2.0 not owned by any package is broken !!!
 * -n -e
  /usr/lib/libwx_baseu_xml-2.6.so.0.2.0 -> (none)
 *  !!! /usr/lib/libwx_base_xml-2.6.so.0.2.0 not owned by any package is broken !!!
 * -n -e
  /usr/lib/libwx_base_xml-2.6.so.0.2.0 -> (none)
 *  !!! /usr/lib/libwx_gtk2_gizmos_xrc-2.6.so.0.2.0 not owned by any package is broken !!!
 * -n -e
  /usr/lib/libwx_gtk2_gizmos_xrc-2.6.so.0.2.0 -> (none)
 *  !!! /usr/lib/libwx_gtk2_qa-2.6.so.0.2.0 not owned by any package is broken !!!
 * -n -e
  /usr/lib/libwx_gtk2_qa-2.6.so.0.2.0 -> (none)
 *  !!! /usr/lib/libwx_gtk2u_gizmos_xrc-2.6.so.0.2.0 not owned by any package is broken !!!
 * -n -e
  /usr/lib/libwx_gtk2u_gizmos_xrc-2.6.so.0.2.0 -> (none)
 *  !!! /usr/lib/libwx_gtk2u_qa-2.6.so.0.2.0 not owned by any package is broken !!!
 * -n -e
  /usr/lib/libwx_gtk2u_qa-2.6.so.0.2.0 -> (none)
 *  !!! /usr/lib/libwx_gtk2u_xrc-2.6.so.0.2.0 not owned by any package is broken !!!
 * -n -e
  /usr/lib/libwx_gtk2u_xrc-2.6.so.0.2.0 -> (none)
 *  !!! /usr/lib/libwx_gtk2_xrc-2.6.so.0.2.0 not owned by any package is broken !!!
 * -n -e
  /usr/lib/libwx_gtk2_xrc-2.6.so.0.2.0 -> (none)
 *  !!! /usr/sbin/ab2 not owned by any package is broken !!!
 * -n -e
  /usr/sbin/ab2 -> (none)
 *  !!! /usr/sbin/ab2-ssl not owned by any package is broken !!!
 * -n -e
  /usr/sbin/ab2-ssl -> (none)
 *  !!! /usr/sbin/apache2 not owned by any package is broken !!!
 * -n -e
  /usr/sbin/apache2 -> (none)
 *  !!! /usr/sbin/checkgid2 not owned by any package is broken !!!
 * -n -e
  /usr/sbin/checkgid2 -> (none)
 *  !!! /usr/sbin/htdbm not owned by any package is broken !!!
 * -n -e
  /usr/sbin/htdbm -> (none)
 *  !!! /usr/sbin/htdigest2 not owned by any package is broken !!!
 * -n -e
  /usr/sbin/htdigest2 -> (none)
 *  !!! /usr/sbin/htpasswd2 not owned by any package is broken !!!
 * -n -e
  /usr/sbin/htpasswd2 -> (none)
 *  !!! /usr/sbin/httxt2dbm not owned by any package is broken !!!
 * -n -e
  /usr/sbin/httxt2dbm -> (none)
 *  !!! /usr/sbin/logresolve2 not owned by any package is broken !!!
 * -n -e
  /usr/sbin/logresolve2 -> (none)
 *  !!! /usr/sbin/rotatelogs2 not owned by any package is broken !!!
 * -n -e
  /usr/sbin/rotatelogs2 -> (none)
 * Generated new /root/.revdep-rebuild.4_packages_raw and /root/.revdep-rebuild.4_package_owners

 * Cleaning list of packages to rebuild
 * Generated new /root/.revdep-rebuild.4_packages

 * Assigning packages to ebuilds
 * Generated new /root/.revdep-rebuild.4_ebuilds

 * Evaluating package order
 *
 * Warning: Failed to resolve package order.
 * Will merge in arbitrary order
 *
Possible reasons:
- An ebuild is no longer in the portage tree.
- An ebuild is masked, use /etc/portage/packages.keyword
and/or /etc/portage/package.unmask to unmask it
.....

 * All prepared. Starting rebuild
emerge --oneshot -vv =sys-block/gparted-0.3.3
..........

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

Calculating dependencies                           ... done!   
[ebuild   R   ] sys-block/gparted-0.3.3  USE="fat hfs jfs ntfs reiser4 reiserfs xfs -debug" 481 kB

Total: 1 package (1 reinstall), Size of downloads: 481 kB

(..)



I could not get it fixed. :evil: That is why I switched back to expat1.
_________________
Software is like sex. It is better when ist is free.
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Thu Sep 13, 2007 2:18 pm    Post subject: Reply with quote

santaclaws wrote:

Code:

stuff


I could not get it fixed. :evil: That is why I switched back to expat1.

I'm not sure I'm seeing the problem... well, i don't think the problem is expat related.

a lot of those 'not owned' files belong to apache2, what happened with apache2 on your system?

personally, if I was you. here is what I'd do:
1) unmask and build expat2.
2) go one by one though those 'not owned' files and see if an 'equery belongs file_name' can indicate what package they belong to. remerge identified packages as you go.
3) revdep-rebuild -X
4) revdep-rebuild

see how it looks then.
Back to top
View user's profile Send private message
bobber205
Guru
Guru


Joined: 23 Aug 2006
Posts: 561
Location: Oregon

PostPosted: Thu Sep 13, 2007 5:21 pm    Post subject: Reply with quote

Did the expat hell cause apache to miss the php libraries? I had some weird error about a php 5 .so file missing. I rebuilt php and I could start apache.

On another test server I have a weird mod_access.so could not be found error when trying to start apache.

Are these related to expat?
_________________
Never Forget The Expat 2.0!
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Thu Sep 13, 2007 6:10 pm    Post subject: Reply with quote

bobber205 wrote:
Did the expat hell cause apache to miss the php libraries? I had some weird error about a php 5 .so file missing. I rebuilt php and I could start apache.

On another test server I have a weird mod_access.so could not be found error when trying to start apache.

Are these related to expat?

some libraries were apparently missed depending on how you ran revdep-rebuild. their suggested revdep-rebuild -X didn't catch all of my fubar'd deps for apache2, specificaly apr-util. revdep-rebuild -X followed by a revdep-rebuild -i got me sorted.
Back to top
View user's profile Send private message
santaclaws
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 161
Location: Deeper Underground

PostPosted: Fri Sep 14, 2007 10:00 am    Post subject: Reply with quote

jonnevers wrote:
santaclaws wrote:

Code:

stuff


I could not get it fixed. :evil: That is why I switched back to expat1.

I'm not sure I'm seeing the problem... well, i don't think the problem is expat related.

a lot of those 'not owned' files belong to apache2, what happened with apache2 on your system?

personally, if I was you. here is what I'd do:
1) unmask and build expat2.
2) go one by one though those 'not owned' files and see if an 'equery belongs file_name' can indicate what package they belong to. remerge identified packages as you go.
3) revdep-rebuild -X
4) revdep-rebuild

see how it looks then.


Ok. I am going the way you suggested. :D Lets find it out.
_________________
Software is like sex. It is better when ist is free.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Sat Sep 15, 2007 6:07 am    Post subject: Reply with quote

jonnevers wrote:
bobber205 wrote:
Did the expat hell cause apache to miss the php libraries? I had some weird error about a php 5 .so file missing. I rebuilt php and I could start apache.

On another test server I have a weird mod_access.so could not be found error when trying to start apache.

Are these related to expat?

some libraries were apparently missed depending on how you ran revdep-rebuild. their suggested revdep-rebuild -X didn't catch all of my fubar'd deps for apache2, specificaly apr-util. revdep-rebuild -X followed by a revdep-rebuild -i got me sorted.

apache2.2 upgrade requires a rebuild of php and all modules in category www-apache: emerge -1 $(qlist -CI www-apache) dev-lang/php (although bobber has done php already ofc.)
Back to top
View user's profile Send private message
Thesee
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2004
Posts: 138
Location: Belgium

PostPosted: Sun Sep 16, 2007 7:30 pm    Post subject: Reply with quote

Hello all,

I went through the hard way to upgrade expat.
To do so, I followed the proposed method and did an emerge emptytree of system and world (I had to do it anyway as I was upgrading gcc at the same time... I know, a bit crazy :P).
Anyway, after a few days of compiling, everything seems to be fine.
Now, I'd like to install gyachi (Yahoo messenger like with webcam support).
The problem is that it complains about XML_<...> functions, which seems, based on my research, to be related to the expat update.
Here is the output:
Code:
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/roomlist.c:570: undefined reference to `XML_ParserCreate'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/roomlist.c:571: undefined reference to `XML_SetElementHandler'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/roomlist.c:573: undefined reference to `XML_SetCharacterDataHandler'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/roomlist.c:574: undefined reference to `XML_SetUnknownEncodingHandler'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/roomlist.c:575: undefined reference to `XML_SetUserData'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/roomlist.c:577: undefined reference to `XML_GetBuffer'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/roomlist.c:584: undefined reference to `XML_ParseBuffer'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/roomlist.c:572: undefined reference to `XML_SetElementHandler'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/roomlist.c:588: undefined reference to `XML_ParserFree'
sounds.o: In function `load_xml_audibles':
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/sounds.c:138: undefined reference to `XML_ParserCreate'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/sounds.c:139: undefined reference to `XML_SetElementHandler'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/sounds.c:140: undefined reference to `XML_SetCharacterDataHandler'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/sounds.c:141: undefined reference to `XML_SetUnknownEncodingHandler'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/sounds.c:142: undefined reference to `XML_SetUserData'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/sounds.c:143: undefined reference to `XML_GetBuffer'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/sounds.c:148: undefined reference to `XML_ParseBuffer'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/sounds.c:149: undefined reference to `XML_ParserFree'
tuxvironments.o: In function `load_xml_tuxvironments':
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/tuxvironments.c:156: undefined reference to `XML_ParserCreate'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/tuxvironments.c:157: undefined reference to `XML_SetElementHandler'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/tuxvironments.c:158: undefined reference to `XML_SetCharacterDataHandler'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/tuxvironments.c:159: undefined reference to `XML_SetUnknownEncodingHandler'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/tuxvironments.c:160: undefined reference to `XML_SetUserData'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/tuxvironments.c:161: undefined reference to `XML_GetBuffer'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/tuxvironments.c:165: undefined reference to `XML_ParseBuffer'
/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client/tuxvironments.c:166: undefined reference to `XML_ParserFree'
collect2: ld returned 1 exit status
make[2]: *** [gyachi] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-im/gyachi-1.0.5/work/gyachi-1.0.5'
make: *** [all] Error 2

!!! ERROR: net-im/gyachi-1.0.5 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  gyachi-1.0.5.ebuild, line 28:   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/log/portage/net-im:gyachi-1.0.5:20070916-183633.log'.

!!! This ebuild is from an overlay: '/usr/local/portage'

I did:
Code:
revdep-rebuild -X
revdep-rebuild -X --library libexpat.so.0

but nothing was emerged.

So my question is what should I do if I followed the first post of this topic:
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

Thanks for your help.
_________________
How does a UNIX expert have sex?
Unzip; strip; touch; finger; mount; fsck; more; yes; unmount; sleep.
Back to top
View user's profile Send private message
rlittle
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 200

PostPosted: Tue Sep 18, 2007 5:27 am    Post subject: Reply with quote

Have you tried mzbot's power script?
Code:
emerge -n1 '>=portage-2.1.2.12' portage-utils && emerge -qep world | grep --color=never -oFf <(scanelf -plRBF '%F %n' | awk '/libexpat.so.0/{print $1}' | xargs qfile -qC | sort -u; echo -e "libtool\ncurl") | xargs emerge -1


..of course, I would change the last "emerge -1" to "emerge -1p" just to check out what it's finding.
_________________
I need a better signature...
Back to top
View user's profile Send private message
Thesee
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2004
Posts: 138
Location: Belgium

PostPosted: Tue Sep 18, 2007 7:25 pm    Post subject: Reply with quote

rlittle wrote:
Have you tried mzbot's power script?
Code:
emerge -n1 '>=portage-2.1.2.12' portage-utils && emerge -qep world | grep --color=never -oFf <(scanelf -plRBF '%F %n' | awk '/libexpat.so.0/{print $1}' | xargs qfile -qC | sort -u; echo -e "libtool\ncurl") | xargs emerge -1


..of course, I would change the last "emerge -1" to "emerge -1p" just to check out what it's finding.

I just tried it, it pulled 2 packages to emerge: libtool and curl
After emerging them, I tried again to emerge gyachi but had the same error.

If I can't solve this, is it possible to have a workaround? Something like emerging expat1 in a new slot and emerging only gyachi with expat1?

Thanks for your help
_________________
How does a UNIX expert have sex?
Unzip; strip; touch; finger; mount; fsck; more; yes; unmount; sleep.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Tue Sep 18, 2007 10:16 pm    Post subject: Reply with quote

Make sure you're running latest portage: emerge -u portage
You need to do:
revdep-rebuild --library=libcurl.so.3
..after curl (libtool was needed after expat.)

There should have been a message about that; if you find you miss messages (or you're fed up of loads of compiler output that doesn't mean anything/failing packages stopping long emerges) you might want to try update at some point.

HTH.
Back to top
View user's profile Send private message
VforVendetta
n00b
n00b


Joined: 15 Sep 2007
Posts: 3
Location: Land of the Scots

PostPosted: Thu Sep 20, 2007 3:21 pm    Post subject: Re: Upgrade to expat-2.0.x needs revdep-rebuild Reply with quote

Voltago wrote:
Hi all! expat-2 is stable and it causes some ABI breakage. A sensible upgrade path is:
Code:

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


If something fails to build, first try
Code:
emerge -1 gettext XML-Parser
revdep-rebuild -X



Worked perfectly. Everything now seems stable and operational, with KDE now being able to start. Even KDM, which never worked on this system, reemerged first time and set itself up with all of my prior settings (all attempts to set it up) correctly.

5 days of woes, solved in an easy afternoon of emerge operations. Kudos to Voltago.
Back to top
View user's profile Send private message
eno2001
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2006
Posts: 136

PostPosted: Fri Sep 21, 2007 3:35 pm    Post subject: Yet More Expat 2 Issues... Reply with quote

So I decided to bite the bullet and try to work past the Expat 2 problems on some woefully out of date boxes. Especially since I'd worked past them on my laptop at home last month (had to do a whole bunch of weirdness beyond rebuilding gettext, XML-Parser and the revdep-rebuild that everyone suggests. The only real fix for me seemed to be 'emerge -ev world' which took two days!) One of the systems I'm working on right now is my workstation here at work. Every time I try to do 'revdep-rebuild -X --library libexpat.so.0' I get an error saying that '-X' is not a valid emerge option. So I leave the -X off and the error stops, but then after the dependencies are calculated, revdep-bombs with a message saying that there are no builds to satisfy certain packages. OK... so I unmerge the package and start the revdep-rebuild again. Same thing, but this time a different package. After doing this about five times with no end in sight, I also note that the packages it's complaining about are standard GNOME libs and applications. As far as I can tell, these packages are still in Portage. So what's going on? Why am I having to unmerge things that seem to be normal and not unstable?

Code:
All prepared. Starting rebuild...
emerge --oneshot  =x11-apps/xclock-1.0.2 =www-client/epiphany-2.16.3 =x11-terms/gnome-terminal-2.16.1 =app-admin/gnome-system-tools-2.14.0 =gnome-base/libbonoboui-2.16.0 =gnome-base/gnome-panel-2.16.3 =gnome-base/nautilus-2.16.3 =gnome-base/gdm-2.16.4 =gnome-base/gnome-mount-0.4-r5 =gnome-base/gnome-session-2.16.3 =gnome-base/gnome-applets-2.16.2 =gnome-base/gnome-desktop-2.16.3 =gnome-base/libgnomeui-2.18.1 =app-text/tetex-3.0_p1-r3 =app-text/evince-0.6.1-r3 =app-text/ghostscript-esp-8.15.3 =sys-devel/gdb-6.6-r2 =mail-client/evolution-2.8.3-r2 =media-gfx/gthumb-2.8.1 =media-gfx/graphviz-1.16-r1 =media-libs/gst-plugins-base-0.10.11 =media-libs/gstreamer-0.10.14 =sys-apps/hal-0.5.9-r1 =net-im/gaim-1.5.0 =net-misc/vino-2.16.0-r1 =app-office/dia-0.95.1 =app-office/openoffice-2.2.1 =dev-libs/dbus-glib-0.73 =dev-libs/pwlib-1.10.5 =dev-libs/apr-util-0.9.12 =dev-libs/apr-util-1.2.8 =dev-util/dialog-1.1.20070704 =dev-util/subversion-1.3.2-r4 =app-editors/gedit-2.16.2-r1 =media-sound/sound-juicer-2.16.4 =media-video/totem-2.16.5 =gnome-extra/gnome-power-manager-2.16.3 =gnome-extra/libgsf-1.14.3 =gnome-extra/nautilus-cd-burner-2.16.3 =gnome-extra/gtkhtml-2.6.3 =gnome-extra/gnome-utils-2.16.2-r2 =gnome-extra/gucharmap-1.8.0 =gnome-extra/gnome-media-2.16.1 =gnome-extra/gconf-editor-2.16.0 =gnome-extra/gnome-screensaver-2.16.2 =gnome-extra/gnome-games-2.16.3 =gnome-extra/gnome-keyring-manager-2.16.0-r1 =gnome-extra/fast-user-switch-applet-2.16.0 =net-analyzer/gnome-netstatus-2.12.1
..........
Calculating dependencies \
emerge: there are no ebuilds to satisfy "=gnome-extra/gnome-screensaver-2.16.2".


Note that 'gnome-screensaver' is a normal package. Now... I will also point out that one of my co-workers who uses Gentoo (he introduced me to it) doesn't use Gnome, but uses KDE and all the revdep-rebuild stuff works like a charm for him. Does Gnome have more issues?
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Fri Sep 21, 2007 5:27 pm    Post subject: Re: Yet More Expat 2 Issues... Reply with quote

eno2001 wrote:
Code:
Calculating dependencies \
emerge: there are no ebuilds to satisfy "=gnome-extra/gnome-screensaver-2.16.2".

Does Gnome have more issues?

uhm.... NO, to your silly question.

now down to business:
gnome-screensaver-2.16.2 IS NOT IN PORTAGE! gnome-screensaver-2.16.2-r1 is though...

http://www.gentoo-portage.com/gnome-extra/gnome-screensaver

here is what I would do if I was you:
I would mask expat-2, then I would bring these "woefully out of date" machines up to date (emerge -uNDav world). After all that was done I would only then unmask expat-2, then rebuild my now (after expat-2 update) broken programs that link to expat.

but before I got to running revdep-rebuild, I would recognize that a completely rewritten version of revdep-rebuild is in the ~ARCH gentoolkit package, so I would emerge the ~ARCH gentoolkit and use the newest revdep-rebuild available.

than again... since you now know gnome-screensaver-2.16.2 isn't in portage but 2.16.2-r1 is... you could copy/paste the emerge line revdep-revuild tried to execute and just add the '-r1' to the gnome-screensaver package....

YMMV.
Back to top
View user's profile Send private message
bobber205
Guru
Guru


Joined: 23 Aug 2006
Posts: 561
Location: Oregon

PostPosted: Fri Sep 21, 2007 10:05 pm    Post subject: Reply with quote

The code that was posted from the IRC channel #gentoo solves it too. :D
_________________
Never Forget The Expat 2.0!
Back to top
View user's profile Send private message
eno2001
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2006
Posts: 136

PostPosted: Sat Sep 22, 2007 12:48 pm    Post subject: Re: Yet More Expat 2 Issues... Reply with quote

Thanks. :) It looks as though my entire system is Gnome 2.16 and every one of those packages is what's causing the problem. So... masking libexpat 2 is probably something that anyone with a Gnome 2.16 system should do before running an update. As it stands I couldn't 'emerge -uvDa' without libexpat 2.0 breakage and the revdep-rebuild is going to fail as long as I'm till Gnome 2.16 because more than just gnome-screensaver is breaking. It seems any Gnome 2.16 package breaks and kills the revdep-rebuild. I think it's too late for me to go back to libexpat pre-2.0 since I've been updating each Gnome 2.16 package to 2.18 individually as revdep-rebuild dies. But on the remaining ot of date systems, I will try what you recommend. I wish I understood Portage better than I do, this likely wouldn't have happened if I did. I've only been usin Gnome for about two years, so I imagine it will take a little longer to completely understand Portage and it's intricacies. Thanks again for the info.

jonnevers wrote:
eno2001 wrote:
Code:
Calculating dependencies \
emerge: there are no ebuilds to satisfy "=gnome-extra/gnome-screensaver-2.16.2".

Does Gnome have more issues?

uhm.... NO, to your silly question.

now down to business:
gnome-screensaver-2.16.2 IS NOT IN PORTAGE! gnome-screensaver-2.16.2-r1 is though...
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Sun Sep 23, 2007 2:45 pm    Post subject: Reply with quote

Apparently after expat you need to rebuild these packages:
emerge -1 sys-devel/gettext dev-perl/XML-Parser sys-devel/libtool media-libs/fontconfig
fontconfig apparently messes up cairo and pango:
emerge -1 sys-apps/dbus sys-apps/hal x11-libs/cairo x11-libs/pango x11-libs/gtk+
then do revdep-rebuild -L libexpat.so.0
Hope some of that is useful at least.
Back to top
View user's profile Send private message
Thesee
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2004
Posts: 138
Location: Belgium

PostPosted: Sun Sep 23, 2007 8:29 pm    Post subject: Reply with quote

steveL wrote:
Make sure you're running latest portage: emerge -u portage
You need to do:
revdep-rebuild --library=libcurl.so.3
..after curl (libtool was needed after expat.)

There should have been a message about that; if you find you miss messages (or you're fed up of loads of compiler output that doesn't mean anything/failing packages stopping long emerges) you might want to try update at some point.

HTH.
Ok, I upgraded my portage, then I encountered problems (gcc problems... nothing to worry about :twisted:).
So after a complete emerge empty tree of system and world, I tried again, and it worked!

Thanks for your help!
_________________
How does a UNIX expert have sex?
Unzip; strip; touch; finger; mount; fsck; more; yes; unmount; sleep.
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
Goto page Previous  1, 2, 3 ... 11, 12, 13 ... 18, 19, 20  Next
Page 12 of 20

 
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