bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: devel branch build failure


From: Steven W. Orr
Subject: Re: devel branch build failure
Date: Wed, 12 Dec 2012 10:57:29 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 12/12/2012 9:40 AM, Chet Ramey wrote:
On 12/12/12 8:56 AM, Raphaël Droz wrote:
Hi,

using the devel/ branch, linking fails with:
bashline.o: In function `attempt_shell_completion':
bashline.c:1406: undefined reference to `parser_in_command_position'
collect2: ld returned 1 exit status

I see what happened.  git (or the process used to create the devel tree)
makes the mod time of all files in the tree the same, so y.tab.c doesn't
get rebuilt from parse.y.  You can fix this with

rm y.tab.?
make

Maybe I will remove y.tab.[ch] from the devel tree, but that introduces a
dependency on bison.

But since f14388d  (bash-20120914 snapshot), the build fails with the
above error. Some of the later revisions also add the failure below:
./builtins/libbuiltins.a(help.o): In function `wdispcolumn':
builtins/./help.def:409: undefined reference to `wcsnwidth'
builtins/./help.def:449: undefined reference to `wcsnwidth'
collect2: ld returned 1 exit statu

I don't see this.  wcsnwidth.c is present in the tree and (seemingly)
correctly specified in the Makefiles.  The definitions and uses all
depend on HANDLE_MULTIBYTE.

Chet


Hold on! A make clean should delete all derived files. y.tab.[ch] are derived and should be present in a clean sandbox.

Am I missing something?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]