[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecomm
From: |
Pavel Raiskup |
Subject: |
Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.) |
Date: |
Wed, 20 Feb 2013 12:26:36 +0100 |
Sorry for trashing CC list, recovering..
> > It seems that it comes from mailutils (but not mentioned in your patch
> > - not in mailutils)
>
> Actually it is not. It comes from one of my projects:
>
> https://puszcza.gnu.org.ua/projects/grecs
>
> and I synchronize it with mailutils from time to time. In the future I
> plan to include grecs as a submodule to Mailutils, so the duplication
> could be removed in that particular case.
>
> Wordsplit has been written so that it can be easily incorporated into
> another projects, without the need of pulling any additional
> dependencies.
Isn't that nice candidate for gnulib then? I feel this is quite useful
piece of code. But it may be that gnulib project is too careful to
incorporate this..
> > Another problem is that I'm unable to compile the new code with
> > './configure && make';
>
> Why? Do you get any errors?
Yes, maybe not complete list of warnings/errors:
$ cat test.sh
#!/bin/bash
WHERE=`mktemp -d`
pushd $WHERE
git clone git://git.savannah.gnu.org/tar.git
cd tar
./bootstrap && autoreconf -vfi && ./configure && make -k
popd
========
[...]
GEN ref-del.sed
In file included from regex.c:72:0:
regcomp.c: In function ‘rpl_re_set_syntax’:
regcomp.c:262:1: error: old-style function definition
[-Werror=old-style-definition]
regcomp.c: In function ‘rpl_re_compile_fastmap’:
regcomp.c:275:1: error: old-style function definition
[-Werror=old-style-definition]
regcomp.c: In function ‘rpl_regcomp’:
regcomp.c:475:1: error: old-style function definition
[-Werror=old-style-definition]
regcomp.c: In function ‘rpl_regfree’:
regcomp.c:663:1: error: old-style function definition
[-Werror=old-style-definition]
In file included from regex.c:73:0:
regexec.c: In function ‘rpl_regexec’:
regexec.c:224:1: error: old-style function definition
[-Werror=old-style-definition]
regexec.c: In function ‘rpl_re_match’:
regexec.c:312:1: error: old-style function definition
[-Werror=old-style-definition]
regexec.c: In function ‘rpl_re_search’:
regexec.c:325:1: error: old-style function definition
[-Werror=old-style-definition]
regexec.c: In function ‘rpl_re_match_2’:
regexec.c:340:1: error: old-style function definition
[-Werror=old-style-definition]
regexec.c: In function ‘rpl_re_search_2’:
regexec.c:354:1: error: old-style function definition
[-Werror=old-style-definition]
regexec.c: In function ‘rpl_re_set_registers’:
regexec.c:586:1: error: old-style function definition
[-Werror=old-style-definition]
cc1: all warnings being treated as errors
make[4]: *** [regex.o] Error 1
make[4]: Target `all-am' not remade because of errors.
make[4]: Leaving directory `/tmp/tmp.AHISKP3RET/tar/gnu'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/tmp.AHISKP3RET/tar/gnu'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/tmp.AHISKP3RET/tar/gnu'
Making all in lib
make[2]: Entering directory `/tmp/tmp.AHISKP3RET/tar/lib'
GEN rmt-command.h
make all-am
make[3]: Entering directory `/tmp/tmp.AHISKP3RET/tar/lib'
CC paxerror.o
[...]
CC xattr-at.o
wordsplit.c: In function ‘_wsplt_error’:
wordsplit.c:70:3: error: function might be possible candidate for
‘gnu_printf’ format attribute [-Werror=missing-format-attribute]
wordsplit.c: In function ‘expvar’:
wordsplit.c:708:15: error: variable ‘defstr’ set but not used
[-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[3]: *** [wordsplit.o] Error 1
make[3]: Target `all-am' not remade because of errors.
make[3]: Leaving directory `/tmp/tmp.AHISKP3RET/tar/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/tmp.AHISKP3RET/tar/lib'
Making all in rmt
make[2]: Entering directory `/tmp/tmp.AHISKP3RET/tar/rmt'
make[2]: *** No rule to make target `../gnu/libgnu.a', needed by `rmt'.
CC rmt.o
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/tmp/tmp.AHISKP3RET/tar/rmt'
Making all in src
make[2]: Entering directory `/tmp/tmp.AHISKP3RET/tar/src'
CC buffer.o
[...]
Pavel
- Re: [Bug-tar] Allow tar to use command for compressing consisiting of multiple words., Sergey Poznyakoff, 2013/02/10
- [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.), Pavel Raiskup, 2013/02/20
- [Bug-tar] [PATCH] tar: simplify code in system.c, Pavel Raiskup, 2013/02/20
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.), Sergey Poznyakoff, 2013/02/20
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.),
Pavel Raiskup <=
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.), Sergey Poznyakoff, 2013/02/20
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.), Pavel Raiskup, 2013/02/20
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.), Sergey Poznyakoff, 2013/02/20
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.), Paul Eggert, 2013/02/20
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit (was: Allow tar to usecommand for compressing consisiting of multiple words.), Sergey Poznyakoff, 2013/02/20
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit, Eric Blake, 2013/02/20
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit, Joerg Schilling, 2013/02/21
- Re: [Bug-tar] [PATCH 0/1] Notes for wordsplit, Paul Eggert, 2013/02/21
- [Bug-tar] [PATCH] tar: simplify code in system.c, Pavel Raiskup, 2013/02/20
- Re: [Bug-tar] [PATCH] tar: simplify code in system.c, Sergey Poznyakoff, 2013/02/20