Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Custom build issues
On 04.06.2015 00:25, Kamil Rytarowski wrote:
> On 03.06.2015 23:50, Kamil Rytarowski wrote:
>> On 03.06.2015 23:17, Kamil Rytarowski wrote:
>>>
>>> I'm going to investigate these debug files..
>>>
>>
>> Hello
>>
>> There is no p++.debug, because p++ is a symlink to pcc
>>
>> # ls -l /usr/bin/g++
>> -r-xr-xr-x 2 root wheel 694998 May 30 14:32 /usr/bin/g++
>>
>
> Proper paste below:
>
> # ls -l /usr/bin/p++
> lrwxr-xr-x 1 root wheel 12 May 30 14:32 /usr/bin/p++ -> /usr/bin/pcc
>
I'm attaching a patch for building with pigz replacing gzip
(MKPIGZGZIP=yes) and .debug generation.
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
Home |
Main Index |
Thread Index |
Old Index