Bug#338935: ocaml-ssl - FTBFS: Fatal error: the file install is not a bytecode executable file

2005-11-13 Thread Bastian Blank
Package: ocaml-ssl
Version: 0.3.1-2
Severity: serious

There was an error while trying to autobuild your package:

> Automatic build of ocaml-ssl_0.3.1-2 on debian01 by sbuild/s390 69
[...]
> make[2]: Entering directory `/build/buildd/ocaml-ssl-0.3.1/src'
> /usr/bin/ocamlfind install  ssl META ssl.mli ssl_threads.mli ssl.cmi 
> ssl_threads.cmi ssl.cma ssl_threads.cma libssl_stubs.a libssl_threads_stubs.a 
> dllssl_stubs.so dllssl_threads_stubs.so
> Fatal error: the file install is not a bytecode executable file
> make[2]: *** [install] Error 2
> make[2]: Leaving directory `/build/buildd/ocaml-ssl-0.3.1/src'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/build/buildd/ocaml-ssl-0.3.1'
> make: *** [install] Error 2
> **
> Build finished at 20051113-2151
> FAILED [dpkg-buildpackage died]

Bastian


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



Bug#338935: ocaml-ssl - FTBFS: Fatal error: the file install is not a bytecode executable file

2005-11-14 Thread Samuel Mimram
reassign 338935 ocaml-findlib
thanks

Bastian Blank wrote:
> Package: ocaml-ssl
> Version: 0.3.1-2
> Severity: serious
> 
> There was an error while trying to autobuild your package:
> 
> 
>>Automatic build of ocaml-ssl_0.3.1-2 on debian01 by sbuild/s390 69
> 
> [...]
> 
>>make[2]: Entering directory `/build/buildd/ocaml-ssl-0.3.1/src'
>>/usr/bin/ocamlfind install  ssl META ssl.mli ssl_threads.mli ssl.cmi 
>>ssl_threads.cmi ssl.cma ssl_threads.cma libssl_stubs.a libssl_threads_stubs.a 
>>dllssl_stubs.so dllssl_threads_stubs.so
>>Fatal error: the file install is not a bytecode executable file
>>make[2]: *** [install] Error 2
>>make[2]: Leaving directory `/build/buildd/ocaml-ssl-0.3.1/src'
>>make[1]: *** [install] Error 2
>>make[1]: Leaving directory `/build/buildd/ocaml-ssl-0.3.1'
>>make: *** [install] Error 2
>>**
>>Build finished at 20051113-2151
>>FAILED [dpkg-buildpackage died]

Right. Apparently the problem is that ocamlfind is stripped on
non-native archs also (and thus there's no bytecode...).

Regards,

Samuel.


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



Bug#338935: ocaml-ssl - FTBFS: Fatal error: the file install is not a bytecode executable file

2005-11-14 Thread Julien Cristau
tags 338935 + patch
found 338935 1.1-3
retitle 338935 ocamlfind shouldn't be stripped on non-native archs
kthxbye

On Mon, Nov 14, 2005 at 16:04:01 +0100, Samuel Mimram wrote:

> Right. Apparently the problem is that ocamlfind is stripped on
> non-native archs also (and thus there's no bytecode...).
> 
Hi Stefano,

this problem was introduced when findlib switched to using cdbs, and the
"if [ -x /usr/bin/ocamlopt ]; then dh_strip; else true; fi" line was
removed. I think the following patch should fix this issue:

Index: debian/rules
===
--- debian/rules(revision 2047)
+++ debian/rules(working copy)
@@ -26,6 +26,9 @@
 ifeq ($(HAVE_OCAMLOPT),yes)
 build/$(PKGNAME)::
$(MAKE) opt
+else
+# strip removes the bytecode from binaries produced by ocamlc -custom
+DEB_STRIP_EXCLUDE = usr/bin/ocamlfind
 endif
 install/$(PKGNAME)::
# rm ocamlc.opt and similar settings, they're not avail everywhere in 
debian
-

Cheers,
Julien


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



Bug#338935: ocaml-ssl - FTBFS: Fatal error: the file install is not a bytecode executable file

2005-11-14 Thread Stefano Zacchiroli
On Mon, Nov 14, 2005 at 04:23:56PM +0100, Julien Cristau wrote:
> this problem was introduced when findlib switched to using cdbs, and the
> "if [ -x /usr/bin/ocamlopt ]; then dh_strip; else true; fi" line was
> removed. I think the following patch should fix this issue:

Gotcha!, many thanks for your hint.

Cheers.

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
[EMAIL PROTECTED],debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-


signature.asc
Description: Digital signature


Processed: Re: Bug#338935: ocaml-ssl - FTBFS: Fatal error: the file install is not a bytecode executable file

2005-11-14 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> reassign 338935 ocaml-findlib
Bug#338935: ocaml-ssl - FTBFS: Fatal error: the file install is not a bytecode 
executable file
Bug reassigned from package `ocaml-ssl' to `ocaml-findlib'.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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



Processed: Re: Bug#338935: ocaml-ssl - FTBFS: Fatal error: the file install is not a bytecode executable file

2005-11-14 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> tags 338935 + patch
Bug#338935: ocaml-ssl - FTBFS: Fatal error: the file install is not a bytecode 
executable file
There were no tags set.
Tags added: patch

> found 338935 1.1-3
Bug#338935: ocaml-ssl - FTBFS: Fatal error: the file install is not a bytecode 
executable file
Bug marked as found in version 1.1-3.

> retitle 338935 ocamlfind shouldn't be stripped on non-native archs
Bug#338935: ocaml-ssl - FTBFS: Fatal error: the file install is not a bytecode 
executable file
Changed Bug title.

> kthxbye
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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



Bug#338935: Processed: Re: Bug#338935: ocaml-ssl - FTBFS: Fatal error: the file install is not a bytecode executable file

2005-11-14 Thread Stefano Zacchiroli
On Mon, Nov 14, 2005 at 07:03:42AM -0800, Debian Bug Tracking System wrote:
> Bug#338935: ocaml-ssl - FTBFS: Fatal error: the file install is not a 
> bytecode executable file

I'm aware of the problem, I'm waiting for an s390 admin to install
findlib build dependencies to examine the problem ...

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
[EMAIL PROTECTED],debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-


signature.asc
Description: Digital signature