Bug#828299: fetchmail: FTBFS with openssl 1.1.0

2016-11-03 Thread Sebastian Andrzej Siewior
On 2016-11-03 23:39:32 [+0100], László Böszörményi (GCS) wrote:
>  OK, it remained the same then. May you try the work in progress
> update[1]? I'm off for sleeping. :-/

yup, worked.

> Thanks,
> Laszlo/GCS

Sebastian



Bug#828299: fetchmail: FTBFS with openssl 1.1.0

2016-11-03 Thread GCS
On Thu, Nov 3, 2016 at 11:16 PM, Sebastian Andrzej Siewior
 wrote:
> On 2016-11-03 22:02:23 [+0100], László Böszörményi (GCS) wrote:
>>  Nope. Tried in a loop of ten with -j2, other ten with -j4 and another
>> ten with -j8 and it was working correctly. What's the result / current
>> problem at your end?
>
> As you see in [0]:
 OK, it remained the same then. May you try the work in progress
update[1]? I'm off for sleeping. :-/

Thanks,
Laszlo/GCS
[1] dget -x http://www.barcikacomp.hu/gcs/fetchmail_6.3.26-3.dsc



Bug#828299: fetchmail: FTBFS with openssl 1.1.0

2016-11-03 Thread Sebastian Andrzej Siewior
On 2016-11-03 22:02:23 [+0100], László Böszörményi (GCS) wrote:
> On Thu, Nov 3, 2016 at 8:48 PM, Sebastian Andrzej Siewior
>  wrote:
> > On 2016-11-03 07:45:16 [+0100], Andreas Henriksson wrote:
> > fetchmail builds against openssl 1.1.0. So we are good here.
> > fetchmail fails to build with -j4.
> > What do we do now? I retitled the bug. Can you reproduce this on your
> > end?
>  Nope. Tried in a loop of ten with -j2, other ten with -j4 and another
> ten with -j8 and it was working correctly. What's the result / current
> problem at your end?

As you see in [0]:

|dpkg-buildpackage: info: host architecture amd64
| fakeroot debian/rules clean
|dh_testdir
|dh_testroot
|rm -f build-stamp configure-stamp
|[ ! -f Makefile ] || /usr/bin/make distclean
|rm -f po/*.gmo config.sub config.guess config.status
|dh_clean -X.orig -X.rej
| debian/rules build-arch
|set -e
|set -e
|dh_testdir
|dh_testdir
|/usr/bin/make
|make[1]: Entering directory '/<>'
|make[1]: *** No targets specified and no makefile found.  Stop.
|make[1]: Leaving directory '/<>'
|cp /usr/share/misc/config.sub config.sub
|debian/rules:138: recipe for target 'build-stamp' failed
|make: *** [build-stamp] Error 2
|make: *** Waiting for unfinished jobs
|cp /usr/share/misc/config.guess config.guess
|./configure  --build x86_64-linux-gnu --prefix=/usr --enable-nls \
|   --disable-fallback  --with-ssl=/usr --enable-NTLM --enable-SDPS 
--with-kerberos5 --with-gssapi=/usr
…
|sed -e "s/-lcrypt//; s/-lk5crypto//g;"  < Makefile > Makefile.tmp
|mv Makefile.tmp Makefile
|touch configure-stamp
|dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
|
|Build finished at 2016-08-26T18:31:07Z

The build-arch and clean rule run in parallel. This was triggered by "sbuild 
-j4 fetch….dsc"

[0] 
https://breakpoint.cc/openssl-1.1-rebuild-2016-08-26/failed/fetchmail_6.3.26-2_amd64-2016-08-26T18%3A30%3A26Z

> Laszlo/GCS

Sebastian



Bug#828299: fetchmail: FTBFS with openssl 1.1.0

2016-11-03 Thread GCS
On Thu, Nov 3, 2016 at 8:48 PM, Sebastian Andrzej Siewior
 wrote:
> On 2016-11-03 07:45:16 [+0100], Andreas Henriksson wrote:
> fetchmail builds against openssl 1.1.0. So we are good here.
> fetchmail fails to build with -j4.
> What do we do now? I retitled the bug. Can you reproduce this on your
> end?
 Nope. Tried in a loop of ten with -j2, other ten with -j4 and another
ten with -j8 and it was working correctly. What's the result / current
problem at your end?

Laszlo/GCS



Bug#828299: fetchmail: FTBFS with openssl 1.1.0

2016-11-03 Thread Andreas Henriksson
Hello Sebastian Andrzej Siewior.

On Thu, Nov 03, 2016 at 08:48:04PM +0100, Sebastian Andrzej Siewior wrote:
> control: retitle: -1 fetchmail: FTBFS if building in parallel
> 
> On 2016-11-03 07:45:16 [+0100], Andreas Henriksson wrote:
> > Hello Kurt Roeckx.
> Hi,
> 
> > The failure in this build log didn't look like it was really openssl 
> > related.
> > I've tried rebuilding the package which succeded for me.
> > 
> > Could you please double-check here and possibly close this bug report
> > if there's no issue?
> 
> fetchmail builds against openssl 1.1.0. So we are good here.
> fetchmail fails to build with -j4.
> What do we do now? I retitled the bug. Can you reproduce this on your
> end?

Disclaimer: I'm not the maintainer.

(And your retitle seems to have failed? One too many : after retitle?)
(And as already mentioned to Kurt, you might want to unblock the openssl
transition as well as this bug is not related to openssl.)

It seems build-arch depends on configure-stamp and build-stamp. The
latter two gets executed in parallel which results in build-stamp
getting executer before configure-stamp and thus the failure.

Since the fetchmail packaging currently uses a deprecated debhelper compat
level 7, preferrably it would get updated to a current level (and
switched to use the debhelper sequencer while at it).
While doing that upgrading/cleanup work on the packaging this bug will
likely go away.

Another (quick and dirty) option would be to completely disable parallel
execution of debian/rules, eg. by adding ".NOTPARALLEL:".

Another option that could also work is to make the build-stamp target
depend on configure-stamp hopefully fixes the parallelism bug and
probably a theoretically correct change no matter what.

Regards,
Andreas Henriksson

PS. Not volunteering for any of the above myself.



Bug#828299: fetchmail: FTBFS with openssl 1.1.0

2016-11-03 Thread Sebastian Andrzej Siewior
control: retitle: -1 fetchmail: FTBFS if building in parallel

On 2016-11-03 07:45:16 [+0100], Andreas Henriksson wrote:
> Hello Kurt Roeckx.
Hi,

> The failure in this build log didn't look like it was really openssl related.
> I've tried rebuilding the package which succeded for me.
> 
> Could you please double-check here and possibly close this bug report
> if there's no issue?

fetchmail builds against openssl 1.1.0. So we are good here.
fetchmail fails to build with -j4.
What do we do now? I retitled the bug. Can you reproduce this on your
end?

> Regards,
> Andreas Henriksson

Sebastian



Bug#828299: fetchmail: FTBFS with openssl 1.1.0

2016-11-03 Thread Andreas Henriksson
On Thu, Nov 03, 2016 at 05:44:54PM +0100, Kurt Roeckx wrote:
> On Thu, Nov 03, 2016 at 07:45:16AM +0100, Andreas Henriksson wrote:
[...]
> > I've tried rebuilding the package which succeded for me.
> > 
> > Could you please double-check here and possibly close this bug report
> > if there's no issue?
> 
> It might have been caused by calling dpkg-buildpackage -j8. If
> that's the case you could look into that your debian/rules files
> actually has all the proper dependecies. This isn't really
> something that should be supported.

There might still be an issue here sure, but this is not my package and
I won't dive into that. Just saying that you might want to unmark
fetchmail as an openssl 1.1.0 transition blocker.

Regards,
Andreas Henriksson



Bug#828299: fetchmail: FTBFS with openssl 1.1.0

2016-11-03 Thread Kurt Roeckx
On Thu, Nov 03, 2016 at 07:45:16AM +0100, Andreas Henriksson wrote:
> Hello Kurt Roeckx.
> 
> On Sun, Jun 26, 2016 at 12:21:39PM +0200, Kurt Roeckx wrote:
> > Source: fetchmail
> > Version: 6.3.26-2
> > Severity: important
> > Control: block 827061 by -1
> > 
> > Hi,
> > 
> > OpenSSL 1.1.0 is about to released.
> [...]
> > https://breakpoint.cc/openssl-1.1-rebuild-2016-05-29/Attempted/fetchmail_6.3.26-2_amd64-20160529-1418
> [...]
> 
> The failure in this build log didn't look like it was really openssl related.
> I've tried rebuilding the package which succeded for me.
> 
> Could you please double-check here and possibly close this bug report
> if there's no issue?

It might have been caused by calling dpkg-buildpackage -j8. If
that's the case you could look into that your debian/rules files
actually has all the proper dependecies. This isn't really
something that should be supported.


Kurt



Bug#828299: fetchmail: FTBFS with openssl 1.1.0

2016-11-02 Thread Andreas Henriksson
Hello Kurt Roeckx.

On Sun, Jun 26, 2016 at 12:21:39PM +0200, Kurt Roeckx wrote:
> Source: fetchmail
> Version: 6.3.26-2
> Severity: important
> Control: block 827061 by -1
> 
> Hi,
> 
> OpenSSL 1.1.0 is about to released.
[...]
> https://breakpoint.cc/openssl-1.1-rebuild-2016-05-29/Attempted/fetchmail_6.3.26-2_amd64-20160529-1418
[...]

The failure in this build log didn't look like it was really openssl related.
I've tried rebuilding the package which succeded for me.

Could you please double-check here and possibly close this bug report
if there's no issue?

Regards,
Andreas Henriksson



Bug#828299: fetchmail: FTBFS with openssl 1.1.0

2016-06-26 Thread Kurt Roeckx
Source: fetchmail
Version: 6.3.26-2
Severity: important
Control: block 827061 by -1

Hi,

OpenSSL 1.1.0 is about to released.  During a rebuild of all packages using
OpenSSL this package fail to build.  A log of that build can be found at:
https://breakpoint.cc/openssl-1.1-rebuild-2016-05-29/Attempted/fetchmail_6.3.26-2_amd64-20160529-1418

On https://wiki.openssl.org/index.php/1.1_API_Changes you can see various of the
reasons why it might fail.  There are also updated man pages at
https://www.openssl.org/docs/manmaster/ that should contain useful information.

There is a libssl-dev package available in experimental that contains a recent
snapshot, I suggest you try building against that to see if everything works.

If you have problems making things work, feel free to contact us.


Kurt