Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure fails due to auxdir links pointing to nonexistant files #936

Closed
Apteryks opened this issue Nov 12, 2021 · 4 comments
Closed

configure fails due to auxdir links pointing to nonexistant files #936

Apteryks opened this issue Nov 12, 2021 · 4 comments

Comments

@Apteryks
Copy link

I tried to update this package to 1.6 on GNU Guix, en encountered the following:

starting phase `configure'
source directory: "/tmp/guix-build-geeqie-1.6.drv-0/source" (relative from build: ".")
build directory: "/tmp/guix-build-geeqie-1.6.drv-0/source"
configure flags: ("CONFIG_SHELL=/gnu/store/vx6vfbmmazvfi7vp8xyjn2mcyylvw9gn-bash-minimal-5.1.8/bin/bash" "SHELL=/gnu/store/vx6vfbmmazvfi7vp8xyjn2mcyylvw9gn-bash-minimal-5.1.8/bin/bash" "--prefix=/gnu/store/abf9iqasy5qd8qq34n94qrww549zmn5g-geeqie-1.6" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "CFLAGS=-fcommon" "--enable-map" "--enable-gtk3")
configure: WARNING: unrecognized options: --enable-fast-install
configure: error: cannot find install-sh, install.sh, or shtool in auxdir "."/auxdir
error: in phase 'configure': uncaught exception:
%exception #<&invoke-error program: "/gnu/store/vx6vfbmmazvfi7vp8xyjn2mcyylvw9gn-bash-minimal-5.1.8/bin/bash" arguments: ("./configure" "CONFIG_SHELL=/gnu/store/vx6vfbmmazvfi7vp8xyjn2mcyylvw9gn-bash-minimal-5.1.8/bin/bash" "SHELL=/gnu/store/vx6vfbmmazvfi7vp8xyjn2mcyylvw9gn-bash-minimal-5.1.8/bin/bash" "--prefix=/gnu/store/abf9iqasy5qd8qq34n94qrww549zmn5g-geeqie-1.6" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "CFLAGS=-fcommon" "--enable-map" "--enable-gtk3") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `configure' failed after 0.4 seconds

This is because on GNU Guix, the assumption that the files

depcomp -> /usr/share/automake-1.16/depcomp      
install-sh -> /usr/share/automake-1.16/install-sh

exist isn't true.

ISSUE TYPE

  • Bug report

GEEQIE VERSION

1.6

@caclark
Copy link
Collaborator

caclark commented Jan 13, 2022

@Apteryks
Copy link
Author

Apteryks commented Jan 13, 2022

Hi! Yes; the 2nd link shows how it was worked around in Guix. The problem is that the build system assumes hard coded locations for the automake provided scripts. Aren't these typically copied to the project by invoking autoreconf --install anyway? The Automake manual suggests so (info '(automake) Creating amhello'):

Once you have these five files, it is time to run the Autotools to
instantiate the build system. Do this using the ‘autoreconf’ command as
follows:

 ~/amhello % autoreconf --install
 configure.ac: installing './install-sh'
 configure.ac: installing './missing'
 configure.ac: installing './compile'
 src/Makefile.am: installing './depcomp'

At this point the build system is complete.

@caclark
Copy link
Collaborator

caclark commented Nov 30, 2022

Is this still valid now that Meson is used?

@Apteryks
Copy link
Author

Not valid anymore with Meson.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants