Hello everyone,
Well I'm happy to report that thanks to your advice I made some progress. Using the scm file attached and the command :
guix build -L /home/arnaud/guix_packages/gnu/packages/ -K -f freefilesync.scm
the build process starts as it should, the zip file is downloaded, checked and unziped as needed, and the cpp files compile normally.
It stops at the configure script stage, apparently not finding the configure command.
H
ere is the relevant part :
phase `unpack' succeeded after 0.3 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
phase `patch-source-shebangs' succeeded after 0.2 seconds
starting phase `configure'
source directory: "/tmp/guix-build-freefilesync-9.9.drv-0/source" (relative from build: ".")
build directory: "/tmp/guix-build-freefilesync-9.9.drv-0/source"
configure flags: ("CONFIG_SHELL=/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash" "SHELL=/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash" "--prefix=/gnu/store/v07x6jfph9yy7bf54ibdb9z08snjn6lh-freefilesync-9.9" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu")
/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash: ./configure: No such file or directory
phase `configure' failed after 0.0 seconds
note: keeping build directory `/tmp/guix-build-freefilesync-9.9.drv-1'
builder for `/gnu/store/r13m30fdxvxindynh4161ca498lj3y09-freefilesync-9.9.drv' failed with exit code 1
@ build-failed /gnu/store/r13m30fdxvxindynh4161ca498lj3y09-freefilesync-9.9.drv - 1 builder for `/gnu/store/r13m30fdxvxindynh4161ca498lj3y09-freefilesync-9.9.drv' failed with exit code 1
guix build: error: build failed: build of `/gnu/store/r13m30fdxvxindynh4161ca498lj3y09-freefilesync-9.9.drv' failed
This is surprising to me as, according to
the manual, configure is part of the usual set of tools found in the gnu build system. Let met quote :
"The (...) gnu-build-system
represents the familiar GNU Build System, where packages may be
configured, built, and installed with the usual ./configure &&
make && make check && make install
command sequence."I checked that bash, bash-minimal, bash-completion are all found in the store (actually in 3 differents versions after guix puil I guess).
So again I rely on your knowledge, hoping to get through eventually.
Many thanks in advance
Arnaud
PS : I reworded the package name and description as per the guidelines.