From: Erich T. <eri...@th...> - 2021-11-21 19:05:53
Attachments:
OpenPGP_signature
|
Hi Folks OK I may be a bit old fashioned as I believe a build system is supposed to run without hickups and definitely without crashing. Ours is not. the following packages fail to build for i486 protobuf-c,kismet,rtty,pmacctd,ca-certificates Also in the current master mimalloc fails, I fixed that in my environment but I feel like this should be done in a generic way, e.g. the standard should not crash. cheers ET |
From: KP.Kirchdoerfer <ka...@be...> - 2021-11-22 16:22:45
|
Hi Erich Am Sonntag, 21. November 2021, 20:05:18 CET schrieb Erich Titl: > Hi Folks > > OK I may be a bit old fashioned as I believe a build system is supposed > to run without hickups and definitely without crashing. Agreed. > Ours is not. > > the following packages fail to build for i486 > > protobuf-c,kismet,rtty,pmacctd,ca-certificates for protobuf-c (and therefor kismet you need a protobuf-c compiler on the host. like protobuf-c-compiler 1.3.3-1build2 amd64 Protocol Buffers C compiler (protobuf-c) on an ubuntu system. For rtty you may need libevdev2 on the host. The remaining packages listed above should compile AFAIK without prerequisites - at least it does for me. What says the logs? > Also in the current master mimalloc fails, I fixed that in my > environment but I feel like this should be done in a generic way, e.g. > the standard should not crash. A more generic solution shall be "kernel based" - it fails with the i486/wrap kernel, but shall build with i686 (and geode?). It build with arm and x86_64 toolchains. kp > cheers > > ET |
From: Erich T. <eri...@th...> - 2021-11-22 18:39:26
Attachments:
OpenPGP_signature
|
Hi KP Am 22.11.2021 um 17:03 schrieb KP.Kirchdoerfer: > Hi Erich > > Am Sonntag, 21. November 2021, 20:05:18 CET schrieb Erich Titl: >> Hi Folks >> >> OK I may be a bit old fashioned as I believe a build system is supposed >> to run without hickups and definitely without crashing. > > Agreed. > >> Ours is not. >> >> the following packages fail to build for i486 >> >> protobuf-c,kismet,rtty,pmacctd,ca-certificates > > for protobuf-c (and therefor kismet you need a protobuf-c compiler on the > host. So basically to compile with itself. > > like > protobuf-c-compiler 1.3.3-1build2 amd64 > Protocol Buffers C compiler (protobuf-c) > > on an ubuntu system. So much for portable code. > > For rtty you may need libevdev2 on the host. > dito. > The remaining packages listed above should compile AFAIK without prerequisites > - at least it does for me. Will have a look > > What says the logs? For protobuf-c there is something missing when the build tries to execute protoc. protoc is built but is missing something. > >> Also in the current master mimalloc fails, I fixed that in my >> environment but I feel like this should be done in a generic way, e.g. >> the standard should not crash. > > A more generic solution shall be "kernel based" - it fails with the i486/wrap > kernel, but shall build with i686 (and geode?). > It build with arm and x86_64 toolchains. Yes, basically this should be built in either the configure code which then can decide to abort cleanly or like in my case I checked for the buildtool environment and skipped the build. Of course buildpacket will barf but that is the least of my concerns. cheers ET |
From: Erich T. <eri...@th...> - 2021-11-22 20:27:29
Attachments:
OpenPGP_signature
|
Hi KP Am 22.11.2021 um 19:38 schrieb Erich Titl: > Hi KP > ....> >> >> For rtty you may need libevdev2 on the host. >> Reading package lists... Done Building dependency tree Reading state information... Done libevdev2 is already the newest version (1.9.0+dfsg-1ubuntu0.1). mega@leafbuilder:~/leaf/devel/bering-uclibc$ sudo apt-get install libevdev-dev Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: libevdev-doc The following NEW packages will be installed: libevdev-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 48.7 kB of archives. After this operation, 287 kB of additional disk space will be used. Get:1 http://ch.archive.ubuntu.com/ubuntu focal-updates/main amd64 libevdev-dev amd64 1.9.0+dfsg-1ubuntu0.1 [48.7 kB] Fetched 48.7 kB in 1s (59.2 kB/s) Selecting previously unselected package libevdev-dev:amd64. (Reading database ... 148548 files and directories currently installed.) Preparing to unpack .../libevdev-dev_1.9.0+dfsg-1ubuntu0.1_amd64.deb ... Unpacking libevdev-dev:amd64 (1.9.0+dfsg-1ubuntu0.1) ... Setting up libevdev-dev:amd64 (1.9.0+dfsg-1ubuntu0.1) ... Processing triggers for man-db (2.9.1-1) ... mega@leafbuilder:~/leaf/devel/bering-uclibc$ ./buildtool.pl build rtty make the list of required source packages: nothing to do [0.K.] make the list of required build packages: rtty [0.K.] build source/package: rtty ------------------------ calling 'make build' for rtty make build failed for /home/mega/leaf/devel/bering-uclibc/source/i486-unknown-linux-uclibc/rtty/buildtool.mk , please have a look at the logfile /home/mega/leaf/devel/bering-uclibc/log/buildtoollog at /home/mega/leaf/devel/bering-uclibc/buildtool/Make.pm line 424. make: Entering directory '/home/mega/leaf/devel/bering-uclibc/source/i486-unknown-linux-uclibc/rtty' mkdir -p /home/mega/leaf/devel/bering-uclibc/build/i486-unknown-linux-uclibc/rtty mkdir -p /home/mega/leaf/devel/bering-uclibc/build/i486-unknown-linux-uclibc/rtty/etc/init.d mkdir -p /home/mega/leaf/devel/bering-uclibc/build/i486-unknown-linux-uclibc/rtty/etc/default ( cd rtty-7.4.2; cmake . -DCMAKE_C_COMPILER=i486-unknown-linux-uclibc-gcc -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_FIND_ROOT_PATH=/home/mega/leaf/devel/bering-uclibc/build/i486-unknown-linux-uclibc/rtty ) CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message): Could NOT find Libev (missing: LIBEV_LIBRARY LIBEV_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE) cmake/Modules/FindLibev.cmake:25 (find_package_handle_standard_args) src/CMakeLists.txt:7 (find_package) cheers ET |
From: KP.Kirchdoerfer <ka...@be...> - 2021-11-23 14:58:18
|
Am Montag, 22. November 2021, 21:26:48 CET schrieb Erich Titl: > Hi KP > > Am 22.11.2021 um 19:38 schrieb Erich Titl: > > > Hi KP > > > > ....> > > >> > >> > >> For rtty you may need libevdev2 on the host. > >> > >> > > > Reading package lists... Done > Building dependency tree > Reading state information... Done > libevdev2 is already the newest version (1.9.0+dfsg-1ubuntu0.1). > > mega@leafbuilder:~/leaf/devel/bering-uclibc$ sudo apt-get install > libevdev-dev > Reading package lists... Done > Building dependency tree > Reading state information... Done > Suggested packages: > libevdev-doc > The following NEW packages will be installed: > libevdev-dev > 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. > Need to get 48.7 kB of archives. > After this operation, 287 kB of additional disk space will be used. > Get:1 http://ch.archive.ubuntu.com/ubuntu focal-updates/main amd64 > libevdev-dev amd64 1.9.0+dfsg-1ubuntu0.1 [48.7 kB] > Fetched 48.7 kB in 1s (59.2 kB/s) > Selecting previously unselected package libevdev-dev:amd64. > (Reading database ... 148548 files and directories currently installed.) > Preparing to unpack .../libevdev-dev_1.9.0+dfsg-1ubuntu0.1_amd64.deb ... > Unpacking libevdev-dev:amd64 (1.9.0+dfsg-1ubuntu0.1) ... > Setting up libevdev-dev:amd64 (1.9.0+dfsg-1ubuntu0.1) ... > Processing triggers for man-db (2.9.1-1) ... > > > mega@leafbuilder:~/leaf/devel/bering-uclibc$ ./buildtool.pl build rtty > make the list of required source packages: nothing to do [0.K.] > make the list of required build packages: rtty [0.K.] > > build source/package: rtty > ------------------------ > calling 'make build' for rtty make build failed for > /home/mega/leaf/devel/bering-uclibc/source/i486-unknown-linux-uclibc/rtty/bu > ildtool.mk , please have a look at the logfile > /home/mega/leaf/devel/bering-uclibc/log/buildtoollog at > /home/mega/leaf/devel/bering-uclibc/buildtool/Make.pm line 424. > > make: Entering directory > '/home/mega/leaf/devel/bering-uclibc/source/i486-unknown-linux-uclibc/rtty' > mkdir -p > /home/mega/leaf/devel/bering-uclibc/build/i486-unknown-linux-uclibc/rtty > mkdir -p > /home/mega/leaf/devel/bering-uclibc/build/i486-unknown-linux-uclibc/rtty/etc > /init.d mkdir -p > /home/mega/leaf/devel/bering-uclibc/build/i486-unknown-linux-uclibc/rtty/etc > /default ( cd rtty-7.4.2; cmake . > -DCMAKE_C_COMPILER=i486-unknown-linux-uclibc-gcc > -DCMAKE_INSTALL_PREFIX=/usr > -DCMAKE_FIND_ROOT_PATH=/home/mega/leaf/devel/bering-uclibc/build/i486-unknow > n-linux-uclibc/rtty ) > CMake Error at > /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 > (message): > Could NOT find Libev (missing: LIBEV_LIBRARY LIBEV_INCLUDE_DIR) > Call Stack (most recent call first): > /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 > (_FPHSA_FAILURE_MESSAGE) > cmake/Modules/FindLibev.cmake:25 (find_package_handle_standard_args) > src/CMakeLists.txt:7 (find_package) > Looks like you haven't build libev before...? My log looks different: ( cd rtty-7.4.2; cmake . -DCMAKE_C_COMPILER=i486-unknown-linux-uclibc-gcc - DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_FIND_ROOT_PATH=/leaf/master/build/i486- unknown-linux-uclibc/rtty ) -- The C compiler identification is GNU 9.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /leaf/master/toolchain/i486-unknown-linux- uclibc/bin/i486-unknown-linux-uclibc-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libev: /leaf/master/staging/i486-unknown-linux-uclibc/usr/lib/ libev.so (found version "4.33") -- Found OpenSSL: /leaf/master/staging/i486-unknown-linux-uclibc/usr/lib/ libcrypto.so (found version "1.1.1l") -- Could NOT find WolfSSL (missing: WOLFSSL_LIBRARY WOLFSSL_INCLUDE_DIR) -- Could NOT find MbedTLS (missing: MBEDTLS_LIBRARY MBEDX509_LIBRARY MBEDCRYPTO_LIBRARY MBEDTLS_INCLUDE_DIR) -- Found ZLIB: /leaf/master/staging/i486-unknown-linux-uclibc/usr/lib/libz.so (found version "1.2.11") -- Select OpenSSL as the SSL backend -- Configuring done -- Generating done -- Build files have been written to: /leaf/master/source/i486-unknown-linux- uclibc/rtty/rtty-7.4.2 make -j17 -C rtty-7.4.2 kp > > cheers > > ET |
From: Erich T. <eri...@th...> - 2021-11-23 15:27:37
Attachments:
OpenPGP_signature
|
Hi KP Am 23.11.2021 um 15:58 schrieb KP.Kirchdoerfer: > Am Montag, 22. November 2021, 21:26:48 CET schrieb Erich Titl: >> Hi KP >> ... >> /home/mega/leaf/devel/bering-uclibc/build/i486-unknown-linux-uclibc/rtty/etc >> /default > ( cd rtty-7.4.2; cmake . >> -DCMAKE_C_COMPILER=i486-unknown-linux-uclibc-gcc >> -DCMAKE_INSTALL_PREFIX=/usr >> -DCMAKE_FIND_ROOT_PATH=/home/mega/leaf/devel/bering-uclibc/build/i486-unknow >> n-linux-uclibc/rtty > ) >> CMake Error at >> /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 ...>> > > Looks like you haven't build libev before...? mega@leafbuilder:~/leaf/devel/bering-uclibc$ grep libev conf/i486-unknown-linux-uclibc/installed source libevent source libev build libevent build libev > > My log looks different: > > ( cd rtty-7.4.2; cmake . -DCMAKE_C_COMPILER=i486-unknown-linux-uclibc-gcc - > DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_FIND_ROOT_PATH=/leaf/master/build/i486- > unknown-linux-uclibc/rtty ) Except for the root path the command looks identical but it fails right here. > -- The C compiler identification is GNU 9.4.0 > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done ...> > kp So something is missing but what? The log from the Ubuntu upgrade looks OK to me. cheers ET |