public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Daily update fails
@ 2020-05-07  8:04 Dan Johansson
  2020-05-07  8:11 ` Neil Bothwick
  2020-05-07 11:59 ` Franz Fellner
  0 siblings, 2 replies; 6+ messages in thread
From: Dan Johansson @ 2020-05-07  8:04 UTC (permalink / raw
  To: gentoo-user

Today when I tried to do my daily "emerge --update ... @world", portage 
spitted out a lot of "Multiple package instances within a single package 
slot have been pulled" messages.

I thought this could be due to the depreciation of python3_6 so I added
*/* PYTHON_TARGETS: python3_6 python3_7
*/* PYTHON_SINGLE_TARGET: -* python3_6
,as per the news item published, to my package.use and now I get the 
following instead:

!!! The ebuild selected to satisfy "app-office/scribus" has unmet 
requirements.
- app-office/scribus-1.5.5-r1::gentoo USE="boost minimal pdf templates 
-debug -examples -graphicsmagick -hunspell -osg -scripts -tk" 
ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python2_7"
python_single_target_python2_7
   The following REQUIRED_USE flag constraints are unsatisfied:
     python_single_target_python2_7

   The above constraints are a subset of the following complete expression:
     exactly-one-of ( python_single_target_python2_7 ) tk? ( scripts )

I tried to unmerge scribus but that just made another package complain 
about "python_single_target_python2_7".

Any suggestions on how to proceed?

-- 
Dan Johansson,
***************************************************
This message is printed on 100% recycled electrons!
***************************************************


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Daily update fails
  2020-05-07  8:04 [gentoo-user] Daily update fails Dan Johansson
@ 2020-05-07  8:11 ` Neil Bothwick
  2020-05-07 11:59 ` Franz Fellner
  1 sibling, 0 replies; 6+ messages in thread
From: Neil Bothwick @ 2020-05-07  8:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2011 bytes --]

On Thu, 7 May 2020 10:04:37 +0200, Dan Johansson wrote:

> Today when I tried to do my daily "emerge --update ... @world", portage 
> spitted out a lot of "Multiple package instances within a single
> package slot have been pulled" messages.
> 
> I thought this could be due to the depreciation of python3_6 so I added
> */* PYTHON_TARGETS: python3_6 python3_7
> */* PYTHON_SINGLE_TARGET: -* python3_6
> ,as per the news item published, to my package.use and now I get the 
> following instead:
> 
> !!! The ebuild selected to satisfy "app-office/scribus" has unmet 
> requirements.
> - app-office/scribus-1.5.5-r1::gentoo USE="boost minimal pdf templates 
> -debug -examples -graphicsmagick -hunspell -osg -scripts -tk" 
> ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python2_7"
> python_single_target_python2_7
>    The following REQUIRED_USE flag constraints are unsatisfied:
>      python_single_target_python2_7
> 
>    The above constraints are a subset of the following complete
> expression: exactly-one-of ( python_single_target_python2_7 ) tk? (
> scripts )
> 
> I tried to unmerge scribus but that just made another package complain 
> about "python_single_target_python2_7".

You have globally masked python_single_target_python2_7 in package.use,
so now you need to unmask it for individual packages, starting with
scribus. It's a bit of a game of whack-a-mole, add a package, emerge
world, get another failure, add that package, rinse and repeat.

I'd suggest putting all these changes in a separate file in package.use
so it is easy(er) to track and undo these, hopefully, temporary, changed.

I had no issues with the changeover on systems running purely testing,
those running stable with a few testing packages required some attention.
If you are running such a system, you may find it easier to temporarily
unmask testing versions of some packages rather than play around with USE
flags.


-- 
Neil Bothwick

Top Oxymorons Number 37: Sanitary landfill

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Daily update fails
  2020-05-07  8:04 [gentoo-user] Daily update fails Dan Johansson
  2020-05-07  8:11 ` Neil Bothwick
@ 2020-05-07 11:59 ` Franz Fellner
  2020-05-07 14:30   ` Dan Johansson
  1 sibling, 1 reply; 6+ messages in thread
From: Franz Fellner @ 2020-05-07 11:59 UTC (permalink / raw
  To: gentoo-user

On Thu May  7 10:04:37 2020, Dan Johansson <Dan.Johansson@dmj.nu> wrote:
> Today when I tried to do my daily "emerge --update ... @world", portage 
> spitted out a lot of "Multiple package instances within a single package 
> slot have been pulled" messages.

So THIS would have been the issue you should have given us to solve.
Instead you borked your package.use by globally deactivating py2.7
and asked us to point you to that.

So please: Revert the python changes you did in your package.use,
rerun your update command and post the error you get with that.
Please post the whole output, including the exact command you used.
And also add "--tree --verbose" to the emerge options, this usually
requires less guessing.

Thx
Franz


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Daily update fails
  2020-05-07 11:59 ` Franz Fellner
@ 2020-05-07 14:30   ` Dan Johansson
  2020-05-08 14:20     ` Dan Johansson
  0 siblings, 1 reply; 6+ messages in thread
From: Dan Johansson @ 2020-05-07 14:30 UTC (permalink / raw
  To: gentoo-user

On 07.05.20 13:59, Franz Fellner wrote:
> On Thu May  7 10:04:37 2020, Dan Johansson <Dan.Johansson@dmj.nu> wrote:
>> Today when I tried to do my daily "emerge --update ... @world", portage
>> spitted out a lot of "Multiple package instances within a single package
>> slot have been pulled" messages.
> 
> So THIS would have been the issue you should have given us to solve.
> Instead you borked your package.use by globally deactivating py2.7
> and asked us to point you to that.
> 
> So please: Revert the python changes you did in your package.use,
> rerun your update command and post the error you get with that.
> Please post the whole output, including the exact command you used.
> And also add "--tree --verbose" to the emerge options, this usually
> requires less guessing.

Neil's suggestion made me add "PYTHON_SINGLE_TARGET: python2_7" to seven 
packages and now my box is happily compiling (will take some time as 
there are some "big" packages in there, i.e. firefox, chromium, ...).

As per your suggestion I will remove
*/* PYTHON_TARGETS: python3_6 python3_7
*/* PYTHON_SINGLE_TARGET: -* python3_6
and my "PYTHON_SINGLE_TARGET: python2_7" when finished and retry my emerge.

If it fails I can certainly post the Output here.


-- 
Dan Johansson,
***************************************************
This message is printed on 100% recycled electrons!
***************************************************


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Daily update fails
  2020-05-07 14:30   ` Dan Johansson
@ 2020-05-08 14:20     ` Dan Johansson
  2020-05-08 16:09       ` Neil Bothwick
  0 siblings, 1 reply; 6+ messages in thread
From: Dan Johansson @ 2020-05-08 14:20 UTC (permalink / raw
  To: gentoo-user

On 07.05.20 16:30, Dan Johansson wrote:
> On 07.05.20 13:59, Franz Fellner wrote:
>> On Thu May  7 10:04:37 2020, Dan Johansson <Dan.Johansson@dmj.nu> wrote:
>>> Today when I tried to do my daily "emerge --update ... @world", portage
>>> spitted out a lot of "Multiple package instances within a single package
>>> slot have been pulled" messages.
>>
>> So THIS would have been the issue you should have given us to solve.
>> Instead you borked your package.use by globally deactivating py2.7
>> and asked us to point you to that.
>>
>> So please: Revert the python changes you did in your package.use,
>> rerun your update command and post the error you get with that.
>> Please post the whole output, including the exact command you used.
>> And also add "--tree --verbose" to the emerge options, this usually
>> requires less guessing.
> 
> Neil's suggestion made me add "PYTHON_SINGLE_TARGET: python2_7" to seven 
> packages and now my box is happily compiling (will take some time as 
> there are some "big" packages in there, i.e. firefox, chromium, ...).
> 
> As per your suggestion I will remove
> */* PYTHON_TARGETS: python3_6 python3_7
> */* PYTHON_SINGLE_TARGET: -* python3_6
> and my "PYTHON_SINGLE_TARGET: python2_7" when finished and retry my emerge.
> 
> If it fails I can certainly post the Output here.

A short update:
Following the suggestion in the news-item I added
  */* PYTHON_TARGETS: python3_6 python3_7
  */* PYTHON_SINGLE_TARGET: -* python3_6
  and "PYTHON_SINGLE_TARGET: python2_7" for selected packages
to my use flags and run the update without issues.

After that "initial" update was done, I removed the added entries 
(including the "PYTHON_SINGLE_TARGET: python2_7" ones) and started a new 
emerge update. With exception of one package (net-misc/s3cmd) everything 
went as it should.

Thanks Niel for the hint about PYTHON_SINGLE_TARGET for the 
"misbehaving" packages.

Regards,
-- 
Dan Johansson,
***************************************************
This message is printed on 100% recycled electrons!
***************************************************


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Daily update fails
  2020-05-08 14:20     ` Dan Johansson
@ 2020-05-08 16:09       ` Neil Bothwick
  0 siblings, 0 replies; 6+ messages in thread
From: Neil Bothwick @ 2020-05-08 16:09 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 517 bytes --]

On Fri, 8 May 2020 16:20:46 +0200, Dan Johansson wrote:

> After that "initial" update was done, I removed the added entries 
> (including the "PYTHON_SINGLE_TARGET: python2_7" ones) and started a
> new emerge update. With exception of one package (net-misc/s3cmd)
> everything went as it should.

s3cmd has an older version in the tree, 2.0.2. 2.1.0 has python 3.7/8
support but no ebuild yet. There is a bug filed on this.


-- 
Neil Bothwick

Always proofread carefully to see if you any words out.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-05-08 16:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-07  8:04 [gentoo-user] Daily update fails Dan Johansson
2020-05-07  8:11 ` Neil Bothwick
2020-05-07 11:59 ` Franz Fellner
2020-05-07 14:30   ` Dan Johansson
2020-05-08 14:20     ` Dan Johansson
2020-05-08 16:09       ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox