diff mbox

azure-iot-sdk-c: Bump to version 2017-06-30

Message ID 1499277201-14030-1-git-send-email-nerv@dawncrow.de
State Accepted
Headers show

Commit Message

André Zwing July 5, 2017, 5:53 p.m. UTC
Signed-off-by: André Hentschel <nerv@dawncrow.de>
---
 package/azure-iot-sdk-c/azure-iot-sdk-c.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thomas Petazzoni July 6, 2017, 9:26 p.m. UTC | #1
Hello,

On Wed,  5 Jul 2017 19:53:21 +0200, André Hentschel wrote:
> Signed-off-by: André Hentschel <nerv@dawncrow.de>
> ---
>  package/azure-iot-sdk-c/azure-iot-sdk-c.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas
Thomas Petazzoni July 15, 2017, 10:09 a.m. UTC | #2
Hello,

On Wed,  5 Jul 2017 19:53:21 +0200, André Hentschel wrote:
> Signed-off-by: André Hentschel <nerv@dawncrow.de>
> ---
>  package/azure-iot-sdk-c/azure-iot-sdk-c.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

This package is causing a large number of timeouts, apparently due to
the fetch of submodules failing. It only happens on my autobuilder
instance it seems:

  http://autobuild.buildroot.net/?reason=azure-iot-sdk-c-2017-06-30

Is there something that can be done about this?

Thanks,

Thomas
Thomas Petazzoni July 15, 2017, 10:44 a.m. UTC | #3
Hello,

On Sat, 15 Jul 2017 12:09:54 +0200, Thomas Petazzoni wrote:

> This package is causing a large number of timeouts, apparently due to
> the fetch of submodules failing. It only happens on my autobuilder
> instance it seems:
> 
>   http://autobuild.buildroot.net/?reason=azure-iot-sdk-c-2017-06-30
> 
> Is there something that can be done about this?

So, the issue is that I am (intentionally) using a very old Linux
distribution for this autobuilder instance, and the distro is so old
that OpenSSL+ca-certificates are no longer compatible with the
requirements of https:// on github.com. But instead of failing with an
error, it just remains stuck forever.

An "openssl s_client -connect" test clearly reveals that it's never
going to connect to github.com from my old distro.

So, I'm wondering what to do. Should I give up testing Buildroot on
Debian Squeeze, and move to Debian Wheezy instead?

I could perhaps backport openssl+ca-certificates, but what's the point
of testing such an old distro, if random packages have anyway to be
upgraded for Buildroot to work correctly?

Arnout, Yann, Peter, what do you think?

I've also Cc'ed Thomas DS, who is known to use Buildroot on really old
Linux distros. Thomas: what are the oldest distro you're still running
Buildroot on? If it's some RHEL distro, what is the closest Debian
version? Do you get openssl/ca-certificates updates on this RHEL, which
allows such machines to continue to connect over HTTPS to modern web
sites?

Best regards,

Thomas
Peter Korsgaard July 15, 2017, 1:22 p.m. UTC | #4
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

Hi,

 > So, I'm wondering what to do. Should I give up testing Buildroot on
 > Debian Squeeze, and move to Debian Wheezy instead?

With stretch out, I indeed think it makes sense to move away from
squeeze. According to wikipedia squeeze is no longer supported (since
Feb 2016):

https://en.wikipedia.org/wiki/Debian_version_history#Release_table

In general, I don't think it makes sense to test on any distribution no
longer supported by their upstream.
Yann E. MORIN July 16, 2017, 8:15 a.m. UTC | #5
Thomas, All,

On 2017-07-15 15:22 +0200, Peter Korsgaard spake thusly:
> >>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
>  > So, I'm wondering what to do. Should I give up testing Buildroot on
>  > Debian Squeeze, and move to Debian Wheezy instead?
> 
> With stretch out, I indeed think it makes sense to move away from
> squeeze. According to wikipedia squeeze is no longer supported (since
> Feb 2016):
> 
> https://en.wikipedia.org/wiki/Debian_version_history#Release_table
> 
> In general, I don't think it makes sense to test on any distribution no
> longer supported by their upstream.

We can do our best to support older distros, and not break things on
purpose, but when time has come, we should not refrain from requiring a
more uop-to-date system.

If we accidentally break something, interested parties can try to fix it
and send patches if that is fixable. If that is not fixable, then there
is not much we can do.

Except add even more host packages and become a distro... :-/

So, my position is you update your autobuilder.

Regards,
Yann E. MORIN.
Thomas Petazzoni July 16, 2017, 2:19 p.m. UTC | #6
Hello,

On Sat, 15 Jul 2017 15:22:48 +0200, Peter Korsgaard wrote:

>  > So, I'm wondering what to do. Should I give up testing Buildroot on
>  > Debian Squeeze, and move to Debian Wheezy instead?  
> 
> With stretch out, I indeed think it makes sense to move away from
> squeeze. According to wikipedia squeeze is no longer supported (since
> Feb 2016):
> 
> https://en.wikipedia.org/wiki/Debian_version_history#Release_table
> 
> In general, I don't think it makes sense to test on any distribution no
> longer supported by their upstream.

Following your feedback and Yann's feedback, I've updated my chroot
from Squeeze to Wheezy. I've checked, and now Git clones from
github.com are working, as are wget downloads from cdn.kernel.org. This
should hopefully avoid a lot of bogus download failures.

Best regards,

Thomas
Yann E. MORIN July 16, 2017, 2:59 p.m. UTC | #7
Thomas, All,

On 2017-07-16 16:19 +0200, Thomas Petazzoni spake thusly:
> On Sat, 15 Jul 2017 15:22:48 +0200, Peter Korsgaard wrote:
> 
> >  > So, I'm wondering what to do. Should I give up testing Buildroot on
> >  > Debian Squeeze, and move to Debian Wheezy instead?  
> > 
> > With stretch out, I indeed think it makes sense to move away from
> > squeeze. According to wikipedia squeeze is no longer supported (since
> > Feb 2016):
> > 
> > https://en.wikipedia.org/wiki/Debian_version_history#Release_table
> > 
> > In general, I don't think it makes sense to test on any distribution no
> > longer supported by their upstream.
> 
> Following your feedback and Yann's feedback, I've updated my chroot
> from Squeeze to Wheezy. I've checked, and now Git clones from
> github.com are working, as are wget downloads from cdn.kernel.org. This
> should hopefully avoid a lot of bogus download failures.

Thank you Thomas for having run this old distro for the autobuilders for
so long, and most importantly for bringing in patches to fix those
autobuild failures.

Thanks! :-)

So long, Squeeze, and thanks for all the fish! :-)

Regards,
Yann E. MORIN.
diff mbox

Patch

diff --git a/package/azure-iot-sdk-c/azure-iot-sdk-c.mk b/package/azure-iot-sdk-c/azure-iot-sdk-c.mk
index dbdef3e..18c3e24 100644
--- a/package/azure-iot-sdk-c/azure-iot-sdk-c.mk
+++ b/package/azure-iot-sdk-c/azure-iot-sdk-c.mk
@@ -4,7 +4,7 @@ 
 #
 ################################################################################
 
-AZURE_IOT_SDK_C_VERSION = 2017-05-05
+AZURE_IOT_SDK_C_VERSION = 2017-06-30
 AZURE_IOT_SDK_C_SITE = https://github.com/Azure/azure-iot-sdk-c
 AZURE_IOT_SDK_C_SITE_METHOD = git
 AZURE_IOT_SDK_C_GIT_SUBMODULES = YES