Last Update: "2008/11/13 10:21:05 makoto"
bulk build
bulk build とは、NetBSD に用意されているアプリケーションパッケージ
の
pkgsrc
を全てコンパイルする試みです。
例えば 2005/09 現在ですと、5,500 種くらいあります。
これらの全ての実行形式(binary package) を作ります。
簡単には、次のようにします。
# cd /usr/pkgsrc/mk/bulk
# cp build.conf-example build.conf
# vi build.conf
# sh build
etc/mk.conf:
ttyp1:makoto@umax 14:20:11/050419(~)> cat /etc/mk.conf
ACCEPTABLE_LICENSES+=no-profit
X11BASE=/usr/X11
X11BASE= /usr/X11
X11_TYPE= native
ProjectRoot= /usr/X11
X11ROOTDIR= /usr/X11
X11PREFIX= /usr/X11
-
graphics/xpm で Imakefile.c:9: Imake.tmpl: No such file or directory ->
xpkgwedge
http://www.jp.netbsd.org/ja/JP/ml/port-powerpc-ja/200503/msg00004.html
- gimp
Index: Makefile
===================================================================
RCS file: /e/st4200/cvsync/pkgsrc/graphics/gimp/Makefile,v
retrieving revision 1.115
diff -u -r1.115 Makefile
--- Makefile 16 Mar 2005 19:06:09 -0000 1.115
+++ Makefile 13 Apr 2005 13:01:46 -0000
@@ -68,6 +68,7 @@
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../graphics/libwmf/buildlink3.mk"
+.include "../../graphics/xpm/buildlink3.mk"
.include "../../print/gimp-print-lib/buildlink3.mk"
.include "../../textproc/intltool/buildlink3.mk"
.include "../../www/libgtkhtml/buildlink3.mk"
-
/usr/X11/include/X11/Xlib.h
- suse_base/Makefile pkg/29461
その他
- apache2 / with-escape-sequence
--- /dev/null 2005-04-14 09:41:56.000000000 +0900
+++ apache2/patches/patch-ax 2005-02-12 14:02:35.000000000 +0900
@@ -0,0 +1,11 @@
+--- modules/metadata/mod_mime_magic.c-orig 2005-02-12 14:01:38.000000000 +0900
++++ modules/metadata/mod_mime_magic.c 2005-02-12 01:38:51.000000000 +0900
+@@ -2014,7 +2014,7 @@
+ if (STREQ(p->name, token)) {
+ magic_rsl_puts(r, types[p->type]);
+ if (has_escapes)
+- magic_rsl_puts(r, " (with escape sequences)");
++ magic_rsl_puts(r, " (with-escape-sequences)");
+ return 1;
+ }
+ }
Index: apache2/distinfo
===================================================================
RCS file: /e/owada/cvsync/pkgsrc/www/apache2/distinfo,v
retrieving revision 1.35
diff -u -r1.35 distinfo
--- apache2/distinfo 3 Jan 2005 06:59:31 -0000 1.35
+++ apache2/distinfo 12 Feb 2005 05:03:33 -0000
@@ -14,3 +14,4 @@
SHA1 (patch-ar) = c6769617cd9111f6d233d68883c71988a36fbbce
SHA1 (patch-as) = c6fb574d5d96024e641816569f059bca4368fcec
SHA1 (patch-at) = dd9a3eb14b3e20876eca6eff968e82326a53b7d9
+SHA1 (patch-ax) = a7054114f4c31dff3cea2b0e73bb8541657d27b0
- php4 に mbstring を加える
(this is obsolete, see misc/php-mbstring)
Index: Makefile.common
===================================================================
RCS file: /e/st4200/cvsync/pkgsrc/www/php4/Makefile.common,v
retrieving revision 1.47
diff -u -r1.47 Makefile.common
--- Makefile.common 11 Apr 2005 20:02:57 -0000 1.47
+++ Makefile.common 15 Apr 2005 01:21:40 -0000
@@ -32,3 +32,6 @@
PKG_SYSCONFVAR?= php
.include "../../mk/bsd.prefs.mk"
+
+CONFIGURE_ARGS+= --enable-i18n --enable-mbstring --enable-mbstr-enc-trans
+CONFIGURE_ARGS+= --enable-trans-sid --enable-session
- Xaw3d problem
See diary in Japanese at
2005/8/10
- inputmethod/kinput2
cd inputmethod/kinput2
patch -s -p0 < ~/Mail/netbsd/tech-pkg-ja/3019
- sj3-lib
cd inputmethod
patch -s -p0 < ~/Mail/netbsd/tech-pkg-ja/3035
(sj3-server-bin should be pkg_delete and make clean && make package)
- samba
これは実行時に問題が起きます。
Starting nmbd.
/usr/pkg/sbin/nmbd: Unsupported relocation type 6 in non-PLT relocations
Starting smbd.
/usr/pkg/sbin/smbd: Unsupported relocation type 6 in non-PLT relocations
とりあえず、次の変更でしのげます。See also:
pkg/38961
Index: Makefile
===================================================================
RCS file: /e/s900/cvsync/pkgsrc/net/samba/Makefile,v
retrieving revision 1.165
diff -u -r1.165 Makefile
--- Makefile 1 Oct 2006 14:58:38 -0000 1.165
+++ Makefile 11 Oct 2006 02:11:43 -0000
@@ -57,6 +57,7 @@
CONFIGURE_ARGS+= --with-swatdir=${PREFIX}/share/samba/swat
CONFIGURE_ARGS+= --with-libsmbclient
+CONFIGURE_ARGS+= --disable-pie
.include "../../converters/libiconv/buildlink3.mk"
CONFIGURE_ARGS+= --with-libiconv=${BUILDLINK_PREFIX.iconv}
- x11/kterm
cc -o kterm -O2 -L/usr/pkg/lib -L/usr/pkg//lib button.o charproc.o cursor.o data.o input.o main.o menu.o misc.o screen.o scrollbar.o tabs.o util.o VTPrsTbl.o gset.o convert.o xim.o kinput2.o convlib.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXp -lXext -lX11 -L/usr/pkg//lib -ltermcap -lutil -Wl,-rpath,/usr/pkg/lib:/usr/pkg//lib
ld: cannot find -lXpm
ttyp4:makoto@s900 8:09:06/070323(...x11/kterm)> cvs diff
cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/x11/kterm/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- Makefile 27 Dec 2006 13:37:42 -0000 1.39
+++ Makefile 22 Mar 2007 23:06:33 -0000
@@ -42,4 +42,5 @@
.include "../../x11/libXp/buildlink3.mk"
.include "../../mk/xaw.buildlink3.mk"
+.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
cvs diff: Diffing files
cvs diff: Diffing patches
cvs diff: Diffing pkg
ttyp4:makoto@s900 8:14:41/070323(...x11/kterm)>
- mk/check
=> Checking for portability problems in extracted files
awk: /export/pkgsrc/mk/check/check-portability.awk:54: fatal: Unmatched [ or [^: /[[:space:]]#.*/
Index: check/check-portability.awk
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/mk/check/check-portability.awk,v
retrieving revision 1.4
diff -u -r1.4 check-portability.awk
--- check/check-portability.awk 13 Nov 2006 23:21:53 -0000 1.4
+++ check/check-portability.awk 23 Mar 2007 01:12:59 -0000
@@ -51,7 +51,7 @@
# Strip comments
line = $0;
gsub(/^#.*/, "", line);
- gsub(/[[:space:]]#.*/, "", line);
+ gsub(/\[\[:space:\]\]#.*/, "", line);
check_random(line);
check_test_eqeq(line);
ttyp3:makoto@s900 10:14:29/070323(...pkgsrc/mk)>
|