bug#58033: A bug in file-dynamic-info used by validate-runpath in gnu-build-system and others.

2022-09-27 Thread Lukasz Olszewski
Sorry, for multiple emails with the same content. There was a delay of over 10h in those emails showing up and I thought they were not getting through. Regarding the issue. It seems it has to do with the strip phase. I managed to replicate the whole issue outside the build system by taking binarie

bug#58033: A bug in file-dynamic-info used by validate-runpath in gnu-build-system and others.

2022-09-25 Thread Lukasz Olszewski
Also, to ensure all the information is provided. This is the code that resulted in the binary header being transformed: (add-after 'install 'fix-issue-with-libs (lambda* (#:key inputs outputs #:allow-other-keys) (chdir "..") (use-modules (ice-9 ftw) (ice-9 regex) (ice-9 rdelim) (ice-9 po

bug#58033: A bug in file-dynamic-info used by validate-runpath in gnu-build-system and others.

2022-09-25 Thread Lukasz Olszewski
After further troubleshooting it appears the elf binary might be malformed. I've tried to run the executable on another machine and ld complained like this: $ ./FileStoreTest ./FileStoreTest: ./FileStoreTest: no version information available (required by ./FileStoreTest) ./FileStoreTest: ./FileStor

bug#58033: A bug in file-dynamic-info used by validate-runpath in gnu-build-system and others.

2022-09-23 Thread Lukasz Olszewski
It appears I found a bug in guix triggered by certain binary data present in an ELF header. While running a validate runpath phase of a build-system for a new package that is not a part of guix I encountered unusual errors reported for certain binary files. Those binary files RUNPATHs were modifie

bug#57801: 'inferior-with-channels' is eager, making it hard to use in channels

2022-09-14 Thread Lukasz Olszewski
Additionally this fails even when used like this: (define inferior (mlambda () (inferior-for-channels channels))) (lookup-inferior-packages (inferior) "somepackage")