Quantcast
Channel: IP-Phone-Forum
Viewing all articles
Browse latest Browse all 15636

[Frage] make fails due to genext2fs (touch: invalid option -- 'h')

$
0
0
Probably due to my bit older freetz-linux setup (freetz-linux 1.2.1).
(found http://lists.gnu.org/archive/html/bu.../msg00138.html )
And looking for advice/input if like "you should definitely update your setup" or if genext2fs-20131004 is a bit too demanding...
(and to make others aware)


Make of Freetz trunk revision 13268 fails with:
Code:

make[1]: Entering directory `/home/freetz/freetz-trunk-13268/source/host-tools/genext2fs-20131004'
make  all-am
make[2]: Entering directory `/home/freetz/freetz-trunk-13268/source/host-tools/genext2fs-20131004'
gcc -DHAVE_CONFIG_H -I.    -g -O2 -MT genext2fs.o -MD -MP -MF .deps/genext2fs.Tpo -c -o genext2fs.o genext2fs.c
mv -f .deps/genext2fs.Tpo .deps/genext2fs.Po
gcc  -g -O2  -o genext2fs genext2fs.o
make[2]: Leaving directory `/home/freetz/freetz-trunk-13268/source/host-tools/genext2fs-20131004'
make[1]: Leaving directory `/home/freetz/freetz-trunk-13268/source/host-tools/genext2fs-20131004'
touch -c /home/freetz/freetz-trunk-13268/source/host-tools/genext2fs-20131004/genext2fs
(cd /home/freetz/freetz-trunk-13268/source/host-tools/genext2fs-20131004; ./test.sh)
Testing 4096 blocks of 1024 bytes with file of size 0
PASS
Testing 2048 blocks of 2048 bytes with file of size 0
PASS
Testing 1024 blocks of 4096 bytes with file of size 0
PASS
Testing 8193 blocks of 1024 bytes with file of size 0
PASS
Testing 8194 blocks of 1024 bytes with file of size 0
PASS
Testing 8193 blocks of 4096 bytes with file of size 0
PASS
Testing 8194 blocks of 2048 bytes with file of size 0
PASS
Testing 4096 blocks of 1024 bytes with file of size 1
PASS
Testing 1024 blocks of 4096 bytes with file of size 1
PASS
Testing 4096 blocks of 1024 bytes with file of size 12288
PASS
Testing 4096 blocks of 1024 bytes with file of size 274432
PASS
Testing 9000 blocks of 1024 bytes with file of size 8388608
PASS
Testing 4500 blocks of 2048 bytes with file of size 8388608
PASS
Testing 2250 blocks of 4096 bytes with file of size 8388608
PASS
Testing 20000 blocks of 1024 bytes with file of size 16777216
PASS
Testing 10000 blocks of 2048 bytes with file of size 16777216
PASS
Testing 4096 blocks with with devices file device_table.txt
PASS
Testing 200 blocks of 1024 bytes with symlink ...123456789
touch: invalid option -- 'h'
Try `touch --help' for more information.
make: *** [/home/freetz/freetz-trunk-13268/source/host-tools/genext2fs-20131004/.tests-passed] Error 1

Suspect introduced with Freetz trunk-revision 13227.

Code:

$ grep -irn touch .
<snip>
./test-gen.lib:67:      TZ=UTC-11 touch -h -t 201309241353.59 symlink .
<snip>

Code:

$ touch -h
touch: invalid option -- 'h'
Try `touch --help' for more information.

$ touch --help
Usage: touch [OPTION]... FILE...
Update the access and modification times of each FILE to the current time.

A FILE argument that does not exist is created empty.

A FILE argument string of - is handled specially and causes touch to
change the times of the file associated with standard output.

Mandatory arguments to long options are mandatory for short options too.
  -a                    change only the access time
  -c, --no-create        do not create any files
  -d, --date=STRING      parse STRING and use it instead of current time
  -f                    (ignored)
  -m                    change only the modification time
  -r, --reference=FILE  use this file's times instead of current time
  -t STAMP              use [[CC]YY]MMDDhhmm[.ss] instead of current time
  --time=WORD            change the specified time:
                          WORD is access, atime, or use: equivalent to -a
                          WORD is modify or mtime: equivalent to -m
      --help    display this help and exit
      --version  output version information and exit

Note that the -d and -t options accept different time-date formats.

Report touch bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report touch translation bugs to <http://translationproject.org/team/>

$ touch --version
touch (GNU coreutils) 7.4
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Paul Rubin, Arnold Robbins, Jim Kingdon,
David MacKenzie, and Randy Smith.


Viewing all articles
Browse latest Browse all 15636


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>