Re: Does glib really need python at runtime?
- Reply: Arthur Chance : "Re: Does glib really need python at runtime?"
- In reply to: Arthur Chance : "Does glib really need python at runtime?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 14 Dec 2022 11:11:04 UTC
From: Arthur Chance <freebsd@qeng-ho.org> Subject: Does glib really need python at runtime? Date: Wed, 14 Dec 2022 10:57:42 +0000 > I installed a package that needs glib on a server and noticed that > python was installed as glib depends on it > > root@arthur:1# pkg info -d glib > glib-2.74.1,2: > libxml2-2.10.3_1 > python39-3.9.15 <----- > pcre2-10.40 > libffi-3.4.3 > gettext-runtime-0.21 > libiconv-1.17 > > I can understand python being need for building glib, but as a run time > dependency it's ridiculous, as well as exposing a massive attack > surface. Does anyone know what's going on here? glib-genmarshal and glib-mkenums are python script. So they require python to run. yasu@eastasia[3311]% file /usr/local/bin/glib-genmarshal /usr/local/bin/glib-mkenums /usr/local/bin/glib-genmarshal: a /usr/bin/env /usr/local/bin/python3.11 script, ASCII text executable /usr/local/bin/glib-mkenums: a /usr/bin/env /usr/local/bin/python3.11 script, ASCII text executable yasu@eastasia[3311]% --- Yasuhiro Kimura