Skip to contentSkip to conversation

Your build results for 2017-02-09

Buildroot Thomas Petazzoni 2 participants 3 messages Feb 10, 2017 4 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): CALdGskLbBc1Vx9Ju8ZhUJvRa5r6q83=N-qukFygmS-eZz79i8Q@mail.gmail.com

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): A9140E91EDA627489354A41A7EE118CA33CCBD@sv08ultra002.ultratronik.de

#4 lore raw

Hello,

Quoted 3 lines · Naumann Andreas

I've actually sent a patch for this earlier in '[Buildroot] [PATCH v4 10/10] poppler: Compile with -std=c++11'. Unfortunately I forgot it in v5. Is this enough or do you want me to resend it?

OK, I found it again in patchwork:

http://patchwork.ozlabs.org/patch/708239/

But this patch has an issue: if a package needs C++11 support then it needs to have a BR2_TOOLCHAIN_GCC_AT_LEAST_XYZ dependency.

But this raises an even more fundamental issue: there is *nothing* in poppler that indicates it can depend on Qt5. There is some logic for Qt4, but nothing for Qt5.

So: the dependency on Qt5 should be made explicit, and should take care of the fact that Qt5 needs C++11 support, and therefore a reasonably recent C++ compiler.

Could you work on this?

Alternatively, if you don't care/use Qt5 support in Poppler, you can also just pass the appropriate --disable-<foo> option to unconditionally disable Qt5 support.

Thanks!

Thomas

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

Hi,

Am 10.02.2017 um 11:26 schrieb Thomas Petazzoni:

Quoted 10 lines

Hello,

Quoted 3 lines · Naumann Andreas

I've actually sent a patch for this earlier in '[Buildroot] [PATCH v4 10/10] poppler: Compile with -std=c++11'. Unfortunately I forgot it in v5. Is this enough or do you want me to resend it?

OK, I found it again in patchwork:

Quoted 8 lines

http://patchwork.ozlabs.org/patch/708239/

But this patch has an issue: if a package needs C++11 support then it needs to have a BR2_TOOLCHAIN_GCC_AT_LEAST_XYZ dependency.

But this raises an even more fundamental issue: there is *nothing* in poppler that indicates it can depend on Qt5. There is some logic for Qt4, but nothing for Qt5.

Ok, I see that we have some local patch that makes this explicit. I guess in the given failure it must have been by chance that qt5 was built before poppler and popplers configure automatically detected this.

Quoted 10 lines

So: the dependency on Qt5 should be made explicit, and should take care of the fact that Qt5 needs C++11 support, and therefore a reasonably recent C++ compiler.

Could you work on this?

Alternatively, if you don't care/use Qt5 support in Poppler, you can also just pass the appropriate --disable-<foo> option to unconditionally disable Qt5 support.

Quite the opposite. I'll try to come up with something in the afternoon.

regards,
Andreas

Quoted 5 lines

Thanks!

Thomas

#6 lore raw

Hello,

Quoted 7 lines · Andreas Naumann
Quoted 3 lines

But this raises an even more fundamental issue: there is *nothing* in poppler that indicates it can depend on Qt5. There is some logic for Qt4, but nothing for Qt5.

Ok, I see that we have some local patch that makes this explicit. I guess in the given failure it must have been by chance that qt5 was built before poppler and popplers configure automatically detected this.

Exactly.

Quoted 11 lines
Quoted 9 lines

So: the dependency on Qt5 should be made explicit, and should take care of the fact that Qt5 needs C++11 support, and therefore a reasonably recent C++ compiler.

Could you work on this?

Alternatively, if you don't care/use Qt5 support in Poppler, you can also just pass the appropriate --disable-<foo> option to unconditionally disable Qt5 support.

Quite the opposite. I'll try to come up with something in the afternoon.

Excellent, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com