Skip to contentSkip to conversation

Your build results for 2017-03-07

Buildroot Thomas Petazzoni 3 participants 3 messages Mar 8, 2017 – Mar 9, 2017 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hello,

Adding Vicente in Cc, since he is our mips(64) expert.

Quoted 6 lines · Chris Frederick

I haven't tested firejail on other archs other than x86/x86_64. We might want to add a build restriction on it. Any preference as to how to do that?

depends on BR2_x86_64 || BR2_i386
- or -
depends on BR2_ARCH = "x86_64" || BR2_ARCH = "i386"

Is there something in firejail that is architecture specific? If not, then having architecture dependencies "just because" doesn't seem like a good idea.

Quoted 9 lines · Thomas Petazzoni
Quoted 8 lines

Hello,

This is the list of Buildroot build failures that occured on 2017-03-07, and for which you are a registered architecture developer or package developer. Please help us improving the quality of Buildroot by investigating those build failures and sending patches to fix them. Thanks!

Quoted 3 lines
Quoted 3 lines

Build failures related to your packages:

    mips64el |              firejail-0.9.44.8 | http://autobuild.buildroot.net/results/84d9b5dc955895e1a1c1074e3917c44c8fc00365

I see two things here:

common.c:48: error: '__NR_setns' undeclared (first use in this function)

This *could* be related to too old kernel headers, I guess setns() is a fairly modern system call.

libnetlink.c:110: error: 'RTEXT_FILTER_VF' undeclared (first use in this function)

This one I looked in more details, it was introduced in Linux 3.3, and the toolchain is using kernel headers from Linux 3.9. So there is a different problem.

Vicente, do you think you could have a look?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hi,

Quoted 11 lines
Quoted 4 lines
Quoted 4 lines

Build failures related to your packages:

    mips64el | firejail-0.9.44.8 |

http://autobuild.buildroot.net/results/84d9b5dc955895e1a1c1074e3917c44c8fc00365

I see two things here:

common.c:48: error: '__NR_setns' undeclared (first use in this function)

This *could* be related to too old kernel headers, I guess setns() is a fairly modern system call.

That was my thought as well, but it looks like setns was added in 3.7 for mips, and this toolchain is using 3.9.

I did a quick 'make firejail' with that defconfig, and I cannot reproduce the issue here :/

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

Peter, Chris, All,

On 2017-03-09 23:07 +0100, Peter Korsgaard spake thusly:

Quoted 10 lines
Quoted 9 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Build failures related to your packages:

    mips64el | firejail-0.9.44.8 |

http://autobuild.buildroot.net/results/84d9b5dc955895e1a1c1074e3917c44c8fc00365

I see two things here:

common.c:48: error: '__NR_setns' undeclared (first use in this function)

Quoted 8 lines
Quoted 2 lines

This *could* be related to too old kernel headers, I guess setns() is a fairly modern system call.

That was my thought as well, but it looks like setns was added in 3.7 for mips, and this toolchain is using 3.9.

I did a quick 'make firejail' with that defconfig, and I cannot reproduce the issue here :/

Same here. I even rebuilt in my autobuilder chroot, and still no luck:
it builds fine for me here... :-/

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'