hns - 日記自動生成システム - Version 2.19.9

先月 2011年04月 来月
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2011年04月04日(月) 旧暦 [n年日記] [更新:"2011/04/05 00:48:21"]

#1 [pkgsrc] pdftexdir/writepng.c:37: error: dereferencing pointer to incomplete type

Another problem:
writepng.c: In function 'read_png_info':
writepng.c:37: error: dereferencing pointer to incomplete type
writepng.c:41: error: dereferencing pointer to incomplete type
...
writepng.c:151: error: dereferencing pointer to incomplete type
writepng.c:152: error: dereferencing pointer to incomplete type
gmake[1]: *** [writepng.o] Error 1
gmake[1]: Leaving directory `/export/pkgsrc/print/teTeX3-bin/work/tetex-src-3.0/texk/web2c/pdftexdir'
gmake: *** [pdftexdir/libpdf.a] Error 2
*** Error code 2

Stop.
make: stopped in /export/pkgsrc/wip-jp/ja-ptex-bin

Stop.
make: stopped in /export/pkgsrc/wip-jp/ja-xdvik
*** Error code 1
The suspect file is:
pkgsrc/print/teTeX3-bin/work/tetex-src-3.0/texk/web2c/pdftexdir/writepng.c
I had the same one before: 2011/01/27

print/ja-vfxdvi on amd64:

Core was generated by `vfxdvi.bin'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f7ff93cc9f4 in strlen () from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ff93cc9f4 in strlen () from /usr/lib/libc.so.12
#1  0x00007f7ff93bf272 in __vfprintf_unlocked () from /usr/lib/libc.so.12
#2  0x00007f7ff933cb5c in vsnprintf () from /usr/lib/libc.so.12
#3  0x000000000041adfd in do_popup_message ()
#4  0x000000000040a5c8 in init_t1 ()
#5  0x0000000000409493 in main ()
(gdb) 
(amd64 の場合に) 二回目の vsnprintf で落ちている。次のようにすると分る
--- ./work/xdvik-22.40v/texk/xdvik/message-window.c~	2003-01-16 09:05:40.000000000 +0900
+++ ./work/xdvik-22.40v/texk/xdvik/message-window.c	2011-04-04 16:02:55.000000000 +0900
@@ -336,7 +336,10 @@
 	 * with both versions:
 	 */
 	msg_buf = xrealloc(msg_buf, len);
+	fprintf(stderr, "%s: %s:%d %d %s\n",__func__, __FILE__,__LINE__, len, msg);
+     
 	len2 = VSNPRINTF(msg_buf, len, msg, argp);
+	fprintf(stderr, "%s: %s:%d %d %s\n",__func__, __FILE__,__LINE__, len, msg);
 	if (len2 > -1 && len2 < len) {	/* <len> was large enough */
 	    break;
 	}
ja-vfxdvi はやはり削除なのかな。 何と、 次のようにしておくと、segfault しない。
touch /home/makoto/.texlive2010/texmf-var/web2c/xdvi.cfg
xdvi.cfg が見つからないと言おうとして Segfault.
modena@makoto 16:52:07/110404(..print/ja-vfxdvik)% \
/tmp/vfxdvi /export/cvs-work/emacs-book/work/emacsbook.dvi
do_popup_message: message-window.c:339 128 
/usr/pkg/share/texmf/xdvi:
/home/makoto/.texlive2010/texmf-var/web2c:
/usr/pkg/etc/texmf/web2c:/var/lib/texmf/web2c:

do_popup_message: message-window.c:342 128 
Could not find config file xdvi.cfg in path
"/usr/pkg/share/texmf/xdvi:/home/makoto/.texlive2010/texmf-var/web2c:/usr/pkg/etc/t

do_popup_message: message-window.c:339 206 
Could not find config file xdvi.cfg in path
"/usr/pkg/share/texmf/xdvi:/home/makoto/.texlive2010/texmf-var/web2c:/usr/pkg/etc/t

#2 [pkgsrc] (mysql) Can't start server : Bind on unix socket: Permission denied

112104 18:21:04  Starting mysqld daemon with databases from /var/mysql
112104 18:21:04  mysqld started
110404 18:21:04  InnoDB: Started; log sequence number 0 43655
110404 18:21:04 [ERROR] Can't start server : Bind on unix socket: Permission denied
110404 18:21:04 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ?
110404 18:21:04 [ERROR] Aborting
Following command fixes this problem....
chmod 1777 /tmp 

#3 [NetBSD] @tsutsuii さん(筒井泉さん)が昔に書いた文書


#4 [memo] 後で書こうと思ったことを忘れないように項目名だけ

書いておく
  • M-x compile RET pkglint -Call -Wall -g
  • /etc/if_run/arrival のこと



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)