[Pkg-firebird-general] Bug#283911: marked as done (firebird2: FTBFS with kerberos4kth-dev 1.2.2-11: undefined reference to `strunvis')

Debian Bug Tracking System owner at bugs.debian.org
Fri Oct 21 07:33:12 UTC 2005

Your message dated Fri, 21 Oct 2005 10:21:06 +0300
with message-id <435896E2.4010502 at creditreform.bg>
and subject line Fixed in unstable
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

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

Received: (at submit) by bugs.debian.org; 2 Dec 2004 07:13:45 +0000
>From kon at iki.fi Wed Dec 01 23:13:45 2004
Return-path: <kon at iki.fi>
Received: from addr-213-216-217-172.suomi.net (Astalo.kon.iki.fi) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CZl9s-0008GP-00; Wed, 01 Dec 2004 23:13:44 -0800
Received: from kalle by Astalo.kon.iki.fi with local (Exim 4.34)
	id 1CZl9q-0004Ij-Hh; Thu, 02 Dec 2004 09:13:42 +0200
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: firebird2: FTBFS with kerberos4kth-dev 1.2.2-11: undefined reference to `strunvis'
X-Accept-Language: fi;q=1.0, en;q=0.9, sv;q=0.5, de;q=0.1
From: Kalle Olavi Niemitalo <kon at iki.fi>
Date: Thu, 02 Dec 2004 09:13:42 +0200
Message-ID: <87fz2pkw9l.fsf at Astalo.kon.iki.fi>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Kalle Olavi Niemitalo <kon at iki.fi>
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25

Package: firebird2
Version: 1.5.1-4
Severity: normal

My attempt to build firebird2 failed today.  Here are the
relevant parts of the build log:

> checking for vis.h... yes
> checking for strvis... no
> checking for strunvis... no
> gcc -c  -Wall -pipe -g3 -O '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/vis.c -o np/vis.o_a
> gcc -c  -Wall -pipe -g3 -O '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/unvis.c -o np/unvis.o_a
> /usr/bin/ar cru libedit.a editline.o_a np/strlcat.o_a np/strlcpy.o_a np/fgetln.o_a np/vis.o_a np/unvis.o_a history.o_a tokenizer.o_a readline.o_a
> ranlib libedit.a
> g++  ../temp/static.isql/isql/extract.o ../temp/static.isql/isql/isql.o ../temp/static.isql/isql/show.o -o ../gen/firebird/bin/isql_static -L../gen/firebird/lib -lfbstatic -lfbcommon -lcurses -lcrypt -lpthread -lm -lc -ldl  -leditline
> ../temp/static.isql/isql/isql.o(.text+0x933a): In function `add_row(char*)':
> ../src/isql/isql.cpp:2538: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
> ../gen/firebird/lib/libeditline.a(readline.o_a)(.text+0x2ac7): In function `rl_add_defun':
> /var/tmp/kalle/debian/firebird2-1.5.1/src/extern/editline/readline.c:1987: undefined reference to `vis'
> ../gen/firebird/lib/libeditline.a(history.o_a)(.text+0x8e2): In function `history_load':
> /var/tmp/kalle/debian/firebird2-1.5.1/src/extern/editline/history.c:689: undefined reference to `strunvis'
> ../gen/firebird/lib/libeditline.a(history.o_a)(.text+0xa5c): In function `history_save':
> /var/tmp/kalle/debian/firebird2-1.5.1/src/extern/editline/history.c:740: undefined reference to `strvis'
> collect2: ld returned 1 exit status
> make[4]: *** [../gen/firebird/bin/isql_static] Error 1
> rm ../src/isql/isql.cpp ../src/isql/extract.cpp ../src/isql/show.cpp
> make[4]: Leaving directory `/var/tmp/kalle/debian/firebird2-1.5.1/src'
> make[3]: *** [isql_static] Error 2
> make[3]: Leaving directory `/var/tmp/kalle/debian/firebird2-1.5.1/src'
> make[2]: *** [../gen/firebird/security.fdb] Error 2
> make[2]: Leaving directory `/var/tmp/kalle/debian/firebird2-1.5.1/src'
> make[1]: *** [firebird] Error 2
> make[1]: Leaving directory `/var/tmp/kalle/debian/firebird2-1.5.1'
> make: *** [build-super-server] Error 2

Generated firebird2-1.5.1/src/extern/editline/config.h:

> /* config.h.  Generated automatically by configure.  */
> /* #undef SUNOS */
> #define HAVE_SYS_CDEFS_H 1
> #define HAVE_TERMCAP_H 1
> /* #undef HAVE_CURSES_H */
> /* #undef HAVE_NCURSES_H */
> /* #undef HAVE_TERM_H */
> #define HAVE_VIS_H 1
> /* #undef HAVE_ALLOCA_H */
> /* #undef HAVE_ISSETUGID */
> /* #undef HAVE_STRLCAT */
> /* #undef HAVE_STRLCPY */
> /* #undef HAVE_FGETLN */
> /* #undef HAVE_STRVIS */
> /* #undef HAVE_STRUNVIS */
> #include "sys.h"

The configure script detected /usr/include/vis.h from
kerberos4kth-dev 1.2.2-11 and defined HAVE_VIS_H, causing
editline/np/vis.c and editline/np/unvis.c not to define any
functions.  However, strvis() and strunvis() are in
/usr/lib/libroken.{a,so} rather than in libc, so the linker
didn't find them.

I think it would be reasonable to remove the HAVE_VIS_H check
from vis.c and unvis.c.  The configure script already arranges
to compile those files only if it doesn't find strvis() and
strunvis() in system libraries.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.23-kon.astalo.1
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8

Received: (at 283911-done) by bugs.debian.org; 21 Oct 2005 07:22:39 +0000
>From divanov at creditreform.bg Fri Oct 21 00:22:39 2005
Return-path: <divanov at creditreform.bg>
Received: from fiona.creditreform.bg [] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1ESrEc-0002hr-00; Fri, 21 Oct 2005 00:22:39 -0700
Received: from localhost ([] ident=amavis)
	by fiona.creditreform.bg with esmtp (Exim 4.50)
	id 1ESrEZ-0002uj-Va; Fri, 21 Oct 2005 10:22:36 +0300
Received: from fiona.creditreform.bg ([])
	by localhost (fiona []) (amavisd-new, port 10024) with ESMTP
	id 10486-05; Fri, 21 Oct 2005 10:22:35 +0300 (EEST)
Received: from pc1.creditreform.bg ([])
	by fiona.creditreform.bg with esmtp (Exim 4.50)
	id 1ESrEZ-0002th-Rm; Fri, 21 Oct 2005 10:22:35 +0300
Message-ID: <435896E2.4010502 at creditreform.bg>
Date: Fri, 21 Oct 2005 10:21:06 +0300
From: Damyan Ivanov <divanov at creditreform.bg>
User-Agent: Debian Thunderbird 1.0.7 (X11/20051017)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: 299983-done at bugs.debien.org,  283911-done at bugs.debian.org, 
 329330-done at bugs.debian.org,  322199-done at bugs.debian.org
Subject: Fixed in unstable
Content-Type: multipart/signed; micalg=pgp-sha1;
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at creditreform.bg
Delivered-To: 283911-done at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
X-CrossAssassin-Score: 3

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit


This bug is fixed in unstable.

It was not closed automatically by the upload due to miscommunication with my
sponsor. Sorry.

Damyan Ivanov                              Creditreform Bulgaria
divanov at creditreform.bg              http://www.creditreform.bg/
phone: +359(2)928-2611, 929-3993            fax: +359(2)920-0994
mob. +359(88)856-6067               dam at jabber.minus273.org/Gaim

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org



More information about the Pkg-firebird-general mailing list