bug#17904: issue with split command

2014-07-03 Thread Bernhard Voelker
tags 17904 + moreinfo
stop

On 07/02/2014 11:16 PM, jayaprakash.vamb...@essent.nl wrote:
 Hello,
 
 I am using split command to split a large file and later I am renaming file. 
 PFB command.
 
 find . -size +1000 -exec split -l 1 {\} {}-new \;
 find . -type f  -name *new* -exec mv {} {}.list \;
 
 However, this is giving correct result sometimes and other times :
 while creating files, the file with name ending newaa is missing .(This would 
 be the first file output while splitting)

Thanks for the bug report.
However, TBH I don't see a problem here (... other than later file
names possibly clashing the earlier produced *new* files; I reported
that to the main coreutils list separately).

 For ex:
 If I split a file named sample of size 1100 KB and with 25000 lines. If I 
 run the above query:
 
 Sometimes the result is:

Can you please explain what you mean by sometimes here?
Is this related to certain files (where you could reproduce with
a standalone split -l 1 file file-new run)?

 Samplenewaa.list
 Samplenewab.list
 Samplenewac.list
 
 But other times,only:
 Samplenewab.list
 Samplenewac.list
 
 Can you please look into this and let me know if this is a bug or if I am 
 doing something wrong.
 
 Thank You,

Can you please try to narrow the test case down to the file where
the aa file is missing? Both split(1) and mv(1) have the --verbose
option which could help finding the cause.

Thanks  have a nice day,
Berny





bug#17907: Problem with 'chmod' (LinuxMint 64 v17 - KDE)

2014-07-03 Thread Yves Bourguet

Hello

I am french and I hope you will excuse my very bad english.

I try to modify the permissions of a file, but I don't succeed. I want 
the file 'essai.sh' became executable : so I want to transform the 
permissions from '-rw---' to '-rwx--', usign 'chmod' (in 'root').


But... Look, please :



yves@yves:/media/yves/Partition-ntfs/Travaux/DOCUS/Informatique/Scripts 
 chmod -v u+x essai.sh


le mode de «essai.sh» a été modifié de 0600 (rw---) en 0700 (rwx--)

yves@yves:/media/yves/Partition-ntfs/Travaux/DOCUS/Informatique/Scripts 
 ls -l


total 1
-rw--- 1 yves yves 83 juil.  2 18:12 date_sauvegarde.sh
-rw--- 1 yves yves 43 juil.  2 18:45 essai.sh




The result would be '-rwx--', but you can see that it's '-rw---' 
! ! !


I don't know if it's a bug, or if it's me, but I don't understand !

Could you help me please ?

Thanks if you can

Yves Bourguet





bug#17907: Problem with 'chmod' (LinuxMint 64 v17 - KDE)

2014-07-03 Thread Eric Blake
tag 17907 notabug
thanks

On 07/03/2014 01:53 AM, Yves Bourguet wrote:
 Hello
 
 I am french and I hope you will excuse my very bad english.
 
 I try to modify the permissions of a file, but I don't succeed. I want
 the file 'essai.sh' became executable : so I want to transform the
 permissions from '-rw---' to '-rwx--', usign 'chmod' (in 'root').
 
 But... Look, please :
 
 
 
 yves@yves:/media/yves/Partition-ntfs/Travaux/DOCUS/Informatique/Scripts
^^

NTFS is a notoriously difficult file system (not as bad as FAT, but
still not POSIX compliant).  The fact that your Linux kernel file system
driver doesn't support setting executable bits (or at least not
reporting them) is not a bug in coreutils, but a limitation of your
kernel driver.  If you want anything to change, you'll have to report it
to the kernel folks.

As such, I'm closing this as not a coreutils bug; there's nothing we can
do about it here.  However, do feel free to ask further questions on
this thread, as needed.

-- 
Eric Blake   eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org



signature.asc
Description: OpenPGP digital signature


bug#17915: error building coreutils - P.S

2014-07-03 Thread G.Faass Computerfachmann
   Hi!
   Beg your Pardon - you need some more Informations as in my last email.
   I am translating LFS 7.5 on a Centos 6.5 on an older AMD X2 with 2GB on
   a Partition of a second IDE HD.
   ===
   =
   Testsuite summary for GNU coreutils 8.22
   ===
   =
   # TOTAL: 316
   # PASS:  281
   # SKIP:  34
   # XFAIL: 0
   # FAIL:  1
   # XPASS: 0
   # ERROR: 0
   ===
   =
   See gnulib-tests/test-suite.log
   Please report to [1]bug-coreutils@gnu.org
   ===
   =
   will i have problems?

   --
   [cid:part2.04040409.04050207@computerfachmann.com]

References

   1. mailto:bug-coreutils@gnu.org
PASS: test-fcntl-h
PASS: test-fcntl-safer
PASS: test-fcntl
PASS: test-fdatasync
PASS: test-fdopen
PASS: test-fdopendir
PASS: test-fdutimensat
PASS: test-fflush
PASS: test-fflush2.sh
PASS: test-fgetc
PASS: test-filenamecat
PASS: test-filevercmp
PASS: test-float
PASS: test-fnmatch
PASS: test-fopen-safer
PASS: test-fopen
PASS: test-fpending.sh
PASS: test-fpurge
PASS: test-fputc
PASS: test-fread
PASS: test-freadahead.sh
PASS: test-freading
PASS: test-freadptr.sh
PASS: test-freadptr2.sh
PASS: test-freadseek.sh
PASS: test-freopen-safer
PASS: test-freopen
PASS: test-frexp-nolibm
PASS: test-frexpl-nolibm
PASS: test-fseek.sh
PASS: test-fseek2.sh
PASS: test-fseeko.sh
PASS: test-fseeko2.sh
PASS: test-fseeko3.sh
PASS: test-fseeko4.sh
PASS: test-fseterr
PASS: test-fstat
PASS: test-fstatat
PASS: test-fsync
PASS: test-ftell.sh
PASS: test-ftell2.sh
PASS: test-ftell3
PASS: test-ftello.sh
PASS: test-ftello2.sh
PASS: test-ftello3
PASS: test-ftello4.sh
PASS: test-ftruncate.sh
PASS: test-futimens
PASS: test-fwrite
PASS: test-getaddrinfo
PASS: test-getcwd-lgpl
PASS: test-getcwd.sh
PASS: test-getdelim
PASS: test-getdtablesize
PASS: test-getgroups
PASS: test-gethostname
PASS: test-getline
PASS: test-getloadavg
../build-aux/test-driver: line 95: 17095 Aborted (core dumped) 
$@  $log_file 21
FAIL: test-getlogin
PASS: test-getndelim2
PASS: test-getopt
PASS: test-gettimeofday
PASS: test-hash
PASS: test-i-ring
PASS: test-iconv-h
PASS: test-iconv
PASS: test-ignore-value
PASS: test-inet_ntop
PASS: test-inet_pton
PASS: test-ino-map
PASS: test-intprops
PASS: test-inttostr
PASS: test-inttypes
PASS: test-ioctl
PASS: test-isatty
PASS: test-isblank
PASS: test-isnand-nolibm
PASS: test-isnanf-nolibm
PASS: test-isnanl-nolibm
PASS: test-iswblank
PASS: test-langinfo
PASS: test-lchown
PASS: test-link
PASS: test-linkat
PASS: test-listen
PASS: test-locale
PASS: test-localeconv
PASS: test-localename
PASS: test-lock
PASS: test-lseek.sh
PASS: test-lstat
PASS: test-malloc-gnu
PASS: test-malloca
PASS: test-math
SKIP: test-mbrtowc1.sh
SKIP: test-mbrtowc2.sh
SKIP: test-mbrtowc3.sh
SKIP: test-mbrtowc4.sh
SKIP: test-mbrtowc-w32-1.sh
SKIP: test-mbrtowc-w32-2.sh
SKIP: test-mbrtowc-w32-3.sh
SKIP: test-mbrtowc-w32-4.sh
SKIP: test-mbrtowc-w32-5.sh
PASS: test-mbsalign
SKIP: test-mbscasecmp.sh
SKIP: test-mbsinit.sh
SKIP: test-mbsrtowcs1.sh
SKIP: test-mbsrtowcs2.sh
SKIP: test-mbsrtowcs3.sh
SKIP: test-mbsrtowcs4.sh
PASS: test-mbsstr1
SKIP: test-mbsstr2.sh
SKIP: test-mbsstr3.sh
PASS: test-memcasecmp
PASS: test-memchr
PASS: test-memchr2
PASS: test-memcoll
PASS: test-memrchr
PASS: test-mkdir
PASS: test-mkfifo
PASS: test-mknod
PASS: test-nanosleep
PASS: test-netdb
PASS: test-netinet_in
PASS: test-nl_langinfo.sh
PASS: test-open
PASS: test-openat-safer
PASS: test-openat
PASS: test-parse-datetime
PASS: test-pathmax
PASS: test-perror.sh
PASS: test-perror2
PASS: test-pipe
PASS: test-pipe2
PASS: test-posix_spawn_file_actions_addclose
PASS: test-posix_spawn_file_actions_adddup2
PASS: test-posix_spawn_file_actions_addopen
PASS: test-posix_spawn1
PASS: test-posix_spawn2
PASS: test-posixtm
PASS: test-printf-frexp
PASS: test-printf-frexpl
PASS: test-priv-set
PASS: test-quotearg-simple
PASS: test-raise
PASS: test-rand-isaac
PASS: test-rawmemchr
PASS: test-read-file
PASS: test-read
PASS: test-readlink
PASS: test-readlinkat
PASS: test-readtokens.sh
PASS: test-realloc-gnu
PASS: test-regex
PASS: test-remove
PASS: test-rename
PASS: test-rmdir
PASS: test-sched
PASS: test-select
PASS: test-select-in.sh
PASS: test-select-out.sh
PASS: test-setenv
SKIP: test-setlocale1.sh
PASS: test-setlocale2.sh
PASS: test-setsockopt
PASS: test-sigaction
PASS: test-signal-h
PASS: test-signbit
PASS: test-sigprocmask
PASS: test-sleep
PASS: test-snprintf
PASS: test-sockets
PASS: test-spawn-pipe.sh
PASS: test-spawn
PASS: test-stat
PASS: test-stat-time
PASS: test-statat
PASS: test-stdalign
PASS: test-stdbool
PASS: test-stddef
PASS: test-stdint
PASS: test-stdio
PASS: test-stdlib
PASS: test-strchrnul
PASS: test-strerror
PASS: test-strerror_r
PASS: test-strftime
PASS: test-striconv
PASS: test-string
PASS: test-strncat
PASS: 

bug#17913: error building coreutils

2014-07-03 Thread G.Faass Computerfachmann
   Hi!
   ===
   =
   Testsuite summary for GNU coreutils 8.22
   ===
   =
   # TOTAL: 316
   # PASS:  281
   # SKIP:  34
   # XFAIL: 0
   # FAIL:  1
   # XPASS: 0
   # ERROR: 0
   ===
   =
   See gnulib-tests/test-suite.log
   Please report to [1]bug-coreutils@gnu.org
   ===
   =
   will i have problems?

   --
   [cid:part1.06040608.05030404@computerfachmann.com]

References

   1. mailto:bug-coreutils@gnu.org
PASS: test-fcntl-h
PASS: test-fcntl-safer
PASS: test-fcntl
PASS: test-fdatasync
PASS: test-fdopen
PASS: test-fdopendir
PASS: test-fdutimensat
PASS: test-fflush
PASS: test-fflush2.sh
PASS: test-fgetc
PASS: test-filenamecat
PASS: test-filevercmp
PASS: test-float
PASS: test-fnmatch
PASS: test-fopen-safer
PASS: test-fopen
PASS: test-fpending.sh
PASS: test-fpurge
PASS: test-fputc
PASS: test-fread
PASS: test-freadahead.sh
PASS: test-freading
PASS: test-freadptr.sh
PASS: test-freadptr2.sh
PASS: test-freadseek.sh
PASS: test-freopen-safer
PASS: test-freopen
PASS: test-frexp-nolibm
PASS: test-frexpl-nolibm
PASS: test-fseek.sh
PASS: test-fseek2.sh
PASS: test-fseeko.sh
PASS: test-fseeko2.sh
PASS: test-fseeko3.sh
PASS: test-fseeko4.sh
PASS: test-fseterr
PASS: test-fstat
PASS: test-fstatat
PASS: test-fsync
PASS: test-ftell.sh
PASS: test-ftell2.sh
PASS: test-ftell3
PASS: test-ftello.sh
PASS: test-ftello2.sh
PASS: test-ftello3
PASS: test-ftello4.sh
PASS: test-ftruncate.sh
PASS: test-futimens
PASS: test-fwrite
PASS: test-getaddrinfo
PASS: test-getcwd-lgpl
PASS: test-getcwd.sh
PASS: test-getdelim
PASS: test-getdtablesize
PASS: test-getgroups
PASS: test-gethostname
PASS: test-getline
PASS: test-getloadavg
../build-aux/test-driver: line 95: 17095 Aborted (core dumped) 
$@  $log_file 21
FAIL: test-getlogin
PASS: test-getndelim2
PASS: test-getopt
PASS: test-gettimeofday
PASS: test-hash
PASS: test-i-ring
PASS: test-iconv-h
PASS: test-iconv
PASS: test-ignore-value
PASS: test-inet_ntop
PASS: test-inet_pton
PASS: test-ino-map
PASS: test-intprops
PASS: test-inttostr
PASS: test-inttypes
PASS: test-ioctl
PASS: test-isatty
PASS: test-isblank
PASS: test-isnand-nolibm
PASS: test-isnanf-nolibm
PASS: test-isnanl-nolibm
PASS: test-iswblank
PASS: test-langinfo
PASS: test-lchown
PASS: test-link
PASS: test-linkat
PASS: test-listen
PASS: test-locale
PASS: test-localeconv
PASS: test-localename
PASS: test-lock
PASS: test-lseek.sh
PASS: test-lstat
PASS: test-malloc-gnu
PASS: test-malloca
PASS: test-math
SKIP: test-mbrtowc1.sh
SKIP: test-mbrtowc2.sh
SKIP: test-mbrtowc3.sh
SKIP: test-mbrtowc4.sh
SKIP: test-mbrtowc-w32-1.sh
SKIP: test-mbrtowc-w32-2.sh
SKIP: test-mbrtowc-w32-3.sh
SKIP: test-mbrtowc-w32-4.sh
SKIP: test-mbrtowc-w32-5.sh
PASS: test-mbsalign
SKIP: test-mbscasecmp.sh
SKIP: test-mbsinit.sh
SKIP: test-mbsrtowcs1.sh
SKIP: test-mbsrtowcs2.sh
SKIP: test-mbsrtowcs3.sh
SKIP: test-mbsrtowcs4.sh
PASS: test-mbsstr1
SKIP: test-mbsstr2.sh
SKIP: test-mbsstr3.sh
PASS: test-memcasecmp
PASS: test-memchr
PASS: test-memchr2
PASS: test-memcoll
PASS: test-memrchr
PASS: test-mkdir
PASS: test-mkfifo
PASS: test-mknod
PASS: test-nanosleep
PASS: test-netdb
PASS: test-netinet_in
PASS: test-nl_langinfo.sh
PASS: test-open
PASS: test-openat-safer
PASS: test-openat
PASS: test-parse-datetime
PASS: test-pathmax
PASS: test-perror.sh
PASS: test-perror2
PASS: test-pipe
PASS: test-pipe2
PASS: test-posix_spawn_file_actions_addclose
PASS: test-posix_spawn_file_actions_adddup2
PASS: test-posix_spawn_file_actions_addopen
PASS: test-posix_spawn1
PASS: test-posix_spawn2
PASS: test-posixtm
PASS: test-printf-frexp
PASS: test-printf-frexpl
PASS: test-priv-set
PASS: test-quotearg-simple
PASS: test-raise
PASS: test-rand-isaac
PASS: test-rawmemchr
PASS: test-read-file
PASS: test-read
PASS: test-readlink
PASS: test-readlinkat
PASS: test-readtokens.sh
PASS: test-realloc-gnu
PASS: test-regex
PASS: test-remove
PASS: test-rename
PASS: test-rmdir
PASS: test-sched
PASS: test-select
PASS: test-select-in.sh
PASS: test-select-out.sh
PASS: test-setenv
SKIP: test-setlocale1.sh
PASS: test-setlocale2.sh
PASS: test-setsockopt
PASS: test-sigaction
PASS: test-signal-h
PASS: test-signbit
PASS: test-sigprocmask
PASS: test-sleep
PASS: test-snprintf
PASS: test-sockets
PASS: test-spawn-pipe.sh
PASS: test-spawn
PASS: test-stat
PASS: test-stat-time
PASS: test-statat
PASS: test-stdalign
PASS: test-stdbool
PASS: test-stddef
PASS: test-stdint
PASS: test-stdio
PASS: test-stdlib
PASS: test-strchrnul
PASS: test-strerror
PASS: test-strerror_r
PASS: test-strftime
PASS: test-striconv
PASS: test-string
PASS: test-strncat
PASS: test-strnlen
PASS: test-strsignal
PASS: test-strtod
PASS: test-strtoimax
PASS: test-strtoll
PASS: test-strtoull
PASS: test-strtoumax
PASS: test-symlink
PASS: test-symlinkat
PASS: 

bug#17913: bug#17915: error building coreutils - P.S

2014-07-03 Thread Pádraig Brady
forcemerge 17915 17913
close 17913
stop

On 07/03/2014 10:57 AM, G.Faass Computerfachmann wrote:
Hi!
Beg your Pardon - you need some more Informations as in my last email.
I am translating LFS 7.5 on a Centos 6.5 on an older AMD X2 with 2GB on
a Partition of a second IDE HD.
===
Testsuite summary for GNU coreutils 8.22
===
# TOTAL: 316
# PASS:  281
# SKIP:  34
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
===
See gnulib-tests/test-suite.log

FAIL: test-getlogin
===
test-getlogin.c:69: assertion 'strcmp (buf, name) == 0' failed

Please report to [1]bug-coreutils@gnu.org

will i have problems?

You should be fine I think.
There was a false failure that will be avoided in the upcomming v8.23
http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=eec20b4e

thanks,
Pádraig.





bug#17904: issue with split command

2014-07-03 Thread Andreas Schwab
jayaprakash.vamb...@essent.nl writes:

 I am using split command to split a large file and later I am renaming file. 
 PFB command.

What does PFB mean?

 find . -size +1000 -exec split -l 1 {\} {}-new \;

This may find the newly created files, splitting them again if any of
the produced files is bigger then 1000 bytes.  You should produce the
output in a separate directory not located below the current one.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
And now for something completely different.