I do not see why you need apply those patches. T2 build should be already jail rooted during the build process; hence, normal installation should not be outside of the base root environment. This explains why you got the error.
On Thu, Mar 19, 2009 at 11:22 AM, Jan Rovins <[email protected]> wrote: > > Hi, > > This is the first in a series of postings of things that would not build for > me, > I am seperating them into individual emails, so that they can be tracked > better. > > The first failure was with the net-kit family of packages: > I came across similar failures when building: netkit-base, netkit-telnet, > netkit-tftp, netkit-ftp > > They all get the install outside of basedir error. here is the error text > from netkit-base: > > install -s -m755 inetd /usr/sbin > fl_wrapper.so: write outside basedir (/opt/T2/t2-trunk): /usr/sbin/inetd > make[1]: *** [install] Error 255 > make[1]: Leaving directory > `/opt/T2/t2-trunk/src.netkit-base.GW_5.20090319.104614.8551.loadgen1/netkit-base-0.17/inetd' > make: *** [inetd.install] Error 2 > Due to previous errors, no 1-netkit-base.log file! > (Try enabling xtrace in the config to track an error inside the build > system.) > --- BUILD ERROR --- > > The other netkit packages had similar install errors > > As a quick fix I was able to get it to build by perpending $root to the > confopt's --prefix, but that is probably not the right place to fix it. > Let me know if these errors are reproducable in your stansard T2 regression > tests. > > My environment is a modified embedded-minimal x86 but using glibc. > > These were my "unofficial" workarounds to get it to build: > =================================================================== > --- package/network/netkit-base/netkit-base.conf (revision 32671) > +++ package/network/netkit-base/netkit-base.conf (working copy) > @@ -19,4 +19,4 @@ > } > > hook_add postmake 5 "nkb_inst" > -confopt="--prefix=/usr --root-prefix=/" > +confopt="--prefix=$root/usr --root-prefix=$root" > Index: package/network/netkit-telnet/netkit-telnet.conf > =================================================================== > --- package/network/netkit-telnet/netkit-telnet.conf (revision 32671) > +++ package/network/netkit-telnet/netkit-telnet.conf (working copy) > @@ -14,4 +14,5 @@ > # --- T2-COPYRIGHT-NOTE-END --- > > hook_add prepatch 5 "rm -rf */*,v */RCS" > -confopt="--prefix=/usr" > +#confopt="--prefix=$root/usr --installroot=$root " > +confopt="--prefix=$root/usr" > Index: package/network/netkit-tftp/netkit-tftp.conf > =================================================================== > --- package/network/netkit-tftp/netkit-tftp.conf (revision 32671) > +++ package/network/netkit-tftp/netkit-tftp.conf (working copy) > @@ -12,4 +12,4 @@ > # GNU General Public License can be found in the file COPYING. > # --- T2-COPYRIGHT-NOTE-END --- > > -confopt="--prefix=/usr" > +confopt="--prefix=$root/usr" > Index: package/network/netkit-ftp/netkit-ftp.conf > =================================================================== > --- package/network/netkit-ftp/netkit-ftp.conf (revision 32671) > +++ package/network/netkit-ftp/netkit-ftp.conf (working copy) > @@ -13,4 +13,4 @@ > # GNU General Public License can be found in the file COPYING. > # --- T2-COPYRIGHT-NOTE-END --- > > -confopt="--prefix=/usr" > +confopt="--prefix=$root/usr" > > > Jan > > > > ----------------------------------------------------------- If you wish to > unsubscribe from this mailing, send mail to > [email protected] with a subject of: unsubscribe t2 > ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
