Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Question about the kernel upgrade
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Mon Apr 11, 2011 2:45 am    Post subject: Reply with quote

ONEEYEMAN wrote:

1. I will have to unmerge all those packages that are not in the tree anymore, right? And will have to research what the exchanges are, right?


Most of those packages will have their functionality replaced by a different package under a different name.
For those that don't, revdep-rebuild should take care of the bulk of it.

ONEEYEMAN wrote:

2. cach0rr0, during the install of cryptsetup I got the message that I need "CONFIG_DM_CRYPT" selected in the kernel. Looking thru the 2.6.36-r8 gentoo-sources I can't find such an option. However I'm compiling on 2.6.30-r6.

It is definitely in there. If you're in menuconfig, hit the /forward slash to search, key in 'DM_CRYPT'; I know it's in there because I'm using it!
If, however, you aren't using dmcrypt, I wouldn't worry too much about this warning.

ONEEYEMAN wrote:

3. How the post install messages log handles everything? Does it gets cleared after each emerge? I just don't want to start this huge emerge and then end up with the post install messages with half of the packages I installed.

Those build messages, to my knowledge, are only shown on your console/terminal. They will all be shown once you're finished, best thing to do is copy them to a safe place, review them at your leisure, and do so *before* you run dispatch-conf (or etc-update if you use etc-update). Not sure if there are tools out there that capture build messages, but at some point they'll be worth looking into.

ONEEYEMAN wrote:

4. How come there is so much qt/kde packages pulled just for one KDevelop?


It used to be the case that there was simply one 'qt' package. Now, that same functionality has been split into qt-core, qt-gui, qt-webkit, qt-opengl, qt-sql, presumably a handful of KDE libs, a handful of others. It may have shown as fewer total packages on prior builds, but the dependencies and amount of "bloat" shouldn't be substantially different.
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Mon Apr 11, 2011 3:53 am    Post subject: Reply with quote

you'll have to either deal with the messages as they show up then or copy/paste them into a file for later - i don't think portage logs them otherwise.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3674

PostPosted: Mon Apr 11, 2011 4:16 am    Post subject: Reply with quote

Hi,
cach0rr0 wrote:

ONEEYEMAN wrote:

1. I will have to unmerge all those packages that are not in the tree anymore, right? And will have to research what the exchanges are, right?


Most of those packages will have their functionality replaced by a different package under a different name.
For those that don't, revdep-rebuild should take care of the bulk of it.


OK.


cach0rr0 wrote:

ONEEYEMAN wrote:

2. cach0rr0, during the install of cryptsetup I got the message that I need "CONFIG_DM_CRYPT" selected in the kernel. Looking thru the 2.6.36-r8 gentoo-sources I can't find such an option. However I'm compiling on 2.6.30-r6.

It is definitely in there. If you're in menuconfig, hit the /forward slash to search, key in 'DM_CRYPT'; I know it's in there because I'm using it!
If, however, you aren't using dmcrypt, I wouldn't worry too much about this warning.


Strange. I opened .config in nano and tried to do a search on this option. Nano didn't find anything.
Could you give me the whole path from menuconfig, please?

cach0rr0 wrote:

ONEEYEMAN wrote:

3. How the post install messages log handles everything? Does it gets cleared after each emerge? I just don't want to start this huge emerge and then end up with the post install messages with half of the packages I installed.

Those build messages, to my knowledge, are only shown on your console/terminal. They will all be shown once you're finished, best thing to do is copy them to a safe place, review them at your leisure, and do so *before* you run dispatch-conf (or etc-update if you use etc-update). Not sure if there are tools out there that capture build messages, but at some point they'll be worth looking into.


I'm talking about the messages that are kept in /var/log/portage/elog. Except from one of my earlier thread:

Quote:

Those elog|einfo|ewarn|qa|eerror are kept in /var/log/portage/elog then rotated. The ungzipped ones are viewable with eread.


cach0rr0 wrote:

ONEEYEMAN wrote:

4. How come there is so much qt/kde packages pulled just for one KDevelop?


It used to be the case that there was simply one 'qt' package. Now, that same functionality has been split into qt-core, qt-gui, qt-webkit, qt-opengl, qt-sql, presumably a handful of KDE libs, a handful of others. It may have shown as fewer total packages on prior builds, but the dependencies and amount of "bloat" shouldn't be substantially different.


OK.

Thank you.
Will look at the package exchange tomorrow.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3674

PostPosted: Mon Apr 11, 2011 4:19 am    Post subject: Reply with quote

Hi,
BradN wrote:

you'll have to either deal with the messages as they show up then or copy/paste them into a file for later - i don't think portage logs them otherwise.


I refer to this thread when replying to cach0rr0.
Basically working in the console and doing "emerge -eav world" you can't catch those messages as they will go too fast.

Thank you.
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Mon Apr 11, 2011 4:23 am    Post subject: Reply with quote

ONEEYEMAN wrote:

Strange. I opened .config in nano and tried to do a search on this option. Nano didn't find anything.
Could you give me the whole path from menuconfig, please?


sure thing.

Code:

Symbol: DM_CRYPT [=y]
  │ Type  : tristate
  │ Prompt: Crypt target support
  │   Defined at drivers/md/Kconfig:211
  │   Depends on: MD [=y] && BLK_DEV_DM [=y]
  │   Location:
  │     -> Device Drivers
  │       -> Multiple devices driver support (RAID and LVM) (MD [=y])
  │         -> Device mapper support (BLK_DEV_DM [=y])
  │   Selects: CRYPTO [=y] && CRYPTO_CBC [=y]


'tis the likely culprit actually, symbol isn't exposed because 'multiple devices driver support' and 'device mapper support' aren't selected
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3674

PostPosted: Mon Apr 11, 2011 5:53 am    Post subject: Reply with quote

Hi,
Yes, I saw this. What confused me is the fact that the search in nano didn't find it. ;-)

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3674

PostPosted: Mon Apr 11, 2011 6:13 pm    Post subject: Reply with quote

Hi, ALL,
I decided to deal with all missing ebuilds later and started the world upgrade.
What amazes me though is that there was no KDevelop upgrade in my last output. I tried to run "emerge -pv kdevelop" and it certainly showed that I'm upgrading and tried to put a new one in a different slot as they are binary-incompatible, but "emerge world" didn't include this one. Just said that there is "no ebuilds for kdevelop". Is it normal behavior? Unless it's a feature of the Portage, I'd say use the upgrade message in the "emerge ..." and just warn about missing ebuid, so that people know "There is no way back".
I also decided to skip the kernel setting of DM_CRYPT as I'm not using multiple-devices. Hopefully everything will be OK.

Will see how the upgrade will progress and if I will have problems starting X after all this...

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3674

PostPosted: Mon Apr 11, 2011 8:47 pm    Post subject: Reply with quote

Hi,
Need help here.
This is what I received from "emerge -eavuD world":

Code:

[color=green]*[/color] Messages for package [color=green]x11-proto/printproto-1.0.5[/color]:

[color=red]*[/color] This package will overwrite one or more files that may belong to other
[color=red]*[/color] packages (see list below). You can use a command such as 'portageq
[color=red]*[/color] ownersa / <filename>' to identify the installed package that owns a
[color=red]*[/color] file. If portageq reports that only one package owns the file then do
[color=red]*[/color] NOT file a bug report. A bug report is only useful if it identifies at
[color=red]*[/color] least tow or more packages that are known to install the same files.
[color=red]*[/color] If a collision occurs and you cannot explain where the file came from
[color=red]*[/color] then you should simply ignore the collision since there is not enough
[color=red]*[/color] information to determine if a real problem exists. Please do not file
[color=red]*[/color] a bug report at http://bugs.gentoo.org unless you report exactly which
[color=red]*[/color] two packages install the same file(s). Once again, please do NOT file
[color=red]*[/color] a bug report unless you have completely understood the above message.
[color=red]*[/color]
[color=red]*[/color] Detected file collision(s):
[color=red]*[/color]
[color=red]*[/color]         /usr/share/man/man7/Xprint.7.bz2
[color=red]*[/color]
[color=red]*[/color] Searching all installed packages for file collisions...
[color=red]*[/color]
[color=red]*[/color] Press Ctrl-C to stop
[color=red]*[/color]
[color=red]*[/color] app-doc/xorg-docs-1.4-r1
[color=red]*[/color]     /usr/share/man/man7/Xprint.7.bz2
[color=red]*[/color]
[color=red]*[/color] Package 'x11-proto/printproto-1.0.5' NOT merged due to file
[color=red]*[/color] collisions. If neccessary, refer to your elog messages for the whole
[color=red]*[/color] content of the above message.


What do I do? How do I fix this?
SHould I simply remove "xorg-docs" and then install it afterwards?

Thank you.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Mon Apr 11, 2011 9:01 pm    Post subject: Reply with quote

IIRC, docs from app-doc/xorg-docs are significantly outdated.
Also, lately xorg packages began providing updated docs on their own - printproto is just one among many.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3674

PostPosted: Mon Apr 11, 2011 9:11 pm    Post subject: Reply with quote

VoidMage,
So just unmerge "xorg-doc"? Will I be able to do "emerge --resume"?

Thank you
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3674

PostPosted: Tue Apr 12, 2011 4:27 am    Post subject: Reply with quote

One more trouble:

Code:

* Messages for package net-libs/webkit-gtk-1.2.7:

* Failed Patch: webkit-gtk-1.2.7-libpng15.patch !
*   ( /usr/portage/net-libs/webkit-gtk/fiels/webkit-gtk-1.2.7-libpng15.patch )
*
* Include in your bugreport the content of:
*
* /var/tmp/portage/net-libs/webkit-gtk-1.2.7/temp/webkit-gtk-1.2.7-libpng15.patch.out

The content is at http://paste.pocoo.org/show/370088
Code:

* ERROR: net-libs/webkit-gtk-1.2.7 failed (prepare phase)
* Failed Patch: webkit-gtk-1.2.7-libpng15.patch
*
* Call stack
* ...........


I looked at the tree and the file is there. However, the path was not generated from the proper place.

The path to the file is

/var/tmp/portage/net-libs/webkit-gtk-1.2.7/work/webkit-gtk-1.2.7/WebCore/platform/image-decoders/png/PNGImageDecoers.cpp

I can apply the patch manually and restart the build, however is there a more permanent solution?
Is it a known bug/issue with the webkit-gtk-1.2.7?

Thank you.
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Tue Apr 12, 2011 4:48 am    Post subject: Reply with quote

have you tried applying the patch manually and succeeded?

If so, disregard the following (it's something i had to do a while back)

Code:

emerge dos2unix
cd /usr/portage/net-libs/webkit-gtk/files/
dos2unix webkit-gtk-1.2.7-libpng15.patch


then try to emerge again
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3674

PostPosted: Tue Apr 12, 2011 5:18 am    Post subject: Reply with quote

cach0rr0,
Will emerge see that it's already present in the build directory?
I didn't try patching yet, so I will try your solution after you reply.

Thank you.
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Tue Apr 12, 2011 5:31 am    Post subject: Reply with quote

ONEEYEMAN wrote:
cach0rr0,
Will emerge see that it's already present in the build directory?
I didn't try patching yet, so I will try your solution after you reply.

Thank you.


not sure what you're asking.

if you were running, for example, "emerge -av somepackage" when you got that error:

you would
-cd to that directory, run that dos2unix command
-emerge -av somepackage again (or try "emerge --resume")
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3674

PostPosted: Tue Apr 12, 2011 5:38 am    Post subject: Reply with quote

cach0rr0,
What is the command to update the digest of the patch file?

Thank you.
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Tue Apr 12, 2011 6:59 am    Post subject: Reply with quote

ONEEYEMAN wrote:
cach0rr0,
What is the command to update the digest of the patch file?

Thank you.


Code:

ebuild <ebuild filename> digest


note that if you're doing this directly within /usr/portage/whatever-blah/packagename/files, this will be clobbered when you emerge --sync
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3674

PostPosted: Tue Apr 12, 2011 7:30 am    Post subject: Reply with quote

cach0rr0 wrote:

ONEEYEMAN wrote:

cach0rr0,
What is the command to update the digest of the patch file?

Thank you.


Code:

ebuild <ebuild filename> digest


note that if you're doing this directly within /usr/portage/whatever-blah/packagename/files, this will be clobbered when you emerge --sync


Meaning it just will be overwritten? Or it will screw up this package completely and I won't be able to emerge it again in the future?

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3674

PostPosted: Tue Apr 12, 2011 7:40 am    Post subject: Reply with quote

One more question.
Initially I didn't notice that I will have to update gcc, and configured and compiled my kernel with old one.
Now I'm doing "emerge -eav world" Does this mean I will have to reconfigure the kernel and re-compile it, or just issuing "make && make modules_install" will be sufficient?

Thank you.
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Tue Apr 12, 2011 7:43 am    Post subject: Reply with quote

ONEEYEMAN wrote:

Meaning it just will be overwritten? Or it will screw up this package completely and I won't be able to emerge it again in the future?


the former. the ebuild itself will be overwritten. The installation will not change at all (syncing does little more than pull down new .ebuild files, a handful of XML files containing metadata, and a few other choice bits that won't affect any packages you currently have installed - only packages you may install/uninstall/reinstall after you --sync)
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Tue Apr 12, 2011 7:46 am    Post subject: Reply with quote

ONEEYEMAN wrote:
Does this mean I will have to reconfigure the kernel and re-compile it, or just issuing "make && make modules_install" will be sufficient?


i dont know that you even have to immediately recompile your kernel.
however should you choose to do so:

Code:

make clean && make && make modules_install


would be sufficient; the .config file in /usr/src/linux (which controls which drivers etc get built) will still be the same, you're still building against the same set of kernel sources, so no reconfiguration required

and you dont immediately have to switch over to the new gcc either, as it is slotted (the new package coexists with the old - both are installed, but portage doesnt make you automatically start using the new GCC simply because you merged it). You can change whenever you like via gcc-config
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3674

PostPosted: Tue Apr 12, 2011 6:04 pm    Post subject: Reply with quote

Got one more:

Code:

* Messages for package net-dialup/gtkterm-0.99.5-r1

* ERROR: net-dialup/gtkterm-0.99.5-r1 failed (compile phase)
*    emake failed
*
* Call stack
* .........


Not that I care about the dialup, but still...

Any idea how to fix this one?

The build log is here, here and here.

Thank you.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue Apr 12, 2011 7:59 pm    Post subject: Reply with quote

Well, that's the neat side of maintainer-needed packages - you may wait for quite awhile. :lol:
The bug about it has been waiting for an action, but probably nobody cares about this particular package.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3674

PostPosted: Tue Apr 12, 2011 8:09 pm    Post subject: Reply with quote

VoidMage,
It's because nobody cares about dial-up anymore. :D
Is it possible to find out what pulls in this package? Most likely it's a USE-flag somewhere or some package.

In the mean time I will probably do "emerge --resume --skipfirst"... :)

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3674

PostPosted: Tue Apr 12, 2011 8:52 pm    Post subject: Reply with quote

And another one:

Code:

* Messages for package media-sound/alsa-utils-1.0.23-r1:
*
* Obsolete config /etc/modules.d/alsa found
* ERROR: media-sound/alsa-utils-1.0.23-r1 failed (setup phase)
*   Move /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf
*
* Call stack
* ......


Logs can be found here, here and here.

Should I copy the file as the error suggest?

Thank you.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue Apr 12, 2011 10:31 pm    Post subject: Reply with quote

Move and yes, that's all.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
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