Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/libesmtp: bump to upstream version
@ 2025-07-14  8:17 Thomas Perale via buildroot
  2025-07-14 13:17 ` Julien Olivain via buildroot
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Perale via buildroot @ 2025-07-14  8:17 UTC (permalink / raw)
  To: buildroot

When building libesmtp on the autobuilder, the following error occurs:

/workdir/instance-0/output-1/per-package/libesmtp/host/bin/arc-linux-gcc -Ilibesmtp.so.6.2.0.p -I. -I.. -I/workdir/instance-0/output-1/per-package/libesmtp/host/arc-buildroot-linux-gnu/sysroot/usr/include -fdiagnostics-color=always -Wall -Winvalid-pch -std=c11 -O3 -D_POSIX_C_SOURCE=200809L -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ libesmtp.so.6.2.0.p/smtp-api.c.o -MF libesmtp.so.6.2.0.p/smtp-api.c.o.d -o libesmtp.so.6.2.0.p/smtp-api.c.o -c ../smtp-api.c
../smtp-api.c: In function 'smtp_version':
../smtp-api.c:1183:7: error: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration]
 1183 |   if (strlcpy (buf, v, len) > len)
      |       ^~~~~~~
      |       strncpy

This error has been fixed upstream in commit [1], but no new release has
been made since.
This patch update the package version to fetch the latest upstream commit.

For the changes, see:

 - https://github.com/libesmtp/libESMTP/compare/v1.1.0...335ee8d2fa5cb7d30db7b818ec05563ad139ee2f

[1] https://github.com/libesmtp/libESMTP/commit/972eb547493357681b1b7012ef20618e6831cfde

Fixes: https://autobuild.buildroot.org/results/ced/ceda012506edccda1727904eb3327017b07e27d8
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
---
 package/libesmtp/libesmtp.hash | 2 +-
 package/libesmtp/libesmtp.mk   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/libesmtp/libesmtp.hash b/package/libesmtp/libesmtp.hash
index 596ed4eaca..ed301257df 100644
--- a/package/libesmtp/libesmtp.hash
+++ b/package/libesmtp/libesmtp.hash
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  32bc3614ca12d21c7d933f32d43410e8744b6f91fdca7732da9877a385e4e6c3  libesmtp-1.1.0.tar.gz
+sha256  144aece0077db6a2bd655d3d9558c714c9defd30a2d52c6e85ed54457d712daf  libesmtp-335ee8d2fa5cb7d30db7b818ec05563ad139ee2f.tar.gz
 sha256  204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994  COPYING.GPL
 sha256  20c17d8b8c48a600800dfd14f95d5cb9ff47066a9641ddeab48dc54aec96e331  LICENSE
diff --git a/package/libesmtp/libesmtp.mk b/package/libesmtp/libesmtp.mk
index 6456e83e10..e861ad4ac6 100644
--- a/package/libesmtp/libesmtp.mk
+++ b/package/libesmtp/libesmtp.mk
@@ -4,12 +4,12 @@
 #
 ################################################################################
 
-LIBESMTP_VERSION = 1.1.0
-LIBESMTP_SITE = $(call github,libesmtp,libESMTP,v$(LIBESMTP_VERSION))
+LIBESMTP_VERSION = 335ee8d2fa5cb7d30db7b818ec05563ad139ee2f
+LIBESMTP_SITE = $(call github,libesmtp,libESMTP,$(LIBESMTP_VERSION))
 LIBESMTP_INSTALL_STAGING = YES
 LIBESMTP_LICENSE = GPL-2.0+ (examples), LGPL-2.1+ (library)
 LIBESMTP_LICENSE_FILES = COPYING.GPL LICENSE
-LIBESMTP_CPE_ID_VALID = YES
+LIBESMTP_CPE_ID_VERSION = 1.1.0
 
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 LIBESMTP_CONF_OPTS += -Dtls=enabled
-- 
2.50.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] package/libesmtp: bump to upstream version
  2025-07-14  8:17 [Buildroot] [PATCH] package/libesmtp: bump to upstream version Thomas Perale via buildroot
@ 2025-07-14 13:17 ` Julien Olivain via buildroot
  2025-08-07 18:23 ` Thomas Perale via buildroot
  2025-08-16 19:38 ` Thomas Petazzoni via buildroot
  2 siblings, 0 replies; 4+ messages in thread
From: Julien Olivain via buildroot @ 2025-07-14 13:17 UTC (permalink / raw)
  To: Thomas Perale; +Cc: buildroot

Hi Thomas,


On 14/07/2025 10:17, Thomas Perale via buildroot wrote:
> When building libesmtp on the autobuilder, the following error occurs:
> 
> /workdir/instance-0/output-1/per-package/libesmtp/host/bin/arc-linux-gcc 
> -Ilibesmtp.so.6.2.0.p -I. -I.. 
> -I/workdir/instance-0/output-1/per-package/libesmtp/host/arc-buildroot-linux-gnu/sysroot/usr/include 
> -fdiagnostics-color=always -Wall -Winvalid-pch -std=c11 -O3 
> -D_POSIX_C_SOURCE=200809L -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
> -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD 
> -MQ libesmtp.so.6.2.0.p/smtp-api.c.o -MF 
> libesmtp.so.6.2.0.p/smtp-api.c.o.d -o libesmtp.so.6.2.0.p/smtp-api.c.o 
> -c ../smtp-api.c
> ../smtp-api.c: In function 'smtp_version':
> ../smtp-api.c:1183:7: error: implicit declaration of function 
> 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration]
>  1183 |   if (strlcpy (buf, v, len) > len)
>       |       ^~~~~~~
>       |       strncpy
> 
> This error has been fixed upstream in commit [1], but no new release 
> has
> been made since.
> This patch update the package version to fetch the latest upstream 
> commit.
> 
> For the changes, see:
> 
>  - 
> https://github.com/libesmtp/libESMTP/compare/v1.1.0...335ee8d2fa5cb7d30db7b818ec05563ad139ee2f
> 
> [1] 
> https://github.com/libesmtp/libESMTP/commit/972eb547493357681b1b7012ef20618e6831cfde
> 
> Fixes: 
> https://autobuild.buildroot.org/results/ced/ceda012506edccda1727904eb3327017b07e27d8
> Signed-off-by: Thomas Perale <thomas.perale@mind.be>

Applied on master, thanks.

I added in the commit log a mention that the build failure started
to happen with gcc-14. I also changed _VERSION to use the
git describe format (which gives a human readable git reference). See:
https://gitlab.com/buildroot.org/buildroot/-/commit/84077c777658d834ba8bb67582707f24d73cb914

Best regards,

Julien.
_______________________________________________
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] package/libesmtp: bump to upstream version
  2025-07-14  8:17 [Buildroot] [PATCH] package/libesmtp: bump to upstream version Thomas Perale via buildroot
  2025-07-14 13:17 ` Julien Olivain via buildroot
@ 2025-08-07 18:23 ` Thomas Perale via buildroot
  2025-08-16 19:38 ` Thomas Petazzoni via buildroot
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Perale via buildroot @ 2025-08-07 18:23 UTC (permalink / raw)
  To: Thomas Perale; +Cc: buildroot

In reply of:
> When building libesmtp on the autobuilder, the following error occurs:
> 
> /workdir/instance-0/output-1/per-package/libesmtp/host/bin/arc-linux-gcc -Ilibesmtp.so.6.2.0.p -I. -I.. -I/workdir/instance-0/output-1/per-package/libesmtp/host/arc-buildroot-linux-gnu/sysroot/usr/include -fdiagnostics-color=always -Wall -Winvalid-pch -std=c11 -O3 -D_POSIX_C_SOURCE=200809L -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ libesmtp.so.6.2.0.p/smtp-api.c.o -MF libesmtp.so.6.2.0.p/smtp-api.c.o.d -o libesmtp.so.6.2.0.p/smtp-api.c.o -c ../smtp-api.c
> ../smtp-api.c: In function 'smtp_version':
> ../smtp-api.c:1183:7: error: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration]
>  1183 |   if (strlcpy (buf, v, len) > len)
>       |       ^~~~~~~
>       |       strncpy
> 
> This error has been fixed upstream in commit [1], but no new release has
> been made since.
> This patch update the package version to fetch the latest upstream commit.
> 
> For the changes, see:
> 
>  - https://github.com/libesmtp/libESMTP/compare/v1.1.0...335ee8d2fa5cb7d30db7b818ec05563ad139ee2f
> 
> [1] https://github.com/libesmtp/libESMTP/commit/972eb547493357681b1b7012ef20618e6831cfde
> 
> Fixes: https://autobuild.buildroot.org/results/ced/ceda012506edccda1727904eb3327017b07e27d8
> Signed-off-by: Thomas Perale <thomas.perale@mind.be>

Applied to 2025.02.x & 2025.05.x. Thanks

> ---
>  package/libesmtp/libesmtp.hash | 2 +-
>  package/libesmtp/libesmtp.mk   | 6 +++---
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/package/libesmtp/libesmtp.hash b/package/libesmtp/libesmtp.hash
> index 596ed4eaca..ed301257df 100644
> --- a/package/libesmtp/libesmtp.hash
> +++ b/package/libesmtp/libesmtp.hash
> @@ -1,4 +1,4 @@
>  # Locally calculated
> -sha256  32bc3614ca12d21c7d933f32d43410e8744b6f91fdca7732da9877a385e4e6c3  libesmtp-1.1.0.tar.gz
> +sha256  144aece0077db6a2bd655d3d9558c714c9defd30a2d52c6e85ed54457d712daf  libesmtp-335ee8d2fa5cb7d30db7b818ec05563ad139ee2f.tar.gz
>  sha256  204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994  COPYING.GPL
>  sha256  20c17d8b8c48a600800dfd14f95d5cb9ff47066a9641ddeab48dc54aec96e331  LICENSE
> diff --git a/package/libesmtp/libesmtp.mk b/package/libesmtp/libesmtp.mk
> index 6456e83e10..e861ad4ac6 100644
> --- a/package/libesmtp/libesmtp.mk
> +++ b/package/libesmtp/libesmtp.mk
> @@ -4,12 +4,12 @@
>  #
>  ################################################################################
>  
> -LIBESMTP_VERSION = 1.1.0
> -LIBESMTP_SITE = $(call github,libesmtp,libESMTP,v$(LIBESMTP_VERSION))
> +LIBESMTP_VERSION = 335ee8d2fa5cb7d30db7b818ec05563ad139ee2f
> +LIBESMTP_SITE = $(call github,libesmtp,libESMTP,$(LIBESMTP_VERSION))
>  LIBESMTP_INSTALL_STAGING = YES
>  LIBESMTP_LICENSE = GPL-2.0+ (examples), LGPL-2.1+ (library)
>  LIBESMTP_LICENSE_FILES = COPYING.GPL LICENSE
> -LIBESMTP_CPE_ID_VALID = YES
> +LIBESMTP_CPE_ID_VERSION = 1.1.0
>  
>  ifeq ($(BR2_PACKAGE_OPENSSL),y)
>  LIBESMTP_CONF_OPTS += -Dtls=enabled
> -- 
> 2.50.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
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] package/libesmtp: bump to upstream version
  2025-07-14  8:17 [Buildroot] [PATCH] package/libesmtp: bump to upstream version Thomas Perale via buildroot
  2025-07-14 13:17 ` Julien Olivain via buildroot
  2025-08-07 18:23 ` Thomas Perale via buildroot
@ 2025-08-16 19:38 ` Thomas Petazzoni via buildroot
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-08-16 19:38 UTC (permalink / raw)
  To: Thomas Perale via buildroot; +Cc: Thomas Perale

Hello Thomas,

On Mon, 14 Jul 2025 10:17:49 +0200
Thomas Perale via buildroot <buildroot@buildroot.org> wrote:

> When building libesmtp on the autobuilder, the following error occurs:
> 
> /workdir/instance-0/output-1/per-package/libesmtp/host/bin/arc-linux-gcc -Ilibesmtp.so.6.2.0.p -I. -I.. -I/workdir/instance-0/output-1/per-package/libesmtp/host/arc-buildroot-linux-gnu/sysroot/usr/include -fdiagnostics-color=always -Wall -Winvalid-pch -std=c11 -O3 -D_POSIX_C_SOURCE=200809L -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ libesmtp.so.6.2.0.p/smtp-api.c.o -MF libesmtp.so.6.2.0.p/smtp-api.c.o.d -o libesmtp.so.6.2.0.p/smtp-api.c.o -c ../smtp-api.c
> ../smtp-api.c: In function 'smtp_version':
> ../smtp-api.c:1183:7: error: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration]
>  1183 |   if (strlcpy (buf, v, len) > len)
>       |       ^~~~~~~
>       |       strncpy
> 
> This error has been fixed upstream in commit [1], but no new release has
> been made since.
> This patch update the package version to fetch the latest upstream commit.

Not sure it's new with this version bump, but there are still some
failures of libesmtp:

https://autobuild.buildroot.net/?reason=libesmtp-v1.1.0-14-g335ee8d2fa5cb7d30db7b818ec05563ad139ee2f

Could you perhaps have a look?

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
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-08-16 19:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-14  8:17 [Buildroot] [PATCH] package/libesmtp: bump to upstream version Thomas Perale via buildroot
2025-07-14 13:17 ` Julien Olivain via buildroot
2025-08-07 18:23 ` Thomas Perale via buildroot
2025-08-16 19:38 ` Thomas Petazzoni via buildroot

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