jaeger changed the topic of #crux-arm to: CRUX-ARM 3.6 Released! - http://crux-arm.nu/Documentation/ReleaseNotes3-6 | Logs: https://libera.irclog.whitequark.org/crux-arm/
<pitillo> onfigure:8222: gcc -c -O2 conftest.c >&5
<pitillo> In file included from conftest.c:10:
<pitillo> /usr/include/mpc.h:287:35: error: unknown type name 'FILE' 287 | __MPC_DECLSPEC void mpcr_out_str (FILE *f, mpcr_srcptr r);
<pitillo> | ^~~~
<pitillo> /usr/include/mpc.h:27:1: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'?
<pitillo> 26 | #include "mpfr.h"
<pitillo> 27 |
<pitillo> libgmp...
crux-arm-bot has joined #crux-arm
<crux-arm-bot> [ crux-ports-core-arm64 ] libgmp: add build=aarch64-unknown-linux-gnu
crux-arm-bot has left #crux-arm [#crux-arm]
beerman has quit [Quit: Reconnecting]
beerman has joined #crux-arm
sajcho has joined #crux-arm
<sajcho> pitillo: can i test rootfs 3.7 on my machine?
sajcho has quit [Quit: Client closed]
<pitillo> of course... any test will provide good feedback and is always welcome
<pitillo> let's see if libmpc bump from this morning helps...
<pitillo> nah, same problem...
<pitillo> locate stdio.h
<pitillo> I don't understand where is the missing include
<pitillo> patching libmpc.h to add stdio.h makea the configure detect mpc right
<pitillo> checking for the correct version of gmp.h... yes checking for the correct version of mpfr.h... yes checking for the correct version of mpc.h... yes checking for the correct version of the gmp/mpfr/mpc libraries... yes
<pitillo> I can see stdin.h included but not stdio.h, so it should be added somewhere but now it's no happening so mpc isn't detectednright (really, the missing header to mansge FILE types
<beerman> newest libmpc should fix that i think
<pitillo> it doesn't I believe
<pitillo> still the missing stdio header error on gcc
sajcho has joined #crux-arm
crux-arm-bot has joined #crux-arm
<crux-arm-bot> [ crux-ports-core-arm64 ] libmpc: overlay for testing missing stdio.h include
crux-arm-bot has left #crux-arm [#crux-arm]
<pitillo> sajcho: -> of course... any test will provide good feedback and is always welcome
<pitillo> which device do you have or plan to deploy the RC?
<sajcho> pittillo: Thank you. I'll let you know when I get some results...
<sajcho> pitillo: tegra186 - Jetson TX2
<pitillo> good for testing the 32b version
<sajcho> It is 64b. NVIDIA Jetson TX2 Developer Kit.
sajcho has quit [Quit: Client closed]
<pitillo> fine too
<pitillo> st1 is going on, currently gcc
sajcho has joined #crux-arm
<sajcho> pitillo: update glibc=ok, libgmp=ok, libmpfr=ok, libmpc (remove sed line)=ok, binutils=ok, gcc-stage1=ok, gcc-stage2 running
<pitillo> sajcho: are you building it from scratch with optimized CFLAGS?
<pitillo> here stage1 passed over gcc and got another problem with pkgutils...
<pitillo> let's see what happens now
<sajcho> -O2 -pipe -march=armv8-a -mtune=generic -Wno-psabi
<pitillo> great
<pitillo> are you using RC as stage0 or are you running a bootstrap?
<sajcho> tar -xf *.rc3.* => chroot => ports -u => update glibc,lib{gmp,mpfr,mpc},binutils - running gcc stage2
<pitillo> another way
<sajcho> after gcc update i will switch to crux-arm-release
<pitillo> inside the jail?
<sajcho> Yes
<pitillo> pkgutils error: https://dpaste.com/7AY98S6CF
<pitillo> # grep archive_read_support_filter_gzip /usr/lib/libarchive.*
<pitillo> grep: /usr/lib/libarchive.a: binary file matches
<pitillo> grep: /usr/lib/libarchive.so: binary file matches
<sajcho> sed -e 's|--static||' -e 's|-static||' -i Makefile https://github.com/sajcho/core-aarch64/blob/main/pkgutils/Pkgfile  -  It might help?
<pitillo> same result
<pitillo> g++ main.o pkgutil.o pkgadd.o pkgrm.o pkginfo.o -o pkgadd (removed -static option and the same result)
<pitillo> we'll add the sed... I need to check sources and see what removes the first --static
<pitillo> it's built now
<pitillo> thanks sajcho, we had some time ago the sed to remove the -static but there is something more which breaks the static build
<pitillo> I'll give some time to the cmake update and if it goes right, I'll push pkgutils fix and cmake upgrade to start a fresh build
<pitillo> it's building the stage1-rootfs...
<pitillo> but some things to check.... I don't like the stdio error on libmpc... not sure if it's something wrong from our side or a bug (which I doubt)
sajcho has quit [Quit: Client closed]
sajcho has joined #crux-arm
<sajcho> Good news. I'll try that too after the update.
<pitillo> [2022-12-17 19:43:37] Bootstrap completed
<pitillo> I'll check pkgutils sources to look for the --static reference
<sajcho> Makefile
<pitillo> LIBARCHIVELIBS := $(shell pkg-config --libs --static libarchive)
<pitillo> yeah
<pitillo> but I didn't remember anything else than the LDFLAG -static
<pitillo> so it's fine... pkg-config does a strange thing there which is out of my knowledge
<pitillo> like the libmpc missing include....
<sajcho> pkgmk.conf add export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig" ???
<pitillo> sorry, I don't understand that last sentence
<pitillo> do you mean we are missing a pkgmk.conf option that it's upstream?
<sajcho> I have it in my pkgmk.conf and I have no problem
<pitillo> it's just an exported var from your own to be used on builds?
sajcho has quit [Quit: Client closed]
sajcho has joined #crux-arm
<sajcho> Yes. That's how I have it on my system.Whether you use it is up to you.
<sajcho> Do not be angry. I do not speak English. That's why I'm slow.
<sajcho> I am tired. I'll have a beer and go to bed.
sajcho has quit [Quit: Client closed]
<pitillo> we'll keep it as it's. I think it's not related to pkgutils problem. the LIBARCHIVELIBS seems to be the root of the problem
<pitillo> interesting
<pitillo> # pkg-config --libs --static libarchive
<pitillo> Package iconv was not found in the pkg-config search path.
<pitillo> Perhaps you should add the directory containing `iconv.pc'
<pitillo> to the PKG_CONFIG_PATH environment variable
<pitillo> Package 'iconv', required by 'libarchive', not found
<pitillo> running it on a 3.7-aarch64 gives the real libs
<pitillo> $ pkg-config --libs --static libarchive
<pitillo> -larchive -lacl -llzma -lzstd -lbz2 -lz
<pitillo> again on the jail with another .pc
<pitillo> # pkg-config --libs --static libattr
<pitillo> -lattr
<pitillo> # cat /usr/lib/pkgconfig/libarchive.pc|grep Req
<pitillo> Requires.private: iconv
<pitillo> interesting.... it seems to be related to 3.6.2
<pitillo> ummmmmm last bump broke pkgutils build....
<pitillo> let's see if I can make a test on the running 3.7 which is still in 3.6.1, building pkgutils, updating libarchive and rebuilding pkgutils....
<pitillo> 3.6.2 libarchive.pc adds that require which I don't understand why yet
<pitillo> cmake.... we are overlaying libarchive to avoid hosts dependencies... so there is something missing in the overlay
<pitillo> ummmm we can revert to 3.6.1 to get a clean commit to be used on crux-arm-release, then bump it again if it works fine in the current 3.7 device
<pitillo> it seems there is a problem with last libarchive bump
<pitillo> let's see if someone can check on x86 if it's broken there too
sajcho has joined #crux-arm
<sajcho> pitillo: https://github.com/crux-arm/crux-ports-core-arm64/blob/3.7/REPO - in REPO file missing pkgmk.conf.
sajcho has quit [Quit: Client closed]
crux-arm-bot has joined #crux-arm
<crux-arm-bot> [ crux-ports-core-arm64 ] libarchive: revert version due to pkgutils breakage
crux-arm-bot has left #crux-arm [#crux-arm]
crux-arm-bot has joined #crux-arm
<crux-arm-bot> [ crux-ports-core-arm64 ] Update httpup-repgen-ignore
crux-arm-bot has left #crux-arm [#crux-arm]