All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libnatpmp: fix header install
@ 2023-07-03 20:20 Bernd Kuhls
  2023-07-03 20:30 ` Yann E. MORIN
       [not found] ` <20230703203026.GL2510__34801.2332267658$1688416254$gmane$org@scaer>
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2023-07-03 20:20 UTC (permalink / raw)
  To: buildroot

Upstream renamed declspec.h to natpmp_declspec.h
https://github.com/miniupnp/libnatpmp/commit/1d113363980a98a5868ff2c2b05d7c94e3a18a70

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/libnatpmp/libnatpmp.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/libnatpmp/libnatpmp.mk b/package/libnatpmp/libnatpmp.mk
index 3a625ea0fe..99d46d814a 100644
--- a/package/libnatpmp/libnatpmp.mk
+++ b/package/libnatpmp/libnatpmp.mk
@@ -18,7 +18,7 @@ endef
 define LIBNATPMP_INSTALL_STAGING_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
 		PREFIX=$(STAGING_DIR) \
-		HEADERS='declspec.h natpmp.h' \
+		HEADERS='natpmp_declspec.h natpmp.h' \
 		$(TARGET_CONFIGURE_OPTS) install
 endef
 
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/libnatpmp: fix header install
  2023-07-03 20:20 [Buildroot] [PATCH 1/1] package/libnatpmp: fix header install Bernd Kuhls
@ 2023-07-03 20:30 ` Yann E. MORIN
       [not found] ` <20230703203026.GL2510__34801.2332267658$1688416254$gmane$org@scaer>
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2023-07-03 20:30 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot

Bernd, All,

On 2023-07-03 22:20 +0200, Bernd Kuhls spake thusly:
> Upstream renamed declspec.h to natpmp_declspec.h
> https://github.com/miniupnp/libnatpmp/commit/1d113363980a98a5868ff2c2b05d7c94e3a18a70
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to master, thanks. But see a question, below...

> ---
>  package/libnatpmp/libnatpmp.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/libnatpmp/libnatpmp.mk b/package/libnatpmp/libnatpmp.mk
> index 3a625ea0fe..99d46d814a 100644
> --- a/package/libnatpmp/libnatpmp.mk
> +++ b/package/libnatpmp/libnatpmp.mk
> @@ -18,7 +18,7 @@ endef
>  define LIBNATPMP_INSTALL_STAGING_CMDS
>  	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
>  		PREFIX=$(STAGING_DIR) \
> -		HEADERS='declspec.h natpmp.h' \
> +		HEADERS='natpmp_declspec.h natpmp.h' \

So it means 0e258b6190a5 (package/libnatpmp: bump version to 20230423)
was not build-tested before being submitted? At least transmission
unonditionally uses it, so a runtime test of transmission would catch
it.

Regards,
Yann E. MORIN.

>  		$(TARGET_CONFIGURE_OPTS) install
>  endef
>  
> -- 
> 2.39.2
> 
> _______________________________________________
> 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] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/libnatpmp: fix header install
       [not found] ` <20230703203026.GL2510__34801.2332267658$1688416254$gmane$org@scaer>
@ 2023-07-03 20:40   ` Bernd Kuhls
  0 siblings, 0 replies; 3+ messages in thread
From: Bernd Kuhls @ 2023-07-03 20:40 UTC (permalink / raw)
  To: buildroot

Am Mon, 3 Jul 2023 22:30:26 +0200 schrieb Yann E. MORIN:

> So it means 0e258b6190a5 (package/libnatpmp: bump version to 20230423)
> was not build-tested before being submitted? At least transmission
> unonditionally uses it, so a runtime test of transmission would catch
> it.

Hi Yann,

I build-tested libnatpmp, which showed no errors because the tarball, 
contrary to https://github.com/miniupnp/libnatpmp, contains declspec.h 
which is unused by libnatpmp now so I did not catch the change of the 
header file.

At this stage I did not build-test its dependee package transmission, 
only later when build-testing all my stuff I noticed the problem and sent 
the patch right away.

Regards, Bernd

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-03 20:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-03 20:20 [Buildroot] [PATCH 1/1] package/libnatpmp: fix header install Bernd Kuhls
2023-07-03 20:30 ` Yann E. MORIN
     [not found] ` <20230703203026.GL2510__34801.2332267658$1688416254$gmane$org@scaer>
2023-07-03 20:40   ` Bernd Kuhls

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.