Package: rxvt-unicode
Version: 7.9-2
Severity: serious
Justification: no longer builds from source


You can try this on debian/lenny:

        # apt-get source rxvt-unicode
        # cd rxvt-unicode-7.9
        # ./autogen.sh
        # ./debian/rules build
        <snip>
        In file included from logging.C:40:
        ptytty.h:36:4: error: #error cannot build with utmp support - no utmp 
or utmpx struct found

Why would I run autogen?

I wanted to make some changes to urxvt which included changing the
configure.ac, and thus I needed to run ./autogen.sh script.

It broke the build.  So I went back to the clean sources to make sure
that it wasn't my diff that broke things.

Analysis:

The bug is caused by the configure script improperly generating the
config.h file.  There are actually a lot of differences between the
config.h generated by packaged configure (created by autogen 2.59), and
that which is generated by the configure created by autogen 2.61.
In this case it's this:
         
         /* Define location of utmpx */
        -#define UTMPX_FILE "/var/run/utmp"
        +/* #undef UTMPX_FILE */
         
         /* Define location of utmp */
        -#define UTMP_FILE "/var/run/utmp"
        +/* #undef UTMP_FILE */

I am really confused how the same configure.ac could end up creating so
different config.h files...

        # diff -u ../config.h-working config.h | diffstat
         config.h |   26 +++++++++++++-------------
         1 file changed, 13 insertions(+), 13 deletions(-)

Let me know if I can help.

-Bart

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.20.7-xenon64-smp.14 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rxvt-unicode depends on:
ii  base-passwd                 3.5.11       Debian base system master password
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libfontconfig1              2.4.2-1.2    generic font configuration library
ii  libgcc1                     1:4.1.1-21   GCC support library
ii  libperl5.8                  5.8.8-7      Shared Perl library
ii  libx11-6                    2:1.0.3-7    X11 client-side library
ii  libxft2                     2.1.12-2     FreeType-based font drawing librar
ii  libxpm4                     1:3.5.5-2    X11 pixmap library
ii  libxrender1                 1:0.9.1-3    X Rendering Extension client libra
ii  ncurses-base                5.5-5        Descriptions of common terminal ty

rxvt-unicode recommends no packages.

-- no debconf information


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

Reply via email to