Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Custom build issues



On Thu, 4 Jun 2015, Kamil Rytarowski wrote:

On 04.06.2015 00:25, Kamil Rytarowski wrote:

I'm attaching a patch for building with pigz replacing gzip
(MKPIGZGZIP=yes) and .debug generation.

No patch attached?


gzip is a link to pigz, for some reason hard-link:

# ls -i /usr/bin/gzip
374346 /usr/bin/gzip
# ls -i /usr/bin/pigz
374346 /usr/bin/pigz

The magic is done in external/zlib/pigz/bin/pigz/Makefile

In the patch I'm adding a new keyword pigzgzip and I use it to blacklist
gzip.debug. It's tested to work with recent -current.

Please review and apply.

With these changes (p++ and pigzgzip) I can build cleanly my NetBSD
sources with my personalized setup.

Index: distrib/sets/sets.subr
===================================================================
RCS file: /public/netbsd-rsync/src/distrib/sets/sets.subr,v
retrieving revision 1.164
diff -u -r1.164 sets.subr
--- distrib/sets/sets.subr      28 May 2015 14:36:44 -0000      1.164
+++ distrib/sets/sets.subr      4 Jun 2015 00:30:58 -0000
@@ -249,6 +249,7 @@
#      pf                      ${MKPF} != no
#      pic                     ${MKPIC} != no
#      picinstall              ${MKPICINSTALL} != no
+#      pigzgzip                ${MKPIGZGZIP} != no
#      postfix                 ${MKPOSTFIX} != no
#      profile                 ${MKPROFILE} != no
#      perfuse                 ${MKPERFUSE} != no
Index: distrib/sets/lists/debug/mi
===================================================================
RCS file: /public/netbsd-rsync/src/distrib/sets/lists/debug/mi,v
retrieving revision 1.116
diff -u -r1.116 mi
--- distrib/sets/lists/debug/mi 29 May 2015 12:38:18 -0000      1.116
+++ distrib/sets/lists/debug/mi 4 Jun 2015 00:37:21 -0000
@@ -543,7 +543,7 @@
./usr/libdata/debug/usr/bin/grotty.debug       comp-groff-debug
groff,debug
./usr/libdata/debug/usr/bin/gss.debug          comp-krb5-debug
kerberos,debug,obsolete
./usr/libdata/debug/usr/bin/gsstool.debug      comp-krb5-debug
kerberos,debug
-./usr/libdata/debug/usr/bin/gzip.debug         comp-util-debug
debug
+./usr/libdata/debug/usr/bin/gzip.debug         comp-util-debug
!pigzgzip,debug
./usr/libdata/debug/usr/bin/head.debug         comp-util-debug
debug
./usr/libdata/debug/usr/bin/hesinfo.debug      comp-hesiod-debug
hesiod,debug
./usr/libdata/debug/usr/bin/hexdump.debug      comp-util-debug
debug


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index