public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] problems with media-gfx/asymptote
@ 2025-02-18 12:18 Andrey Grozin
  2025-02-18 14:37 ` Jérôme Carretero
  0 siblings, 1 reply; 5+ messages in thread
From: Andrey Grozin @ 2025-02-18 12:18 UTC (permalink / raw
  To: gentoo-dev

Hello *,

asymptote-3.00 has just appeared, and I'm trying to update the ebuild.

asymptote now bundles boehm-gc; the option to use system boehm-gc is now 
absent. asymptote-3.00/gc/README.md says that it's 8.2.8; however, the 
sourse tree asymptote-3.00/gc differs from the plain gc-8.2.8. I suppose 
some hacking autoconf files is needed to unbundle it, and it's a 
nontrivial work. A pity.

What's more, compiling this bundled gc leads to sandbox violations like

F: open_wr
S: deny
P: /proc/4643/clear_refs
A: /proc/4643/clear_refs
R: /proc/4643/clear_refs
C: ./cordtest

and several more. All of them are in some test programs:

cordtest
gctest
staticrootstest
disclaim_test
disclaim_weakmap_test

All of them try to write to some /proc/*/clear_refs; I don't know what are 
these /proc/*/clear_refs files. Surprisingly, all gc test are marked as 
passed. Maybe, the resulting libgc (and the resulting asymptote) even 
work. But, of course, the ebuild fails, and does not install these results.

Interestingly, emerging boehm-gc succeeds, no sandbox violations.

I suppose the best way out is to somehow force asymptote to use the system 
boehm-gc. As a stopgap measure, is it possible to allow these test 
programs to write to /proc/*/clear_refs?

Hoping for some help,
Andrey


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-02-19  5:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-18 12:18 [gentoo-dev] problems with media-gfx/asymptote Andrey Grozin
2025-02-18 14:37 ` Jérôme Carretero
2025-02-18 19:03   ` Andrey Grozin
2025-02-19  4:40     ` [gentoo-dev] sandbox and /proc/<pid>/clear_refs [was: problems with media-gfx/asymptote] Andrey Grozin
2025-02-19  5:02       ` Mike Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox