Discussion:
[gentoo-user] Emerge trouble with firefox and thunderbird ...
(too old to reply)
Wols Lists
2024-03-03 09:50:01 UTC
Permalink
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
Wols Lists
2024-03-03 19:00:01 UTC
Permalink
Post by Wols Lists
I'm getting this output from
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
Jack
2024-03-03 19:50:01 UTC
Permalink
Post by Wols Lists
Post by Wols Lists
I'm getting this output from
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?
Wol
2024-03-03 20:30:01 UTC
Permalink
Post by Wols Lists
Post by Wols Lists
I'm getting this output from
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?
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
Jack
2024-03-03 21:20:01 UTC
Permalink
Post by Wol
Post by Jack
Post by Wols Lists
Post by Wols Lists
I'm getting this output from
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
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.
Carsten Hauck
2024-03-03 23:20:01 UTC
Permalink
Post by Jack
Post by Wol
Post by Jack
Post by Wols Lists
Post by Wols Lists
I'm getting this output from
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
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
Wols Lists
2024-03-09 08:10:01 UTC
Permalink
Post by Carsten Hauck
Post by Wol
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
Walter Dnes
2024-03-09 12:50:01 UTC
Permalink
Post by Wols Lists
For anyone else who hits this sort of problem, I did an
(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
Peter Humphrey
2024-03-09 14:50:01 UTC
Permalink
Post by Walter Dnes
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:

[...]
Post by Walter Dnes
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.
Walter Dnes
2024-03-09 19:40:01 UTC
Permalink
Post by Peter Humphrey
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?
Post by Peter Humphrey
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
Peter Humphrey
2024-03-09 21:20:01 UTC
Permalink
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.
Walter Dnes
2024-03-10 07:20:01 UTC
Permalink
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...
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
(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
Peter Humphrey
2024-03-10 14:10:01 UTC
Permalink
Post by Walter Dnes
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.
ralfconn
2024-03-10 19:50:01 UTC
Permalink
Post by Peter Humphrey
Post by Walter Dnes
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
Walter Dnes
2024-03-10 22:50:02 UTC
Permalink
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
ralfconn
2024-03-11 18:30:01 UTC
Permalink
Post by Walter Dnes
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/
mp666
2024-03-10 14:00:02 UTC
Permalink
Post by Wols Lists
For anyone else who hits this sort of problem, I did an
(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.
Carsten Hauck
2024-03-10 22:50:02 UTC
Permalink
Post by mp666
Post by Wols Lists
For anyone else who hits this sort of problem, I did an
(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
Wols Lists
2024-03-11 07:40:01 UTC
Permalink
Post by Carsten Hauck
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
ralfconn
2024-03-04 16:30:02 UTC
Permalink
Post by Wols Lists
I'm getting this output from
Calculating dependencies... done!
 * Dependencies could not be completely resolved due to
 *
 *     www-client/firefox-115.6.0
 *
 * Have you forgotten to do a complete update prior to depclean? The
 *
 *
 * 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
Wols Lists
2024-03-06 08:30:01 UTC
Permalink
Post by ralfconn
Post by Wols Lists
I'm getting this output from
Calculating dependencies... done!
 * Dependencies could not be completely resolved due to
 *
 *     www-client/firefox-115.6.0
 *
 * Have you forgotten to do a complete update prior to depclean? The
 *
 *
 * 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
[I] www-client/firefox
     (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
Loading...