mgorny, to random

So I was asked to backport a simple patch to libomp-15* (to fix https://bugs.gentoo.org/904511).

Then it turned out that it doesn't compile with gcc-13, so I've backported another patch.

Then it turned out that there are test failures now, so I've backported yet another.

I love how stable software is these days. Bear in mind that 15.0.7 was released in January, so it's not even half a year old!

wariat, to random Polish
@wariat@mastodon.social avatar

Ja wszystko rozumiem, ale dlaczego prawie za każdym razem aktualizacja musi mi 3h przebudowywać webkit'a to no nie wiem… xD

vimproved, to random

Things I have learned after a year using :

  • If I don't comment my package.use and make.conf, I will very much forget why I added certain things
  • pkgdev is awesome
  • Having both libstdc++ and libc++ installed is generally a bad idea
  • Generally, the less globally set use flags you have, the better
  • /etc/portage/patches is the single most useful feature of any package manager, possibly ever
dakkar, to linux

Ah, they joys of C!
(the input method I use) may have a working, or completely broken, emoji picker, depeding on what order the compiler decides to initialise things, and what things it optimises away.
(also, maybe GLib's type registration system is too complicated to use correctly?)
(issue with details, patch)
OTOH, I love that I could fix it on my machine by just dropping the patch under /etc/portage/patches/app-i18n/ibus-1.5.27/ and rebuilding the package ​:genchu:​

mgorny, to random

If you feel about the random USE flag rename done in place on net-libs/webkit-gtk, without bothering to wait for a version bump, the same way I do:

sed -i -e 's:gnome-keyring:keyring:' /var/db/pkg/net-libs/webkit-gtk*/USE

That's going to save you and the planet from having to rebuild all the slots.

mgorny, to linux

When I search for " developer keys", the first result includes instructions for fetching these keys:

https://www.gentoo.org/inside-gentoo/developers/

When I search for " developer PGP keys", I get straight to the Debian key server:

https://keyring.debian.org/

So why is finding developers' keys so hard?!

I can't bump because the only copy of the signing key I could find is on the public Ubuntu keyserver (sigh), and it's expired.

Em0nM4stodon, (edited ) to linux

Linux Users! What is your favorite distribution? :tux:​✨

mudd0359,
@mudd0359@mastodon.online avatar

@Em0nM4stodon I am a masochist. My favorite was .

0xDEADBEEF,
@0xDEADBEEF@fosstodon.org avatar
vimja,
xgqt, to random

DO NOT UNMERGE PACKAGES WHILE DRINKING
I REPEAT DO NOT UNMERGE PACKAGES WHILE DRINKING

mgorny, to programming

Oh, just great!

It turns out that added a totally bonkers OpenSSL version check, and they broke a lot of systems as a result. Ofc the immediate result is dozens of packages pinning urllib3 < 2, and if they continue their negligence it's going to go into hundreds.

Ofc, it is a mess that distro maintainers will have to clean up eventually. I mean, removing the pins when they do not apply to us.

https://github.com/urllib3/urllib3/issues/2168#issuecomment-1535053569
https://github.com/urllib3/urllib3/pull/2705/files#diff-793e73e680de400394dedf7d080fbcef6e74c065ffcc10b8c3dc11217a786e0b

xgqt, to random
xenia, to linux

Xenia Linux is a new Linux distribution based on Gentoo, that provides an immutable rootFS and a dynamic filesystem with LVM, also shipping with Distrobox to allow users to use the CLI of the distro they are most comfortable with.

We are currently on v0.2, with new improvements and features on the way!

Find the project on GitLab at https://gitlab.com/xenia-group/xenialinux
Go to our site at https://xenialinux.com

mgorny, to programming

switched to 3.11 today!

We also removed support for building packages for Python 3.9 (the interpreter will remain available for as long as it's feasible to maintain it).

Thanks to everyone involved in this huge effort!

mgorny, to random

If development were a game, it would be that kind of game that never ends, always demands you go and finish the next level for some symbolic reward, and expects you to spend a significant time playing every day or otherwise everything starts falling apart and you're going to need to spend three times more time getting back on track.

There are many games like that. The people who own them make a lot of money. If developers are playing, who's making the money?

mgorny, to random

Today's snapshot looked good until the very last package. Then it turned out that doesn't build on GCC anymore.

https://reviews.llvm.org/D149397#4307764

xgqt, to linux
niconiconi, to random

More to macOS porting headaches.

Historically, when building a modern C++ program using clang, the flag "stdlib=libc++" must be supplied to clang, otherwise the ancient libstdc++ on the system would be used. On the other hand, for (an manually updated) GCC, no flag is needed, so GCC's libstdc++ is used by default, In fact, "stdlib=libc++" cannot be recognized by GCC and should never be used with GCC.

As a result, many build scripts and build systems on macOS check if the flag "stdlib=libc++" is supported. If it's the case, the flag is used. If it's not, no flag is added. Practically, it means If the program is built with clang, it's linked to clang's libc++. If the program is built with GCC, it's linked to GCC's native libstdc++, a reasonable behavior, as expected by most users.

But now it was realized that using GCC and clang on the same system may create tricky conflicts, it's useful to be able to link against clang's libc++ even if GCC is used (this is useful beyond Darwin, e.g. for FreeBSD). So GCC now supports "stdlib=libc++ as well.

If "stdlib" support is enabled on GCC, if program is built by GCC, whether it will be linked to libstdc++ or libc++ by default becomes unpredictable, depending on which check is used in its build system. ​:woozy_baa:​

ferki, (edited ) to opensource
@ferki@fosstodon.org avatar

I started to review the blog post requests, drafts, and ideas accumulated over time. Most topics revolve around , , , , , , , and — with some overlap.

Help me decide: which topic shall I focus on first?

p.s.: comment to add more!

notsle, to linux
@notsle@kzoo.to avatar

I got my 15yr old kid a old thinkpad and they’re trying to install gentoo Linux 🤣 wish them luck

mgorny, to opensource

An story.

2019: You file a pull request to fix test problems with 2.7.

https://github.com/django-haystack/pysolr/pull/278

Sometime in between: the package is gone from , you delete your fork.

2023: Someone finally replies to the long forgotten PR and tells you to rebase it.

You put the effort to create a new fork, reapply it, push, only to learn they don't actually want it.

https://github.com/django-haystack/pysolr/pull/395

niconiconi, to random

More porting to Apple Silicon... Running ar(1) from binutils-apple on new macOS without arguments will immediately crash it with Segmentation Fault. The culprit: strcmp() is used to check argv[1], even when it's clear that they can definitely be OOB reads - "comparing a string with garbage is harmless, who cares..." On the new system, argv[1] is NULL and generates EXC_BAD_ACCESS.

if (argc < 3) { if(strcmp(argv[1], "--version") == 0){ /* Implement a gnu-style --version to be friendly to GCC. */ fprintf(stdout, "xtools-%s ar %s\nBased on Apple Inc. %s\n", xtools_version, package_version, apple_version); exit(0); } else if(strcmp(argv[1], "--help") == 0){ usage(0); fprintf(stdout, "Please report bugs to %s\n", support_url); exit(0); } else usage(1); }

chemoelectric, to science
@chemoelectric@masto.ai avatar

The #science overlay of #Gentoo has an ebuild for a rather recent version of #noweb

It is YEARS since I used noweb, but maybe I could use it again, say for ports to other languages than C of program06 (my program that VIOLATES BELL INEQUALITIES despite having nothing resembling the non-existent ‘entanglement’).

ferki, to random
@ferki@fosstodon.org avatar

describes itself as a “syntax-aware for prose built with speed and extensibility in mind”. My overlay has the latest v2.24.4 release available for fellow users.

I recommend previous users to continue reading about ebuild changes: https://blog.ferki.it/2023/04/25/packaging-vale-2-24-4-for-gentoo/

niconiconi, to random

Unfortunately mixing clang and GCC on macOS creates some weird linking issues that I can't solve, but GCC must be used. The only workaround I'm seeing now is starting from a clean GNU userland. So now I'm now bootstrapping Gentoo prefix on Apple M1... ​:woozy_baa:​ Wish me luck. It's a rented server, this Gentoo install is burning the CPU and my wallet at the same time... ​:woozy_baa:​

niconiconi,

Two months later, I'm finally able to run openEMS with GCC and Python on Apple Silicon now - the original motivation of porting . I'm glad to see that my decision eventually worked as expected, instead of becoming just yet another useless project and distraction. ​:blobcat_hug_genchu:​

Using the notoriously memory-bound FDTD electromagnetic code, time to run it on a M1 Ultra machine and see whether its massive memory bandwidth really works as advertised...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • GTA5RPClips
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • everett
  • InstantRegret
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • anitta
  • kavyap
  • modclub
  • normalnudes
  • cubers
  • osvaldo12
  • tacticalgear
  • Durango
  • khanakhh
  • ngwrru68w68
  • provamag3
  • Leos
  • tester
  • cisconetworking
  • ethstaker
  • megavids
  • lostlight
  • All magazines