Subject: building lang/gcc under IRIX 6.5.22f fails (or: how to disable this dependancy)
To: None <tech-pkg@NetBSD.org>
From: Adrian Kiess <dac@conglom-o.org>
List: tech-pkg
Date: 01/26/2005 01:36:14
Hello everyone,
the build of lang/gcc under IRIX 6.5.22f fails.
A lot of packages like pkgtools/pkgfind for example depend on it, so I'm
stuck right now. I tried with both, gcc3 and mipspro.
The error follows as appendix.
My guess would be, to either:
- somehow disable the building of gcc, because already installed
- or, of course, fix this.
Thanks in advance
Adrian Kiess
--- The error: ---
===> Extracting for pkgclean-20050118
===> Required package gcc>=2.8.0: NOT found
===> Verifying package for ../../lang/gcc
...
gmake[2] Leaving directory
`/usr/obj/pkg/lang/gcc/work.indigo2/objdir/gcc'
gmake[2]: Entering directory
`/usr/obj/pkg/lang/gcc/work.indigo2/objdir/mips-sgi-irix6.5/libiberty'
if [ x"-fPIC -DPIC" != x ]; then \
/usr/obj/pkg/lang/gcc/work.indigo2/objdir/gcc/xgcc
-B/usr/obj/pkg/lang/gcc/work.indigo2/objdir/gcc/
-B/usr/pkg/gcc-2.95.3/mips-sgi-irix6.5/bin/ -c -DHAVE_CONFIG_H -W
-Wall -Wtraditional -pedantic -O2 -I.
-I/usr/obj/pkg/lang/gcc/work.indigo2/gcc-2.95.3/libiberty/../include
-fPIC -DPIC
/usr/obj/pkg/lang/gcc/work.indigo2/gcc-2.95.3/libiberty/getpwd.c -o
pic/getpwd.o; \
else true; fi
/usr/obj/pkg/lang/gcc/work.indigo2/gcc-2.95.3/libiberty/getpwd.c: In
function `getpwd':
/usr/obj/pkg/lang/gcc/work.indigo2/gcc-2.95.3/libiberty/getpwd.c:62:
storage size of `dotstat' isn't known
/usr/obj/pkg/lang/gcc/work.indigo2/gcc-2.95.3/libiberty/getpwd.c:62:
storage size of `pwdstat' isn't known
/usr/obj/pkg/lang/gcc/work.indigo2/gcc-2.95.3/libiberty/getpwd.c:66:
warning: implicit declaration of function `getenv'
/usr/obj/pkg/lang/gcc/work.indigo2/gcc-2.95.3/libiberty/getpwd.c:66:
warning: assignment makes pointer from integer without a cast
/usr/obj/pkg/lang/gcc/work.indigo2/gcc-2.95.3/libiberty/getpwd.c:68:
warning: implicit declaration of function `stat'
/usr/obj/pkg/lang/gcc/work.indigo2/gcc-2.95.3/libiberty/getpwd.c:74:
warning: implicit declaration of function `getcwd'
/usr/obj/pkg/lang/gcc/work.indigo2/gcc-2.95.3/libiberty/getpwd.c:77:
warning: implicit declaration of function `free'
/usr/obj/pkg/lang/gcc/work.indigo2/gcc-2.95.3/libiberty/getpwd.c:62:
warning: unused variable `pwdstat'
/usr/obj/pkg/lang/gcc/work.indigo2/gcc-2.95.3/libiberty/getpwd.c:62:
warning: unused variable `dotstat'
gmake[2]: *** [getpwd.o] Error 1
gmake[2]: Leaving directory
`/usr/obj/pkg/lang/gcc/work.indigo2/objdir/mips-sgi-irix6.5/libiberty'
gmake[1]: *** [all-target-libiberty] Error 2
gmake[1]: Leaving directory
`/usr/obj/pkg/lang/gcc/work.indigo2/objdir'
gmake: *** [bootstrap] Error 2
*** Error code 2
--
Adrian Kiess <dac at conglom dash o dot org> - http://www.conglom-o.org/