patch failures/offsets through bash32-039

2008-06-06 Thread grarpamp
Hi. Here's a logfile of patch failures/offsets through bash32-039.

Untar, cd, for i in patch ; patch < $i

The sigs on bash-3.2.tar.gz and all the patches check out ok.

Perhaps reroll the affected patches and fix any new failures/offsets
introduced?

Or issue patch 040 as a cumulative fix for those who never check
their output?

Thanks.

PFILE: bash32-001
PFILE: bash32-002
PFILE: bash32-003
PFILE: bash32-004
PFILE: bash32-005
PFILE: bash32-006
PFILE: bash32-007
PFILE: bash32-008
PFILE: bash32-009
PFILE: bash32-010
PFILE: bash32-011
PFILE: bash32-012
PFILE: bash32-013
PFILE: bash32-014
PFILE: bash32-015
Hunk #1 succeeded at 4166 (offset 15 lines).
Hunk #2 succeeded at 4221 (offset 15 lines).
Hunk #3 succeeded at 4727 (offset 8 lines).
PFILE: bash32-016
PFILE: bash32-017
PFILE: bash32-018
PFILE: bash32-019
Hunk #1 failed at 522.
Hunk #2 failed at 529.
Hunk #3 failed at 579.
3 out of 3 hunks failed--saving rejects to input.c.rej
ERROR: 3
PFILE: bash32-020
PFILE: bash32-021
PFILE: bash32-022
PFILE: bash32-023
PFILE: bash32-024
PFILE: bash32-025
Hunk #1 failed at 134.
Hunk #2 failed at 254.
Hunk #3 failed at 378.
3 out of 3 hunks failed--saving rejects to input.c.rej
ERROR: 3
PFILE: bash32-026
PFILE: bash32-027
PFILE: bash32-028
PFILE: bash32-029
PFILE: bash32-030
PFILE: bash32-031
Hunk #1 succeeded at 1623 (offset 4 lines).
PFILE: bash32-032
Hunk #1 failed at 155.
1 out of 1 hunks failed--saving rejects to input.c.rej
ERROR: 1
PFILE: bash32-033
PFILE: bash32-034
PFILE: bash32-035
PFILE: bash32-036
PFILE: bash32-037
PFILE: bash32-038
PFILE: bash32-039
Hunk #1 succeeded at 3607 (offset -454 lines).




Rollup: Build issues with bash-3.2

2008-06-18 Thread grarpamp
Hi. I run automated software builds in the background and have had
this problem for years. Platform: FreeBSD RELENG_4

#  make tests
#   sh run-all
#sh run-read
# bash ./read.tests
#  bash ./read2.sub

If make tests is backgrounded, read2.sub will block forever on tty
input. I've been patching by replacing line 3 /dev/tty with /dev/null.
The exit code is 1 in both cases. You can try with:
 ./bash -x ./tests/read2.sub &

And make install fails to completely install when built with nls
so I build without. It may instead be a platform issue...

( cd ./po/ ; make DESTDIR= install )
test -z "[EMAIL PROTECTED] [EMAIL PROTECTED] ru.gmo" || make [EMAIL PROTECTED]
[EMAIL PROTECTED] ru.gmo
[EMAIL PROTECTED]' is up to date.
[EMAIL PROTECTED]' is up to date.
rm -f ru.gmo && : -c --statistics -o ru.gmo ru.po
mv: rename t-ru.gmo to ru.gmo: No such file or directory
*** Error code 1
Stop in /home/zooz/disk/c1/bdev/tmp/bash-3.2/po.
*** Error code 1
Stop in /home/zooz/disk/c1/bdev/tmp/bash-3.2/po.
*** Error code 1 (ignored)

And lastly, make install is not completely clean. I have to do this
in the build stage after the usual make in order to ensure that
nothing in the source tree changes during make install. Make install
should instead simply pick up and install the files from the source
dir.

cd doc
make bash.info >../../mbi.out 2>&1

Else these changes occur:
# drwxr-xr-x4096 Jun 18 00:38 .
# drwxr-xr-x 512 Jun 18 00:39 ./doc
# -rw-r--r--  394599 Jun 18 00:39 ./doc/bashref.info
# -rw-r--r--  394224 Jun 18 00:39 ./doc/bash.info

Thanks for bash!




Re: Rollup: Build issues with bash-3.2

2008-06-19 Thread grarpamp
And when using --disable-nls, these appear in the output of make.

< shell.c: In function `get_current_user_info':
< shell.c:1600: warning: assignment discards qualifiers from pointer target type
< ./parse.y: In function `report_syntax_error':
< ./parse.y:4553: warning: assignment discards qualifiers from pointer
target type
< error.c: In function `command_errstr':
< error.c:428: warning: return discards qualifiers from pointer target type
< expr.c: In function `pushexp':
< expr.c:241: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c: In function `popexp':
< expr.c:265: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c: In function `subexpr':
< expr.c:379: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c: In function `expassign':
< expr.c:419: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c:440: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c:445: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c:471: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c: In function `expcond':
< expr.c:501: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c:513: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c:516: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c: In function `exp2':
< expr.c:755: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c: In function `exppower':
< expr.c:780: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c: In function `exp0':
< expr.c:825: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c:853: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c:896: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c: In function `readtok':
< expr.c:1175: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c:1177: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c: In function `strlong':
< expr.c:1255: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c:1259: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< expr.c:1279: warning: passing arg 1 of `evalerror' discards
qualifiers from pointer target type
< mailcheck.c: In function `check_mail':
< mailcheck.c:386: warning: assignment discards qualifiers from
pointer target type
< mailcheck.c:411: warning: assignment discards qualifiers from
pointer target type
< trap.c: In function `signal_name':
< trap.c:201: warning: assignment discards qualifiers from pointer target type
< test.c: In function `beyond':
< test.c:145: warning: passing arg 1 of `test_syntax_error' discards
qualifiers from pointer target type
< test.c: In function `integer_expected_error':
< test.c:154: warning: passing arg 1 of `test_syntax_error' discards
qualifiers from pointer target type
< test.c: In function `term':
< test.c:262: warning: passing arg 1 of `test_syntax_error' discards
qualifiers from pointer target type
< test.c:264: warning: passing arg 1 of `test_syntax_error' discards
qualifiers from pointer target type
< test.c:279: warning: passing arg 1 of `test_syntax_error' discards
qualifiers from pointer target type
< test.c: In function `binary_operator':
< test.c:444: warning: passing arg 1 of `test_syntax_error' discards
qualifiers from pointer target type
< test.c: In function `two_arguments':
< test.c:688: warning: passing arg 1 of `test_syntax_error' discards
qualifiers from pointer target type
< test.c:691: warning: passing arg 1 of `test_syntax_error' discards
qualifiers from pointer target type
< test.c: In function `three_arguments':
< test.c:731: warning: passing arg 1 of `test_syntax_error' discards
qualifiers from pointer target type
< test.c: In function `test_command':
< test.c:806: warning: passing arg 1 of `test_syntax_error' discards
qualifiers from pointer target type
< test.c:822: warning: passing arg 1 of `test_syntax_error' discards
qualifiers from pointer target type
< locale.c: In function `localetrans':
< locale.c:360: warning: assignment discards qualifiers from pointer target type
< redir.c: In function `redirection_error':
< redir.c:99: warning: assignment discards qualifiers from pointer target type
< ./fc.def: In function `fc_builtin':
< ./fc.def:328: warning: passing arg 2 of `sh_erange' discards
qualifiers from pointer target type
< ./history.def: In function `history_builtin':
< ./history.def:182: warning: passing arg 2 of `sh_erange' discards
qualifiers from pointer target type
< .