Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-23 Thread Dale
Daniel Pielmeier wrote:
> Looks like it is related to -march=native.
>
> See bug https://bugs.gentoo.org/838373
>


Nailed it.  After the post by Michael, I edited the kernel several
times.  I'm sure I ruled that thing out.  I had some crc stuff not there
but same error with or without.  I admit, I wouldn't have thought of a
kernel driver issue but the error did sort of lead that way.  Given the
CPU FLAGS is about the CPU and its instruction set, it could be a option. 

I would never have thought of the CFLAGS in make.conf.  I'm not sure how
you figured that out either.  o_O  Before trying new settings for that,
I tried newer versions of clang, llvm and their friends to see if there
was a fix that wasn't applied to older versions.  When you unmask one
thing, it snowballs a bit.  Anyway, after getting a more recent version
of clang and llvm, it still failed.  At that point, I suspected that I
had ruled out those packages.  I did some digging to find what my CFLAG
settings should be if done manually.  It took some digging tho.  Once I
set that to the manual way, it compiled successfully on the first try. 

So, my backup rig now has a web browser.  That's good.  ;-)  I wonder
why that bug report wasn't in the search results when I was digging for
the error???  If I see something Gentoo related, I always look. 

While at it.  I don't think there is a way but I may have missed it.  As
a example, when I wanted to unmask/keyword specific versions of llvm and
clang, is there a tool to find out what all else has to also be
unmasked/keyworded?  When I tried to do that for the packages I wanted,
I ended up running emerge to find more that had to be added to the
list.  This is the list I ended up with. 


sys-devel/clang
sys-devel/llvm
sys-devel/clang-common
sys-devel/clang-runtime
sys-devel/clang-toolchain-symlinks
sys-libs/compiler-rt
sys-libs/compiler-rt-sanitizers
sys-libs/libomp
sys-devel/llvm-toolchain-symlinks
sys-devel/llvmgold



It would be nice if there is a way to just run a command once and it
spits out a friendly list that can be added to the proper file.  Save
annoying some electrons and all.  ;-) 

Thanks much to you both.  I hope if someone else runs into this, this
thread pops up in the search results.  Save someone some head scratching. 

Dale

:-)  :-) 

P. S.  Switched computer case door to left side hinge the other day. 
Put in the drive trays and figuring out if there is a way to put drives
in other places and still have lots of fans.  :-D 



Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-23 Thread Michael
On Thursday, 23 November 2023 11:06:25 GMT Daniel Pielmeier wrote:
> Am 23. November 2023 08:08:47 UTC schrieb Dale :
> >Daniel Pielmeier wrote:
> >> Looks like it is related to -march=native.
> >> 
> >> See bug https://bugs.gentoo.org/838373
> >
> >I'm not sure how you figured that out either.
> 
> 
> 
> I pasted the error message into the search engine of my choice. I think
> there were some results from the Gentoo forums which lead to the bug
> report.

Good catch.  I suspected it could have been caused by a kernel module enabling 
CRC in hardware missing, but I didn't think of a bug being the cause of it, 
let alone caused by march=native.  It compiles and installs fine here with 
march=native.

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-23 Thread Daniel Pielmeier
Am 23. November 2023 08:08:47 UTC schrieb Dale :
>Daniel Pielmeier wrote:
>> Looks like it is related to -march=native.
>>
>> See bug https://bugs.gentoo.org/838373
>>
>
>I'm not sure how you figured that out either.



I pasted the error message into the search engine of my choice. I think there 
were some results from the Gentoo forums which lead to the bug report.

-- 
Best regards
Daniel



Re: [gentoo-user] Portage reports preserved libs, but won't rebuild

2023-11-23 Thread Arve Barsnes
On Fri, 24 Nov 2023 at 04:07, Jack  wrote:
>
> May or may not help, but have you tried revdep-rebuild?

Also, you can try just one-shotting the reported packages, such as
(for the last one in your list):

emerge -1 sys-libs/zlib

Regards,
Arve



[gentoo-user] Portage reports preserved libs, but won't rebuild

2023-11-23 Thread Matt Connell
First time I've seen this happen!

Any time I emerge anything, I get portage telling me I have the
following preserved libs:

---

!!! existing preserved libs: 
>>> package: app-arch/bzip2-1.0.8-r4 
 *  - /usr/lib/libbz2.so.1   
 *  - /usr/lib/libbz2.so.1.0.8   
 *  used by /usr/lib/libfreetype.so.6 (preserved)
 *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)   
>>> package: dev-libs/glib-2.76.4
 *  - /usr/lib/libglib-2.0.so.0  
 *  - /usr/lib/libglib-2.0.so.0.7600.4
 *  used by /usr/lib/libharfbuzz.so.0 (preserved)
 *  used by /usr/lib/libharfbuzz.so.0.60801.0 (preserved)
>>> package: dev-libs/libpcre2-10.42-r1
 *  - /usr/lib/libpcre2-8.so.0
 *  - /usr/lib/libpcre2-8.so.0.11.2 
 *  used by /usr/lib/libglib-2.0.so.0 (preserved)
 *  used by /usr/lib/libglib-2.0.so.0.7600.4 (preserved)
>>> package: media-gfx/graphite2-1.3.14_p20210810-r3
 *  - /usr/lib/libgraphite2.so.3 
 *  - /usr/lib/libgraphite2.so.3.2.1
 *  used by /usr/lib/libharfbuzz.so.0 (preserved)
 *  used by /usr/lib/libharfbuzz.so.0.60801.0 (preserved)
>>> package: media-libs/freetype-2.13.2
 *  - /usr/lib/libfreetype.so.6   
 *  - /usr/lib/libfreetype.so.6.20.1
 *  used by /usr/lib/libharfbuzz.so.0 (preserved)
 *  used by /usr/lib/libharfbuzz.so.0.60801.0 (preserved)
>>> package: media-libs/harfbuzz-8.2.0
 *  - /usr/lib/libharfbuzz.so.0
 *  - /usr/lib/libharfbuzz.so.0.60801.0 
 *  used by /usr/lib/libfreetype.so.6 (preserved)
 *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)
>>> package: media-libs/libpng-1.6.40-r1
 *  - /usr/lib/libpng16.so.16  
 *  - /usr/lib/libpng16.so.16.40.0  
 *  used by /usr/lib/libfreetype.so.6 (preserved)
 *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)
>>> package: sys-libs/zlib-1.3-r1
 *  - /usr/lib/libz.so.1   
 *  - /usr/lib/libz.so.1.2.13   
 *  used by /usr/lib/libfreetype.so.6 (preserved)
 *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)
 *  used by /usr/lib/libpng16.so.16 (preserved)
 *  used by /usr/lib/libpng16.so.16.40.0 (preserved)

---

But when I run emerge @preserved-rebuild as one should, all I get is:
"Nothing to merge; quitting."

Anyone else experienced this?  How do I figure out what I need to do?

Thanks in advance.



[gentoo-user] Portage reports preserved libs, but won't rebuild

2023-11-23 Thread Matt Connell
First time I've seen this happen!

Any time I emerge anything, I get portage telling me I have the
following preserved libs:

---

!!! existing preserved libs:  
>>> package: app-arch/bzip2-1.0.8-r4  
 *  - /usr/lib/libbz2.so.1
 *  - /usr/lib/libbz2.so.1.0.8
 *  used by /usr/lib/libfreetype.so.6 (preserved) 
 *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)
>>> package: dev-libs/glib-2.76.4 
 *  - /usr/lib/libglib-2.0.so.0   
 *  - /usr/lib/libglib-2.0.so.0.7600.4
 *  used by /usr/lib/libharfbuzz.so.0 (preserved) 
 *  used by /usr/lib/libharfbuzz.so.0.60801.0 (preserved)
>>> package: dev-libs/libpcre2-10.42-r1
 *  - /usr/lib/libpcre2-8.so.0
 *  - /usr/lib/libpcre2-8.so.0.11.2  
 *  used by /usr/lib/libglib-2.0.so.0 (preserved) 
 *  used by /usr/lib/libglib-2.0.so.0.7600.4 (preserved)
>>> package: media-gfx/graphite2-1.3.14_p20210810-r3
 *  - /usr/lib/libgraphite2.so.3  
 *  - /usr/lib/libgraphite2.so.3.2.1 
 *  used by /usr/lib/libharfbuzz.so.0 (preserved) 
 *  used by /usr/lib/libharfbuzz.so.0.60801.0 (preserved)
>>> package: media-libs/freetype-2.13.2
 *  - /usr/lib/libfreetype.so.6
 *  - /usr/lib/libfreetype.so.6.20.1 
 *  used by /usr/lib/libharfbuzz.so.0 (preserved) 
 *  used by /usr/lib/libharfbuzz.so.0.60801.0 (preserved)
>>> package: media-libs/harfbuzz-8.2.0
 *  - /usr/lib/libharfbuzz.so.0 
 *  - /usr/lib/libharfbuzz.so.0.60801.0  
 *  used by /usr/lib/libfreetype.so.6 (preserved) 
 *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)
>>> package: media-libs/libpng-1.6.40-r1
 *  - /usr/lib/libpng16.so.16   
 *  - /usr/lib/libpng16.so.16.40.0   
 *  used by /usr/lib/libfreetype.so.6 (preserved) 
 *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)
>>> package: sys-libs/zlib-1.3-r1
 *  - /usr/lib/libz.so.1
 *  - /usr/lib/libz.so.1.2.13
 *  used by /usr/lib/libfreetype.so.6 (preserved) 
 *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)
 *  used by /usr/lib/libpng16.so.16 (preserved)
 *  used by /usr/lib/libpng16.so.16.40.0 (preserved) 

---

But when I run emerge @preserved-rebuild as one should, all I get is:
"Nothing to merge; quitting."

Anyone else experienced this?  How do I figure out what I need to do?

Thanks in advance.



Re: [gentoo-user] Portage reports preserved libs, but won't rebuild

2023-11-23 Thread Jack

May or may not help, but have you tried revdep-rebuild?

On 11/23/23 16:51, Matt Connell wrote:

First time I've seen this happen!

Any time I emerge anything, I get portage telling me I have the
following preserved libs:

---

!!! existing preserved libs:

package: app-arch/bzip2-1.0.8-r4

  *  - /usr/lib/libbz2.so.1
  *  - /usr/lib/libbz2.so.1.0.8
  *  used by /usr/lib/libfreetype.so.6 (preserved)
  *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)

package: dev-libs/glib-2.76.4

  *  - /usr/lib/libglib-2.0.so.0
  *  - /usr/lib/libglib-2.0.so.0.7600.4
  *  used by /usr/lib/libharfbuzz.so.0 (preserved)
  *  used by /usr/lib/libharfbuzz.so.0.60801.0 (preserved)

package: dev-libs/libpcre2-10.42-r1

  *  - /usr/lib/libpcre2-8.so.0
  *  - /usr/lib/libpcre2-8.so.0.11.2
  *  used by /usr/lib/libglib-2.0.so.0 (preserved)
  *  used by /usr/lib/libglib-2.0.so.0.7600.4 (preserved)

package: media-gfx/graphite2-1.3.14_p20210810-r3

  *  - /usr/lib/libgraphite2.so.3
  *  - /usr/lib/libgraphite2.so.3.2.1
  *  used by /usr/lib/libharfbuzz.so.0 (preserved)
  *  used by /usr/lib/libharfbuzz.so.0.60801.0 (preserved)

package: media-libs/freetype-2.13.2

  *  - /usr/lib/libfreetype.so.6
  *  - /usr/lib/libfreetype.so.6.20.1
  *  used by /usr/lib/libharfbuzz.so.0 (preserved)
  *  used by /usr/lib/libharfbuzz.so.0.60801.0 (preserved)

package: media-libs/harfbuzz-8.2.0

  *  - /usr/lib/libharfbuzz.so.0
  *  - /usr/lib/libharfbuzz.so.0.60801.0
  *  used by /usr/lib/libfreetype.so.6 (preserved)
  *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)

package: media-libs/libpng-1.6.40-r1

  *  - /usr/lib/libpng16.so.16
  *  - /usr/lib/libpng16.so.16.40.0
  *  used by /usr/lib/libfreetype.so.6 (preserved)
  *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)

package: sys-libs/zlib-1.3-r1

  *  - /usr/lib/libz.so.1
  *  - /usr/lib/libz.so.1.2.13
  *  used by /usr/lib/libfreetype.so.6 (preserved)
  *  used by /usr/lib/libfreetype.so.6.20.1 (preserved)
  *  used by /usr/lib/libpng16.so.16 (preserved)
  *  used by /usr/lib/libpng16.so.16.40.0 (preserved)

---

But when I run emerge @preserved-rebuild as one should, all I get is:
"Nothing to merge; quitting."

Anyone else experienced this?  How do I figure out what I need to do?

Thanks in advance.





Re: [gentoo-user] Portage reports preserved libs, but won't rebuild

2023-11-23 Thread Matt Connell
Sorry for the double post; I got a mail-undeliverable from Google so I
thought it didn't go through and retried it.  Turns out it got to the
mailing list (both times) but not to gmail recipients because Google
doesn't like my SPF record (record says hard-fail on no match and
someone somewhere is using ipv6).



Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-23 Thread Dale
Michael wrote:
> On Thursday, 23 November 2023 11:06:25 GMT Daniel Pielmeier wrote:
>> Am 23. November 2023 08:08:47 UTC schrieb Dale :
>>> Daniel Pielmeier wrote:
 Looks like it is related to -march=native.

 See bug https://bugs.gentoo.org/838373
>>> I'm not sure how you figured that out either.
>> 
>>
>> I pasted the error message into the search engine of my choice. I think
>> there were some results from the Gentoo forums which lead to the bug
>> report.
> Good catch.  I suspected it could have been caused by a kernel module 
> enabling 
> CRC in hardware missing, but I didn't think of a bug being the cause of it, 
> let alone caused by march=native.  It compiles and installs fine here with 
> march=native.


I think it only gets hit with this with certain CPUs.  Mine just happens
to be one of them for the 770T.  My main rig, which only has a slightly
newer CPU, is not hit by this. 

I'm just surprised that it is still not fixed somehow.  It sounds like
upstream tho not Gentoo.  Us Gentoo folks just happen to be hit by it
since we compile our own packages. 

I'm just glad to get it installed.  At least if something happens to
this main rig, I got something to use.  It's gonna be slow tho.  Half
the CPU cores, half the memory.  Beats nothing tho.  At least I can
still watch TV.  O_O

Thanks to all.  :-D 

Dale

:-)  :-)