Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What is portage telling me?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Wed Feb 13, 2013 1:45 am    Post subject: What is portage telling me? Reply with quote

While doing my weekly updates, 'emerge -auvND world" give me this response:
Quote:
[ebuild N ] media-tv/v4l-utils-0.8.9 USE="-qt4" 0 kB
[ebuild R ] media-tv/ivtv-utils-1.4.1::gentoo [1.4.1::x-portage] USE="perl" KERNEL="(-linux%*)" 0 kB


When I told it to go ahead it failed. I already had 1.4.1 installed as indicated by the "R".

I don't understand the "KERNEL=" part. I certainly am using a linux kernel, gentoo-sources 3.6.11.

Can someone enlighten me?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Feb 13, 2013 2:05 am    Post subject: Reply with quote

That KERNEL part means simply a useflag was removed.
As x-portage seems to be your own overlay (likely one you're no longer using), the real question is "how exactly does that rebuild fail ?".
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Thu Feb 14, 2013 3:25 am    Post subject: Reply with quote

Ah! Here it is:
Quote:
* Detected file collision(s):
*
* /usr/bin/v4l2-ctl
* /usr/bin/ivtv-ctl
*
* Searching all installed packages for file collisions...
*
* Press Ctrl-C to Stop
*
* media-tv/ivtv-utils-1.4.1:0::x-portage
* /usr/bin/ivtv-ctl
* /usr/bin/v4l2-ctl
*
* Package 'media-tv/v4l-utils-0.8.9' NOT merged due to file collisions.
* If necessary, refer to your elog messages for the whole content of the
* above message.

>>> Failed to install media-tv/v4l-utils-0.8.9, Log file:

>>> '/var/tmp/portage/media-tv/v4l-utils-0.8.9/temp/build.log'
*** Resuming merge...

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

Calculating dependencies... done!
* emerge --keep-going: media-tv/ivtv-utils-1.4.1 dropped because it requires
* >=media-tv/ivtv-firmware-20070217
*
* The following 2 packages have failed to build or install:
*
* (media-tv/v4l-utils-0.8.9::gentoo, ebuild scheduled for merge), Log file:
* '/var/tmp/portage/media-tv/v4l-utils-0.8.9/temp/build.log'
* (media-tv/ivtv-utils-1.4.1::x-portage, ebuild scheduled for merge)
*


This I understand. But I still don't understand the KERNEL=
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Thu Feb 14, 2013 5:15 am    Post subject: Reply with quote

Code:
* Detected file collision(s):
 *
 * /usr/bin/v4l2-ctl
 * /usr/bin/ivtv-ctl
That's your problem. The KERNEL thing is benign - that has nothing to do with your problem. It means that the "kernel_linux" USE flag is newly added and is force removed/disabled for your profile in the new ebuild. Look at "man emerge" and look at the documentation under the --verbose switch. It is most probably a compatibility USE flag for some other profile (bsd probably) and makes no sense on Linux and is hence force disabled.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9507
Location: beyond the rim

PostPosted: Thu Feb 14, 2013 10:48 am    Post subject: Reply with quote

ppurka wrote:
Code:
* Detected file collision(s):
 *
 * /usr/bin/v4l2-ctl
 * /usr/bin/ivtv-ctl
That's your problem. The KERNEL thing is benign - that has nothing to do with your problem. It means that the "kernel_linux" USE flag is newly added and is force removed/disabled for your profile in the new ebuild. Look at "man emerge" and look at the documentation under the --verbose switch. It is most probably a compatibility USE flag for some other profile (bsd probably) and makes no sense on Linux and is hence force disabled.

That is one interpretation, the other option is that the flag was simply removed. Usually KERNEL flags are related to building kernel modules or directly interfacing with the kernel API.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Thu Feb 14, 2013 10:59 am    Post subject: Reply with quote

Genone wrote:
ppurka wrote:
Code:
* Detected file collision(s):
 *
 * /usr/bin/v4l2-ctl
 * /usr/bin/ivtv-ctl
That's your problem. The KERNEL thing is benign - that has nothing to do with your problem. It means that the "kernel_linux" USE flag is newly added and is force removed/disabled for your profile in the new ebuild. Look at "man emerge" and look at the documentation under the --verbose switch. It is most probably a compatibility USE flag for some other profile (bsd probably) and makes no sense on Linux and is hence force disabled.

That is one interpretation, the other option is that the flag was simply removed. Usually KERNEL flags are related to building kernel modules or directly interfacing with the kernel API.
I don't see how there can be two interpretations. If there are, then the emerge manpage is outdated.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9507
Location: beyond the rim

PostPosted: Thu Feb 14, 2013 12:03 pm    Post subject: Reply with quote

ppurka wrote:
I don't see how there can be two interpretations. If there are, then the emerge manpage is outdated.

Why?
Code:
(-linux%*)

http://dev.gentoo.org/~zmedico/portage/doc/man/emerge.1.html wrote:

- - prefix - not enabled (either disabled or removed)
* - suffix - transition to or from the enabled state
% - suffix - newly added or removed
() - circumfix - forced, masked, or removed

Combination of -, % and () is a strong indicator that the flag was removed.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Thu Feb 14, 2013 2:51 pm    Post subject: Reply with quote

Genone wrote:
ppurka wrote:
I don't see how there can be two interpretations. If there are, then the emerge manpage is outdated.

Why?
Code:
(-linux%*)

http://dev.gentoo.org/~zmedico/portage/doc/man/emerge.1.html wrote:

- - prefix - not enabled (either disabled or removed)
* - suffix - transition to or from the enabled state
% - suffix - newly added or removed
() - circumfix - forced, masked, or removed

Combination of -, % and () is a strong indicator that the flag was removed.
I interpreted it as the following:
- implies disabled
* implies it changed to disabled state
% implies it was newly added
() implies the disabled state was forced

So, my interpretation is that it is a new flag that is force disabled on his profile/arch.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9507
Location: beyond the rim

PostPosted: Fri Feb 15, 2013 9:18 am    Post subject: Reply with quote

ppurka wrote:
Genone wrote:
Code:
(-linux%*)

http://dev.gentoo.org/~zmedico/portage/doc/man/emerge.1.html wrote:

- - prefix - not enabled (either disabled or removed)
* - suffix - transition to or from the enabled state
% - suffix - newly added or removed
() - circumfix - forced, masked, or removed

Combination of -, % and () is a strong indicator that the flag was removed.
I interpreted it as the following:
- implies disabled
* implies it changed to disabled state
% implies it was newly added
() implies the disabled state was forced

So, my interpretation is that it is a new flag that is force disabled on his profile/arch.

Which is a valid interpretation, but not the only one, as is stated in the quoted part of the manpage. And this particular combination of indicators usually favors the "removed" interpretation (esp. in this case as I doubt the OP is using a non-linux profile).
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
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum