* [Buildroot] [PATCH v2, 1/1] package/cups: add libxcrypt optional dependency
@ 2024-04-07 15:21 Fabrice Fontaine
2024-04-07 15:38 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2024-04-07 15:21 UTC (permalink / raw)
To: buildroot; +Cc: Angelo Compagnucci, Olivier Schonken, Fabrice Fontaine
Fix the following build failure raised since bump of glibc to version
2.39 in commit b5680f53d60acf8ff6010082f873438a39bd5d97:
/home/buildroot/autobuild/run/instance-1/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.1.1/../../../../arc-buildroot-linux-gnu/bin/ld: auth.o: in function `cupsdAuthorize':
auth.c:(.text+0xdba): undefined reference to `crypt'
Fixes: b5680f53d60acf8ff6010082f873438a39bd5d97
- http://autobuild.buildroot.org/results/39b72d4e14895f901590d7e3404f69b4573d2cd2
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
Changes v1 -> v2:
- Add missing '\'
package/cups/Config.in | 1 +
package/cups/cups.mk | 1 +
2 files changed, 2 insertions(+)
diff --git a/package/cups/Config.in b/package/cups/Config.in
index 51cf10b073..ad852c0998 100644
--- a/package/cups/Config.in
+++ b/package/cups/Config.in
@@ -6,6 +6,7 @@ config BR2_PACKAGE_CUPS
depends on BR2_TOOLCHAIN_HAS_THREADS
# needs fork()
depends on BR2_USE_MMU
+ select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
help
The Common Unix Printing System
diff --git a/package/cups/cups.mk b/package/cups/cups.mk
index 91fad30b38..2ef480afe0 100644
--- a/package/cups/cups.mk
+++ b/package/cups/cups.mk
@@ -32,6 +32,7 @@ CUPS_CONFIG_SCRIPTS = cups-config
CUPS_DEPENDENCIES = \
host-autoconf \
host-pkgconf \
+ $(if $(BR2_PACKAGE_LIBXCRYPT),libxcrypt) \
$(if $(BR2_PACKAGE_ZLIB),zlib)
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH v2, 1/1] package/cups: add libxcrypt optional dependency
2024-04-07 15:21 [Buildroot] [PATCH v2, 1/1] package/cups: add libxcrypt optional dependency Fabrice Fontaine
@ 2024-04-07 15:38 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2024-04-07 15:38 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Angelo Compagnucci, Olivier Schonken, buildroot
Fabrice, All,
On 2024-04-07 17:21 +0200, Fabrice Fontaine spake thusly:
> Fix the following build failure raised since bump of glibc to version
> 2.39 in commit b5680f53d60acf8ff6010082f873438a39bd5d97:
>
> /home/buildroot/autobuild/run/instance-1/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.1.1/../../../../arc-buildroot-linux-gnu/bin/ld: auth.o: in function `cupsdAuthorize':
> auth.c:(.text+0xdba): undefined reference to `crypt'
>
> Fixes: b5680f53d60acf8ff6010082f873438a39bd5d97
> - http://autobuild.buildroot.org/results/39b72d4e14895f901590d7e3404f69b4573d2cd2
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
I also applied all your previous similar patches; I'm not replying to
each of them, so consider them applied if they no longer appear on
patchwork. Thanks for helping fix all this fallout mess! :-)
Regards,
Yann E. MORIN.
> ---
> Changes v1 -> v2:
> - Add missing '\'
>
> package/cups/Config.in | 1 +
> package/cups/cups.mk | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/package/cups/Config.in b/package/cups/Config.in
> index 51cf10b073..ad852c0998 100644
> --- a/package/cups/Config.in
> +++ b/package/cups/Config.in
> @@ -6,6 +6,7 @@ config BR2_PACKAGE_CUPS
> depends on BR2_TOOLCHAIN_HAS_THREADS
> # needs fork()
> depends on BR2_USE_MMU
> + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
> help
> The Common Unix Printing System
>
> diff --git a/package/cups/cups.mk b/package/cups/cups.mk
> index 91fad30b38..2ef480afe0 100644
> --- a/package/cups/cups.mk
> +++ b/package/cups/cups.mk
> @@ -32,6 +32,7 @@ CUPS_CONFIG_SCRIPTS = cups-config
> CUPS_DEPENDENCIES = \
> host-autoconf \
> host-pkgconf \
> + $(if $(BR2_PACKAGE_LIBXCRYPT),libxcrypt) \
> $(if $(BR2_PACKAGE_ZLIB),zlib)
>
> ifeq ($(BR2_PACKAGE_SYSTEMD),y)
> --
> 2.43.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-07 15:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-07 15:21 [Buildroot] [PATCH v2, 1/1] package/cups: add libxcrypt optional dependency Fabrice Fontaine
2024-04-07 15:38 ` Yann E. MORIN
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.