pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rust: use system libunwind



On 4/4/24 09:15, Martin Husemann wrote:
On Thu, Apr 04, 2024 at 03:16:42PM +0200, Thomas Klausner wrote:
My Alma 8 system doesn't have it at all outside of pkgsrc.  Which raises
an even more important issue about relying on "system" libraries under
Linux: They may or may not exist in the first place, or may be outright
removed beyond the control of pkgsrc.

Yes, we don't want to depend on the "system" libraries on Linux.

Is this a naming misunderstanding?

My understanding of the various "system" configure args out there is
that they boil down to "something already present, do not build the
embedded one in my own distribution". In pkgsrc context "system" would
be pkgsrc, not the base system or some other package management.

Martin

That's a good question.  My notion of what "system" usually means is the
same.  I have not picked apart the rust build system in order to figure
out what it means to rust, but for whatever reason, it fails to find the
pkgsrc libunwind when enabled (at least on Linux).  I'll update the
comment before committing the workaround to better reflect this.  Maybe
there's a better solution to be found, but the package is broken on
Linux right now, so I wouldn't want to delay some sort of fix much longer.


Home | Main Index | Thread Index | Old Index