!groff 異常 # man man /usr/bin/groff: can't find `DESC' file /usr/bin/groff:fatal error: invalid device `ascii' *環境: FreeBSD-7-Stable *影響: make buildworld ができない *原因: src/contrib/groff/configure *対応 **src/contrib/groff と src/gnu/usr.bin/groff の削除 # du -s /usr/src/contrib/groff /usr/src/gnu/usr.bin/groff 13741 /usr/src/contrib/groff 301 /usr/src/gnu/usr.bin/groff # rm -rf /usr/src/contrib/groff /usr/src/gnu/usr.bin/groff **cvsup # cvsup -g -L2 freebsd-7-stable/supfile # du -s /usr/src/contrib/groff /usr/src/gnu/usr.bin/groff 13351 /usr/src/contrib/groff 301 /usr/src/gnu/usr.bin/groff *結果: *参考: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2008-08/msg00621.html ""When I saw this, and combining this with your statement that `contrib/groff/configure' was not supposed to be called, I realized that, in fact, yesterday I ran it by hand, trying to figure out what was going on -- and I thought it had to be called by the standard build. ""So, seeing your output, I removed both `contrib/groff' and `gnu/usr.bin/groff', did `cvsup' again and rebuild. ""And guess what? The newly built groff doesn't look for files under `/usr/local' -- so it's definitely using the hard-coded` gnu/usr.bin/groff/src/include/defs.h' paths. ""I install worlds and now have a perfectly functioning `groff' and `man'. !ports gcc46 コンパイル異常 *FreeBSD-8 amd64 *20120425 # cd /usr/ports/lang/gcc46 # make install libtool: compile: /var/work/build/./gcc/gcj -B/var/work/build/x86_64-portbld-freebsd8.2/libjava/ -B/var/work/build/./gcc/ -B/usr/local/x86_64-portbld-freebsd8.2/bin/ -B/usr/local/x86_64-portbld-freebsd8.2/lib/ -isystem /usr/local/x86_64-portbld-freebsd8.2/include -isystem /usr/local/x86_64-portbld-freebsd8.2/sys-include -fomit-frame-pointer -fclasspath= -fbootclasspath=../.././../gcc-4.6-20120420/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -findirect-dispatch -fno-bootstrap-classes -fno-indirect-classes -fsource-filename=/var/work/build/x86_64-portbld-freebsd8.2/libjava/classpath/tools/all-classes.lst -g -O2 -MT classpath/tools/libgcj_tools_la-tools.lo -MD -MP -MF classpath/tools/.deps/libgcj_tools_la-tools.Tpo -c classpath/tools/tools.zip -fPIC -o classpath/tools/.libs/libgcj_tools_la-tools.o gcj: internal compiler error: Killed: 9 (program jc1) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. gmake[3]: *** [gnu/java/nio/charset.lo] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gcj: internal compiler error: Killed: 9 (program jc1) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. gmake[3]: *** [classpath/tools/libgcj_tools_la-tools.lo] Error 1 libtool: compile: /var/work/build/./gcc/gcj -B/var/work/build/x86_64-portbld-freebsd8.2/libjava/ -B/var/work/build/./gcc/ -B/usr/local/x86_64-portbld-freebsd8.2/bin/ -B/usr/local/x86_64-portbld-freebsd8.2/lib/ -isystem /usr/local/x86_64-portbld-freebsd8.2/include -isystem /usr/local/x86_64-portbld-freebsd8.2/sys-include -fomit-frame-pointer -fclasspath= -fbootclasspath=../.././../gcc-4.6-20120420/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c -fsource-filename=/var/work/build/x86_64-portbld-freebsd8.2/libjava/classpath/lib/classes -MT javax/swing/plaf/basic.lo -MD -MP -MF javax/swing/plaf/basic.deps @javax/swing/plaf/basic.list -o javax/swing/plaf/basic.o >/dev/null 2>&1 libtool: compile: /var/work/build/./gcc/gcj -B/var/work/build/x86_64-portbld-freebsd8.2/libjava/ -B/var/work/build/./gcc/ -B/usr/local/x86_64-portbld-freebsd8.2/bin/ -B/usr/local/x86_64-portbld-freebsd8.2/lib/ -isystem /usr/local/x86_64-portbld-freebsd8.2/include -isystem /usr/local/x86_64-portbld-freebsd8.2/sys-include -fomit-frame-pointer -fclasspath= -fbootclasspath=../.././../gcc-4.6-20120420/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c -fsource-filename=/var/work/build/x86_64-portbld-freebsd8.2/libjava/classpath/lib/classes -MT javax/swing.lo -MD -MP -MF javax/swing.deps @javax/swing.list -o javax/swing.o >/dev/null 2>&1 gmake[3]: Leaving directory `/var/work/build/x86_64-portbld-freebsd8.2/libjava' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/var/work/build/x86_64-portbld-freebsd8.2/libjava' gmake[1]: *** [all-target-libjava] Error 2 gmake[1]: Leaving directory `/var/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 1 Stop in /usr/ports/lang/gcc46. *** Error code 1 Stop in /usr/ports/lang/gcc46. fbsd864# *メモリが1Gでは足りなかった。 *VM 設定を変更し、2G で gcc46 のコンパイルが完了した。 *http://forums.freebsd.org/archive/index.php/t-31204.html *CrisXed ""increasing the memory of the VM to 512MB did not help. *wblock@ ""512M is still a ridiculously small amount of memory to build anything these days. Especially something porcine like gcc.