3.9. Trial project: results

The current section demonstrates the following elements of work with any system:

how to install build environment, or working directory.

For that one needs to download the release of any system, and after that execute:
    tar xzf any-<version>.tgz
    mv any-<version> dev_dir
    cd dev_dir/
    export PATH=$(pwd)/rrr/bin:$PATH

how to set up the project configuration.

For that one needs to set up options for the platform in rdd.def file: hardware architecture, toolchain, operating system. Set up the format for binary package if needed. There is an example below for one of several possible combinations of settings.
rdd_prf_id = any, amd64, gcc, linux, deb, packdeb

Besides, it is recommended to set up options for more correct package handling in rdd.def file:
any_util_root = fakeroot
any_release_id = abcd

how to install source materials for building.

For that one needs to have directory with package anybuild, which is specific file with build code. The example shows how we have installed it from the draft inside of the working directory. The sources of the package are needed as well.
    cp -a any/sample-builds/xz-5.2.5/ .
    wget https://tukaani.org/xz/xz-5.2.5.tar.gz
    # backup address
    #wget https://opendistro.org/var/stat/xz-5.2.5.tar.gz
    mv xz-5.2.5.tar.gz ./xz-5.2.5/

how to build a package.
    any do id xz-5.2.5
    # outputting log to terminal
    any do id,output xz-5.2.5

build results.
file build/pack/amd64/xz-5.2.5-*, built installable archive with a package.
file with log build/log/amd64/xz-5.2.5.log.
directory build/image/amd64/xz-5.2.5/, which contains package files, installed before the packing.
directory build/work/amd64/xz-5.2.5/, where the build process has taken place.

Rebuild the package xz-5.2.5 once more to get the most actual variant with all settings applied.

The next section will demonstrate through the same example the details on any system design and functioning.