* [Buildroot] [PATCH 1/2] package/heimdal: host package needs host-libxcrypt
@ 2025-02-08 15:03 Thomas Petazzoni
2025-02-08 15:03 ` [Buildroot] [PATCH 2/2] package/heimdal: add missing dependencies on flex/bison Thomas Petazzoni via buildroot
2025-02-08 20:36 ` [Buildroot] [PATCH 1/2] package/heimdal: host package needs host-libxcrypt Julien Olivain
0 siblings, 2 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2025-02-08 15:03 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Petazzoni
The host-heimdal package has always needed a crypt library, but now
that libcrypt is no longer part of glibc, we're seeing build failures
on machines with recent host glibc versions. To fix this, we add
host-libxcrypt to the dependencies, and ensure host-heimdal links with
it.
Fixes:
http://autobuild.buildroot.net/results/864003e1005fcd847b4ec3bd94316638f8f56553/
https://gitlab.com/buildroot.org/buildroot/-/issues/86
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/heimdal/heimdal.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/heimdal/heimdal.mk b/package/heimdal/heimdal.mk
index 786d94a1aa..155cb66e1f 100644
--- a/package/heimdal/heimdal.mk
+++ b/package/heimdal/heimdal.mk
@@ -6,7 +6,7 @@
HEIMDAL_VERSION = f4faaeaba371fff3f8d1bc14389f5e6d70ca8e17
HEIMDAL_SITE = $(call github,heimdal,heimdal,$(HEIMDAL_VERSION))
-HOST_HEIMDAL_DEPENDENCIES = host-e2fsprogs host-ncurses host-pkgconf
+HOST_HEIMDAL_DEPENDENCIES = host-e2fsprogs host-ncurses host-pkgconf host-libxcrypt
HOST_HEIMDAL_AUTORECONF = YES
HEIMDAL_INSTALL_STAGING = YES
# static because of -fPIC issues with e2fsprogs on x86_64 host
@@ -29,7 +29,7 @@ HOST_HEIMDAL_CONF_OPTS = \
--disable-heimdal-documentation
# Don't use compile_et from e2fsprogs as it raises a build failure with samba4
-HOST_HEIMDAL_CONF_ENV = ac_cv_prog_COMPILE_ET=no MAKEINFO=true
+HOST_HEIMDAL_CONF_ENV = ac_cv_prog_COMPILE_ET=no MAKEINFO=true LIBS=-lcrypt
HEIMDAL_LICENSE = BSD-3-Clause
HEIMDAL_LICENSE_FILES = LICENSE
HEIMDAL_CPE_ID_VALID = YES
--
2.48.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/heimdal: add missing dependencies on flex/bison
2025-02-08 15:03 [Buildroot] [PATCH 1/2] package/heimdal: host package needs host-libxcrypt Thomas Petazzoni
@ 2025-02-08 15:03 ` Thomas Petazzoni via buildroot
2025-02-08 20:36 ` [Buildroot] [PATCH 1/2] package/heimdal: host package needs host-libxcrypt Julien Olivain
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-02-08 15:03 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Petazzoni
As host-heimdal is only used by samba4, and samba4 already depends on
host-flex and host-bison, the build issue fixed by this commit is not
directly visible, but can be reproduced by doing "make host-heimdal"
for example in our official Buildroot Docker container:
/home/thomas/projets/buildroot/outputs/foo/build/host-heimdal-f4faaeaba371fff3f8d1bc14389f5e6d70ca8e17/missing: line 81: flex: command not found
WARNING: 'flex' is missing on your system.
You should only need it if you modified a '.l' file.
You may want to install the Fast Lexical Analyzer package:
<https://github.com/westes/flex>
make[4]: *** [Makefile:753: lex.c] Error 127
[...]
updating lex.yylex.c
../../ylwrap: line 176: -d: command not found
make[4]: *** [Makefile:756: parse.c] Error 127
Fix this by adding the missing dependencies.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/heimdal/heimdal.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/heimdal/heimdal.mk b/package/heimdal/heimdal.mk
index 155cb66e1f..f6c52f63aa 100644
--- a/package/heimdal/heimdal.mk
+++ b/package/heimdal/heimdal.mk
@@ -6,7 +6,7 @@
HEIMDAL_VERSION = f4faaeaba371fff3f8d1bc14389f5e6d70ca8e17
HEIMDAL_SITE = $(call github,heimdal,heimdal,$(HEIMDAL_VERSION))
-HOST_HEIMDAL_DEPENDENCIES = host-e2fsprogs host-ncurses host-pkgconf host-libxcrypt
+HOST_HEIMDAL_DEPENDENCIES = host-e2fsprogs host-ncurses host-pkgconf host-libxcrypt host-flex host-bison
HOST_HEIMDAL_AUTORECONF = YES
HEIMDAL_INSTALL_STAGING = YES
# static because of -fPIC issues with e2fsprogs on x86_64 host
--
2.48.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/2] package/heimdal: host package needs host-libxcrypt
2025-02-08 15:03 [Buildroot] [PATCH 1/2] package/heimdal: host package needs host-libxcrypt Thomas Petazzoni
2025-02-08 15:03 ` [Buildroot] [PATCH 2/2] package/heimdal: add missing dependencies on flex/bison Thomas Petazzoni via buildroot
@ 2025-02-08 20:36 ` Julien Olivain
2025-02-09 8:57 ` Peter Korsgaard
1 sibling, 1 reply; 4+ messages in thread
From: Julien Olivain @ 2025-02-08 20:36 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: buildroot
On 08/02/2025 16:03, Thomas Petazzoni wrote:
> The host-heimdal package has always needed a crypt library, but now
> that libcrypt is no longer part of glibc, we're seeing build failures
> on machines with recent host glibc versions. To fix this, we add
> host-libxcrypt to the dependencies, and ensure host-heimdal links with
> it.
>
> Fixes:
>
>
> http://autobuild.buildroot.net/results/864003e1005fcd847b4ec3bd94316638f8f56553/
> https://gitlab.com/buildroot.org/buildroot/-/issues/86
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Series applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/2] package/heimdal: host package needs host-libxcrypt
2025-02-08 20:36 ` [Buildroot] [PATCH 1/2] package/heimdal: host package needs host-libxcrypt Julien Olivain
@ 2025-02-09 8:57 ` Peter Korsgaard
0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2025-02-09 8:57 UTC (permalink / raw)
To: Julien Olivain; +Cc: Thomas Petazzoni, buildroot
>>>>> "Julien" == Julien Olivain <ju.o@free.fr> writes:
> On 08/02/2025 16:03, Thomas Petazzoni wrote:
>> The host-heimdal package has always needed a crypt library, but now
>> that libcrypt is no longer part of glibc, we're seeing build failures
>> on machines with recent host glibc versions. To fix this, we add
>> host-libxcrypt to the dependencies, and ensure host-heimdal links with
>> it.
>> Fixes:
>> http://autobuild.buildroot.net/results/864003e1005fcd847b4ec3bd94316638f8f56553/
>> https://gitlab.com/buildroot.org/buildroot/-/issues/86
>> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> Series applied to master, thanks.
And to 2024.02.x / 2024.11.x as well, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-02-09 8:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-08 15:03 [Buildroot] [PATCH 1/2] package/heimdal: host package needs host-libxcrypt Thomas Petazzoni
2025-02-08 15:03 ` [Buildroot] [PATCH 2/2] package/heimdal: add missing dependencies on flex/bison Thomas Petazzoni via buildroot
2025-02-08 20:36 ` [Buildroot] [PATCH 1/2] package/heimdal: host package needs host-libxcrypt Julien Olivain
2025-02-09 8:57 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.