* [ptxdist] Error configuring utils-linux 2.41
@ 2025-06-04 8:30 ruggero rossi via ptxdist
2025-06-04 20:33 ` Roland Hieber
0 siblings, 1 reply; 3+ messages in thread
From: ruggero rossi via ptxdist @ 2025-06-04 8:30 UTC (permalink / raw)
To: ptxdist; +Cc: ruggero rossi
[-- Attachment #1: Type: text/plain, Size: 585 bytes --]
I'm maintaining a system that still uses an old libc version not including
librt and libpthread.
Migrating to ptxdist 2025.05.0, I got an error while configuring
utils-linux 2.41.
meson says:
../util-linux-2.41/meson.build:1482:22: ERROR: Object
<[ExternalLibraryHolder] holds [ExternalLibrary]: <ExternalLibrary rt:
True>> of type ExternalLibrary does not support the `+` operator.
The bug is a missing + at line 1478 of meson.build.
A patch is attached.
The bug has been already found and corrected upstream. I expect it will be
fixed in version 2.42.
Best regards,
Ruggero
[-- Attachment #2: 0100-meson-fix-posixipc_libs-configuration.patch --]
[-- Type: text/x-patch, Size: 559 bytes --]
Index: util-linux-2.41/meson.build
===================================================================
--- util-linux-2.41.orig/meson.build
+++ util-linux-2.41/meson.build
@@ -1475,7 +1475,7 @@ has_seminfo_type = cc.has_type('struct s
posixipc_libs = []
if not cc.has_function('shm_open') and conf.get('HAVE_SYS_MMAN_H').to_string() == '1'
- posixipc_libs = cc.find_library('rt', required : true)
+ posixipc_libs += cc.find_library('rt', required : true)
endif
if not cc.has_function('sem_close') and conf.get('HAVE_SEMAPHORE_H').to_string() == '1'
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] Error configuring utils-linux 2.41
2025-06-04 8:30 [ptxdist] Error configuring utils-linux 2.41 ruggero rossi via ptxdist
@ 2025-06-04 20:33 ` Roland Hieber
2025-06-05 5:45 ` ruggero rossi via ptxdist
0 siblings, 1 reply; 3+ messages in thread
From: Roland Hieber @ 2025-06-04 20:33 UTC (permalink / raw)
To: ruggero rossi via ptxdist; +Cc: ruggero rossi
Hi ruggero,
On Wed, Jun 04, 2025 at 10:30:38AM +0200, ruggero rossi via ptxdist wrote:
> I'm maintaining a system that still uses an old libc version not including
> librt and libpthread.
>
> Migrating to ptxdist 2025.05.0, I got an error while configuring
> utils-linux 2.41.
>
> meson says:
> ../util-linux-2.41/meson.build:1482:22: ERROR: Object
> <[ExternalLibraryHolder] holds [ExternalLibrary]: <ExternalLibrary rt:
> True>> of type ExternalLibrary does not support the `+` operator.
>
> The bug is a missing + at line 1478 of meson.build.
>
> A patch is attached.
>
> The bug has been already found and corrected upstream. I expect it will be
> fixed in version 2.42.
That same patch is already available on PTXdist master, commit d443e2828062c1b
(2025-05-11, Michael Olbrich: "util-linux: add upstream fix to build with older
glibc") https://git.pengutronix.de/cgit/ptxdist/commit/?id=d443e2828062c1bb7134
- Roland
--
Roland Hieber, Pengutronix e.K. | rhi@pengutronix.de |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-06-05 5:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-04 8:30 [ptxdist] Error configuring utils-linux 2.41 ruggero rossi via ptxdist
2025-06-04 20:33 ` Roland Hieber
2025-06-05 5:45 ` ruggero rossi via ptxdist
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox