Bug#603580: geneweb: armel: stripped binaries are broken
Am 14.01.2011 um 06:55 schrieb Christian PERRIER: > I would be very interested if you can formally confirm that the latest > uploaded version of geneweb (-8) does fix that problem on armel. That version does indeed work as desired. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#603580: geneweb: armel: stripped binaries are broken
Hans-Jakob, I would be very interested if you can formally confirm that the latest uploaded version of geneweb (-8) does fix that problem on armel. Many thanks in advance (and thanks for your help fixing this). signature.asc Description: Digital signature
Bug#603580: geneweb: armel: stripped binaries are broken
severity 603580 serious thanks Quoting Stéphane Glondu (glo...@debian.org): > Le 10/01/2011 18:52, Christian PERRIER a écrit : > > To Ocaml specialists : besides your advice on the above, is it, in > > your opinion, normal that dh_strip makes bytecode executable useless? > > It depends on what you mean by "normal". It is a known behaviour, and my > personal feeling is that it is not normal. But upstream disagrees and > recommends that bytecode executables should not be built with the > -custom option instead, which is what we adopted as a policy in the > Debian OCaml team. However, it is not trivial to build a bytecode > executable without -custom when it contains C parts (I don't know about > geneweb specifically). See #256900. So, in short, this bug is RC as geneweb doesn't work on all arches with no native compiler. I should indeed have raised this severity earlier. I'm currently building packages with Hans-Jakob patch. signature.asc Description: Digital signature
Bug#603580: geneweb: armel: stripped binaries are broken
Le 10/01/2011 18:52, Christian PERRIER a écrit : > To Ocaml specialists : besides your advice on the above, is it, in > your opinion, normal that dh_strip makes bytecode executable useless? It depends on what you mean by "normal". It is a known behaviour, and my personal feeling is that it is not normal. But upstream disagrees and recommends that bytecode executables should not be built with the -custom option instead, which is what we adopted as a policy in the Debian OCaml team. However, it is not trivial to build a bytecode executable without -custom when it contains C parts (I don't know about geneweb specifically). See #256900. Cheers, -- Stéphane -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#603580: geneweb: armel: stripped binaries are broken
Hello, Am 10.01.2011 um 18:52 schrieb Christian PERRIER: > Would the (untested) patch be the right solution? I have few > experience with this so I may be entirely wrong. The suggested patch unfortunately seems not to work for me. The binaries are being stripped nonetheless. I suppose it is "too late" to set DEB_BUILD_OPTIONS at that place. Using override_dh_strip instead (see attached patch) did the trick. Additionally, I suggest to decide whether to strip or not depending on the WAY variable, which indicates whether the native (opt) or bytecode (out) compiler is used, rather than on the host architecture. This is already done in the attached patch. Greetings, Hans-Jakob Holtz geneweb_dont_strip_ocaml_bytecode_executables.diff Description: Binary data
Bug#603580: geneweb: armel: stripped binaries are broken
Quoting Hans-Jakob Holtz (hans-jakob.ho...@gmxpro.net): > Package: geneweb > Version: 5.02~cvs20091031-7 > Severity: normal > > *** Please type your report below this line *** > On armel, the binaries (gwd, gwu, gwc, gwsetup, gwb2ged) are all identical > and non-working. They only contain the OCaml VM, but no bytecode. > > The problem is not present on i386, due to native executables being generated > there, which are safe to strip. > Building with DEB_BUILD_OPTIONS=nostrip makes it work on armel. > > Probably, other architectures without a native OCaml compiler are concerned > as well. Hello, Sorry for leaving this unanswered for too long Would the (untested) patch be the right solution? I have few experience with this so I may be entirely wrong. To Ocaml specialists : besides your advice on the above, is it, in your opinion, normal that dh_strip makes bytecode executable useless? --- rules 2011-01-10 18:49:37.950907929 +0100 +++ rules.new 2011-01-10 18:49:18.525876303 +0100 @@ -14,6 +14,9 @@ else echo "out";\ fi) endif +ifeq ($(DEB_HOST_ARCH),armel) + DEB_BUILD_OPTIONS=nostrip +endif configure: dh_testdir signature.asc Description: Digital signature
Bug#603580: geneweb: armel: stripped binaries are broken
Package: geneweb Version: 5.02~cvs20091031-7 Severity: normal *** Please type your report below this line *** On armel, the binaries (gwd, gwu, gwc, gwsetup, gwb2ged) are all identical and non-working. They only contain the OCaml VM, but no bytecode. The problem is not present on i386, due to native executables being generated there, which are safe to strip. Building with DEB_BUILD_OPTIONS=nostrip makes it work on armel. Probably, other architectures without a native OCaml compiler are concerned as well. -- System Information: Debian Release: 5.0.6 APT prefers stable APT policy: (700, 'stable'), (610, 'unstable'), (600, 'experimental') Architecture: armel (armv5tel) Kernel: Linux 2.6.35-custom1-iop32x Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages geneweb depends on: ii adduser 3.110 add and remove users and groups ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy ii iso-codes 3.5.1-1ISO language, territory, currency, ii isoquery 0.16-1 Search and display various ISO cod ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.5-6 GCC support library ii libncurses5 5.7+20100313-4 shared libraries for terminal hand ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip ii perl-base [perl5-base]5.10.1-16 minimal Perl system geneweb recommends no packages. Versions of packages geneweb suggests: ii gwsetup 5.02~cvs20091031-7 utilities to configure and manipul ii gwtp 5.02~cvs20091031-7 web interface interacting with Gen ii lynx 2.8.7dev9-2.1 Text-mode WWW Browser (transitiona ii lynx-cur [www-browser 2.8.7dev9-2.1 Text-mode WWW Browser with NLS sup ii menu 2.1.44 generates programs menu for all me ii w3m [www-browser] 0.5.2-2+lenny1 WWW browsable pager with excellent -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org