View previous topic :: View next topic |
Author |
Message |
arnvidr l33t


Joined: 19 Aug 2004 Posts: 607 Location: Oslo, Norway
|
Posted: Mon May 10, 2010 5:58 am Post subject: |
|
|
AllenJB wrote: | unK wrote: | For now you can just put
Code: | =media-libs/libpng-1.4.2 |
into /etc/portage/package.mask since no package requires it so far. |
Putting exact versions into the world set is a silly idea. When something does come along in 6 months that requires 1.4.3 or higher, you'll get a fun block to deal with. The most specific level you should use in the world set is slots. | Why are you talking about world?
Anyway, nxclient was blocking the upgrade for me yesterday, so no problems yet besides having a package not updated, but it doesn't seem like it wants to wait any longer now. Let's jump to it! After some more coffee.
edit: What's this then? @preserved-rebuild has saved me. Even if rebuilds fail I'm safe! Huzzah! _________________
|
|
Back to top |
|
 |
disi Veteran


Joined: 28 Nov 2003 Posts: 1354 Location: Out There ...
|
Posted: Mon May 10, 2010 7:28 am Post subject: |
|
|
I had also 56 packages to rebuild on the desktop, which broke once for some econf error. Deleting the .rr in /var/cache/revdep-rebuild/ and run revdep-rebuild again worked fine then (the same actual happened on the laptop as well).
now all is back to normal  _________________ Gentoo on Uptime Project - Larry is a cow |
|
Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Mon May 10, 2010 12:39 pm Post subject: |
|
|
Me it's 23 packages  |
|
Back to top |
|
 |
tomk Bodhisattva


Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
Posted: Mon May 10, 2010 2:32 pm Post subject: |
|
|
Moved from Gentoo Chat to Portage & Programming and made sticky. _________________ Search | Read | Answer | Report | Strip |
|
Back to top |
|
 |
m1chel n00b

Joined: 21 Sep 2009 Posts: 5 Location: Gouda, The Netherlands
|
Posted: Mon May 10, 2010 2:47 pm Post subject: |
|
|
I took the risk of uninstalling libpng-1.2.x using:
Code: | paludis -u libpng --permit-unsafe-uninstalls |
Then I installed the 1.4 version. Then let reconcilio clean up the mess... And it worked, after rebuilding 67 packages I have a working system again. |
|
Back to top |
|
 |
Martux Veteran


Joined: 04 Feb 2005 Posts: 1917
|
Posted: Mon May 10, 2010 2:54 pm Post subject: |
|
|
@arnvidr:
You got nxclient to compile? HOW??? _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
 |
i92guboj Bodhisattva


Joined: 30 Nov 2004 Posts: 10310 Location: Córdoba (Spain)
|
Posted: Mon May 10, 2010 4:02 pm Post subject: |
|
|
In adition to the steps in the steps in the first post, I also had to link to libpng12.so to make this work. For now some packages that failed have been compiled without problems. Let's see how it all ends. This really reminds me of the damn big breakage we got with expat some time ago. |
|
Back to top |
|
 |
gregool Guru


Joined: 26 Nov 2007 Posts: 336 Location: Lille
|
Posted: Mon May 10, 2010 4:09 pm Post subject: |
|
|
tomk wrote: | Moved from Gentoo Chat to Portage & Programming and made sticky. |
Very good idea! that was necessary |
|
Back to top |
|
 |
SamuliSuominen Retired Dev

Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Mon May 10, 2010 4:53 pm Post subject: |
|
|
minen@unique ~ $ qlist -CIv |grep libpng
media-libs/libpng-1.2.43-r1
media-libs/libpng-1.4.2
I have old slotted libpng 1.2 for binary-only pkgs that can't be re-emerged.
Then I have rest of the system, with more than 3000 ebuilds compiled fine against libpng 1.4.
Here are some hints are doing this...
1. # emerge cairo pango gtk+ atk libglade qt-gui
1.b # Try revdep-rebuild again, with luck, you get a bit futher now
And when it fails, go to 2:
2. Checking system sanity.
# find /usr/lib* -name '*.la'| xargs grep ^dep lpng12
^ If that results files, those files are broken, edit them by hand to lpng14 or deleting the whole -lpng12 is also OK in most cases, or figure our some magic
command do that all in once
# Serious suggestion. Set LDFLAGS="-Wl,-O1 -Wl,--as-needed to /etc/make.conf to avoid 90% of this kind of trouble in future. |
|
Back to top |
|
 |
Polynomial-C Developer


Joined: 01 Jun 2003 Posts: 1432 Location: Germany
|
Posted: Mon May 10, 2010 7:14 pm Post subject: |
|
|
Another approach would be Code: | revdep-rebuild -- --keep-going |
That command will try to rebuild as many broken packages as possible in the first run. If some packages were failing just re-run the same command when the first run finished. _________________ The manual said "Requires Windows10 or better" so I installed GNU/Linux...
my portage overlay
Need a stage1 tarball? (Unofficial builds) |
|
Back to top |
|
 |
chaseguard Tux's lil' helper

Joined: 25 Jun 2004 Posts: 140
|
Posted: Mon May 10, 2010 8:53 pm Post subject: |
|
|
I am inexperienced plenty, but, this is one of the most painful upgrades ever. Why do packages keep looking for the old link even after deleting the png 1.2 versions? I am mystified by this. Does the LD config impact this? How do these things normally get fixxed? Why do some packages emerge fine and some won't for revdep-rebuild? |
|
Back to top |
|
 |
Odysseus Apprentice


Joined: 23 Jun 2004 Posts: 250 Location: Miami, FL. I miss San Francisco!!!
|
Posted: Mon May 10, 2010 8:59 pm Post subject: |
|
|
There is a "definitive" method/solution that although it's greatly time consuming, will keep your system sane and allow all of the needed files to rebuild without failing. I've already posted this solution here on the bug report for this https://bugs.gentoo.org/show_bug.cgi?id=319101
Edit: After running into a problem on my other box I've slightly modified the procedure. Now it should work without fail.
First, prior to updating libpng make sure that you've already fetched every download you may need by running 'emerge -euavNDf world'. This way if for any reason you're unable to connect to the net you've got the needed files already.
Now prepare yourself, as you already know libpng is going to break anything GTK+ or Gnome related. But this is only temporary. Remember if you're a Gnome user and your terminal / console app no longer works, you can just drop to a shell using 'Ctrl-Alt-F1' where you can complete the procedure. Then you only need to 'Ctrl-Alt-F7' to get back to your desktop. So you're going to be OK!
Alright now it's time to begin. Run 'emerge --oneshot libpng' it will compile fine but break above mentioned apps.
Now run 'lafilefixer --justfixit'
Now run 'emerge --oneshot cairo pango libglade GTK+' (omit emerging any which aren't installed) They should all build OK, but if any fail to build don't worry. They'll be fixed in the next couple of steps.
Now run 'lafilefixer --justfixit' again.
Only now can you run 'revdep-rebuild'. If you run this without first running 'lafilefixer --justfixit' many apps won't get rebuilt or fail to rebuild so it MUST BE DONE BEFORE 'revdep-rebuild'
If you've already ran revdep-rebuild before reading this and have had problems with build failures, run 'lafilefixer --justfixit' then 'revdep-rebuild' again. Now all should build which failed before.
Go out and have a few drinks or spend the evening with your old lady as it's going to take a few or more hours. In my case a "pure" KDE system had over 70 apps to rebuild and took 5 hours. Enough time to see the new Iron Man movie and have a few drinks with my buddies. When I came home everything had compiled beautifully and my system was sane again!
If you're anal you could run 'emerge -e system' just to be safe, but it's not needed.
Follow this procedure and you'll be good to go without any major hacks or tricks.
I hope this helps!
Ciao
Last edited by Odysseus on Mon May 10, 2010 9:43 pm; edited 1 time in total |
|
Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Mon May 10, 2010 9:43 pm Post subject: |
|
|
I did that and it's working :
Code: |
# eix-sync
# emerge -au media-libs/libpng
# emerge -av sys-devel/libtool
# revdep-rebuild -i
# lafilefixer --justfixit
# emerge -auDNv @system @world
# revdep-rebuild -i
# lafilefixer --justfixit
|
|
|
Back to top |
|
 |
duryodhana n00b

Joined: 13 Jan 2008 Posts: 66
|
Posted: Mon May 10, 2010 9:57 pm Post subject: |
|
|
My problem is that cairo-1.8.8-r1 won't compile. All my revdep-rebuild attempts are stuck.
I tried every solution suggested here.
If I can get cairo compiled I'm gonna have a successful revdep-rebuild.
I get this: Code: | /usr/bin: file not recognized: Is a directory |
I solved this issue. Now I'm emerging packages again.
Last edited by duryodhana on Mon May 10, 2010 10:23 pm; edited 1 time in total |
|
Back to top |
|
 |
Odysseus Apprentice


Joined: 23 Jun 2004 Posts: 250 Location: Miami, FL. I miss San Francisco!!!
|
Posted: Mon May 10, 2010 10:22 pm Post subject: |
|
|
duryodhana wrote: | My problem is that cairo-1.8.8-r1 won't compile. All my revdep-rebuild attempts are stuck.
I tried every solution suggested here.
If I can get cairo compiled I'm gonna have a successful revdep-rebuild.
I get this: Code: | /usr/bin: file not recognized: Is a directory |
|
Cairo should compile if you run 'lafilefixer --justfixit' first, immediately after upgrading libpng. Then run 'lafilefixer --justfixit' again after installing cairo, but before 'revdep-rebuild'.
So the order would be: 'emerge --oneshot libpng', 'lafilefixer --justfixit', 'emerge --oneshot cairo pango libglade GTK+' (omit emerging any which aren't installed) , 'lafilefixer --justfixit', 'revdep-rebuild' and for sanity's sake 'revdep-rebuild' again.
You're finished life is good!
I hope this helps
Ciao |
|
Back to top |
|
 |
vitoriung Apprentice


Joined: 21 May 2007 Posts: 158 Location: Prague, Czech Republic
|
Posted: Mon May 10, 2010 10:41 pm Post subject: |
|
|
My revdep-rebuild won't continue because it cannot find qt:3
Code: | Calculating dependencies... done!
emerge: there are no ebuilds to satisfy "x11-libs/qt:3".
|
I checked equery depends qt and found program chesstask was depending on it, unmerged it, run revdep-rebuild -i and still getting the same message about qt:3,
Have I missed something? |
|
Back to top |
|
 |
duryodhana n00b

Joined: 13 Jan 2008 Posts: 66
|
Posted: Mon May 10, 2010 11:04 pm Post subject: |
|
|
vitoriung wrote: | My revdep-rebuild won't continue because it cannot find qt:3
Code: | Calculating dependencies... done!
emerge: there are no ebuilds to satisfy "x11-libs/qt:3".
|
I checked equery depends qt and found program chesstask was depending on it, unmerged it, run revdep-rebuild -i and still getting the same message about qt:3,
Have I missed something? |
check if you have qt3 use flag in your make.conf |
|
Back to top |
|
 |
vitoriung Apprentice


Joined: 21 May 2007 Posts: 158 Location: Prague, Czech Republic
|
Posted: Mon May 10, 2010 11:07 pm Post subject: |
|
|
duryodhana wrote: | vitoriung wrote: | My revdep-rebuild won't continue because it cannot find qt:3
Code: | Calculating dependencies... done!
emerge: there are no ebuilds to satisfy "x11-libs/qt:3".
|
I checked equery depends qt and found program chesstask was depending on it, unmerged it, run revdep-rebuild -i and still getting the same message about qt:3,
Have I missed something? |
check if you have qt3 use flag in your make.conf |
yep, I have there qt3support and qt3, shall I remove both?
Thanks |
|
Back to top |
|
 |
Odysseus Apprentice


Joined: 23 Jun 2004 Posts: 250 Location: Miami, FL. I miss San Francisco!!!
|
Posted: Mon May 10, 2010 11:09 pm Post subject: |
|
|
vitoriung wrote: | My revdep-rebuild won't continue because it cannot find qt:3
Code: | Calculating dependencies... done!
emerge: there are no ebuilds to satisfy "x11-libs/qt:3".
|
I checked equery depends qt and found program chesstask was depending on it, unmerged it, run revdep-rebuild -i and still getting the same message about qt:3,
Have I missed something? |
Qt-3 ? When was the last time you updated your system? It's been months since Qt-3 and ALL apps depending upon it were first hard-masked then completely removed / dropped from portage.
So yes you are missing some thing. You need to figure out EXACTLY what packages are installed in your system which require QT-3.
A work around that will at least get you through this process would be to add the Qt-3 /KDE-3 overlay so at least portage will know how to properly remove the offending apps and dependencies.
So you need to add the kde-sunset repository using layman. After you've properly installed, configured and updated kde-sunset into portage you can remove or rebuild the offending app/apps as well as Qt-3. Then move on with the procedures mentioned above.
I hope this helps.
Good luck
Ciao |
|
Back to top |
|
 |
duryodhana n00b

Joined: 13 Jan 2008 Posts: 66
|
Posted: Mon May 10, 2010 11:19 pm Post subject: |
|
|
vitoriung wrote: | duryodhana wrote: | vitoriung wrote: | My revdep-rebuild won't continue because it cannot find qt:3
Code: | Calculating dependencies... done!
emerge: there are no ebuilds to satisfy "x11-libs/qt:3".
|
I checked equery depends qt and found program chesstask was depending on it, unmerged it, run revdep-rebuild -i and still getting the same message about qt:3,
Have I missed something? |
check if you have qt3 use flag in your make.conf |
yep, I have there qt3support and qt3, shall I remove both?
Thanks |
Remove qt3 only. Do you have kde-3.5 installed ?
It's time to move to kde-4.4.3 |
|
Back to top |
|
 |
vitoriung Apprentice


Joined: 21 May 2007 Posts: 158 Location: Prague, Czech Republic
|
Posted: Mon May 10, 2010 11:31 pm Post subject: |
|
|
duryodhana wrote: | vitoriung wrote: | duryodhana wrote: | vitoriung wrote: | My revdep-rebuild won't continue because it cannot find qt:3
Code: | Calculating dependencies... done!
emerge: there are no ebuilds to satisfy "x11-libs/qt:3".
|
I checked equery depends qt and found program chesstask was depending on it, unmerged it, run revdep-rebuild -i and still getting the same message about qt:3,
Have I missed something? |
check if you have qt3 use flag in your make.conf |
yep, I have there qt3support and qt3, shall I remove both?
Thanks |
Remove qt3 only. Do you have kde-3.5 installed ?
It's time to move to kde-4.4.3 |
Removed qt3 only, but still the same issue.
I am already on kde-4.4.3, removed kde3 some time ago.
Here is the tail of revdep-rebuild, maybe I can figure out what packages are still existing and depending on qt3?
Code: | * /usr/qt/3/bin/assistant -> x11-libs/qt
* /usr/qt/3/bin/designer -> x11-libs/qt
* /usr/qt/3/bin/linguist -> x11-libs/qt
* /usr/qt/3/bin/lrelease -> x11-libs/qt
* /usr/qt/3/bin/lupdate -> x11-libs/qt
* /usr/qt/3/bin/msg2qm -> x11-libs/qt
* /usr/qt/3/bin/qembed -> x11-libs/qt
* /usr/qt/3/bin/qm2ts -> x11-libs/qt
* /usr/qt/3/bin/qtconfig -> x11-libs/qt
* /usr/qt/3/bin/uic -> x11-libs/qt
* /usr/qt/3/lib/libqt-mt.so.3.3.8 -> x11-libs/qt
* /usr/qt/3/lib/libqui.so.1.0.0 -> x11-libs/qt
* /usr/qt/3/plugins/designer/libcppeditor.so -> x11-libs/qt
* /usr/qt/3/plugins/designer/libdlgplugin.so -> x11-libs/qt
* /usr/qt/3/plugins/designer/libgladeplugin.so -> x11-libs/qt
* /usr/qt/3/plugins/designer/libkdevdlgplugin.so -> x11-libs/qt
* /usr/qt/3/plugins/designer/librcplugin.so -> x11-libs/qt
* /usr/qt/3/plugins/designer/libwizards.so -> x11-libs/qt
* /usr/sbin/gdm-binary -> gnome-base/gdm
* /usr/sbin/gdmsetup -> gnome-base/gdm
* Generated new 4_raw.rr and 4_owners.rr
* Cleaning list of packages to rebuild
* Generated new 4_pkgs.rr
* Assigning packages to ebuilds
* Generated new 4_ebuilds.rr
* Evaluating package order
* Generated new 5_order.rr
* All prepared. Starting rebuild
emerge --oneshot app-mobilephone/gnokii:0
app-text/ghostscript-gpl:0
app-text/poppler:0
app-text/texlive-core:0
dev-cpp/cairomm:0
dev-cpp/gtkmm:2.4
dev-cpp/pangomm:2.4
dev-db/libiodbc:0
dev-lang/php:5
dev-libs/libgweather:0
dev-libs/libunique:0
dev-perl/perl-tk:0
dev-python/gnome-applets-python:0
dev-python/gnome-desktop-python:0
dev-python/libbonobo-python:2
dev-python/libgnomecanvas-python:2
dev-python/libgnome-python:2
dev-python/libwnck-python:0
dev-python/pygtk:2
dev-python/pygtkglext:0
dev-tex/luatex:0
gnome-base/eel:2
gnome-base/gconf:2
gnome-base/gdm:0
gnome-base/gnome-applets:2
gnome-base/gnome-control-center:2
gnome-base/gnome-desktop:0
gnome-base/gnome-keyring:0
gnome-base/gnome-mount:0
gnome-base/gnome-panel:0
gnome-base/gnome-session:0
gnome-base/gnome-settings-daemon:0
gnome-base/libbonoboui:0
gnome-base/libglade:2.0
gnome-base/libgnomecanvas:0
gnome-base/libgnomekbd:0
gnome-base/libgnomeprintui:2.2
gnome-base/libgnomeui:0
gnome-base/librsvg:2
gnome-base/nautilus:0
gnome-extra/deskbar-applet:0
gnome-extra/evolution-data-server:0
gnome-extra/gconf-editor:0
gnome-extra/gnome-games:0
gnome-extra/gnome-media:2
gnome-extra/gnome-power-manager:0
gnome-extra/gnome-screensaver:0
gnome-extra/gnome-system-monitor:0
gnome-extra/gnome-utils:0
gnome-extra/gtkhtml:3.14
gnome-extra/gucharmap:0
gnome-extra/nautilus-cd-burner:0
gnome-extra/yelp:0
kde-base/kdelibs:4.4
kde-base/ksplash:4.4
mail-client/evolution:2.0
mail-client/mozilla-thunderbird:0
media-gfx/digikam:4
media-gfx/gimp:2
media-gfx/graphviz:0
media-gfx/imagemagick:0
media-libs/gd:2
media-libs/gegl:0
media-libs/imlib2:0
media-libs/libass:0
media-libs/libcanberra:0
media-libs/libwmf:0
media-video/mplayer:0
media-video/vlc:0
net-analyzer/gnome-nettool:0
net-print/cups:0
net-print/gnome-cups-manager:0
sys-apps/gnome-disk-utility:0
sys-libs/slang:0
www-client/chromium:0
x11-apps/xcursorgen:0
x11-libs/cairo:0
x11-libs/gksu:0
x11-libs/gtk+:2
x11-libs/gtkglext:0
x11-libs/libgksu:2
x11-libs/libnotify:0
x11-libs/libsexy:0
x11-libs/libwnck:0
x11-libs/pango:0
x11-libs/qt:3
x11-libs/qt-gui:4
x11-libs/qtscriptgenerator:0
x11-libs/vte:0
x11-libs/wxGTK:2.8
x11-misc/notification-daemon:0
x11-plugins/enigmail:0
x11-terms/gnome-terminal:0
x11-themes/gtk-engines:2
x11-themes/gtk-engines-murrine:0
x11-wm/metacity:0
xfce-base/exo:0
xfce-base/libxfcegui4:0
xfce-base/thunar:0
xfce-base/xfce4-panel:0
..........
Calculating dependencies... done!
emerge: there are no ebuilds to satisfy "x11-libs/qt:3".
|
|
|
Back to top |
|
 |
duryodhana n00b

Joined: 13 Jan 2008 Posts: 66
|
Posted: Mon May 10, 2010 11:38 pm Post subject: |
|
|
after removing the qt3 use flag give Code: | emerge -uDNpv world | and then |
|
Back to top |
|
 |
Gankfest l33t


Joined: 01 Aug 2007 Posts: 946 Location: Miami Beach, FL
|
Posted: Mon May 10, 2010 11:52 pm Post subject: |
|
|
Ok, so did what the first poster said. revdep-rebuild didn't fix any packages, when I go to emerge compiz-fusion I get this:
Code: | -Wl,-soname -Wl,libnotification.so -o .libs/libnotification.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng12
|
So wtf, how do I fix it? _________________ Gankfest™ (>")> ~*
Everyone has to start somewhere, it depends on where you end up that counts! (>")> |
|
Back to top |
|
 |
Odysseus Apprentice


Joined: 23 Jun 2004 Posts: 250 Location: Miami, FL. I miss San Francisco!!!
|
Posted: Tue May 11, 2010 12:11 am Post subject: |
|
|
paradox6996 wrote: | Ok, so did what the first poster said. revdep-rebuild didn't fix any packages, when I go to emerge compiz-fusion I get this:
Code: | -Wl,-soname -Wl,libnotification.so -o .libs/libnotification.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng12
|
So wtf, how do I fix it? |
Read my first post in this thread and d2_racing post right below mine. They are a bit higher up on this page.
You're going to need to run 'lafilefixer --justfixit'. Follow directions and read. Your problem should be solved.
Ciao |
|
Back to top |
|
 |
Odysseus Apprentice


Joined: 23 Jun 2004 Posts: 250 Location: Miami, FL. I miss San Francisco!!!
|
Posted: Tue May 11, 2010 12:29 am Post subject: |
|
|
vitoriung wrote: |
yep, I have there qt3support and qt3, shall I remove both?
Thanks |
vitorung, first you should remove the qt3 flag the qt3support flag is enabled internally when you select the kde desktop profile. Then see my post right above duryodhana's post that you quoted. You need to add the kde-sunset repo with layman to properly get rid of, or rebuild Qt-3 and any apps built against it, or you will hose portage.
The reason is that the ebuilds for qt-3 and the apps built against it are no longer in the portage tree, thus no longer on your machine. So portage has no way of properly unwinding them from your system. Add the kde-sunset repo then portage will again have access to the missing ebuilds so when you decide to remove or rebuild them it will be able to properly do so without breaking anything else.
Ciao
Last edited by Odysseus on Tue May 11, 2010 12:53 am; edited 1 time in total |
|
Back to top |
|
 |
|