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

先月 2012年03月 来月
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 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2012年03月31日() 旧暦 [n年日記] [更新:"2012/04/06 16:06:32"]

#1 [NetBSD][pkgsrc] pkgsrc/wip/ghostscript-9.05

wip/ghostscript を 9.04 から ghostscript-9.05 に上げたが、どうも自信がない。特に option が怪しい。 そこで、全ての組合せを確認しようと、 perl 手続 を用意した。実行すると、次のように表示する
modena@makoto 19:00:29/120331(..wip/ghostscript)% \
 perl ~/public_html/diary/attach/2012/20120331-ghostscript-32-test 
make clean && env PKG_OPTIONS.ghostscript='-x11 -fontconfig ' make package
make clean && env PKG_OPTIONS.ghostscript='-fontconfig x11 ' make package
make clean && env PKG_OPTIONS.ghostscript='-x11 -fontconfig cups ' make package
make clean && env PKG_OPTIONS.ghostscript='-fontconfig x11 cups ' make package
(以下略)
これを shell に流し込むことにした。 それで、残された記録を次のように探索する
egrep 'PKG_OPTIONS.ghostscript|T1_Enco|Creating binary' /tmp/log
        PKG_OPTIONS.ghostscript = -x11 -fontconfig 
=> Creating binary package /export/CHROOT/usr/pkgsrc/packages/modena/All/ghostscript-9.05.tgz
        PKG_OPTIONS.ghostscript = -fontconfig x11 
=> Creating binary package /export/CHROOT/usr/pkgsrc/packages/modena/All/ghostscript-9.05.tgz
        PKG_OPTIONS.ghostscript = -x11 -fontconfig cups 
(以下略)
17:44 から 20:59 までかかった(信じられないくらい計算しやすい終了時刻) 3:15 分。正常完走。
modena@makoto 20:46:28/120331(..wip/ghostscript)% egrep 
   'PKG_OPTIONS.ghostscript|T1_Enco|Creating binary' /tmp/log  |wc
      64     336    4944

しかし Mac OS X では問題がある。:

Undefined symbols:
  "_gs_romfs_buildtime", referenced from:
      _gs_romfs_buildtime$non_lazy_ptr in gsiorom.o
  "_gs_romfs", referenced from:
      _gs_romfs$non_lazy_ptr in gsiorom.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gnumake[2]: *** [sobin/libgs.9.05.dylib] Error 1
gnumake[1]: *** [so-subtarget_1] Error 2
gnumake: *** [so] Error 2
*** Error code 2

Stop.
bmake: stopped in /Users/makoto/pkgsrc/wip/ghostscript
*** Error code 1
in ghostscript-9.05/
base/gsiorom.c:    extern const time_t gs_romfs_buildtime;
base/gsiorom.c:    pstat->st_mtime = gs_romfs_buildtime;
base/gsiorom.c:    pstat->st_ctime = gs_romfs_buildtime;
base/mkromfs.c:    fprintf(out,
	"    time_t gs_romfs_buildtime = %lld;\n\n", (long long)time(NULL));
soobj/gsromfs1.c:    time_t gs_romfs_buildtime = 1333199872;
soobj/gsromfs1_.c:    time_t gs_romfs_buildtime = 1333199872;
Patch for 9.02 for Darwin (fink)



最近の日記
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)