* autoconf command not found @ 2014-01-06 12:30 Kete 2014-01-06 12:56 ` Ludovic Courtès 0 siblings, 1 reply; 4+ messages in thread From: Kete @ 2014-01-06 12:30 UTC (permalink / raw) To: guix-devel starting phase `build' cd . && autoconf /nix/store/97vnvqq5daji73b71v4cnmyaa7r3hzk2-bash-4.2/bin/sh: autoconf: command not found Makefile:371: recipe for target 'configure' failed make: *** [configure] Error 127 phase `build' failed after 0 seconds $ guix package -I autoconf 2.69 out /nix/store/...-autoconf-2.69 ... $ which autoconf /usr/bin/autoconf $ ls -l ~/.guix-profile/bin lrwxrwxrwx 1 guix-builder0 guix-builder 58 Dec 31 1969 /home/.../.guix-profile/bin -> /nix/store/...-emacs-24.3/bin The $PATH looks weird to me, and I wonder if it's from building guix from git on top of guix 0.5. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: autoconf command not found 2014-01-06 12:30 autoconf command not found Kete @ 2014-01-06 12:56 ` Ludovic Courtès 2014-01-06 13:26 ` Kete 0 siblings, 1 reply; 4+ messages in thread From: Ludovic Courtès @ 2014-01-06 12:56 UTC (permalink / raw) To: Kete; +Cc: guix-devel Kete <kete@ninthfloor.org> skribis: > starting phase `build' > cd . && autoconf > /nix/store/97vnvqq5daji73b71v4cnmyaa7r3hzk2-bash-4.2/bin/sh: autoconf: command not found > Makefile:371: recipe for target 'configure' failed > make: *** [configure] Error 127 > phase `build' failed after 0 seconds Where does this build log come from? > $ guix package -I > autoconf 2.69 out /nix/store/...-autoconf-2.69 > ... Apparently the log above comes from a build, i.e., something run in the build environment (chroot, etc.) What’s installed in the users’ profiles doesn’t matter here; what matters is the ‘inputs’ field of the package being built. Apparently here ‘autoconf’ would need to be added as an input to that package. However, that’s often a bad idea, but it’s hard to discuss without having more details. Could you explain what you are trying to build and how, so we can better investigate? TIA, Ludo’. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: autoconf command not found 2014-01-06 12:56 ` Ludovic Courtès @ 2014-01-06 13:26 ` Kete 2014-01-06 15:13 ` Ludovic Courtès 0 siblings, 1 reply; 4+ messages in thread From: Kete @ 2014-01-06 13:26 UTC (permalink / raw) To: Ludovic Courtès; +Cc: guix-devel On Monday, January 06, 2014 01:56:00 PM Ludovic Courtès wrote: > Where does this build log come from? > Apparently the log above comes from a build, i.e., something run in the > build environment (chroot, etc.) Yes, this comes from './pre-inst-env guix build zsh'. > What’s installed in the users’ profiles doesn’t matter here; what > matters is the ‘inputs’ field of the package being built. Apparently > here ‘autoconf’ would need to be added as an input to that package. > > However, that’s often a bad idea, but it’s hard to discuss without > having more details. Could you explain what you are trying to build and > how, so we can better investigate? Do you need more info? PS – I built git guix inside of the guix 0.5 emacs, and I felt like that may have had unfavorable results. Inside git guix emacs, programs like the shells are coming from the OS packages instead of guix. I don't think that happened with guix 0.5 inside its emacs. It's hard to explain. Emacs is loading from guix store. The two /nix/store strings below are different: $ ls -l ~/.guix-profile/bin lrwxrwxrwx 1 guix-builder0 guix-builder 58 Dec 31 1969 /home/.../.guix-profile/bin -> /nix/store/qpb773jxk37yylcrm5yrmxpkb5lrc3ma-emacs-24.3/bin $ guix package -I ... emacs 24.3 out /nix/store/c4khfda7zfmxmkgy9anxb3pdv8agzcsx-emacs-24.3 ... ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: autoconf command not found 2014-01-06 13:26 ` Kete @ 2014-01-06 15:13 ` Ludovic Courtès 0 siblings, 0 replies; 4+ messages in thread From: Ludovic Courtès @ 2014-01-06 15:13 UTC (permalink / raw) To: Kete; +Cc: guix-devel Kete <kete@ninthfloor.org> skribis: > On Monday, January 06, 2014 01:56:00 PM Ludovic Courtès wrote: >> Where does this build log come from? > >> Apparently the log above comes from a build, i.e., something run in the >> build environment (chroot, etc.) > > Yes, this comes from './pre-inst-env guix build zsh'. OK. >> What’s installed in the users’ profiles doesn’t matter here; what >> matters is the ‘inputs’ field of the package being built. Apparently >> here ‘autoconf’ would need to be added as an input to that package. >> >> However, that’s often a bad idea, but it’s hard to discuss without >> having more details. Could you explain what you are trying to build and >> how, so we can better investigate? > > Do you need more info? Yes: why is Zsh now trying to run autoconf? Apparently it does that after having successfully run ./configure, right? Normally Autoconf-based projects built from tarball do *not* need Autoconf. Now, if Zsh’s build system requires it (which would be bogus), just add ‘autoconf’ (and perhaps ‘automake’) to ‘inputs’. > PS – I built git guix inside of the guix 0.5 emacs, and I felt like that may > have had unfavorable results. Inside git guix emacs, programs like the shells are coming from > the OS packages instead of guix. I don't think that happened with guix > 0.5 inside its emacs. It's hard to explain. Emacs is loading from guix store. > The two /nix/store strings below are different: > > $ ls -l ~/.guix-profile/bin > lrwxrwxrwx 1 guix-builder0 guix-builder 58 Dec 31 1969 /home/.../.guix-profile/bin -> /nix/store/qpb773jxk37yylcrm5yrmxpkb5lrc3ma-emacs-24.3/bin > > $ guix package -I > ... > emacs 24.3 out /nix/store/c4khfda7zfmxmkgy9anxb3pdv8agzcsx-emacs-24.3 > ... That is weird (though Emacs has nothing to do with that, I suppose.) What does ‘ls -l ~/.guix-profile’ show? Thanks, Ludo’. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-01-06 15:18 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-01-06 12:30 autoconf command not found Kete 2014-01-06 12:56 ` Ludovic Courtès 2014-01-06 13:26 ` Kete 2014-01-06 15:13 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).