[Pkg-julia-devel] Bug#816980: Bug#816980: julia: FTBFS when built with dpkg-buildpackage -A (signal (11): Segmentation fault)

Santiago Vila sanvila at unex.es
Sat Mar 12 09:44:44 UTC 2016


On Fri, Mar 11, 2016 at 06:29:40PM -0500, Peter Colberg wrote:
> Hi Santiago,
> 
> On Sun, Mar 06, 2016 at 11:27:10PM +0000, Santiago Vila wrote:
> > Package: src:julia
> > Version: 0.4.3-1
> > User: sanvila at debian.org
> > Usertags: binary-indep
> > Severity: important
> > 
> > Dear maintainer:
> > 
> > I tried to build this package with "dpkg-buildpackage -A"
> > (i.e. only architecture-independent packages), and it failed:
> 
> Could you retry by building julia 0.4.3-3 from experimental?

I'm only building packages on testing, sorry.

> It builds fine on my amd64 machine using "sbuild -j4".

That's fine, but did you actually test "dpkg-buildpackage -A"
in stretch?

This may be done with the sbuild pacjage in stretch or
jessie-backports using "sbuild --arch-all-only".

> The error you saw earlier is not related to building only arch-indep
> packages, since the failure is in the test suite,

Well, not necessarily. Sometimes the test suite fails because it
blindly assumes that everything has been built. This is not the case
when there is a build-indep target that does not build everything.

(Speaking in general here, I have not looked at the actual
debian/rules for julia).

> which is run both
> for arch-indep and arch-dep builds.

So why do we need to run the test suite for arch-indep builds?

Version 0.3.11-1 took only 2 minutes to build (with "dpkg-buildpackage -A")
and it generated the arch-independent packages without any problem.

Do we really need a full build to generate the arch-independent
packages? (This was not needed in the past, apparently).

> Does your machine have enough memory?

I hope so. My machine is a qemu virtual machine with 5GB of RAM and
2GB of swap. Is that not enough?

Moreover, it has only one CPU and AFAIK parallel build should only be
enabled when explicitly requested.

My main problem when testing packages with "dpkg-buildpackage -A" is
that we don't have a "Build-Memory:" control field yet.

What would be the value of this field in "julia" if such field existed?
(For the amd64 architecture and only one CPU).

Thanks.



More information about the Pkg-julia-devel mailing list