Re: F40 Change Proposal: Optimized Binaries for the AMD64 Architecture (System-Wide)

2023-12-31 Thread Dominique Martinet
John Reiser wrote on Sun, Dec 31, 2023 at 02:52:53PM -0800:
> > Additional paths will be inserted into the search path used for
> > executables on systems which have a compatible CPU.
> 
> Searching $PATH is a slow operation. It is so slow that a shell script which
> typically processes many files using utilities from packages coreutils
> and/or binutils often factors-out the PATH search by using
> shell variables:
> 
>   CP=$(which cp)
> ...
>   $(CP) $file.in $file.out

(getting slighly off topic, sorry)
That hasn't been needed for as long as I've used a compter, all^W most
shells already do this for you.

(It's obvious in interactive mode when you need to use hash/rehash
built-ins after moving a binary that you ran once, but it's true as well
when running scripts: if you e.g. strace for stat() calls a script that
calls cp twice you'll see it only looks through PATH once. This is true
of at least bash, zsh, dash, and even busybox ash... Interestingly fish
doesn't seem to do it, I'm a bit surpised here)


Anyway, I'm not arguing PATH lookups are fast -- having seen some setups
with 'module's over NFS or networked file systems I know how bad that
can get -- just don't undersell your shells :)

-- 
Dominique Martinet | Asmadeus
--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: F40 Change Proposal: Optimized Binaries for the AMD64 Architecture (System-Wide)

2023-12-31 Thread John Reiser

Additional paths will be inserted into the search path used for
executables on systems which have a compatible CPU.


Searching $PATH is a slow operation. It is so slow that a shell script 
which typically processes many files using utilities from packages 
coreutils and/or binutils often factors-out the PATH search by using

shell variables:

CP=$(which cp)
  ...
$(CP) $file.in $file.out

Do not add directories to $PATH.  Any executable which may benefit
significantly from micro-architectural enhancements should use
the IFUNC mechanism explicitly.  If the developer of the executable
cannot be bothered to use IFUNC, then the uses of the executable
should not slow down EVERY shell path search in the entire session.
Glibc already uses IFUNC for many mem*() and str*() functions (such as
memcpy, strlen, etc.), which covers the vast majority of "random"
cases which usually benefit from such microarchitecture enhancements.


Fedora binaries for the AMD64 architecture are compiled with
code-generation flags that support almost all CPU variants. But newer
generations of processors gained additional instructions that may be
used to generate faster code. A vendor-independent x86-64 psABI
supplement defines four "microachitecture levels": `x86-64-v1` (the
baseline, our code targets this), `x86-64-v2` (+`SSE3`, CentoOS
targets this), `x86-64-v3` (+`AVX`[edit: and + 'AVX2']), `x86-64-v4` 
(+`AVX512`) [1].

Please note the edit: -v3 includes both AVX and AVX2.

There are x86_64 CPUs which have AVX (128-bit xmm registers) but not 
AVX2 (256-bit ymm registers): for instance, AMD A10-7890K (cpu family 
21, model 56: 4 CPU cores, 8 graphics cores), which was current in 2019.

Why is there no corresponding microarchitecure level?  In many cases
AVX2 provides significant benefit over AVX, without the monstrosity
of AVX512 (512-bit zmm registers) which requires vastly more chip area 
and power consumption.

--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Troubleshooting MD RAID assembly not working after upgrade to F39

2023-12-31 Thread Sandro

On 12/27/23 23:41, Sandro wrote:

Thanks for sparring! Whatever the outcome, I'll report here and on
discussion.


As promised, here is the outcome of a lengthy investigation. While I was 
on the right track right from the start, I failed to recognize 
(something about moving parts, some trees and a forest).


The culprit turns out to be `blkid`, which returns incomplete 
information for, in my case, the raid partitions using version 1.1 
superblock.


For more info see:

https://bugzilla.redhat.com/show_bug.cgi?id=2249392

or, for the journey diary, see:

https://discussion.fedoraproject.org/t/system-fails-to-boot-after-dnf-system-upgrade-due-to-missing-md-raid-devices/100218

Cheers,

--
Sandro
FAS: gui1ty
IRC: Penguinpee
Elsewhere: [Pp]enguinpee
--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: mockbuild fails locally: dnf v dnf5

2023-12-31 Thread Mark E. Fuller
ok, so perhaps I needed to use `sudo` previously - I ended up manually 
wiping the `/var/lib/mock/ directory contents and that fixed me up


Mark E. Fuller, Ph.D.
ful...@fedoraproject.org
ful...@mefuller.dev
@fuller:fedora.im
@fuller:one.ems.host
https://mefuller.dev
PGP Fingerprint: 73F1 A30C BDF4 DB4B C75F FD0F D599 E76C FFCA BF60

On 12/31/23 12:43, Mark E. Fuller wrote:
Unfortunately, this doesn't seem to do the trick - the `mock 
--scrub=all` runs, but then the same error keeps occurring on both systems


Any other thoughts as to how to more aggressively/manually force an update?

Mark E. Fuller, Ph.D.
ful...@fedoraproject.org
ful...@mefuller.dev
@fuller:fedora.im
@fuller:one.ems.host
https://mefuller.dev
PGP Fingerprint: 73F1 A30C BDF4 DB4B C75F FD0F D599 E76C FFCA BF60

On 12/28/23 14:32, Jonathan Steffan wrote:

Mark,

You likely just need to scrub mock to clean out the dnf4 based 
bootstrap. A fresh one with dnf5 will be automatically downloaded.


mock --scrub=all

--
Jonathan Steffan

--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: mockbuild fails locally: dnf v dnf5

2023-12-31 Thread Mark E. Fuller
Unfortunately, this doesn't seem to do the trick - the `mock 
--scrub=all` runs, but then the same error keeps occurring on both systems


Any other thoughts as to how to more aggressively/manually force an update?

Mark E. Fuller, Ph.D.
ful...@fedoraproject.org
ful...@mefuller.dev
@fuller:fedora.im
@fuller:one.ems.host
https://mefuller.dev
PGP Fingerprint: 73F1 A30C BDF4 DB4B C75F FD0F D599 E76C FFCA BF60

On 12/28/23 14:32, Jonathan Steffan wrote:

Mark,

You likely just need to scrub mock to clean out the dnf4 based 
bootstrap. A fresh one with dnf5 will be automatically downloaded.


mock --scrub=all

--
Jonathan Steffan

--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Orphaned plenty of packages

2023-12-31 Thread Daniel Milnes via devel
Hey Robin,

Thanks for getting all these packaged!

I've taken nsnake and nudoku, and will push the 3.0.0 update the latter soon.

On Sun, 2023-12-31 at 20:06 +0800, Robin Lee wrote:
> Sorry, since changes in day-job and lack of time for working on
> Fedora, I orphaned plenty of packages:
> 
> * buildstream
> * csmith
> * drumstick
> * drumstick0
> * kmetronome
> * nsnake
> * nudoku
> * qstardict
> * qterm
> * sonivox
> * texworks
> * vmpk
> 
> -robin
> --
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue

-- 
Daniel Milnes


signature.asc
Description: This is a digitally signed message part
--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Orphaned plenty of packages

2023-12-31 Thread Christiano Anderson
Hi Robin,

Thanks for your contribution so far. I've adopted the buildstream package. 

Best,

Christiano


On Sunday, 31 December 2023 at 13:06, Robin Lee  wrote:


> 
> 
> Sorry, since changes in day-job and lack of time for working on
> Fedora, I orphaned plenty of packages:
> 
> * buildstream
> * csmith
> * drumstick
> * drumstick0
> * kmetronome
> * nsnake
> * nudoku
> * qstardict
> * qterm
> * sonivox
> * texworks
> * vmpk
> 
> -robin
> --
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Orphaned python-compressed-rtf and python-red-black-tree-mod

2023-12-31 Thread Sandro

Hi,

I orphaned python-compressed-rtf and python-red-black-tree-mod. These 
were brought into Fedora as dependencies of extract-msg. However, I've 
decided to not pursue this any further. Instead, I will maintain 
extract-msg and its dependencies in Copr [1].


[1] https://copr.fedorainfracloud.org/coprs/gui1ty/extract-msg/

Cheers,
--
Sandro
FAS: gui1ty
IRC: Penguinpee
Elsewhere: [Pp]enguinpee
--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Orphaned plenty of packages

2023-12-31 Thread Robin Lee
Sorry, since changes in day-job and lack of time for working on
Fedora, I orphaned plenty of packages:

* buildstream
* csmith
* drumstick
* drumstick0
* kmetronome
* nsnake
* nudoku
* qstardict
* qterm
* sonivox
* texworks
* vmpk

-robin
--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Fedora rawhide compose report: 20231231.n.0 changes

2023-12-31 Thread Fedora Rawhide Report
OLD: Fedora-Rawhide-20231230.n.0
NEW: Fedora-Rawhide-20231231.n.0

= SUMMARY =
Added images:3
Dropped images:  4
Added packages:  4
Dropped packages:0
Upgraded packages:   26
Downgraded packages: 0

Size of added packages:  656.47 KiB
Size of dropped packages:0 B
Size of upgraded packages:   1.16 GiB
Size of downgraded packages: 0 B

Size change of upgraded packages:   3.66 MiB
Size change of downgraded packages: 0 B

= ADDED IMAGES =
Image: Workstation live aarch64
Path: 
Workstation/aarch64/iso/Fedora-Workstation-Live-aarch64-Rawhide-20231231.n.0.iso
Image: Kinoite dvd-ostree x86_64
Path: Kinoite/x86_64/iso/Fedora-Kinoite-ostree-x86_64-Rawhide-20231231.n.0.iso
Image: Kinoite dvd-ostree ppc64le
Path: Kinoite/ppc64le/iso/Fedora-Kinoite-ostree-ppc64le-Rawhide-20231231.n.0.iso

= DROPPED IMAGES =
Image: Sericea dvd-ostree x86_64
Path: Sericea/x86_64/iso/Fedora-Sericea-ostree-x86_64-Rawhide-20231230.n.0.iso
Image: Silverblue dvd-ostree aarch64
Path: 
Silverblue/aarch64/iso/Fedora-Silverblue-ostree-aarch64-Rawhide-20231230.n.0.iso
Image: Silverblue dvd-ostree x86_64
Path: 
Silverblue/x86_64/iso/Fedora-Silverblue-ostree-x86_64-Rawhide-20231230.n.0.iso
Image: KDE live aarch64
Path: Spins/aarch64/iso/Fedora-KDE-Live-aarch64-Rawhide-20231230.n.0.iso

= ADDED PACKAGES =
Package: libkdcraw-24.01.85-1.fc40
Summary: A C++ interface around LibRaw library
RPMs:libkdcraw libkdcraw-devel
Size:344.00 KiB

Package: python-pygls-1.2.1-1.fc40
Summary: A pythonic generic language server
RPMs:python3-pygls python3-pygls+ws
Size:130.48 KiB

Package: python-qudida-0.0.4-1.fc40
Summary: QuDiDA (QUick and DIrty Domain Adaptation)
RPMs:python3-qudida
Size:14.21 KiB

Package: simpleini-4.22-1.fc40
Summary: Cross-platform C++ library to read and write INI-style configuration 
files
RPMs:simpleini-devel
Size:167.79 KiB


= DROPPED PACKAGES =

= UPGRADED PACKAGES =
Package:  ampache_browser-1.0.7-1.fc40
Old package:  ampache_browser-1.0.6-1.fc40
Summary:  C++ and Qt based client library for Ampache access
RPMs: ampache_browser ampache_browser-devel
Size: 986.77 KiB
Size change:  9.10 KiB
Changelog:
  * Sat Dec 30 2023 Michael Schwendt  - 1.0.7-1
  - Update to 1.0.7.


Package:  calamares-3.3.0-1.fc40
Old package:  calamares-3.3.0~alpha6-2.fc40
Summary:  Installer from a live CD/DVD/USB to disk
RPMs: calamares calamares-devel calamares-interactiveterminal 
calamares-libs
Size: 11.38 MiB
Size change:  921.67 KiB
Changelog:
  * Sat Dec 30 2023 Neal Gompa  - 3.3.0-1
  - Update to 3.3.0 final


Package:  dqlite-1.16.0-2.fc40
Old package:  dqlite-1.16.0-1.fc40
Summary:  Embeddable, replicated and fault tolerant SQL engine
RPMs: dqlite dqlite-devel
Size: 559.60 KiB
Size change:  47 B
Changelog:
  * Sat Dec 30 2023 Reto Gantenbein  - 1.16.0-2
  - Rebuild due to raft ABI change


Package:  golang-github-alecthomas-repr-0.3.0-1.fc40
Old package:  golang-github-alecthomas-repr-0.1.1-3.fc39
Summary:  Python's repr() for Go
RPMs: golang-github-alecthomas-repr-devel
Size: 15.99 KiB
Size change:  543 B
Changelog:
  * Sat Dec 30 2023 W. Michael Petullo  - 0.3.0-1
  - Update to latest tagged version


Package:  gpicview-0.2.5^20231013git95eef260-1.fc40
Old package:  gpicview-0.2.5^20230913git3438fc58-1.fc40
Summary:  Simple and fast Image Viewer for X
RPMs: gpicview
Size: 631.44 KiB
Size change:  810 B
Changelog:
  * Sun Dec 31 2023 Mamoru TASAKA  - 
0.2.5^20231013git95eef260-1
  - Update to the latest git


Package:  gwenview-1:24.01.85-1.fc40
Old package:  gwenview-1:23.08.2-1.fc40
Summary:  An image viewer
RPMs: gwenview gwenview-libs
Size: 29.09 MiB
Size change:  705.91 KiB
Changelog:
  * Sun Dec 31 2023 Marie Loise Nolden  - 24.01.85-1
  - 24.01.85


Package:  home-assistant-cli-0.9.6-7.fc40
Old package:  home-assistant-cli-0.9.6-6.fc40
Summary:  Command-line tool for Home Assistant
RPMs: home-assistant-cli
Size: 119.11 KiB
Size change:  40 B
Changelog:
  * Sat Dec 30 2023 Daniel Milnes  - 0.9.6-7
  - Migrate license to SPDX


Package:  ibus-typing-booster-2.24.10-1.fc40
Old package:  ibus-typing-booster-2.24.5-1.fc40
Summary:  A completion input method
RPMs: emoji-picker ibus-typing-booster ibus-typing-booster-tests
Size: 1.30 MiB
Size change:  6.63 KiB
Changelog:
  * Fri Dec 29 2023 Mike FABIAN  - 2.24.10-1
  - Update to 2.24.10
  - Update the preedit to empty right after deleting surrounding text when 
reopening a preedit
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/474)
  - Improve do_reset()
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/473)
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/474)
  - Fix _record_in_database_and_push_context()
  - Avoid updating the pr