didbs-0.0.6 Development Bootstrap Tooling
#1
didbs-0.0.6 Development Bootstrap Tooling
didbs-0.0.6 - Irix Development Bootstrapper - For Developers

This is a torrent with archives of the built (and source, if you want it) artefacts produced by didbs:

https://github.com/danielhams/didbs

Maybe a mistake - but I made it available as a torrent to reduce strain - if anyone is willing to host the files via FTP that's great.

Care! The complete contents are just over 4 Gig! You probably only want the "non-builder" pieces. Select only the pieces you want before commiting to your download. See below.

How to use:

  • Create /usr/didbs owned by your user, the archives should be extracted under there as your user.
There are  two archives of interest (sha256sums):

(1) 9694fcd79072253c799fbbc89c30bc8e6f2ad5b7a2869f1251a962af4af6562c  didbs-bin-0.0.6.tar.gz

This is probably the one you are interested in - and as example will create:


Code:
/usr/didbs/0.0.6/bin/ls (etc)

/usr/didbs/0.0.6/lib/libiconv.so (etc)


Of interest #1 - if you want to use the included sshd, there is a shameless crib of the neko_sshd init.d script in the bonus/ directory. You'll need to disable existing sshd, copy that script to /etc/init.d/ and generate new sshd_keys, tweak config of course.

Of interest #2 - All of the contents of didbs are built with the mipspro compiler - but there are builds of both gcc4.7.1 and gcc8.2.0 - the 8.2.0 is experimental (should be OK for C).

Look in /usr/didbs/0.0.6/gbs4_1/ and /usr/didbs/0.0.6/gbs8_1/

(2) f8c1b127e26432af8a0bcc38f1b66a69457a254b30cab3d15f4cfe094eff42a1  didbs-builder-0.0.6.tar.gz

This is the complete build set of source/artefacts created during the build. If you find bugs and want to tweak / rebuild stuff, this might help. Includes the 0.0.6 didbs bootstrap environment too.

So, what tools/packages are included?

Package list as follows:


Code:
XML-Parser-2.44
autoconf-2.69
automake-1.16.1
bash-5.0
binutils-2.17
binutils-2.19.1
bison-3.4.1
boost_1_35_0
bzip2-1.0.6
cmake-2.8.12.2
coreutils-8.30
curl-7.61.0
db-5.3.28
dejagnu-1.6.2
diffutils-3.6
docbook-xml-4.5
docbook-xsl-nons-1.79.2
emacs-23.3
expat-2.2.6
expect5.45.4
file-5.36
findutils-4.6.0
flac-1.3.2
flex-2.6.4
frotz-2.44
gawk-3.1.8
gcc-4.7.1
gcc-8.2.0
gdb-6.8
gettext-0.19.8.1
git-2.17.0
gmp-6.1.2
gnutls-3.5.19
grep-3.1
grep-3.3
groff-1.22.4
gzip-1.9
help2man-1.47.10
isl-0.18
jpeg-9c
less-530
libXpm-3.5.12
libarchive-3.3.2
libffi-3.2.1
libiconv-1.16
libogg-1.3.3
libpipeline-1.5.1
libpng-1.6.34
libsndfile-1.0.28
libtool-2.4.6
libunistring-0.9.10
libvorbis-1.3.5
libxml2-2.9.9
libxslt-1.1.33
lynx2.8.9rel.1
m4-1.4.18
make-4.2.1
man-db-2.8.5
mpc-1.1.0
mpfr-4.0.1
mpg123-1.25.10
nc110
ncurses-6.1
neofetch-5.0.0
nettle-3.4
openssh-7.9p1
openssl-1.1.1a
perl-5.28.2
pkg-config-0.29.2
readline-8.0
rsync-3.1.3
rxvt-unicode-9.22
sed-4.5
sqlite-autoconf-3220000
tar-1.30
tcl8.6.9
tcsh-6.20.00
texinfo-6.6
tiff-4.0.9
tk8.6.9
unrar
unzip60
uuid-1.6.2
vim81
wget-1.20.1
which-2.21
xli-2005-02-27
xman-1.1.4
xosview-1.20
xz-5.2.4
zlib-1.2.11


Kr,

Dan


Attached Files
.gz didbs-0.0.6.torrent.tar.gz Size: 38.24 KB  Downloads: 243
mrthinlysliced
Unregistered

Trade Count: (0)
 
Reply
06-17-2019, 04:59 PM
#2
RE: didbs-0.0.6 Development Bootstrap Tooling
Tar the torrent file

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,239
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
06-17-2019, 06:12 PM
#3
RE: didbs-0.0.6 Development Bootstrap Tooling
(06-17-2019, 06:12 PM)Raion Wrote:  Tar the torrent file

I wanted to say Thanks Raion :-) Needed to be .tar.gz (.tgz not accepted) - All good now !

Kr,

Dan
mrthinlysliced
Unregistered

Trade Count: (0)
 
Reply
06-17-2019, 06:39 PM
#4
RE: didbs-0.0.6 Development Bootstrap Tooling
awesome work mrthinlysliced!!
gijoe77
Tezro

Trade Count: (1)
Posts: 644
Threads: 34
Joined: Jun 2018
Find Reply
06-18-2019, 03:03 AM
#5
RE: didbs-0.0.6 Development Bootstrap Tooling
For those interested in checking what package version and/or patches didbs uses -

Under the /packages/ area (in git too) - you can find the package name and inside there a ".packagedef"

e.g.


Code:
[dan@leafy ~]$ cd /usr/didbs/didbs.git/
[dan@leafy didbs.git]$ cat packages/sed/sed.packagedef
packageSource=http://ftp.gnu.org/gnu/sed/sed-4.5.tar.xz
packageFile=sed-4.5.tar.xz
packageChecksum=ade8f8c2c548bf41f74db2dcfc37e4e3
packageExtraction=tarxfsystemhelper.sh
packageDir=sed-4.5
packagePatch=sed.fixtimeheaders.patch
expectedToolList=
dependenciesList=make,tar,xz
envModifs=setupenv.sh
configureRecipe=configureit
buildRecipe=buildit
installRecipe=installit
passesChecksIndicator=1


You see the source where it fetches it from and what version - and also the dependencies didbs uses when it works out the order things must be installed in.

The "setenv.sh" it mentions here is the custom per package environment that's setup - it's just a shell script:


Code:
[dan@leafy didbs.git]$ cat packages/sed/setupenv.sh    
#
CC=$DIDBS_CC
#CFLAGS="$DIDBS_ARCH_CFLAGS -O1"
CFLAGS="$DIDBS_ARCH_CFLAGS $DIDBS_O3_IPA_CFLAGS $DIDBS_NOWARN_CFLAGS"
LDFLAGS="$DIDBS_ARCH_LDFLAGS $DIDBS_IPA_LDFLAGS $DIDBS_NOWARN_LDFLAGS"
export CC CFLAGS LDFLAGS


This isn't run directly - but is "sourced" by the actual configureit, buildit and installit scripts in the same directory before they are run. These scripts are the things doing the real work - at a basic level the "bootstrap.pl" script is just a dependency engine and some way to call these scripts.

Sed's "configureit":

Code:
#!/bin/sh
BUILDDIR=$1
INSTALLDIR=$2
EXTRAARGS=$3
echo $BUILDDIR
echo $INSTALLDIR
echo $EXTRAARGS
. ./setupenv.sh
cd $BUILDDIR || exit -1
gl_cv_func_select_supports0=no gl_cv_func_select_detects_ebadf=no ./configure --prefix=$INSTALLDIR || exit -1
exit 0

Bonus for those that have installed didbs - using the "--buildshell package" arguments to bootstrap.pl will launch you a bash shell inside the package directory with the correct environment set up for fixing bugs or running package tests.


Code:
[dan@leafy didbs.git]$ ./bootstrap.pl --buildshell sed
2019-06-20 17:56:03.507.317 didbs bootstrapper script version 0.0.6
2019-06-20 17:56:03.508.520
2019-06-20 17:56:03.509.053 Adding found config.
 To start fresh, rm /usr/didbs/didbs.git/bootstrap.conf
2019-06-20 17:56:03.509.598 TODO: Check for build prerequisites (7.4.4m, sed etc - see toolstocheckfor.txt)
2019-06-20 17:56:03.526.893 Checking if there is a missing stage...
2019-06-20 17:56:03.527.493 Looking for stage finished file at /usr/didbs/build/stage0/stage.finished
2019-06-20 17:56:03.528.089 currentStage=
2019-06-20 17:56:03.528.623 stage0missing=
2019-06-20 17:56:03.529.175 Setting missing stage to
2019-06-20 17:56:03.529.745 Would attempt to call modify path for stage 'BUILD' ...
2019-06-20 17:56:03.530.348 Reset PATH from /usr/sbin:/sbin:/usr/bsd:/usr/bin:/usr/bin/X11 to /usr/didbs/0_0_6/bin:/usr/sbin:/sbin:/usr/bsd:/usr/bin:/usr/bin/X11
2019-06-20 17:56:03.530.947 Reset LD_LIBRARY_PATH from  to /usr/didbs/0_0_6/lib:
2019-06-20 17:56:03.531.509 Reset LD_LIBRARYN32_PATH from /usr/lib32:/lib32 to /usr/didbs/0_0_6/lib:/usr/lib32:/lib32
2019-06-20 17:56:03.532.098 Reset PKG_CONFIG_PATH from  to /usr/didbs/0_0_6/lib/pkgconfig:
2019-06-20 17:56:03.532.681 Modify the above in defaultenv.vars

2019-06-20 17:56:03.533.524 Looking for packages in /usr/didbs/didbs.git/packages
2019-06-20 17:56:03.565.651 Completed package search of /usr/didbs/didbs.git/packages
2019-06-20 17:56:03.566.121 Reading package definitions...
2019-06-20 17:56:03.641.257 Computing package dependencies and order...
2019-06-20 17:56:04.013.249 Completed package dependencies and order...
2019-06-20 17:56:04.014.340 Package shell for sed
Build shell and environment ready.
SCRIPTLOCATION=/usr/didbs/didbs.git
PACKAGEID=sed
PACKAGEDIR=/usr/didbs/didbs.git/packages/sed
BUILDDIR=/usr/didbs/build/sed/sed-4.5
INSTALLDIR=/usr/didbs/0_0_6
ENVMODIFS=/usr/didbs/didbs.git/packages/sed/setupenv.sh
Current directory is /usr/didbs/build/sed/sed-4.5
[didbsshell dan@leafy sed-4.5]$ pwd
/usr/didbs/build/sed/sed-4.5
[didbsshell dan@leafy sed-4.5]$ env |grep LD_LIBRARY
LD_LIBRARYN32_PATH=/usr/didbs/0_0_6/lib:/usr/lib32:/lib32
LD_LIBRARY_PATH=/usr/didbs/0_0_6/lib:
[didbsshell dan@leafy sed-4.5]$


If you are building a package by hand and want to know what CFLAGS I used, this is the right way to do it.
mrthinlysliced
Unregistered

Trade Count: (0)
 
Reply
06-20-2019, 05:05 PM


Forum Jump:


Users browsing this thread: