A bit more info on this one,....<br><br>At the bottom of this email I'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> <<a href="mailto:ross.cameron@linuxpro.co.za">ross.cameron@linuxpro.co.za</a>> 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're moving out package management system to NetBSD's <span id="st" name="st" class="st">pkgsrc</span> system.<br>
I'm having a few issues and I was wondering if anyone knows how to proceed further than I'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>=> Required installed package digest>=20010302: digest-20060826 found
<br>===> 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''.<br>=> Checksum SHA1 OK for
busybox-1.3.1.tar.bz2<br>=> Checksum RMD160 OK for busybox-1.3.1.tar.bz2<br>===> Installing dependencies for busybox-1.3.1<br>===> Overriding tools for busybox-1.3.1<br>===> Extracting for busybox-1.3.1<br>===> Patching for
busybox-1.3.1<br>===> Creating toolchain wrappers for busybox-1.3.1<br>===> Configuring for busybox-1.3.1<br>===> Building for busybox-1.3.1<br> HOSTCC scripts/basic/fixdep<br> HOSTCC scripts/basic/split-include
<br> HOSTCC scripts/basic/docproc<br> HOSTCC scripts/kconfig/conf.o<br> HOSTCC scripts/kconfig/kxgettext.o<br> HOSTCC scripts/kconfig/mconf.o<br> SHIPPED scripts/kconfig/zconf.tab.c<br> SHIPPED scripts/kconfig/lex.zconf.c
<br> SHIPPED scripts/kconfig/zconf.hash.c<br> HOSTCC scripts/kconfig/zconf.tab.o<br> HOSTLD 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. "make oldconfig" or<br>*** "make menuconfig" or "make xconfig").<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);"> echo "busybox-1.2.1-1"</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);"> cd "busybox-1.2.1"</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);"> cp "../control/busybox-config" .config
</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);"> make oldconfig</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">
make</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);"> mkdir -p "$DISTDIR/bin"</span><br style="font-weight: bold; color: rgb(51, 51, 255);">
<span style="font-weight: bold; color: rgb(51, 51, 255);"> mkdir -p "$DISTDIR/sbin"</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);"> mkdir -p "$DISTDIR/usr/bin"
</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);"> mkdir -p "$DISTDIR/usr/sbin"</span><br style="font-weight: bold; color: rgb(51, 51, 255);">
<span style="font-weight: bold; color: rgb(51, 51, 255);"> make PREFIX="$DISTDIR" install</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">
mv "$DISTDIR/usr/bin/cut" "$DISTDIR/bin/cut"</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);"> make distclean</span><br style="font-weight: bold; color: rgb(51, 51, 255);">
<span style="font-weight: bold; color: rgb(51, 51, 255);"> cp "../control/busybox-suid-config" .config</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">
make oldconfig</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);"> make</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">
$INSTALL -m 4711 busybox "$DISTDIR/bin/mount"</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);"> ln "$DISTDIR/bin/mount" "$DISTDIR/bin/ping"
</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);"> ln "$DISTDIR/bin/mount" "$DISTDIR/bin/su"</span><br style="font-weight: bold; color: rgb(51, 51, 255);">
<span style="font-weight: bold; color: rgb(51, 51, 255);"> ln "$DISTDIR/bin/mount" "$DISTDIR/bin/umount"</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">
ln "$DISTDIR/bin/mount" "$DISTDIR/usr/bin/passwd"</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);"> ln "$DISTDIR/bin/mount" "$DISTDIR/usr/bin/traceroute"
</span><br style="font-weight: bold; color: rgb(51, 51, 255);"><span style="font-weight: bold; color: rgb(51, 51, 255);">}</span><br></div>