A bit more info on this one,....<br><br>At the bottom of this email I&#39;ve attached my previous busybox build script that works 100%,... how would I get the same functionality in pkgsrc?<br><br>On 05/01/07, <b class="gmail_sendername">
Ross Cameron</b> &lt;<a href="mailto:ross.cameron@linuxpro.co.za">ross.cameron@linuxpro.co.za</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi there list,... Happy New Years!<br><br>I work for a company that produces embedded systems and we&#39;re moving out package management system to NetBSD&#39;s <span id="st" name="st" class="st">pkgsrc</span> system.<br>
I&#39;m having a few issues and I was wondering if anyone knows how to proceed further than I&#39;ve gotten at the moment.
<br><br>Host operating system is roughly a standard Slackware 11.0 for i386 system.<br><br>Below is the output of my bmake (BSD make) command,... before anyone asks my Makefile overrides bmake and calls gmake (GNU make).
<br>
<br><div style="margin-left: 40px; color: rgb(51, 51, 255); font-weight: bold;">root@seyos-devel:/usr/<span id="st" name="st" class="st">pkgsrc</span>/sysutils/busybox# bmake<br>=&gt; Required installed package digest&gt;=20010302: digest-20060826 found
<br>===&gt; Skipping vulnerability checks.
<br>WARNING: No /usr/<span id="st" name="st" class="st">pkgsrc</span>/distfiles/pkg-vulnerabilities file found.<br>WARNING: To fix, install the <span id="st" name="st" class="st">pkgsrc</span>/security/audit-packages<br>
WARNING: package and run: ``/usr/pkg/sbin/download-vulnerability-list&#39;&#39;.<br>=&gt; Checksum SHA1 OK for 
busybox-1.3.1.tar.bz2<br>=&gt; Checksum RMD160 OK for busybox-1.3.1.tar.bz2<br>===&gt; Installing dependencies for busybox-1.3.1<br>===&gt; Overriding tools for busybox-1.3.1<br>===&gt; Extracting for busybox-1.3.1<br>===&gt; Patching for 
busybox-1.3.1<br>===&gt; Creating toolchain wrappers for busybox-1.3.1<br>===&gt; Configuring for busybox-1.3.1<br>===&gt; Building for busybox-1.3.1<br>&nbsp; HOSTCC&nbsp; scripts/basic/fixdep<br>&nbsp; HOSTCC&nbsp; scripts/basic/split-include
<br>&nbsp; HOSTCC&nbsp; scripts/basic/docproc<br>&nbsp; HOSTCC&nbsp; scripts/kconfig/conf.o<br>&nbsp; HOSTCC&nbsp; scripts/kconfig/kxgettext.o<br>&nbsp; HOSTCC&nbsp; scripts/kconfig/mconf.o<br>&nbsp; SHIPPED scripts/kconfig/zconf.tab.c<br>&nbsp; SHIPPED scripts/kconfig/lex.zconf.c
<br>&nbsp; SHIPPED scripts/kconfig/zconf.hash.c<br>&nbsp; HOSTCC&nbsp; scripts/kconfig/zconf.tab.o<br>&nbsp; HOSTLD&nbsp; scripts/kconfig/conf<br>scripts/kconfig/conf -s <a href="http://Config.in" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Config.in</a><br>***<br>*** You have not yet configured your kernel!
<br>***<br>*** Please run some configurator (e.g. &quot;make oldconfig&quot; or<br>*** &quot;make menuconfig&quot; or &quot;make xconfig&quot;).<br>***<br>make[2]: *** [silentoldconfig] Error 1<br>make[1]: *** [silentoldconfig] Error 2
<br>make: *** [include/autoconf.h] Error 2<br>*** Error code 2<br><br>Stop.<br>bmake: stopped in /usr/<span id="st" name="st" class="st">pkgsrc</span>/sysutils/busybox<br>*** Error code 1<br><br>Stop.<br>bmake: stopped in /usr/
<span id="st" name="st" class="st">pkgsrc</span>/sysutils/busybox<br><br></div>

</blockquote></div><br>Previous working script:<br><div style="margin-left: 40px;"><span style="font-weight: bold; color: rgb(51, 51, 255);">#</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">
# Package: busybox</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);"># Summary: minimalistic set of command line tools</span><br style="font-weight: bold; color: rgb(51, 51, 255);">
<span style="font-weight: bold; color: rgb(51, 51, 255);">#</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">name()</span><br style="font-weight: bold; color: rgb(51, 51, 255);">
<span style="font-weight: bold; color: rgb(51, 51, 255);">{</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; echo &quot;busybox-1.2.1-1&quot;</span>
<br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">}</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><br style="font-weight: bold; color: rgb(51, 51, 255);">
<span style="font-weight: bold; color: rgb(51, 51, 255);">build()</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">{</span><br style="font-weight: bold; color: rgb(51, 51, 255);">
<span style="font-weight: bold; color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; cd &quot;busybox-1.2.1&quot;</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; cp &quot;../control/busybox-config&quot; .config
</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; make oldconfig</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">
&nbsp;&nbsp;&nbsp; make</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; mkdir -p &quot;$DISTDIR/bin&quot;</span><br style="font-weight: bold; color: rgb(51, 51, 255);">
<span style="font-weight: bold; color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; mkdir -p &quot;$DISTDIR/sbin&quot;</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; mkdir -p &quot;$DISTDIR/usr/bin&quot;
</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; mkdir -p &quot;$DISTDIR/usr/sbin&quot;</span><br style="font-weight: bold; color: rgb(51, 51, 255);">
<span style="font-weight: bold; color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; make PREFIX=&quot;$DISTDIR&quot; install</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">
&nbsp;&nbsp;&nbsp; mv &quot;$DISTDIR/usr/bin/cut&quot; &quot;$DISTDIR/bin/cut&quot;</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; make distclean</span><br style="font-weight: bold; color: rgb(51, 51, 255);">
<span style="font-weight: bold; color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; cp &quot;../control/busybox-suid-config&quot; .config</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">
&nbsp;&nbsp;&nbsp; make oldconfig</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; make</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">
&nbsp;&nbsp;&nbsp; $INSTALL -m 4711 busybox &quot;$DISTDIR/bin/mount&quot;</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; ln &quot;$DISTDIR/bin/mount&quot; &quot;$DISTDIR/bin/ping&quot;
</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; ln &quot;$DISTDIR/bin/mount&quot; &quot;$DISTDIR/bin/su&quot;</span><br style="font-weight: bold; color: rgb(51, 51, 255);">
<span style="font-weight: bold; color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; ln &quot;$DISTDIR/bin/mount&quot; &quot;$DISTDIR/bin/umount&quot;</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">
&nbsp;&nbsp;&nbsp; ln &quot;$DISTDIR/bin/mount&quot; &quot;$DISTDIR/usr/bin/passwd&quot;</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; ln &quot;$DISTDIR/bin/mount&quot; &quot;$DISTDIR/usr/bin/traceroute&quot;
</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">}</span><br></div>