Bug#345793: mldonkey: fails to build on alpha

2006-07-13 Thread Samuel Mimram
reassign 345793 ocaml
severity 345793 important
forwarded 345793 http://caml.inria.fr/mantis/view.php?id=3072
thanks

Hi,

spiral voice wrote:
> The bug is there again:
> http://buildd.debian.org/fetch.php?&pkg=mldonkey&ver=2.7.7-3&arch=arm&stamp=1152654927&file=log&as=raw
> 
> 
> /tmp/camlstartup4ea0de.o: In function `caml_curry5_3':
> (.text+0x43bc): relocation truncated to fit: BRADDR against symbol
> `caml_call_gc' defined in .text section in
> /usr/lib/ocaml/3.09.2/libasmrun.a(alpha.o)
> /tmp/camlstartup4ea0de.o: In function `caml_curry6':
> (.text+0x444c): additional relocation overflows omitted from the output
> collect2: ld returned 1 exit status
> Error during linking
> make[1]: *** [mlnet] Error 2

You're right (excepting that the right url for the buildd log is [1]).
Unfortunately, there's not much we can do. It is a known bug in OCaml
which has already been forwarded upstream. For now, if the compilation
of mldonkey fails in native mode then it is retried in byte mode. So, it
shouldn't be a major problem wrt mldonkey.

Cheers,

Samuel.

[1]
http://buildd.debian.org/fetch.php?&pkg=mldonkey&ver=2.7.7-3&arch=alpha&stamp=1152643505&file=log&as=raw


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#345793: mldonkey: fails to build on alpha

2006-07-13 Thread spiral voice

Hi,

the bug is there again:
http://buildd.debian.org/fetch.php?&pkg=mldonkey&ver=2.7.7-3&arch=arm&stamp=1152654927&file=log&as=raw

/tmp/camlstartup4ea0de.o: In function `caml_curry5_3':
(.text+0x43bc): relocation truncated to fit: BRADDR against symbol 
`caml_call_gc' defined in .text section in 
/usr/lib/ocaml/3.09.2/libasmrun.a(alpha.o)

/tmp/camlstartup4ea0de.o: In function `caml_curry6':
(.text+0x444c): additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
Error during linking
make[1]: *** [mlnet] Error 2

Greetings, spiralvoice




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#345793: mldonkey: fails to build on alpha

2006-02-14 Thread Sylvain Le Gall
Hello,

On Tue, Feb 14, 2006 at 02:30:20PM +0100, Julien Cristau wrote:
> On Tue, Jan  3, 2006 at 17:54:24 +, Sylvain Le Gall wrote:
> 
> > Hello,
> > 
> > On Tue, Jan 03, 2006 at 03:42:09PM +0100, Julien Cristau wrote:
> > > Package: mldonkey
> > > Severity: serious
> > > Justification: no longer builds from source
> > > 
> > > Hi,
> > > 
> > > the build fails when building mlnet with what looks like
> > > http://caml.inria.fr/mantis/view.php?id=3072.
> > > You should probably build mlnet with ocamlc to work around this.
> > 
> > Humm, in fact i think that the ocaml package should stop building
> > ocamlopt for alpha, if it is really failing (i feel that this error
> > comes from libasmrun, which is part of ocaml).
> > 
> I know that this is an ocamlopt bug (which appears only with big
> executables on alpha), but I think it could easily be worked around in
> mldonkey (coq already does this IIRC), either by using ocamlc on alpha
> or by falling back to ocamlc if ocamlopt fails.
> 2.7.3-1 still fails to build in the same way.
> 
> Cheers,
> Julien
> 
> 
> 

Well, i will use the same workaround as coq (if it suits my need). 

Kind regard
Sylvain Le Gall


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#345793: mldonkey: fails to build on alpha

2006-02-14 Thread Julien Cristau
On Tue, Jan  3, 2006 at 17:54:24 +, Sylvain Le Gall wrote:

> Hello,
> 
> On Tue, Jan 03, 2006 at 03:42:09PM +0100, Julien Cristau wrote:
> > Package: mldonkey
> > Severity: serious
> > Justification: no longer builds from source
> > 
> > Hi,
> > 
> > the build fails when building mlnet with what looks like
> > http://caml.inria.fr/mantis/view.php?id=3072.
> > You should probably build mlnet with ocamlc to work around this.
> 
> Humm, in fact i think that the ocaml package should stop building
> ocamlopt for alpha, if it is really failing (i feel that this error
> comes from libasmrun, which is part of ocaml).
> 
I know that this is an ocamlopt bug (which appears only with big
executables on alpha), but I think it could easily be worked around in
mldonkey (coq already does this IIRC), either by using ocamlc on alpha
or by falling back to ocamlc if ocamlopt fails.
2.7.3-1 still fails to build in the same way.

Cheers,
Julien


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#345793: mldonkey: fails to build on alpha

2006-01-03 Thread Sylvain Le Gall
Hello,

On Tue, Jan 03, 2006 at 03:42:09PM +0100, Julien Cristau wrote:
> Package: mldonkey
> Severity: serious
> Justification: no longer builds from source
> 
> Hi,
> 
> the build fails when building mlnet with what looks like
> http://caml.inria.fr/mantis/view.php?id=3072.
> You should probably build mlnet with ocamlc to work around this.
> By the way, the build continues even if mlnet fails to build, which is
> not a good thing as it makes it harder to detect failures.
> The build log is available at
> http://buildd.debian.org/fetch.php?&pkg=mldonkey&ver=2.7.1-2&arch=alpha&stamp=1136182912&file=log&as=raw
> 

Humm, in fact i think that the ocaml package should stop building
ocamlopt for alpha, if it is really failing (i feel that this error
comes from libasmrun, which is part of ocaml).

I think, i will wait till the release of ocaml 3.09.1 to take a
decision, but this decision will be made on ocaml itself (no more
support for native compilation on alpha).

Considering the fact that the compilation is failing without warning,
you are absolutely right, it should fail earlier in the build process. I
will fix it ASAP, by adding a test in the rules, to check the presence
of mlnet at the end of the compilation. The upstream Makefile is
ignoring too much things, but it is complicated to touch this kind of
stuff.

Kind regard
Sylvain Le Gall


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#345793: mldonkey: fails to build on alpha

2006-01-03 Thread Julien Cristau
Package: mldonkey
Severity: serious
Justification: no longer builds from source

Hi,

the build fails when building mlnet with what looks like
http://caml.inria.fr/mantis/view.php?id=3072.
You should probably build mlnet with ocamlc to work around this.
By the way, the build continues even if mlnet fails to build, which is
not a good thing as it makes it harder to detect failures.
The build log is available at
http://buildd.debian.org/fetch.php?&pkg=mldonkey&ver=2.7.1-2&arch=alpha&stamp=1136182912&file=log&as=raw

Cheers,
Julien Cristau

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]