public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Emerge trouble with firefox and thunderbird ...
@ 2024-03-03  9:47 Wols Lists
  2024-03-03 18:54 ` Wols Lists
  2024-03-04 16:20 ` [gentoo-user] " ralfconn
  0 siblings, 2 replies; 21+ messages in thread
From: Wols Lists @ 2024-03-03  9:47 UTC (permalink / raw
  To: gentoo-user

I'm getting this output from

emerge --update --newuse --deep --with-bdeps=y @world


Calculating dependencies... done!
  * Dependencies could not be completely resolved due to
  * the following required packages not being installed:
  *
  *   >=dev-libs/icu-73.1:0/73.1= pulled in by:
  *     www-client/firefox-115.6.0
  *
  * Have you forgotten to do a complete update prior to depclean? The
  * most comprehensive command for this purpose is as follows:
  *
  *   emerge --update --newuse --deep --with-bdeps=y @world
  *
  * Note that the --with-bdeps=y option is not required in many
  * situations. Refer to the emerge manual page (run `man emerge`)
  * for more information about --with-bdeps.
  *
  * Also, note that it may be necessary to manually uninstall
  * packages that no longer exist in the repository, since it may not
  * be possible to satisfy their dependencies.
thewolery /usr/local/bin #

icu is at 74.2

firefox failed to update ...

*  www-client/firefox
       Latest version available: 115.8.0
       Latest version installed: 115.6.0
       Size of files: 496,244 KiB
       Homepage:      https://www.mozilla.com/firefox
       Description:   Firefox Web Browser
       License:       MPL-2.0 GPL-2 LGPL-2.1

as did thunderbird ...

*  mail-client/thunderbird
       Latest version available: 115.8.0
       Latest version installed: 115.6.0
       Size of files: 528,920 KiB
       Homepage:      https://www.thunderbird.net/
       Description:   Thunderbird Mail Client
       License:       MPL-2.0 GPL-2 LGPL-2.1

Andy ideas? Or is the mozilla emerge stuff slightly broken on my system? 
I've been having trouble with those two for the last few weeks ...

Cheers,
Wol


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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-03  9:47 [gentoo-user] Emerge trouble with firefox and thunderbird Wols Lists
@ 2024-03-03 18:54 ` Wols Lists
  2024-03-03 19:40   ` Jack
  2024-03-04 16:20 ` [gentoo-user] " ralfconn
  1 sibling, 1 reply; 21+ messages in thread
From: Wols Lists @ 2024-03-03 18:54 UTC (permalink / raw
  To: gentoo-user

On 03/03/2024 09:47, Wols Lists wrote:
> I'm getting this output from
> 
> emerge --update --newuse --deep --with-bdeps=y @world

whoops I mean "emerge --depclean"

I'm trying to get a clean system, and don't know what exactly is wrong, 
or what to try ...

Cheers,
Wol


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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-03 18:54 ` Wols Lists
@ 2024-03-03 19:40   ` Jack
  2024-03-03 20:23     ` Wol
  0 siblings, 1 reply; 21+ messages in thread
From: Jack @ 2024-03-03 19:40 UTC (permalink / raw
  To: gentoo-user

On 2024.03.03 13:54, Wols Lists wrote:
> On 03/03/2024 09:47, Wols Lists wrote:
>> I'm getting this output from
>> 
>> emerge --update --newuse --deep --with-bdeps=y @world
> 
> whoops I mean "emerge --depclean"
> 
> I'm trying to get a clean system, and don't know what exactly is  
> wrong, or what to try ...
> 
> Cheers,
> Wol
> 
As the error says, you generally need to do a full update before you  
can depclean.

What error(s) do you get when trying to update firefox or thunderbird?   
What happens if you try to update @world?


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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-03 19:40   ` Jack
@ 2024-03-03 20:23     ` Wol
  2024-03-03 21:18       ` Jack
  0 siblings, 1 reply; 21+ messages in thread
From: Wol @ 2024-03-03 20:23 UTC (permalink / raw
  To: gentoo-user

On 03/03/2024 19:40, Jack wrote:
> On 2024.03.03 13:54, Wols Lists wrote:
>> On 03/03/2024 09:47, Wols Lists wrote:
>>> I'm getting this output from
>>>
>>> emerge --update --newuse --deep --with-bdeps=y @world
>>
>> whoops I mean "emerge --depclean"
>>
>> I'm trying to get a clean system, and don't know what exactly is 
>> wrong, or what to try ...
>>
>> Cheers,
>> Wol
>>
> As the error says, you generally need to do a full update before you can 
> depclean.
> 
> What error(s) do you get when trying to update firefox or thunderbird?  
> What happens if you try to update @world?
> 
Both firefox and thunderbird seemed to die for no obvious reason. Where 
do I find the logs?

But because depclean complained, I did blah-blah-with-bdeps, which 
emerged (or tried to) 21 packages, but firefox/thunderbird still bombed, 
and then --depclean still complained.

So I don't know what's going on, but basically Mozilla won't emerge, and 
I don't know why ...

Cheers,
Wol


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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-03 20:23     ` Wol
@ 2024-03-03 21:18       ` Jack
  2024-03-03 23:13         ` Carsten Hauck
  0 siblings, 1 reply; 21+ messages in thread
From: Jack @ 2024-03-03 21:18 UTC (permalink / raw
  To: gentoo-user

On 2024.03.03 15:23, Wol wrote:
> On 03/03/2024 19:40, Jack wrote:
>> On 2024.03.03 13:54, Wols Lists wrote:
>>> On 03/03/2024 09:47, Wols Lists wrote:
>>>> I'm getting this output from
>>>> 
>>>> emerge --update --newuse --deep --with-bdeps=y @world
>>> 
>>> whoops I mean "emerge --depclean"
>>> 
>>> I'm trying to get a clean system, and don't know what exactly is  
>>> wrong, or what to try ...
>>> 
>>> Cheers,
>>> Wol
>>> 
>> As the error says, you generally need to do a full update before you  
>> can depclean.
>> 
>> What error(s) do you get when trying to update firefox or  
>> thunderbird?  What happens if you try to update @world?
>> 
> Both firefox and thunderbird seemed to die for no obvious reason.  
> Where do I find the logs?
> 
> But because depclean complained, I did blah-blah-with-bdeps, which  
> emerged (or tried to) 21 packages, but firefox/thunderbird still  
> bombed, and then --depclean still complained.
> 
> So I don't know what's going on, but basically Mozilla won't emerge,  
> and I don't know why ...
> 
> Cheers,
> Wol
Did the other 19 package emerge OK?  Are the mozilla progs crashing  
when running, or when emerging?  If emerging, the log is just console  
output, as indecipherable as we know it sometimes can be.  If they  
crash when running, try running from command line.


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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-03 21:18       ` Jack
@ 2024-03-03 23:13         ` Carsten Hauck
  2024-03-09  8:04           ` Wols Lists
  0 siblings, 1 reply; 21+ messages in thread
From: Carsten Hauck @ 2024-03-03 23:13 UTC (permalink / raw
  To: gentoo-user

On 03/03/24 at 04:18, Jack wrote:
>On 2024.03.03 15:23, Wol wrote:
>>On 03/03/2024 19:40, Jack wrote:
>>>On 2024.03.03 13:54, Wols Lists wrote:
>>>>On 03/03/2024 09:47, Wols Lists wrote:
>>>>>I'm getting this output from
>>>>>
>>>>>emerge --update --newuse --deep --with-bdeps=y @world
>>>>
>>>>whoops I mean "emerge --depclean"
>>>>
>>>>I'm trying to get a clean system, and don't know what exactly is
>>>>wrong, or what to try ...
>>>>
>>>>Cheers,
>>>>Wol
>>>>
>>>As the error says, you generally need to do a full update before
>>>you can depclean.
>>>
>>>What error(s) do you get when trying to update firefox or
>>>thunderbird?  What happens if you try to update @world?
>>>
>>Both firefox and thunderbird seemed to die for no obvious reason.
>>Where do I find the logs?
>>
>>But because depclean complained, I did blah-blah-with-bdeps, which
>>emerged (or tried to) 21 packages, but firefox/thunderbird still
>>bombed, and then --depclean still complained.
>>
>>So I don't know what's going on, but basically Mozilla won't emerge,
>>and I don't know why ...
>>
>>Cheers,
>>Wol
>Did the other 19 package emerge OK?  Are the mozilla progs crashing
>when running, or when emerging?  If emerging, the log is just console
>output, as indecipherable as we know it sometimes can be.  If they
>crash when running, try running from command line.
>

Some time ago on one of my machines Thunderbird and Firefox stopped to
compile with USE="clang". As they can be build with gcc I never digged
too deep into that problem but maybe it's worth a shot.

Greetings,
Carsten


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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-03  9:47 [gentoo-user] Emerge trouble with firefox and thunderbird Wols Lists
  2024-03-03 18:54 ` Wols Lists
@ 2024-03-04 16:20 ` ralfconn
  2024-03-06  8:22   ` Wols Lists
  1 sibling, 1 reply; 21+ messages in thread
From: ralfconn @ 2024-03-04 16:20 UTC (permalink / raw
  To: gentoo-user

Il 03/03/24 10:47, Wols Lists ha scritto:
> I'm getting this output from
>
> emerge --update --newuse --deep --with-bdeps=y @world
>
>
> Calculating dependencies... done!
>  * Dependencies could not be completely resolved due to
>  * the following required packages not being installed:
>  *
>  *   >=dev-libs/icu-73.1:0/73.1= pulled in by:
>  *     www-client/firefox-115.6.0
>  *
>  * Have you forgotten to do a complete update prior to depclean? The
>  * most comprehensive command for this purpose is as follows:
>  *
>  *   emerge --update --newuse --deep --with-bdeps=y @world
>  *
>  * Note that the --with-bdeps=y option is not required in many
>  * situations. Refer to the emerge manual page (run `man emerge`)
>  * for more information about --with-bdeps.
>  *
>  * Also, note that it may be necessary to manually uninstall
>  * packages that no longer exist in the repository, since it may not
>  * be possible to satisfy their dependencies.
> thewolery /usr/local/bin #
>
> icu is at 74.2
>
> firefox failed to update ...
>
> *  www-client/firefox
>       Latest version available: 115.8.0
>       Latest version installed: 115.6.0
>       Size of files: 496,244 KiB
>       Homepage:      https://www.mozilla.com/firefox
>       Description:   Firefox Web Browser
>       License:       MPL-2.0 GPL-2 LGPL-2.1
>
> as did thunderbird ...
>
> *  mail-client/thunderbird
>       Latest version available: 115.8.0
>       Latest version installed: 115.6.0
>       Size of files: 528,920 KiB
>       Homepage:      https://www.thunderbird.net/
>       Description:   Thunderbird Mail Client
>       License:       MPL-2.0 GPL-2 LGPL-2.1
>
> Andy ideas? Or is the mozilla emerge stuff slightly broken on my 
> system? I've been having trouble with those two for the last few weeks 
> ...
>
> Cheers,
> Wol
>
Here I see:

[I] www-client/firefox
      Available versions:
      (esr)  115.7.0 115.8.0
      (rapid) (~)122.0.1 (~)123.0

You have 115.6.0 installed which apparently is out of tree. That may be 
confusing emerge. You could try to un-merge firefox, depclean and 
re-emerge it.

raf



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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-04 16:20 ` [gentoo-user] " ralfconn
@ 2024-03-06  8:22   ` Wols Lists
  0 siblings, 0 replies; 21+ messages in thread
From: Wols Lists @ 2024-03-06  8:22 UTC (permalink / raw
  To: gentoo-user

On 04/03/2024 16:20, ralfconn wrote:
> Il 03/03/24 10:47, Wols Lists ha scritto:
>> I'm getting this output from
>>
>> emerge --update --newuse --deep --with-bdeps=y @world
>>
>>
>> Calculating dependencies... done!
>>  * Dependencies could not be completely resolved due to
>>  * the following required packages not being installed:
>>  *
>>  *   >=dev-libs/icu-73.1:0/73.1= pulled in by:
>>  *     www-client/firefox-115.6.0
>>  *
>>  * Have you forgotten to do a complete update prior to depclean? The
>>  * most comprehensive command for this purpose is as follows:
>>  *
>>  *   emerge --update --newuse --deep --with-bdeps=y @world
>>  *
>>  * Note that the --with-bdeps=y option is not required in many
>>  * situations. Refer to the emerge manual page (run `man emerge`)
>>  * for more information about --with-bdeps.
>>  *
>>  * Also, note that it may be necessary to manually uninstall
>>  * packages that no longer exist in the repository, since it may not
>>  * be possible to satisfy their dependencies.
>> thewolery /usr/local/bin #
>>
>> icu is at 74.2
>>
>> firefox failed to update ...
>>
>> *  www-client/firefox
>>       Latest version available: 115.8.0
>>       Latest version installed: 115.6.0
>>       Size of files: 496,244 KiB
>>       Homepage:      https://www.mozilla.com/firefox
>>       Description:   Firefox Web Browser
>>       License:       MPL-2.0 GPL-2 LGPL-2.1
>>
>> as did thunderbird ...
>>
>> *  mail-client/thunderbird
>>       Latest version available: 115.8.0
>>       Latest version installed: 115.6.0
>>       Size of files: 528,920 KiB
>>       Homepage:      https://www.thunderbird.net/
>>       Description:   Thunderbird Mail Client
>>       License:       MPL-2.0 GPL-2 LGPL-2.1
>>
>> Andy ideas? Or is the mozilla emerge stuff slightly broken on my 
>> system? I've been having trouble with those two for the last few weeks 
>> ...
>>
>> Cheers,
>> Wol
>>
> Here I see:
> 
> [I] www-client/firefox
>       Available versions:
>       (esr)  115.7.0 115.8.0
>       (rapid) (~)122.0.1 (~)123.0
> 
> You have 115.6.0 installed which apparently is out of tree. That may be 
> confusing emerge. You could try to un-merge firefox, depclean and 
> re-emerge it.
> 
Hmm ... that sounds like it's been removed from the tree, then, and 
emerge can't cope with stuff disappearing. Surely that's a bug?

Anyways, I'll try and see what happens. I was thinking something of the 
sort, removing firefox that is, seeing how it goes.

I'll probably try the gcc thing first, though ... if that works, then 
it's a simpler "let it sort itself out" approach.

Cheers,
Wol



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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-03 23:13         ` Carsten Hauck
@ 2024-03-09  8:04           ` Wols Lists
  2024-03-09 12:49             ` Walter Dnes
  2024-03-10 13:50             ` [gentoo-user] " mp666
  0 siblings, 2 replies; 21+ messages in thread
From: Wols Lists @ 2024-03-09  8:04 UTC (permalink / raw
  To: gentoo-user

On 03/03/2024 23:13, Carsten Hauck wrote:
>>> So I don't know what's going on, but basically Mozilla won't emerge,
>>> and I don't know why ...
>>>
>>> Cheers,
>>> Wol

>> Did the other 19 package emerge OK?  Are the mozilla progs crashing
>> when running, or when emerging?  If emerging, the log is just console
>> output, as indecipherable as we know it sometimes can be.  If they
>> crash when running, try running from command line.
>>
> 
> Some time ago on one of my machines Thunderbird and Firefox stopped to
> compile with USE="clang". As they can be build with gcc I never digged
> too deep into that problem but maybe it's worth a shot.

For anyone else who hits this sort of problem, I did an

USE=-clang emerge --update @world

(firefox and thunderbird were the only programs I thought this would 
touch), and it worked.

There were a couple of other programs that I guess got pulled in by the 
changed use, but they've upgraded which is the main thing.

Thank you very much

Cheers,
Wol


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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-09  8:04           ` Wols Lists
@ 2024-03-09 12:49             ` Walter Dnes
  2024-03-09 14:45               ` Peter Humphrey
  2024-03-10 13:50             ` [gentoo-user] " mp666
  1 sibling, 1 reply; 21+ messages in thread
From: Walter Dnes @ 2024-03-09 12:49 UTC (permalink / raw
  To: gentoo-user

On Sat, Mar 09, 2024 at 08:04:06AM +0000, Wols Lists wrote

> For anyone else who hits this sort of problem, I did an
> 
> USE=-clang emerge --update @world
> 
> (firefox and thunderbird were the only programs I thought this would 
> touch), and it worked.

  I have "-clang" in USE in make.conf and no problems resulting from it.
clang seems to be another "solution in search of a problem" along the
lines of rust and cups and systemd and hatbuzz, etc, which keep trying
to worm their way into everybody's linux system.

-- 
Roses are red
Roses are blue
Depending on their velocity
Relative to you


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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-09 12:49             ` Walter Dnes
@ 2024-03-09 14:45               ` Peter Humphrey
  2024-03-09 19:37                 ` Walter Dnes
  0 siblings, 1 reply; 21+ messages in thread
From: Peter Humphrey @ 2024-03-09 14:45 UTC (permalink / raw
  To: gentoo-user

On Saturday, 9 March 2024 12:49:33 GMT Walter Dnes wrote:

>   I have "-clang" in USE in make.conf and no problems resulting from it.
> clang seems to be another "solution in search of a problem" along the
> lines of rust and cups and systemd and hatbuzz, etc, which keep trying
> to worm their way into everybody's linux system.

When I tried USE=-clang emerge -uaDvN @world, I got this:

[...]
>>> Running pre-merge checks for sys-libs/compiler-rt-18.1.0
 * Building using a compiler other than clang may result in broken atomics
 * library. Enable USE=clang unless you have a very good reason not to.

Does the compiler-rt ebuild override USE in make.conf?

-- 
Regards,
Peter.





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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-09 14:45               ` Peter Humphrey
@ 2024-03-09 19:37                 ` Walter Dnes
  2024-03-09 21:16                   ` Peter Humphrey
  0 siblings, 1 reply; 21+ messages in thread
From: Walter Dnes @ 2024-03-09 19:37 UTC (permalink / raw
  To: gentoo-user

On Sat, Mar 09, 2024 at 02:45:02PM +0000, Peter Humphrey wrote

> >>> Running pre-merge checks for sys-libs/compiler-rt-18.1.0
>  * Building using a compiler other than clang may result in broken atomics
>  * library. Enable USE=clang unless you have a very good reason not to.

  According to https://packages.gentoo.org/packages/sys-libs/compiler-rt
"sys-libs/compiler-rt" is a "Compiler runtime library for clang
(built-in part)" so like... dohhh.  Use clang to support clang.  The
real question is what else, besides clang and its libraries, are you
building that requires clang?

> Does the compiler-rt ebuild override USE in make.conf?

  You can build it with USE="-clang", but that defeats the entire
purpose of building compiler-rt.

-- 
Roses are red
Roses are blue
Depending on their velocity
Relative to you


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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-09 19:37                 ` Walter Dnes
@ 2024-03-09 21:16                   ` Peter Humphrey
  2024-03-10  7:17                     ` Walter Dnes
  0 siblings, 1 reply; 21+ messages in thread
From: Peter Humphrey @ 2024-03-09 21:16 UTC (permalink / raw
  To: gentoo-user

On Saturday, 9 March 2024 19:37:40 GMT Walter Dnes wrote:

> On Sat, Mar 09, 2024 at 02:45:02PM +0000, Peter Humphr
> The real question is what else, besides clang and its libraries, are you
> building that requires clang?

Firefox.

-- 
Regards,
Peter.





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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-09 21:16                   ` Peter Humphrey
@ 2024-03-10  7:17                     ` Walter Dnes
  2024-03-10 14:08                       ` Peter Humphrey
  0 siblings, 1 reply; 21+ messages in thread
From: Walter Dnes @ 2024-03-10  7:17 UTC (permalink / raw
  To: gentoo-user

On Sat, Mar 09, 2024 at 09:16:37PM +0000, Peter Humphrey wrote
> On Saturday, 9 March 2024 19:37:40 GMT Walter Dnes wrote:
> 
> > On Sat, Mar 09, 2024 at 02:45:02PM +0000, Peter Humphr
> > The real question is what else, besides clang and its libraries,
> are you building that requires clang?
> 
> Firefox.

  Upstream in this same thread...

On Sat, Mar 09, 2024 at 08:04:06AM +0000, Wols Lists wrote
> On 03/03/2024 23:13, Carsten Hauck wrote:
> >
> > Some time ago on one of my machines Thunderbird and Firefox stopped to
> > compile with USE="clang". As they can be build with gcc I never digged
> > too deep into that problem but maybe it's worth a shot.
>
> For anyone else who hits this sort of problem, I did an
>
> USE=-clang emerge --update @world
>
> (firefox and thunderbird were the only programs I thought this would
> touch), and it worked.
>
> There were a couple of other programs that I guess got pulled in by the
> changed use, but they've upgraded which is the main thing.
>
> Thank you very much

  So there are at least 2 people who've found out that Firefox can and
*MUST* be built with USE="-clang".

-- 
Roses are red
Roses are blue
Depending on their velocity
Relative to you


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

* [gentoo-user] Re: Emerge trouble with firefox and thunderbird ...
  2024-03-09  8:04           ` Wols Lists
  2024-03-09 12:49             ` Walter Dnes
@ 2024-03-10 13:50             ` mp666
  2024-03-10 22:44               ` Carsten Hauck
  1 sibling, 1 reply; 21+ messages in thread
From: mp666 @ 2024-03-10 13:50 UTC (permalink / raw
  To: gentoo-user

On Sat, 9 Mar 2024 08:04:06 +0000, Wols Lists wrote:

> For anyone else who hits this sort of problem, I did an
> 
> USE=-clang emerge --update @world
> 
> (firefox and thunderbird were the only programs I thought this would
> touch), and it worked.
> 
> There were a couple of other programs that I guess got pulled in by the
> changed use, but they've upgraded which is the main thing.
> 
> Thank you very much
> 
> Cheers,
> Wol

This is a known problem. It generally shows itself with older 
architectures like AMD Phenom II, Bulldozer, Intel Core 2 etc. 
"-march=native" in the make.conf file was the culprit, IIRC, and replacing 
it with core2 or amd's equivalent option solved it. I, instead, put
"-clang" in my package.use file, for firefox. No problem with Firefox 
builds since then.




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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-10  7:17                     ` Walter Dnes
@ 2024-03-10 14:08                       ` Peter Humphrey
  2024-03-10 19:43                         ` ralfconn
  0 siblings, 1 reply; 21+ messages in thread
From: Peter Humphrey @ 2024-03-10 14:08 UTC (permalink / raw
  To: gentoo-user

On Sunday, 10 March 2024 07:17:27 GMT Walter Dnes wrote:

>   So there are at least 2 people who've found out that Firefox can and
> *MUST* be built with USE="-clang".

Ah. I'll change my USE flag straight away.

Thanks Walter.

-- 
Regards,
Peter.





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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-10 14:08                       ` Peter Humphrey
@ 2024-03-10 19:43                         ` ralfconn
  2024-03-10 22:44                           ` Walter Dnes
  0 siblings, 1 reply; 21+ messages in thread
From: ralfconn @ 2024-03-10 19:43 UTC (permalink / raw
  To: gentoo-user

Il 10/03/24 15:08, Peter Humphrey ha scritto:
> On Sunday, 10 March 2024 07:17:27 GMT Walter Dnes wrote:
>
>>    So there are at least 2 people who've found out that Firefox can and
>> *MUST* be built with USE="-clang".
> Ah. I'll change my USE flag straight away.
>
> Thanks Walter.

This got me wondering, here I don't have clang in my make.config. The 
main packages using it are:

[I] www-client/firefox
      Installed versions:  123.0.1(rapid)(21:16:32 03/06/24)(X clang ...

[I] mail-client/thunderbird
      Installed versions:  115.8.1(21:14:19 03/07/24)(X clang ...

[I] app-office/libreoffice
      Installed versions:  7.6.5.2^t(21:42:53 03/06/24)(... -clang ...

libreoffice sees it unset because it is not present in the global uses. 
firefox and thunderbird instead set it in the ebuild:

$ grep clang /var/db/repos/gentoo/www-client/firefox/firefox-123.0.ebuild
IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"

$ grep clang 
/var/db/repos/gentoo/mail-client/thunderbird/thunderbird-115.8.1.ebuild
IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"

Both packages have no issues here with +clang. Given the warning message 
reported by Peter ("Enable USE=clang unless you have a very good reason 
not to.") and the fact that gentoo developers decided to switch it on 
specifically for these packages it would probably be a better idea to 
file a bugzilla rather than forcing the use of GCC, which might fix the 
issue now but lead to problems later. As usual, YMMV.

raf



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

* Re: [gentoo-user] Re: Emerge trouble with firefox and thunderbird ...
  2024-03-10 13:50             ` [gentoo-user] " mp666
@ 2024-03-10 22:44               ` Carsten Hauck
  2024-03-11  7:39                 ` Wols Lists
  0 siblings, 1 reply; 21+ messages in thread
From: Carsten Hauck @ 2024-03-10 22:44 UTC (permalink / raw
  To: gentoo-user

On 10/03/24 at 01:50, mp666 wrote:
>On Sat, 9 Mar 2024 08:04:06 +0000, Wols Lists wrote:
>
>> For anyone else who hits this sort of problem, I did an
>>
>> USE=-clang emerge --update @world
>>
>> (firefox and thunderbird were the only programs I thought this would
>> touch), and it worked.
>>
>> There were a couple of other programs that I guess got pulled in by the
>> changed use, but they've upgraded which is the main thing.
>>
>> Thank you very much
>>
>> Cheers,
>> Wol
>
>This is a known problem. It generally shows itself with older
>architectures like AMD Phenom II, Bulldozer, Intel Core 2 etc.
>"-march=native" in the make.conf file was the culprit, IIRC, and replacing
>it with core2 or amd's equivalent option solved it. I, instead, put
>"-clang" in my package.use file, for firefox. No problem with Firefox
>builds since then.
>
>
>
The CPU of the machine in question is in deed an old AMD. It's good to
know the reason for that build-failures, thanks a lot.
I certainly will stick to "-clang" in my package.use.

Greetings,
Carsten


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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-10 19:43                         ` ralfconn
@ 2024-03-10 22:44                           ` Walter Dnes
  2024-03-11 18:25                             ` ralfconn
  0 siblings, 1 reply; 21+ messages in thread
From: Walter Dnes @ 2024-03-10 22:44 UTC (permalink / raw
  To: gentoo-user

On Sun, Mar 10, 2024 at 08:43:46PM +0100, ralfconn wrote

> Given the warning message reported by Peter ("Enable USE=clang unless
> you have a very good reason not to.")

  That message comes from sys-libs/compiler-rt which is a dedicated
runtime lib for clang.  It makes sense to use clang if you're building
the clang toolchain... just like using gcc if you're building the gcc
toolchain.

-- 
Roses are red
Roses are blue
Depending on their velocity
Relative to you


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

* Re: [gentoo-user] Re: Emerge trouble with firefox and thunderbird ...
  2024-03-10 22:44               ` Carsten Hauck
@ 2024-03-11  7:39                 ` Wols Lists
  0 siblings, 0 replies; 21+ messages in thread
From: Wols Lists @ 2024-03-11  7:39 UTC (permalink / raw
  To: gentoo-user

On 10/03/2024 22:44, Carsten Hauck wrote:
>>
> The CPU of the machine in question is in deed an old AMD. It's good to
> know the reason for that build-failures, thanks a lot.
> I certainly will stick to "-clang" in my package.use.

Interesting. I'm not at all sure how old my CPU is, but at four cores it 
must be getting on a bit. Sounds like I should do the same ...

Cheers,
Wol


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

* Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
  2024-03-10 22:44                           ` Walter Dnes
@ 2024-03-11 18:25                             ` ralfconn
  0 siblings, 0 replies; 21+ messages in thread
From: ralfconn @ 2024-03-11 18:25 UTC (permalink / raw
  To: gentoo-user

Il 10/03/24 23:44, Walter Dnes ha scritto:
> On Sun, Mar 10, 2024 at 08:43:46PM +0100, ralfconn wrote
>
>> Given the warning message reported by Peter ("Enable USE=clang unless
>> you have a very good reason not to.")
>    That message comes from sys-libs/compiler-rt which is a dedicated
> runtime lib for clang.  It makes sense to use clang if you're building
> the clang toolchain... just like using gcc if you're building the gcc
> toolchain.
>

Correct, my mistake. My point was that it's worth filing a bug since 
it's possible that GCC support will be dropped upstream. But, the only 
'news' I found on this regard [1] is quite old and it looks like GCC is 
still being supported.

raf

[1] 
https://blog.mozilla.org/nfroyd/2018/05/29/when-implementation-monoculture-right-thing/


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

end of thread, other threads:[~2024-03-11 18:25 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-03  9:47 [gentoo-user] Emerge trouble with firefox and thunderbird Wols Lists
2024-03-03 18:54 ` Wols Lists
2024-03-03 19:40   ` Jack
2024-03-03 20:23     ` Wol
2024-03-03 21:18       ` Jack
2024-03-03 23:13         ` Carsten Hauck
2024-03-09  8:04           ` Wols Lists
2024-03-09 12:49             ` Walter Dnes
2024-03-09 14:45               ` Peter Humphrey
2024-03-09 19:37                 ` Walter Dnes
2024-03-09 21:16                   ` Peter Humphrey
2024-03-10  7:17                     ` Walter Dnes
2024-03-10 14:08                       ` Peter Humphrey
2024-03-10 19:43                         ` ralfconn
2024-03-10 22:44                           ` Walter Dnes
2024-03-11 18:25                             ` ralfconn
2024-03-10 13:50             ` [gentoo-user] " mp666
2024-03-10 22:44               ` Carsten Hauck
2024-03-11  7:39                 ` Wols Lists
2024-03-04 16:20 ` [gentoo-user] " ralfconn
2024-03-06  8:22   ` Wols Lists

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