[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sharutils-4.5.1 build problem report
From: |
Nelson H. F. Beebe |
Subject: |
sharutils-4.5.1 build problem report |
Date: |
Mon, 15 Aug 2005 07:14:47 -0600 (MDT) |
I have just made build attempts for sharutils-4.5.1 on 22 flavors of
Unix. There seem to be a couple of errors that appear repeatedly,
causing all of the builds to fail.
On 18 of the 22 builds, I got this validation test failure:
PASS: uutest-1
PASS: uude-1
PASS: shar-1
9,14c9,14
< # 30 -rw-r--r-- one/first
< # 101 -rw-r--r-- one/second
< # 26 -rw-r--r-- first
< # 30 -rw-r--r-- two/first
< # 101 -rw-r--r-- two/second
< # 93 -rw-r--r-- second
---
> # 93 -rw-rw-r-- second
> # 101 -rw-rw-r-- one/second
> # 30 -rw-rw-r-- one/first
> # 26 -rw-rw-r-- first
> # 101 -rw-rw-r-- two/second
> # 30 -rw-rw-r-- two/first
81,87c81,83
< # ============= one/first ==============
< if test ! -d 'one'; then
< $echo $echo_n 'x -' 'one: '$echo_c
< if mkdir 'one'; then $echo 'created'; else $echo 'failed to
create'; fi
< fi
< if test -f 'one/first' && test "$first_param" != -c; then
< $echo 'x -' SKIPPING 'one/first' '(file already exists)'
---
> # ============= second ==============
> if test -f 'second' && test "$first_param" != -c; then
> $echo 'x -' SKIPPING 'second' '(file already exists)'
89,91c85,92
< $echo 'x -' extracting 'one/first' '(text)'
< sed 's/^X//' << 'SHAR_EOF' > 'one/first' &&
< This file is shar-2/one/first
---
> $echo 'x -' extracting 'second' '(binary)'
> sed 's/^X//' << 'SHAR_EOF' | uudecode &&
> begin 600 second
> M5&AI<R!F:6QE(&ES('-H87(M,B]S96-O;F0*``$"address@hidden<.%PY"`D*"PP-
> address@hidden<".`(Y&!D*5&AI<R!F:6QE(&ES('-H87(M,B]S96-O
> #;F0*
> `
> end
93,94c94,95
< chmod 0644 'one/first' ||
< $echo 'restore of' 'one/first' 'failed'
---
> chmod 0664 'second' ||
> $echo 'restore of' 'second' 'failed'
97c98
< ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'one/first:' 'MD5
check failed'
---
> ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'second:' 'MD5 check
failed'
99c100
< c110feba124b553977a54fb352d31a60 one/first
---
> 2ec9bec17279f24f6a4a6023db6fff98 second
102,104c103,105
< shar_count="`LC_ALL=C wc -c < 'one/first'`"
< test 30 -eq "$shar_count" ||
< $echo 'one/first:' 'original size' '30,' 'current size'
"$shar_count!"
---
> shar_count="`LC_ALL=C wc -c < 'second'`"
> test 93 -eq "$shar_count" ||
> $echo 'second:' 'original size' '93,' 'current size'
"$shar_count!"
124c125
< chmod 0644 'one/second' ||
---
> chmod 0664 'one/second' ||
137a139,164
> # ============= one/first ==============
> if test ! -d 'one'; then
> $echo $echo_n 'x -' 'one: '$echo_c
> if mkdir 'one'; then $echo 'created'; else $echo 'failed to
create'; fi
> fi
> if test -f 'one/first' && test "$first_param" != -c; then
> $echo 'x -' SKIPPING 'one/first' '(file already exists)'
> else
> $echo 'x -' extracting 'one/first' '(text)'
> sed 's/^X//' << 'SHAR_EOF' > 'one/first' &&
> This file is shar-2/one/first
> SHAR_EOF
> chmod 0664 'one/first' ||
> $echo 'restore of' 'one/first' 'failed'
> if ${md5check}
> then (
> ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'one/first:' 'MD5
check failed'
> ) << SHAR_EOF
> c110feba124b553977a54fb352d31a60 one/first
> SHAR_EOF
> else
> shar_count="`LC_ALL=C wc -c < 'one/first'`"
> test 30 -eq "$shar_count" ||
> $echo 'one/first:' 'original size' '30,' 'current size'
"$shar_count!"
> fi
> fi
146c173
< chmod 0644 'first' ||
---
> chmod 0664 'first' ||
160,185d186
< # ============= two/first ==============
< if test ! -d 'two'; then
< $echo $echo_n 'x -' 'two: '$echo_c
< if mkdir 'two'; then $echo 'created'; else $echo 'failed to
create'; fi
< fi
< if test -f 'two/first' && test "$first_param" != -c; then
< $echo 'x -' SKIPPING 'two/first' '(file already exists)'
< else
< $echo 'x -' extracting 'two/first' '(text)'
< sed 's/^X//' << 'SHAR_EOF' > 'two/first' &&
< This file is shar-2/two/first
< SHAR_EOF
< chmod 0644 'two/first' ||
< $echo 'restore of' 'two/first' 'failed'
< if ${md5check}
< then (
< ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'two/first:' 'MD5
check failed'
< ) << SHAR_EOF
< f3979898a84265d8ab20a56a2d307824 two/first
< SHAR_EOF
< else
< shar_count="`LC_ALL=C wc -c < 'two/first'`"
< test 30 -eq "$shar_count" ||
< $echo 'two/first:' 'original size' '30,' 'current size'
"$shar_count!"
< fi
< fi
203c204
< chmod 0644 'two/second' ||
---
> chmod 0664 'two/second' ||
217,219c218,224
< # ============= second ==============
< if test -f 'second' && test "$first_param" != -c; then
< $echo 'x -' SKIPPING 'second' '(file already exists)'
---
> # ============= two/first ==============
> if test ! -d 'two'; then
> $echo $echo_n 'x -' 'two: '$echo_c
> if mkdir 'two'; then $echo 'created'; else $echo 'failed to
create'; fi
> fi
> if test -f 'two/first' && test "$first_param" != -c; then
> $echo 'x -' SKIPPING 'two/first' '(file already exists)'
221,228c226,228
< $echo 'x -' extracting 'second' '(binary)'
< sed 's/^X//' << 'SHAR_EOF' | uudecode &&
< begin 600 second
< M5&AI<R!F:6QE(&ES('-H87(M,B]S96-O;F0*``$"address@hidden<.%PY"`D*"PP-
< address@hidden<".`(Y&!D*5&AI<R!F:6QE(&ES('-H87(M,B]S96-O
< #;F0*
< `
< end
---
> $echo 'x -' extracting 'two/first' '(text)'
> sed 's/^X//' << 'SHAR_EOF' > 'two/first' &&
> This file is shar-2/two/first
230,231c230,231
< chmod 0644 'second' ||
< $echo 'restore of' 'second' 'failed'
---
> chmod 0664 'two/first' ||
> $echo 'restore of' 'two/first' 'failed'
234c234
< ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'second:' 'MD5 check
failed'
---
> ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'two/first:' 'MD5
check failed'
236c236
< 2ec9bec17279f24f6a4a6023db6fff98 second
---
> f3979898a84265d8ab20a56a2d307824 two/first
239,241c239,241
< shar_count="`LC_ALL=C wc -c < 'second'`"
< test 93 -eq "$shar_count" ||
< $echo 'second:' 'original size' '93,' 'current size'
"$shar_count!"
---
> shar_count="`LC_ALL=C wc -c < 'two/first'`"
> test 30 -eq "$shar_count" ||
> $echo 'two/first:' 'original size' '30,' 'current size'
"$shar_count!"
FAIL: shar-2
======================================
1 of 4 tests failed
Please report to address@hidden
======================================
On FreeBSD 4.4 on IA-32, OSF/1 4.0 on DEC Alpha, OpenBSD 3.2 on IA-32,
and OSF/1 5.1 on Compaq Alpha, I got compilation failures, all from
the same line of code in system.h:
gcc -DLIBDIR=\"/home/staff/computing/beebe/i386/local/lib\" -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I. -I../intl -I/usr/local/include
-I/home/staff/computing/beebe/i386/local/include -g -O2 -c whoami.c
In file included from whoami.c:19:
system.h:28: parse error before `strtoimax'
system.h:28: warning: data definition has no type or storage class
make[3]: *** [whoami.o] Error 1
cc -std1 -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
-I../intl -I/usr/local/include -ieee -I/usr/local/include -c whoami.c
cc: Error: system.h, line 28: Missing ";". (nosemi)
intmax_t strtoimax ();
---------^
make[3]: *** [whoami.o] Error 1
if gcc -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.
-I../intl -I/usr/local/include -g -O2 -MT whoami.o -MD -MP -MF
".deps/whoami.Tpo" -c -o whoami.o whoami.c; \
then mv -f ".deps/whoami.Tpo" ".deps/whoami.Po"; else rm -f ".deps/whoami.Tpo";
exit 1; fi
In file included from whoami.c:19:
system.h:28: error: parse error before "strtoimax"
system.h:28: warning: data definition has no type or storage class
make[3]: *** [whoami.o] Error 1
c89 -DLIBDIR=\"/uufs/inscc.utah.edu/common/home/mthnhb/alpha/local/lib\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../intl
-I/uufs/inscc.utah.edu/common/home/mthnhb/alpha/local/include -ieee
-I/uufs/inscc.utah.edu/common/home/mthnhb/alpha/local/include -c whoami.c
cc: Error: system.h, line 28: Missing ";". (nosemi)
intmax_t strtoimax ();
---------^
The problem in each case is that the intmax_t type is not defined.
That type is new with C99, and cannot be expected to be available on a
great many systems.
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: address@hidden -
- 155 S 1400 E RM 233 address@hidden address@hidden -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe -
-------------------------------------------------------------------------------
- sharutils-4.5.1 build problem report,
Nelson H. F. Beebe <=