View previous topic :: View next topic |
Author |
Message |
VioletPlanet n00b
Joined: 03 Dec 2003 Posts: 2
|
Posted: Wed Dec 03, 2003 9:39 am Post subject: diffutils fails with "changed dev/ino: Is a directory&q |
|
|
(Please help - I really want to get Gentoo working)
Everything compiles fine upto diffutils.
USE="alsa cdr cups doc emacs encoder gphoto2 gstreamer icc imap -java -jikes jpeg ldap maildir mbox mozilla mpeg mpi mysql ncurses odbc quicktime samba scanner snmp svga tcltk truetype usb wmf xml xml2 xmms zlib sse"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -funroll-loops -pipe -mmmx -msse -mfpmath=sse -falign-functions=16 -fprefetch-loop-arrays"
Diffutils fails with, initially:
* Applying diffutils-2.8.4-tabsize-dumps-core.diff... [ ok ]
>>> Source unpacked.
/dev/fd/1
/dev/fd/1
cp: skipping file `/usr/portage/sys-apps/diffutils/diffutils-2.8.4-r4.ebuild', as it was replaced while being copied
rm: `conftest.dir' changed dev/ino: Is a directory
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gawk... (cached) gawk
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
cat: conftest.c: input file is output file
checking for style of include used by make... GNU
checking dependency style of gcc... mkdir: cannot create directory `conftest.dir': File exists
cp: skipping file `config/depcomp', as it was replaced while being copied
./configure: line 1: ./depcomp: No such file or directory
rm: `conftest.dir' changed dev/ino: Is a directory
none
checking for strerror in -lcposix... cat: conftest.c: input file is output file
and so on, until when it trys to execute Makefile and fails with:
rm: `conftest.dir' changed dev/ino: Is a directory
Makefile:15: *** missing separator. Stop.
The build env is Mandrake 9.2 on ext3 (chroot'd of course.)
If I try to rm -rf /var/tmp/* I get:
rm: `/var/tmp/portage' changed dev/ino: Is a directory
And if I try to emerge sync I get:
receiving file list ...
68732 files to consider
app-admin/
app-admin/addpatches/
rsync: writefd_unbuffered failed to write 4092 bytes: phase "unknown": Connection reset by peer
rsync error: error in rsync protocol data stream (code 12) at io.c(515)
rsync error: received SIGUSR1 or SIGINT (code 20) at main.c(867)
Thanks for any help
Rich |
|
Back to top |
|
|
oojah n00b
Joined: 14 May 2003 Posts: 10
|
Posted: Fri Dec 12, 2003 10:34 am Post subject: sync fix |
|
|
Hi,
I can't help with the diff problem, but have just had the same problem with syncing.
My "fix" was:
Code: |
mv /usr/portage /usr/portage_old
mkdir /usr/portage
emerge sync
|
If all is ok you can then remove /usr/portage_old
Cheers,
Roger |
|
Back to top |
|
|
oojah n00b
Joined: 14 May 2003 Posts: 10
|
Posted: Fri Dec 12, 2003 11:59 am Post subject: dev/ino fix (coreutils) |
|
|
Hi again,
The problem with dev/ino is that your coreutils are stuffed. This means cp, rm, ls, cat and so on - it also means that you can hardly do *anything* within the bounds of your gentoo environment.
I would suggest booting using your livecd, mounting (but not chrooting!) your root partition and copying cp, rm, ls, cat, install from the cd to the mounted drive.
This should be sufficient to allow you to rebuild coreutils when you reboot into gentoo.
Now - the important thing is not to use so aggressive CFLAGS.
A common problem (and the one that got me!) is -falign-double, but you don't seem to use that, so I'd maybe suggest getting rid of "-falign-functions=16 -fprefetch-loop-arrays"
Cheers,
Roger |
|
Back to top |
|
|
VioletPlanet n00b
Joined: 03 Dec 2003 Posts: 2
|
Posted: Fri Dec 12, 2003 1:38 pm Post subject: Solved! |
|
|
Interestingly, it was my fault.
All the flags work (by the way) including -fomit, -falign and so on. On my P3XeonSMP setup I reckon KDE's about 30% faster than my old RedHat8 install.
Turns out that I hadn't mounted /proc as I should have done at the beginning of the bootstrap process!
Like, D'oh and apologies for taking up your time.
Best
VP |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|