tags 531937 + pending
thanks

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Okay. Good.

autossh: ELF 32-bit LSB executable, MIPS, MIPS-I version 1 (SYSV), dynamically 
linked (uses shared libs), for GNU/Linux 2.6.18, with unknown capability 0xf41 
= 0x756e6700, not stripped

Now I have a workaround (see patch attached), and I know the bug.
I probably will fix the issue for real though, before preparing
an NMU. (In case someone wonders, the fireworks didn't let me
sleep, aurel32's mipsel qemu base image helped, cowbuilder --create
failed though, so it took me a while to a-g d-u it to sid, but as
that is a highly interactive process thanks to our beloved debconf,
I had to stay awake anyway.)

For that I need to know the best method of regenerating a configure
script from configure.ac, as there will be a change that'll intrude
in the generated file quite somewhat. Any advice?

(Turns out not building as PIC/PIE wasn't the problem...)

bye,
//mirabilos
- -- 
Yay for having to rewrite other people's Bash scripts because bash
suddenly stopped supporting the bash extensions they make use of
        -- Tonnerre Lombard in #nosec
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MirBSD)

iQIVAwUBSz183na1NLLpkAfgAQOT4w/8DnN7g5eHjd9u+xpWO/Ol1o9yWBcdC5/h
DTJkxidEzqbG1dBwKlHaUSr2/tSxlM9/5cf9YLIk86j2PeF0Fho5YKVqlg591PoG
J1xa/Os4P5Wgci7U+nycoo80M5fOj7FHtbJje4E08wreQEZMtlcsQdLEtIedAFDd
taQG0Gj4DzU2jXmG7+pZnrqn9Li2KL1Hi8E+wKsJ+8YpRAmpQsxP2jz95vzHNVRK
O5qIjhdBvlIvQmfFrmYgxbbJmknFj7RW/PSDwLPGZriADlZLBfCOZxmWjqZHuJT0
NACxvikGb4fYaNkM216x60nJqr4gjRA7uL7vCmJ4tCDf+34yZ166muN6NNM+vfWN
ybTOY9Q1m+djvXl3NR2E8oFOGPTAjYh3KiMlsR5MFtRd4B4gwxYoM+MeAc/IIQfu
GRnrlohofot1yNBb4RktzB/wy9m2t0isL9Hp/31WzgScp7vNDj/WYD5BpmhC4bXh
6SO/fjtozwfZlExX7QShTE3vtkN5t5L9ppaSqcEWnaerSJqh886hO+xkP8gCYuCW
9NzV88YLhRAzJ5r6kl9Sf3yqbKRZH/GAO7CjmMWhO5FG/qFX8cEvatYeAQt1AOJU
SNXuiCKxuF5epFy+DTvA4bLZoffwDDZVc+VHOeK3BIaCbHKy4S2IQn+n+OtfA99E
FyJk9plclPk=
=YDPY
-----END PGP SIGNATURE-----
This is just fixing the symptoms. In reality, the
check in configure.ac is wrong and only looks for
the declaration, not existence, of the symbol. We
assume __progname is always available on Debian.

--- autossh.c~  2010-01-01 04:32:45.000000000 +0000
+++ autossh.c   2010-01-01 04:33:33.000000000 +0000
@@ -75,11 +75,7 @@ typedef int32_t socklen_t;
 #  include "daemon.h"
 #endif
 
-#ifdef HAVE___PROGNAME
-extern char *__progname;
-#else
-char *__progname;
-#endif
+extern const char *__progname;
 
 const char *rcsid = "$Id: autossh.c,v 1.81 2008/04/04 22:29:58 harding Exp $";
 
@@ -271,10 +267,6 @@ main(int argc, char **argv)
        int     sawoptionn = 0;
 #endif
 
-#ifndef HAVE___PROGNAME
-       __progname = "autossh";
-#endif 
-
        /* 
         * set up options from environment
         */

Reply via email to