Bug#964384: [Debian-iot-maintainers] Bug#964384: ulfius: FTBFS with recent libmicrohttpd

2020-07-06 Thread Gianfranco Costamagna
Hello,
> This test fails while getting "http://[::1]:8080/empty";, maybe there's
> an ipv6 issue in ubuntu autopkgtest environment?
> 

they might not have ipv6 capability, or that port being already allocated? not 
sure.

> The last 2 errors will probably tell us more after the release since the
> error message will be fixed in ulfius_send_smtp_rich_email, thanks to you!
> 

thanks!

the error now with that patch is:
2020-07-06T15:19:23Z - Ulfius ERROR: Ulfius - Error sending smtp message, error 
message Couldn't connect to server
2020-07-06T15:19:23Z - Ulfius ERROR: Ulfius - Error sending smtp message, error 
message Couldn't connect to server
2020-07-06T15:19:23Z - Ulfius ERROR: Ulfius - Error sending smtp message, error 
message Couldn't connect to server

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/amd64/u/ulfius/20200706_151935_d3556@/log.gz

I honestly don't think using 8080 is a nice thing to do, probably such ports 
might be already opened

let me know if you need some more testing!

G.



Bug#964384: [Debian-iot-maintainers] Bug#964384: ulfius: FTBFS with recent libmicrohttpd

2020-07-06 Thread Nicolas Mora
> Hello, can you please apply the two patches below to fix the build failure 
> with new libmicrohttpd and to give a more useful error message in case curl 
> fails?
> (I don't know yet why, but the autopkgtest is failing in Ubuntu)
> 
Since I'm also the upstream author, I'll fix the ftbfs in the next
release, very soon. But I must package new releases orcania and yder
first. This should be done in a few days.

> 
> also, help to track down the ubuntu failure is appreciated
> http://autopkgtest.ubuntu.com/packages/u/ulfius/groovy/amd64
> 
In the log, the first error tells us that:
framework.c:667:F:test_ulfius_framework:test_ulfius_net_type_endpoint:0:
Assertion 'response.status == 200' failed: response.status == 503, 200
== 200
This test fails while getting "http://[::1]:8080/empty";, maybe there's
an ipv6 issue in ubuntu autopkgtest environment?

The last 2 errors will probably tell us more after the release since the
error message will be fixed in ulfius_send_smtp_rich_email, thanks to you!

/Nicolas



signature.asc
Description: OpenPGP digital signature


Bug#964384: ulfius: FTBFS with recent libmicrohttpd

2020-07-06 Thread Gianfranco Costamagna
Source: ulfius
Version: 2.6.7-4
Severity: serious
tags: patch

Hello, can you please apply the two patches below to fix the build failure with 
new libmicrohttpd and to give a more useful error message in case curl fails?
(I don't know yet why, but the autopkgtest is failing in Ubuntu)



https://github.com/babelouest/ulfius/pull/168

and

https://github.com/babelouest/ulfius/commit/fa157b1bf14fd1aa0bf998f1f3f9c55d15a13a3b
(updating to 2.6.8 grabs automagically this commit, while my pull request is 
not yet merged)

thanks!

also, help to track down the ubuntu failure is appreciated
http://autopkgtest.ubuntu.com/packages/u/ulfius/groovy/amd64


Gianfranco