Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] New packages question
@ 2021-12-02 10:41 José Pekkarinen
  2021-12-02 18:30 ` Peter Seiderer
  0 siblings, 1 reply; 3+ messages in thread
From: José Pekkarinen @ 2021-12-02 10:41 UTC (permalink / raw)
  To: buildroot


[-- Attachment #1.1: Type: text/plain, Size: 812 bytes --]

Hi,

I'm reading a package for bmx7 to be upstreamed.

I found the following error in one of the toolchains
(bootlin-x86-64-musl), and I wonder whether it is an issue
in the toolchain, and if it can be a blocker for the package to
be merged:

In file included from
/home/debian/br-test-pkg/bootlin-x86-64-musl/host/x86_64-buildroot-linux-musl/sysroot/usr/include/net/ethernet.h:10,
                from
/home/debian/br-test-pkg/bootlin-x86-64-musl/host/x86_64-buildroot-linux-musl/sysroot/usr/include/iwlib.h:29,
                from ip.c:51:
/home/debian/br-test-pkg/bootlin-x86-64-musl/host/x86_64-buildroot-linux-musl/sysroot/usr/include/netinet/if_ether.h:116:8:
error: redefinition of ‘struct ethhdr’
 116 | struct ethhdr {
     |        ^~~~~~

Best regards.


José Pekkarinen.

[-- Attachment #1.2: Type: text/html, Size: 1313 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

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

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

* Re: [Buildroot] New packages question
  2021-12-02 10:41 [Buildroot] New packages question José Pekkarinen
@ 2021-12-02 18:30 ` Peter Seiderer
  2021-12-03  6:02   ` José Pekkarinen
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Seiderer @ 2021-12-02 18:30 UTC (permalink / raw)
  To: José Pekkarinen; +Cc: buildroot

Hello José,

On Thu, 2 Dec 2021 12:41:30 +0200, José Pekkarinen <jose.pekkarinen@unikie.com> wrote:

> Hi,
> 
> I'm reading a package for bmx7 to be upstreamed.
> 
> I found the following error in one of the toolchains
> (bootlin-x86-64-musl), and I wonder whether it is an issue
> in the toolchain, and if it can be a blocker for the package to
> be merged:
> 
> In file included from
> /home/debian/br-test-pkg/bootlin-x86-64-musl/host/x86_64-buildroot-linux-musl/sysroot/usr/include/net/ethernet.h:10,
>                 from
> /home/debian/br-test-pkg/bootlin-x86-64-musl/host/x86_64-buildroot-linux-musl/sysroot/usr/include/iwlib.h:29,
>                 from ip.c:51:
> /home/debian/br-test-pkg/bootlin-x86-64-musl/host/x86_64-buildroot-linux-musl/sysroot/usr/include/netinet/if_ether.h:116:8:
> error: redefinition of ‘struct ethhdr’
>  116 | struct ethhdr {
>      |        ^~~~~~
> 
> Best regards.

Sometimes the musl build failure is fixable, search the git history for
examples, e.g. [1], or at least resort disable for musl...

Regards,
Peter

[1] https://git.buildroot.net/buildroot/commit/?id=e0c1ce019f8a5aaf9f54ae85e18821048b23d940

> 
> 
> José Pekkarinen.

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

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

* Re: [Buildroot] New packages question
  2021-12-02 18:30 ` Peter Seiderer
@ 2021-12-03  6:02   ` José Pekkarinen
  0 siblings, 0 replies; 3+ messages in thread
From: José Pekkarinen @ 2021-12-03  6:02 UTC (permalink / raw)
  To: Peter Seiderer; +Cc: buildroot


[-- Attachment #1.1: Type: text/plain, Size: 1382 bytes --]

On Thu, Dec 2, 2021 at 8:30 PM Peter Seiderer <ps.report@gmx.net> wrote:

> Hello José,
>
> On Thu, 2 Dec 2021 12:41:30 +0200, José Pekkarinen <
> jose.pekkarinen@unikie.com> wrote:
>
> > Hi,
> >
> > I'm reading a package for bmx7 to be upstreamed.
> >
> > I found the following error in one of the toolchains
> > (bootlin-x86-64-musl), and I wonder whether it is an issue
> > in the toolchain, and if it can be a blocker for the package to
> > be merged:
> >
> > In file included from
> >
> /home/debian/br-test-pkg/bootlin-x86-64-musl/host/x86_64-buildroot-linux-musl/sysroot/usr/include/net/ethernet.h:10,
> >                 from
> >
> /home/debian/br-test-pkg/bootlin-x86-64-musl/host/x86_64-buildroot-linux-musl/sysroot/usr/include/iwlib.h:29,
> >                 from ip.c:51:
> >
> /home/debian/br-test-pkg/bootlin-x86-64-musl/host/x86_64-buildroot-linux-musl/sysroot/usr/include/netinet/if_ether.h:116:8:
> > error: redefinition of ‘struct ethhdr’
> >  116 | struct ethhdr {
> >      |        ^~~~~~
> >
> > Best regards.
>
> Sometimes the musl build failure is fixable, search the git history for
> examples, e.g. [1], or at least resort disable for musl...
>
> Regards,
> Peter
>
> [1]
> https://git.buildroot.net/buildroot/commit/?id=e0c1ce019f8a5aaf9f54ae85e18821048b23d940


I'll check it out! Thanks Peter!


José.

[-- Attachment #1.2: Type: text/html, Size: 2307 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
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:[~2021-12-03  6:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-02 10:41 [Buildroot] New packages question José Pekkarinen
2021-12-02 18:30 ` Peter Seiderer
2021-12-03  6:02   ` José Pekkarinen

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