build error for gcc 4.7.2 on Solaris 10
Marc Girod
marc.girod@gmail.com
Sat Mar 9 19:14:00 GMT 2013
Hello,
I get the following error in building gcc 4.7.2 on Solaris 10:
gcc> tail nohup.out.3
chmod a+r ${fix_dir}/limits.h; \
done
cp: preserving permissions for 'include-fixed/limits.h': Operation not
applicable
make[3]: *** [stmp-int-hdrs] Error 1
make[3]: Leaving directory `/proj/vobadm100/tmp/gcc/gcc'
make[2]: *** [all-stage3-gcc] Error 2
make[2]: Leaving directory `/proj/vobadm100/tmp/gcc'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/proj/vobadm100/tmp/gcc'
make: *** [all] Error 2
This comes from using the -p option of cp on line 4102 of gcc/Makefile.in.
Is it reserved to root? I am building under a normal account.
I did install coreutils 8.21, and I can reproduce on the command line:
gcc> type cp
cp is /vobs/cello/cade_struct/bin/cp
gcc> cp -p gcc/include-fixed/limits.h /tmp/
cp: preserving permissions for '/tmp/limits.h': Operation not applicable
gcc> ll gcc/include-fixed/limits.h
-rw-rw-r-- 1 emagiro ossdes 5447 Mar 9 19:32 gcc/include-fixed/limits.h
gcc> ll /tmp/limits.h
-rw-rw-r-- 1 emagiro ossdes 5447 Mar 9 19:32 /tmp/limits.h
gcc> cp --help | grep -A3 -- '-p '
-p same as --preserve=mode,ownership,timestamps
--preserve[=ATTR_LIST] preserve the specified attributes (default:
mode,ownership,timestamps), if possible
additional attributes: context, links, xattr,
I have later the same issue with the target: tools.zip
line 1426 in libjava/classpath/tools/Makefile.in
I join my config.log.
Thanks,
Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 31449 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20130309/f10291cf/attachment.obj>
More information about the Gcc-bugs
mailing list