First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 68520
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Wouter Vanwalleghem <wouter@belnet.be>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
cpio-2.5.90.ebuild.diff cpio-2.5.90.ebuild.diff patch Marcelo Goes 2004-12-17 10:52 0000 743 bytes Details | Diff
cpio-2.5.90-gentoo.diff cpio-2.5.90-gentoo.diff patch Marcelo Goes 2004-12-17 10:53 0000 831 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 68520 depends on: Show dependency tree
Bug 68520 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-22 03:00 0000
While trying to copy files from one filesystem to another on the same host with
"find -xdev | cpio -p -m --make-directories /mnt/image/", I get this message:
"Value too large for defined data type" when files larger than 2GB are
encountered.

Reproducible: Always
Steps to Reproduce:
1.mount new filesystem on /mnt/image
2.cd <old-filesystem>
3.find -xdev | cpio -p -m --make-directories /mnt/image/

Actual Results:  
cpio: <filename>: Value too large for defined data type

Expected Results:  
The file should have been copied.

Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r2,
2.6.8.1)
=================================================================
System uname: 2.6.8.1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://ftp.belnet.be/gentoo-portage"
USE="X alsa apache2 apm arts artswrappersuid audiofile avi berkdb bitmap-fonts
bonobo cdparanoia cdr clamav crypt cups dmx doc dvd dvdr emacs encode esd evo
f77 flac foomaticdb gb gdbm gif gimpprint gnome gphoto2 gpm gtk gtk2 gtkhtml
guile imap imlib innodb ipv6 java jpeg kde kerberos ldap libg++ libgda libwww
mad maildir mbox mikmod mmx motif mozcalendar mozilla mozsvg mozxmlterm mpeg
mysql nas ncurses nls odbc oggvorbis opengl opie oss pam pdflib perl png
postgres povray ppds python qt quicktime readline samba sasl scanner sdl slang
slp spell sse ssl svga tcltk tcpd tetex tiff truetype vim-with-x wifi wxwindows
x86 xine xinerama xml xml2 xmms xprint xscreensaver xv zlib"

------- Comment #1 From SpanKY 2004-10-25 05:35:05 0000 -------
try editing the ebuild and adding this:

to the top of the file: inherit flag-o-matic
inside src_unpack(): append-lfs-flags

see if that fixes things

------- Comment #2 From Wouter Vanwalleghem 2004-10-25 09:10:17 0000 -------
I've tried with these additions to the ebuild but now I get 1.6G out of 5.6G
copied and the following statement:
cpio: File ./<filename> grew, 0 new bytes not copied

------- Comment #3 From Marcelo Goes 2004-12-17 10:52:24 0000 -------
This patch claims to fix cpio-2.5.90 so that it can support files larger than
2Gb, as well as gcc-3.4.x fixes:
http://lists.gnu.org/archive/html/bug-cpio/2004-11/msg00001.html

I, however, didn't have much success compiling with this patch.
I'm attaching a modification to the current 2.5 ebuild and a small patch that
allows version 2.5.90 to compile, in the case anybody smarter than me wants to
work on it.

------- Comment #4 From Marcelo Goes 2004-12-17 10:52:51 0000 -------
Created an attachment (id=46227) [edit]
cpio-2.5.90.ebuild.diff

------- Comment #5 From Marcelo Goes 2004-12-17 10:53:10 0000 -------
Created an attachment (id=46228) [edit]
cpio-2.5.90-gentoo.diff

------- Comment #6 From SpanKY 2004-12-17 11:38:24 0000 -------
ive added 2.5.90 with a few patches from cvs (and the 2gigger patch)

re-open if the ebuild in portage doesnt fix this

First Last Prev Next    No search results available      Search page      Enter new bug