Just started testing today with r49191 and getting further error problems coming from right and left with minimal which worked ok with r49158, so i'm going back to r49158 for now and will work with that one for now by expanding my package selection to include 40-minimal-X and see what happens with adding that set.

Then i'll start moving forward.

So there's more to do, my python.conf and new ninja.desc attached for your perusal. Also the new ninja wants (updated/relocated) re2c by it's info, but with reading further it seems only if using musl/clang.

scsijon

On 03/02/20 23:07, Jan Rovins wrote:
Hi scsijon,

I don't have access to the exact revisions right now, since that machine is off, and I am leaving for work soon, but was using the base image from the latest iso, and I pulled down the T2 SDE last night, so it would be the latest revision as of yesterday. I will post the exact numbers later tonight when I am working on it again.

The actual error was right before that, where configure was bombing out on the previous line, the nscd failure was because the glibc project was then trying to do something that depended on  a piece of ncsd that it should have installed itself, but due to the previous failure, it didn't hapen. But that link on why not to use ncsd was very enlightening, I now understand why it's not a good idea to use it as the final DNS in a distro.


Jan

On 2/3/2020 3:03 AM, scsijon wrote:
It seems to want you to install nscd, however nscd is basically out of date and a nusance, doesn't do all functions.

See https://jameshfisher.com/2018/02/05/dont-use-nscd/.

I don't get your error at present.

What revision T2 build system have you installed by the way? I'm now working towards testing r49191 (but with the 5.4.17 kernel NOT 5.5.1) next and don't intend proceeding further until i'm happy with it, as I have a 'minimum' at r49158 working and want to doc absolutely everything already done first before starting the build process again.

regards
scsijon

On 03/02/20 16:04, Jan Rovins wrote:
Hi Rene,

Can't seem to get at anything useful to trace this, it's failing very early in the T2 wrappers, before the glibc debug dir is created.


ERROR-LOG attached.


Jan

On 2/2/20 11:08 PM, Jan Rovins wrote:
Hi Rene & List.

Just got my new fast build server set up, and saw that the new iso was out, so I figured that I'd try a fresh T2 chroot build with the latest from svn.

Attached are the scripts that I'm using to set up the chroots, if you wan to review them & share them on the site.

I will send outy notes on each regression as I hit them.

The build is a minimal generic, without anything special.

The first thing that I ran into was with glibc stage 0:

===[eval_config_command:284 (last $?=0)> ../configure --prefix=/opt/t2-trunk/build/default-9.0-svn-generic-x86-64-linux/usr --enable-hacker-mode --with-headers=/opt/t2-trunk/build/default-9.0-svn-generic-x86-64-linux/usr/include --with-libpam --with-pam --enable-libpam --enable-pam --with-tls --with-__thread --enable-obsolete-rpc --disable-profile --disable-multi-arch --enable-kernel=2.6.32 --with-fp --with-gnu-binutils --build=-nocross-linux-gnu --host=x86_64-t2-linux-gnu --cache-file=./config.cache --without-gd
configure: loading cache ./config.cache
checking build system type... config.sub: invalid option -nocross-linux-gnu
Try `config.sub --help' for more information.
configure: error: /bin/sh ../scripts/config.sub -nocross-linux-gnu failed
Due to previous errors, no 0-glibc.log file!
(Try enabling xtrace in the config to track an error inside the build system.)
--- BUILD ERROR ---

Will start on debugging this next, and send an update shortly.


Jan


# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../python/python.conf
# Copyright (C) 2004 - 2020 The T2 SDE Project
# Copyright (C) 1998 - 2004 ROCK Linux Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---

runpysetup=0

python_postmake() {
        ln -svnf ../lib/python $root/$libdir/python

        cat > $root/etc/profile.d/python3 <<-EOT
                export PYTHON3="$root/$prefix/bin/python3"
EOT
}
atstage toolchain || hook_add postmake 5 "python_postmake"

var_append confopt " " "--install-dir=/$root/usr/lib/python3.7/site-packages/"
var_append confopt " " "--enable-shared --with-threads"
var_append makeinstopt " " "-j1"

# atstage cross && var_append confopt " " " --disable-ipv6"

python_modules() {
        if pkginstalled gdbm; then
                sed -i 's:#gdbm gdbmmodule.c -I/usr/local/include 
-L/usr/local/lib:gdbm gdbmmodule.c -I/usr/include -L/usr/lib:' 
Modules/Setup.dist
        fi

        if pkginstalled readline; then
                sed -i 's:#readline:readline:' Modules/Setup.dist
        fi

        if pkginstalled openssl; then
                sed -i 's:#SSL=/usr/local/ssl:SSL=/usr:' Modules/Setup.dist
                sed -i 's:#_ssl:_ssl:' Modules/Setup.dist
                sed -i 's:#     -DUSE_SSL:      -DUSE_SSL:' Modules/Setup.dist
                sed -i 's:#     -L$(SSL):       -L$(SSL):' Modules/Setup.dist
        fi

        if pkginstalled zlib; then
                sed -i 's:#zlib:zlib:' Modules/Setup.dist
        fi
}
#
atstage toolchain || hook_add preconf 5 "python_modules"

# We can savely ignore these dependencies.
# scsijon no, it's now needed to be there for packages such as pip, meson, 
ninja etc.
# var_append flistrfilter "|" ".*:      /usr/lib.*/python.*/site-packages/.*"

# hardcoded paths
fix_python_libdir() {
        #sed -i "s,/lib\([[:blank:]]\),/${libdir##*/}\1,g" Modules/Setup.dist
        ln -svnf ../lib/python${ver:0:3} $root/$libdir/python${ver:0:3}
}
[[ $libdir = *lib ]] || hook_add preconf 9 "fix_python_libdir"

# toolchain
if atstage toolchain; then
        export LDFLAGS="-Wl,-rpath,${root}${libdir}"
        #hook_add postmake 5 'cp Parser/pgen $root$bindir/python-pgen'
        hook_add postmake 5 'ln -s $root$bindir/python3 $root$bindir/python'
 fi

# scsijon someone check syntax please and enable
# as we are not including python2 we need this added, but only sometimes
# if at stage 5 && notexist '$root/usr/bin/python; then
# hook_add postmake 5 'ln -s $root$bindir/python3 $root$bindir/python'
#fi

# cross-compiling
if atstage cross; then
        var_append configcache ' ' "ac_cv_buggy_getaddrinfo=no"
        var_append configcache ' ' "ac_cv_file__dev_ptmx=yes"
        var_append configcache ' ' "ac_cv_file__dev_ptc=no"
        var_insert CFLAGS ' ' "-I$root/usr/include"
        var_insert LDFLAGS ' ' "-L$root/usr/lib -L$root/lib"
        var_insert LDFLAGS ' ' "-L$builddir/Python-$ver"
        var_append configprefix ' ' "CFLAGS=\"$CFLAGS\""
        var_append configprefix ' ' "LDFLAGS=\"$LDFLAGS\""
fi
[COPY] --- T2-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] T2 SDE: package/.../ninja/ninja.desc
[COPY] Copyright (C) 2017 - 2019 The T2 SDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- T2-COPYRIGHT-NOTE-END ---

[I] Yet another small build system with a focus on speed

[T] Ninja is a small build system with a focus on speed. It differs from
[T] other build systems in two major respects: it is designed to have its
[T] 70input files generated by a higher-level build system, and it isx
[T] designed to run builds as fast as possible.

[U] https://ninja-build.org

[A] Ninja team
[M] Rene Rebe <[email protected]>

[C] base/development
[F] CROSS

[L] APL
[S] Beta
[V] v1.10.0
[P] X 01---5---9 110.000

[CV-URL] https://github.com/ninja-build/ninja/releases
[D] 0 ninja-1.10.0.tar.gz 
https://github.com/ninja-build/ninja/archive/v1.10.0.tar.gz
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to