Civil Engineer's log

地方大学教員の日常の断片

Segmentation fault.

2010-01-27 22:51:50 | UNIXなこと

なぁんでか。

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8771600 (LWP 100142)]
make_float (float_value=5.1100000000000003) at alloc.c:2623
2623          float_free_list = float_free_list->u.chain;
(gdb) p float_free_list
$1 = (struct Lisp_Float *) 0x6974636e
(gdb) p *float_free_list
Error accessing memory address 0x6974636e: Bad address.

FreeBSD/pc98でのお話。


実験だ!

2010-01-26 23:45:00 | 仕事の話

ポンチくん、ではなくて…。

壁の乾燥がほどよくなったので、昨日設置して、今日、壊した。久しぶりなので少し緊張しつつ行ったが、学生さんはお疲れのようで、ウトウトする人もあり。

ほどよく壊れて良かった。明日からはデータ整理と作文だ。


ラストスパート?

2010-01-25 21:51:15 | 仕事の話

2009年度の実験第2弾開始。明日は9時半集合。2月中にどれかを公開実験にしてみるか。

溜め込んでいた領収書の精算とか学生さんへの謝金とか、今更ながら小物を買い足したりとか、慌しい。年度末だ。

夕方から冷たい雨が降り始め、夜になると雷。「雪起こし」ということもあるそうだ。おかげで瞬間停電頻発で、テレビとかHP ML115とか、その都度落ちるので困る。


portupgradeのフシギ

2010-01-04 21:43:22 | UNIXなこと

例えば、ports-mgmt/tinderbox-develを以前にインストールしているとする。そして、ports-mgmt/tinderbox-devel/Makefileに

IGNORE=         please use ports-mgmt/tinderbox instand

とあると、portupgradeできないわけだ。しかし、

$ sudo portupgrade -f -o ports-mgmt/tinderbox ports-mgmt/tinderbox-devel
** Detected a package name change: tinderbox-devel (ports-mgmt/tinderbox-devel) -> 'tinderbox' (ports-mgmt/tinderbox)
--->  Upgrading 'tinderbox-devel-3.2_4' to 'tinderbox-3.3_3' (ports-mgmt/tinderbox)
--->  Building '/usr/ports/ports-mgmt/tinderbox' with make flags: DISABLE_VULNERABILITIES=yes
===>  Cleaning for tinderbox-3.3_3

===>  tinderbox-3.3_3 conflicts with installed package(s):
      tinderbox-devel-3.2_4

      They install files into the same place.
      Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/ports-mgmt/tinderbox.
*** Error code 1

Stop in /usr/ports/ports-mgmt/tinderbox.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100104-86319-16fdo3h-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=tinderbox-devel-3.2_4 UPGRADE_PORT_VER=3.2_4 make DISABLE_VULNERABILITIES=yes
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! ports-mgmt/tinderbox (tinderbox-devel-3.2_4)  (unknown build error)

となるのはどういうわけだ?

/usr/local/etc/pkgtools.confでMAKE_ARGSにDISABLE_CONFLICTS=yesを追加すると、このエラーを回避できるが、何か間違っている気がする。