zicの日記: qmail-1.03 on RH9 1
日記 by
zic
あがががが。
RH8をRH9にup2dateしていたら、
qmailが、
Incorrectly built binary which accesses errno, h_errno or _res directly. Needs to be fixed.
と、宣うようになってしまった。
/lib/ld-linux.so.2(glibc-2.3.2-27.9) が出しているみたい。
#include <errno.h> 無しで、 errno とかを参照すると、このメッセージが出るとか出ないとか? (伝聞調)
いづれにせよ、qmail再buildが必要そうだ。
RH8をRH9にup2dateしていたら、
qmailが、
Incorrectly built binary which accesses errno, h_errno or _res directly. Needs to be fixed.
と、宣うようになってしまった。
/lib/ld-linux.so.2(glibc-2.3.2-27.9) が出しているみたい。
#include <errno.h> 無しで、 errno とかを参照すると、このメッセージが出るとか出ないとか? (伝聞調)
いづれにせよ、qmail再buildが必要そうだ。
作業内容 (スコア:1)
基本的には、 error.h 冒頭に #include <error.h> を入れるだけ。
(1) qmail-1.03-109memphis
cf. http://qmail.get7.biz/rpms/var-qmail/INSTRUCTIONS.var-qmail
C) You want to compile qmail on your system,
and then do a fresh install.
1. rpm -Uv shadow-utils-4.0.3-6.i386.rpm
2. error.h に、
#include <errno.h> 追加
3. rpmbuild -bb --target athlon
/usr/src/redhat/SPECS/var-qmail-create.spec
4. rpmu -Uv /usr/src/redhat/RPMS/
athlon/var-qmail-create-1.03-109memphis.athlon.rpm
5. rpmbuild -ba --target athlon
/usr/src/redhat/SPECS/var-qmail.spec
6. rpmu -Uv /usr/src/redhat/RPMS/
athlon/qmail-1.03-109memphis.athlon.rpm
(2) daemontools-0.76-2memphis
同様に、 error.h を修正。他、必要のため SPEC 修正。
rpmu -Uv athlon/daemontools-0.76-2memphisz.athlon.rpm
(3) ucspi-tcp-0.88-003patch
同様に、 error.h を修正。他、必要のため SPEC 修正。
rpmu -Uv athlon/ucspi-tcp-0.88-003patchz.athlon.rpm
(4) functions-4-2 は、修正不要。
(5) runlevelconf-0.08-001memphis も、修正不要。
(6) dt-run-11.07-001memphis も、修正不要。
(7) other-run-11.07-001memphis も、修正不要。
(8) checkpassword-0.90-1memphis
同様に、 error.h を修正。他、必要のため SPEC 修正。
rpmu -Uv athlon/checkpassword-0.90-1memphisz.athlon.rpm
(9) mess822
同様に、 error.h を修正。他、必要のため SPEC 修正。
hier.c にて、
Buildroot に関わらず、
/etc/leapsecs.dat を作成しようとしているため、
/etc/leapsecs.dat に書き込み権が無いとエラーとなる。
rpmu -Uv athlon/mess822-0.58-1z.athlon.rpm
以上をもって、漸く回避完了。
……どっかに教えてあげる必要があるだろうか?
三毛猫