* [Buildroot] [PATCHv2] pckages/sconeserver: fix build with gcc-6
@ 2016-08-25 7:45 Yann E. MORIN
2016-08-25 8:26 ` Thomas Petazzoni
0 siblings, 1 reply; 6+ messages in thread
From: Yann E. MORIN @ 2016-08-25 7:45 UTC (permalink / raw)
To: buildroot
We simply bump the version rather than backport the patch, as there has
been only very few, minor commits in-between.
Fixes:
http://autobuild.buildroot.org/results/fa7/fa7881c6ffb821a2aff139f95ba53c96d6e2b942/
http://autobuild.buildroot.org/results/749/749fbd6cc505f6f3c0cccfeb63be6deddab8fba5/
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
Changes v1 -> v2;
- update hash file (Thomas)
---
package/sconeserver/sconeserver.hash | 2 +-
package/sconeserver/sconeserver.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/sconeserver/sconeserver.hash b/package/sconeserver/sconeserver.hash
index 4503b9f..978b442 100644
--- a/package/sconeserver/sconeserver.hash
+++ b/package/sconeserver/sconeserver.hash
@@ -1,2 +1,2 @@
# Locally computed
-sha256 6bd76843df8e48519c67c72505412896b227d7b40ec0dee831c79ed414c85ff3 sconeserver-bbb384404575f8a3ef31c1ec41218b621b66ab27.tar.gz
+sha256 38e72b962eb42bea8f0deb6f101833f8f2f2fa8c53f0dc03f3eb5d56873517c8 sconeserver-d659468cd164e6a6cc12932cc6780566b04f8328.tar.gz
diff --git a/package/sconeserver/sconeserver.mk b/package/sconeserver/sconeserver.mk
index 0b0ed1a..e02c1a6 100644
--- a/package/sconeserver/sconeserver.mk
+++ b/package/sconeserver/sconeserver.mk
@@ -4,7 +4,7 @@
#
################################################################################
-SCONESERVER_VERSION = bbb384404575f8a3ef31c1ec41218b621b66ab27
+SCONESERVER_VERSION = d659468cd164e6a6cc12932cc6780566b04f8328
SCONESERVER_SITE = $(call github,sconemad,sconeserver,$(SCONESERVER_VERSION))
SCONESERVER_LICENSE = GPLv2+
SCONESERVER_LICENSE_FILES = COPYING
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCHv2] pckages/sconeserver: fix build with gcc-6
2016-08-25 7:45 [Buildroot] [PATCHv2] pckages/sconeserver: fix build with gcc-6 Yann E. MORIN
@ 2016-08-25 8:26 ` Thomas Petazzoni
2016-08-27 12:38 ` Matthew Weber
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2016-08-25 8:26 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 25 Aug 2016 09:45:53 +0200, Yann E. MORIN wrote:
> We simply bump the version rather than backport the patch, as there has
> been only very few, minor commits in-between.
>
> Fixes:
> http://autobuild.buildroot.org/results/fa7/fa7881c6ffb821a2aff139f95ba53c96d6e2b942/
> http://autobuild.buildroot.org/results/749/749fbd6cc505f6f3c0cccfeb63be6deddab8fba5/
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
>
> ---
> Changes v1 -> v2;
> - update hash file (Thomas)
> ---
> package/sconeserver/sconeserver.hash | 2 +-
> package/sconeserver/sconeserver.mk | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Applied after fixing the typo in the commit title. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCHv2] pckages/sconeserver: fix build with gcc-6
2016-08-25 8:26 ` Thomas Petazzoni
@ 2016-08-27 12:38 ` Matthew Weber
2016-08-27 14:09 ` Yann E. MORIN
2016-08-28 18:06 ` Yann E. MORIN
0 siblings, 2 replies; 6+ messages in thread
From: Matthew Weber @ 2016-08-27 12:38 UTC (permalink / raw)
To: buildroot
Yann,
On Thu, Aug 25, 2016 at 3:26 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Hello,
>
> On Thu, 25 Aug 2016 09:45:53 +0200, Yann E. MORIN wrote:
>> We simply bump the version rather than backport the patch, as there has
>> been only very few, minor commits in-between.
>>
>> Fixes:
>> http://autobuild.buildroot.org/results/fa7/fa7881c6ffb821a2aff139f95ba53c96d6e2b942/
>> http://autobuild.buildroot.org/results/749/749fbd6cc505f6f3c0cccfeb63be6deddab8fba5/
>>
>> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
>>
<snip>
Looks like the new revision has a failed build.
http://autobuild.buildroot.org/results/e92/e929799366e6f574c7b08d8635b18623afd3e3e1//
ModuleLoader.cpp:29:19: fatal error: dlfcn.h: No such file or directory
#include <dlfcn.h>
^
I didn't have a chance to check if the conf opts for disable-load
works on this package yet but that might fix it (assuming it can be
statically built).
When I first rebuilt, I tried just doing a "make clean sconeserver"
and got this error.
configure.in:118: error: possibly undefined macro: AC_MSG_FAILURE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:120: error: possibly undefined macro: AC_MSG_WARN
autoreconf: /home/mlweber/buildroot/output/host/usr/bin/autoconf
failed with exit status: 1
package/pkg-generic.mk:191: recipe for target
'/home/mlweber/buildroot/output/build/sconeserver-d659468cd164e6a6cc12932cc6780566b04f8328/.stamp_configured'
failed
I haven't had a chance to look into why but thought I'd get it out there.
--
Thanks,
Matt
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCHv2] pckages/sconeserver: fix build with gcc-6
2016-08-27 12:38 ` Matthew Weber
@ 2016-08-27 14:09 ` Yann E. MORIN
2016-08-28 18:06 ` Yann E. MORIN
1 sibling, 0 replies; 6+ messages in thread
From: Yann E. MORIN @ 2016-08-27 14:09 UTC (permalink / raw)
To: buildroot
Matthew, All,
On 2016-08-27 07:38 -0500, Matthew Weber spake thusly:
> On Thu, Aug 25, 2016 at 3:26 AM, Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com> wrote:
> > Hello,
> >
> > On Thu, 25 Aug 2016 09:45:53 +0200, Yann E. MORIN wrote:
> >> We simply bump the version rather than backport the patch, as there has
> >> been only very few, minor commits in-between.
> >>
> >> Fixes:
> >> http://autobuild.buildroot.org/results/fa7/fa7881c6ffb821a2aff139f95ba53c96d6e2b942/
> >> http://autobuild.buildroot.org/results/749/749fbd6cc505f6f3c0cccfeb63be6deddab8fba5/
> >>
> >> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> >>
> <snip>
>
>
> Looks like the new revision has a failed build.
> http://autobuild.buildroot.org/results/e92/e929799366e6f574c7b08d8635b18623afd3e3e1//
>
> ModuleLoader.cpp:29:19: fatal error: dlfcn.h: No such file or directory
> #include <dlfcn.h>
> ^
> I didn't have a chance to check if the conf opts for disable-load
> works on this package yet but that might fix it (assuming it can be
> statically built).
This code hasn't changed in sconeserver since 2013, so we would have
seen similar failures previously...
> When I first rebuilt, I tried just doing a "make clean sconeserver"
> and got this error.
>
> configure.in:118: error: possibly undefined macro: AC_MSG_FAILURE
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> configure.in:120: error: possibly undefined macro: AC_MSG_WARN
> autoreconf: /home/mlweber/buildroot/output/host/usr/bin/autoconf
> failed with exit status: 1
> package/pkg-generic.mk:191: recipe for target
> '/home/mlweber/buildroot/output/build/sconeserver-d659468cd164e6a6cc12932cc6780566b04f8328/.stamp_configured'
> failed
This autoreconf issue also occurs when reverting the bump...
I'll be investigating, but sconeserver is not something I'm really
interested in (was just trying to fix autobuild failures...)
Adding Simon in the loop, since he added that package. ;-)
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCHv2] pckages/sconeserver: fix build with gcc-6
2016-08-27 12:38 ` Matthew Weber
2016-08-27 14:09 ` Yann E. MORIN
@ 2016-08-28 18:06 ` Yann E. MORIN
2016-08-28 20:53 ` Matthew Weber
1 sibling, 1 reply; 6+ messages in thread
From: Yann E. MORIN @ 2016-08-28 18:06 UTC (permalink / raw)
To: buildroot
Matt, All,
On 2016-08-27 07:38 -0500, Matthew Weber spake thusly:
> On Thu, Aug 25, 2016 at 3:26 AM, Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com> wrote:
> > Hello,
> >
> > On Thu, 25 Aug 2016 09:45:53 +0200, Yann E. MORIN wrote:
> >> We simply bump the version rather than backport the patch, as there has
> >> been only very few, minor commits in-between.
> >>
> >> Fixes:
> >> http://autobuild.buildroot.org/results/fa7/fa7881c6ffb821a2aff139f95ba53c96d6e2b942/
> >> http://autobuild.buildroot.org/results/749/749fbd6cc505f6f3c0cccfeb63be6deddab8fba5/
> >>
> >> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> >>
> <snip>
>
> Looks like the new revision has a failed build.
> http://autobuild.buildroot.org/results/e92/e929799366e6f574c7b08d8635b18623afd3e3e1//
>
> ModuleLoader.cpp:29:19: fatal error: dlfcn.h: No such file or directory
> #include <dlfcn.h>
> ^
> I didn't have a chance to check if the conf opts for disable-load
> works on this package yet but that might fix it (assuming it can be
> statically built).
>
> When I first rebuilt, I tried just doing a "make clean sconeserver"
> and got this error.
>
> configure.in:118: error: possibly undefined macro: AC_MSG_FAILURE
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> configure.in:120: error: possibly undefined macro: AC_MSG_WARN
> autoreconf: /home/mlweber/buildroot/output/host/usr/bin/autoconf
> failed with exit status: 1
> package/pkg-generic.mk:191: recipe for target
> '/home/mlweber/buildroot/output/build/sconeserver-d659468cd164e6a6cc12932cc6780566b04f8328/.stamp_configured'
> failed
>
> I haven't had a chance to look into why but thought I'd get it out there.
OK, so I finally had the time to give it a shot:
- the autoreconf issue is because it uses pkg-config macros, and it
was missing a dependency on host-pkgconf,
- the build issue is because a pure static uClibc build does not
install dlfcn.h and can't do dynamic loading with dlopen().
Both issues already existed with the previous version, we just did not
notice them...
So: thanks for noticing this time! ;-)
I'll send the patches in a moment.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCHv2] pckages/sconeserver: fix build with gcc-6
2016-08-28 18:06 ` Yann E. MORIN
@ 2016-08-28 20:53 ` Matthew Weber
0 siblings, 0 replies; 6+ messages in thread
From: Matthew Weber @ 2016-08-28 20:53 UTC (permalink / raw)
To: buildroot
Yann,
On Sun, Aug 28, 2016 at 1:06 PM, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> Matt, All,
>
> On 2016-08-27 07:38 -0500, Matthew Weber spake thusly:
>> On Thu, Aug 25, 2016 at 3:26 AM, Thomas Petazzoni
>> <thomas.petazzoni@free-electrons.com> wrote:
>> > Hello,
>> >
>> > On Thu, 25 Aug 2016 09:45:53 +0200, Yann E. MORIN wrote:
>> >> We simply bump the version rather than backport the patch, as there has
>> >> been only very few, minor commits in-between.
>> >>
>> >> Fixes:
>> >> http://autobuild.buildroot.org/results/fa7/fa7881c6ffb821a2aff139f95ba53c96d6e2b942/
>> >> http://autobuild.buildroot.org/results/749/749fbd6cc505f6f3c0cccfeb63be6deddab8fba5/
>> >>
>> >> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
>> >>
>> <snip>
>>
>> Looks like the new revision has a failed build.
>> http://autobuild.buildroot.org/results/e92/e929799366e6f574c7b08d8635b18623afd3e3e1//
>>
>> ModuleLoader.cpp:29:19: fatal error: dlfcn.h: No such file or directory
>> #include <dlfcn.h>
>> ^
>> I didn't have a chance to check if the conf opts for disable-load
>> works on this package yet but that might fix it (assuming it can be
>> statically built).
>>
>> When I first rebuilt, I tried just doing a "make clean sconeserver"
>> and got this error.
>>
>> configure.in:118: error: possibly undefined macro: AC_MSG_FAILURE
>> If this token and others are legitimate, please use m4_pattern_allow.
>> See the Autoconf documentation.
>> configure.in:120: error: possibly undefined macro: AC_MSG_WARN
>> autoreconf: /home/mlweber/buildroot/output/host/usr/bin/autoconf
>> failed with exit status: 1
>> package/pkg-generic.mk:191: recipe for target
>> '/home/mlweber/buildroot/output/build/sconeserver-d659468cd164e6a6cc12932cc6780566b04f8328/.stamp_configured'
>> failed
>>
>> I haven't had a chance to look into why but thought I'd get it out there.
>
> OK, so I finally had the time to give it a shot:
>
> - the autoreconf issue is because it uses pkg-config macros, and it
> was missing a dependency on host-pkgconf,
>
> - the build issue is because a pure static uClibc build does not
> install dlfcn.h and can't do dynamic loading with dlopen().
>
> Both issues already existed with the previous version, we just did not
> notice them...
>
> So: thanks for noticing this time! ;-)
I would have taken a look tonight, so I appreciate that you beat me to
a patch set and I'll start a build to test :-).
- Matt
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-08-28 20:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-25 7:45 [Buildroot] [PATCHv2] pckages/sconeserver: fix build with gcc-6 Yann E. MORIN
2016-08-25 8:26 ` Thomas Petazzoni
2016-08-27 12:38 ` Matthew Weber
2016-08-27 14:09 ` Yann E. MORIN
2016-08-28 18:06 ` Yann E. MORIN
2016-08-28 20:53 ` Matthew Weber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox