NetBSD Problem Report #40810
From www@NetBSD.org Sat Feb 28 18:10:42 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id C983463C1DD
for <gnats-bugs@gnats.netbsd.org>; Sat, 28 Feb 2009 18:10:42 +0000 (UTC)
Message-Id: <20090228181042.9CA5F63C1DB@www.NetBSD.org>
Date: Sat, 28 Feb 2009 18:10:42 +0000 (UTC)
From: elentirmo.gilgalad@gmail.com
Reply-To: elentirmo.gilgalad@gmail.com
To: gnats-bugs@NetBSD.org
Subject: same as pr#33010
X-Send-Pr-Version: www-1.0
>Number: 40810
>Category: toolchain
>Synopsis: same as pr#33010
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: joerg
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 28 18:15:00 +0000 2009
>Closed-Date: Sun Mar 08 22:05:10 +0000 2009
>Last-Modified: Fri Mar 27 15:25:01 +0000 2009
>Originator: Gergely Gábor
>Release: netbsd-5 branch
>Organization:
>Environment:
Linux vajk.local 2.6.27.5-117.fc10.i686 #1 SMP Tue Nov 18 12:19:59 EST 2008 i686 i686 i386 GNU/Linux
>Description:
this is a duplicate of PR33010
build fails with all parametrisations of build.sh that seemed reasonable (obj,tool,destdir out of source tree, inside source tree) with the same error:
--- doc.o ---
if cc -DHAVE_CONFIG_H -DLOCALEDIR=\"/home/ggergely/NetBSD/usrSrc/tooldir.Linux-2.6.27.5-117.fc10.i686-i686/share/locale\" -DINFODIR=\"/home/ggergely/NetBSD/usrSrc/tooldir.Linux-2.6.27.5-117.fc10.i686-i686/info\" -DINFODIR2=\"/home/ggergely/NetBSD/usrSrc/tooldir.Linux-2.6.27.5-117.fc10.i686-i686/share/info\" -I. -I/home/ggergely/NetBSD/usrSrc/tools/texinfo/../../gnu/dist/texinfo/info -I.. -I. -I/home/ggergely/NetBSD/usrSrc/tools/texinfo/../../gnu/dist/texinfo/lib -I../intl -I.. -I/home/ggergely/NetBSD/usrSrc/tools/texinfo/../../gnu/dist/texinfo/info -O -MT doc.o -MD -MP -MF ".deps/doc.Tpo" -c -o doc.o doc.c; then mv -f ".deps/doc.Tpo" ".deps/doc.Po"; else rm -f ".deps/doc.Tpo"; exit 1; fi
--- infokey ---
cc -O -o infokey infokey.o key.o ../lib/libtxi.a
--- ginfo ---
cc -O -o ginfo dir.o display.o dribble.o echo-area.o filesys.o footnotes.o gc.o indices.o info-utils.o info.o infodoc.o infomap.o m-x.o man.o nodemenu.o nodes.o search.o session.o signals.o terminal.o tilde.o variables.o window.o doc.o ../lib/libtxi.a
terminal.o: In function `terminal_ring_bell':
terminal.c:(.text+0x48): undefined reference to `tputs'
terminal.c:(.text+0x6b): undefined reference to `tputs'
terminal.o: In function `terminal_end_inverse':
terminal.c:(.text+0xa6): undefined reference to `tputs'
terminal.o: In function `terminal_begin_inverse':
terminal.c:(.text+0xde): undefined reference to `tputs'
terminal.o: In function `terminal_down_line':
terminal.c:(.text+0x116): undefined reference to `tputs'
terminal.o:terminal.c:(.text+0x14e): more undefined references to `tputs' follow
terminal.o: In function `terminal_get_screen_size':
terminal.c:(.text+0x52d): undefined reference to `tgetnum'
terminal.c:(.text+0x57d): undefined reference to `tgetnum'
terminal.o: In function `terminal_initialize_terminal':
terminal.c:(.text+0x669): undefined reference to `tgetent'
terminal.c:(.text+0x733): undefined reference to `tgetstr'
terminal.c:(.text+0x79a): undefined reference to `tgetstr'
terminal.c:(.text+0x7af): undefined reference to `tgetstr'
terminal.c:(.text+0x7c4): undefined reference to `tgetstr'
terminal.c:(.text+0x7d9): undefined reference to `tgetstr'
terminal.o:terminal.c:(.text+0x7ee): more undefined references to `tgetstr' follow
terminal.o: In function `terminal_initialize_terminal':
terminal.c:(.text+0x993): undefined reference to `tgetflag'
terminal.c:(.text+0x9a3): undefined reference to `tgetflag'
terminal.c:(.text+0x9c8): undefined reference to `tgetstr'
terminal.c:(.text+0x9e0): undefined reference to `tgetstr'
terminal.c:(.text+0x9f5): undefined reference to `tgetstr'
terminal.c:(.text+0xa0a): undefined reference to `tgetstr'
terminal.c:(.text+0xa1f): undefined reference to `tgetstr'
terminal.o:terminal.c:(.text+0xa34): more undefined references to `tgetstr' follow
terminal.o: In function `terminal_goto_xy':
terminal.c:(.text+0xb8c): undefined reference to `tgoto'
terminal.c:(.text+0xba4): undefined reference to `tputs'
terminal.o: In function `terminal_delete_lines':
terminal.c:(.text+0xbf9): undefined reference to `tgoto'
terminal.c:(.text+0xc0d): undefined reference to `tputs'
terminal.c:(.text+0xc28): undefined reference to `tputs'
terminal.o: In function `terminal_insert_lines':
terminal.c:(.text+0xc95): undefined reference to `tgoto'
terminal.c:(.text+0xca9): undefined reference to `tputs'
terminal.c:(.text+0xcc4): undefined reference to `tputs'
collect2: ld returned 1 exit status
*** [ginfo] Error code 1
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc/tools/texinfo/obj/build/info
*** [all] Error code 2
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc/tools/texinfo/obj/build/info
*** [all-recursive] Error code 1
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc/tools/texinfo/obj/build
*** [all] Error code 2
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc/tools/texinfo/obj/build
*** [.build_done] Error code 2
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc/tools/texinfo
*** [dependall] Error code 2
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc/tools/texinfo
*** [dependall-texinfo] Error code 2
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc/tools
*** [do-tools] Error code 2
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc
*** [build] Error code 2
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc
ERROR: Failed to make build
*** BUILD ABORTED ***
[ggergely@vajk usrSrc]$
>How-To-Repeat:
get the sources, set up the environment on a fedora-10 machine (gcc, zlib-devel, make) and try the following (with all references directories created in forward):
./build.sh -D ../destdir/ -R ../release/ -T ../tools/ -O ../objs/ -U -u -m i386 -j 5 -N 2 build
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: toolchain-manager->joerg
Responsible-Changed-By: joerg@NetBSD.org
Responsible-Changed-When: Sat, 28 Feb 2009 19:15:49 +0000
Responsible-Changed-Why:
I will fix it.
From: =?UTF-8?Q?Gergely_G=C3=A1bor?= <elentirmo.gilgalad@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: toolchain/40810 (same as pr#33010)
Date: Sun, 1 Mar 2009 08:31:15 +0100
Thanks!
I have successfully worked around this bug, with manually building the
file, adding -ltermcap to the compiler's options, and other parts
build allright on the machine.
I have met another bug, when tried to natively build netbsd, but in my
opinion that may be a fs bug or bmake bug, (more likely fs, as alwys
occured at the same place, now after fsck and -olog mount option
passes at that place, and fails the same way at annother) make mafiled
as it fount zero size .depends in regress/lib/libdes. But that is not
relevant anymore,a s the crossbuild was successful, and i will update
my system with binaries from that. If the problem will persis on the
updated system, i will sent a PR.
Thanks for your help, and
Greetings:
Gergely G=C3=A1bor
On Sat, Feb 28, 2009 at 8:15 PM, <joerg@netbsd.org> wrote:
> Synopsis: same as pr#33010
>
> Responsible-Changed-From-To: toolchain-manager->joerg
> Responsible-Changed-By: joerg@NetBSD.org
> Responsible-Changed-When: Sat, 28 Feb 2009 19:15:49 +0000
> Responsible-Changed-Why:
> I will fix it.
>
>
>
>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: joerg@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,
elentirmo.gilgalad@gmail.com
Subject: Re: toolchain/40810 (same as pr#33010)
Date: Sun, 1 Mar 2009 20:00:32 +0100
--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Sun, Mar 01, 2009 at 07:35:03AM +0000, Gergely G?bor wrote:
> I have successfully worked around this bug, with manually building the
> file, adding -ltermcap to the compiler's options, and other parts
> build allright on the machine.
Can you try the attached patch instead?
Joerg
--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="texinfo-tool.diff"
Index: Makefile.in
===================================================================
RCS file: /home/joerg/repo/netbsd/src/gnu/dist/texinfo/Makefile.in,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile.in
--- Makefile.in 2 Sep 2008 08:00:24 -0000 1.6
+++ Makefile.in 28 Feb 2009 19:47:27 -0000
@@ -230,7 +230,7 @@ EXTRA_DIST = ChangeLog.46 INSTALL.generi
# This is to prevent texinfo.tex from being included in the top-level
# distribution directory.
TEXINFO_TEX = doc/texinfo.tex
-@TOOLS_ONLY_FALSE@SUBDIRS = $(native_tools) intl m4 lib info makeinfo po util doc
+@TOOLS_ONLY_FALSE@SUBDIRS = $(native_tools) intl m4 lib makeinfo po util doc
@TOOLS_ONLY_TRUE@SUBDIRS = lib info makeinfo util
# for gettext.
--VS++wcV0S1rZb1Fb--
State-Changed-From-To: open->feedback
State-Changed-By: joerg@NetBSD.org
State-Changed-When: Fri, 06 Mar 2009 19:29:16 +0000
State-Changed-Why:
Does this problem still exist?
From: Joerg Sonnenberger <joerg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/40810 CVS commit: src/gnu/dist/texinfo
Date: Fri, 6 Mar 2009 19:28:12 +0000
Module Name: src
Committed By: joerg
Date: Fri Mar 6 19:28:12 UTC 2009
Modified Files:
src/gnu/dist/texinfo: Makefile.in
Log Message:
Don't build the infokey and info binaries during toolchain builds.
This patches the false branch of the Makefile as the true branch is only
used for cross-compiling of texinfo with the internal build system.
This avoids the termcap dependency as noticed in PR 40810.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/gnu/dist/texinfo/Makefile.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: =?UTF-8?Q?Gergely_G=C3=A1bor?= <elentirmo.gilgalad@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: toolchain/40810 (same as pr#33010)
Date: Sun, 8 Mar 2009 20:30:17 +0100
No, the problem got fixed by now., Yesterday a clean tree compiled
fine on the same setup. I shall update to that nowadays. Thanks for
your quick response!
On 3/6/09, joerg@netbsd.org <joerg@netbsd.org> wrote:
> Synopsis: same as pr#33010
>
> State-Changed-From-To: open->feedback
> State-Changed-By: joerg@NetBSD.org
> State-Changed-When: Fri, 06 Mar 2009 19:29:16 +0000
> State-Changed-Why:
> Does this problem still exist?
>
>
>
>
State-Changed-From-To: feedback->closed
State-Changed-By: joerg@NetBSD.org
State-Changed-When: Sun, 08 Mar 2009 22:05:10 +0000
State-Changed-Why:
Reported to be fixed. Thanks for the PR.
From: David Holland <dholland-bugs@netbsd.org>
To: Joerg Sonnenberger <joerg@netbsd.org>
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, gnats-bugs@netbsd.org
Subject: Re: PR/40810 CVS commit: src/gnu/dist/texinfo
Date: Mon, 16 Mar 2009 04:45:20 +0000
On Fri, Mar 06, 2009 at 07:30:04PM +0000, Joerg Sonnenberger wrote:
> From: Joerg Sonnenberger <joerg@netbsd.org>
> To: gnats-bugs@gnats.NetBSD.org
> Cc:
> Subject: PR/40810 CVS commit: src/gnu/dist/texinfo
> Date: Fri, 6 Mar 2009 19:28:12 +0000
>
> Module Name: src
> Committed By: joerg
> Date: Fri Mar 6 19:28:12 UTC 2009
>
> Modified Files:
> src/gnu/dist/texinfo: Makefile.in
>
> Log Message:
> Don't build the infokey and info binaries during toolchain builds.
> This patches the false branch of the Makefile as the true branch is only
> used for cross-compiling of texinfo with the internal build system.
> This avoids the termcap dependency as noticed in PR 40810.
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.6 -r1.7 src/gnu/dist/texinfo/Makefile.in
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
Since this PR is supposed to be the same as 33010, and 33010 was
against 3.0, shouldn't this change be pulled up to at least -4 and -5?
--
David A. Holland
dholland@netbsd.org
From: SAITOH Masanobu <msaitoh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/40810 CVS commit: [netbsd-5] src/gnu/dist/texinfo
Date: Fri, 27 Mar 2009 15:22:30 +0000
Module Name: src
Committed By: msaitoh
Date: Fri Mar 27 15:22:30 UTC 2009
Modified Files:
src/gnu/dist/texinfo [netbsd-5]: Makefile.in
Log Message:
Pull up following revision(s) (requested by joerg in ticket #551):
gnu/dist/texinfo/Makefile.in: revision 1.7
Don't build the infokey and info binaries during toolchain builds.
This patches the false branch of the Makefile as the true branch is only
used for cross-compiling of texinfo with the internal build system.
This avoids the termcap dependency as noticed in PR 40810.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.6.4.1 src/gnu/dist/texinfo/Makefile.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.