* Patch-shebangs phase and created binaries
@ 2014-10-30 12:45 Andreas Enge
2014-11-02 16:54 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Enge @ 2014-10-30 12:45 UTC (permalink / raw)
To: guix-devel
Hello,
should the final patch-shebangs phase not include the generated output
path (well, the bin subdirectory) in its $PATH?
In texlive I see lines such as
patch-shebang: ./texmf-dist/tex/luatex/lualibs/lualibs-compat.lua: warning: no binary for interpreter `texlua' found in $PATH
The file starts with
#!/usr/bin/env texlua
and texlua is a binary created in the texlive output (actually, bin/texlua is
a symbolic link to the elf binary bin/luatex).
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Patch-shebangs phase and created binaries
2014-10-30 12:45 Patch-shebangs phase and created binaries Andreas Enge
@ 2014-11-02 16:54 ` Ludovic Courtès
2014-11-02 17:48 ` Andreas Enge
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2014-11-02 16:54 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
Andreas Enge <andreas@enge.fr> skribis:
> should the final patch-shebangs phase not include the generated output
> path (well, the bin subdirectory) in its $PATH?
It already does.
> In texlive I see lines such as
> patch-shebang: ./texmf-dist/tex/luatex/lualibs/lualibs-compat.lua: warning: no binary for interpreter `texlua' found in $PATH
(And the mention of $PATH in this message is misleading.)
> The file starts with
> #!/usr/bin/env texlua
> and texlua is a binary created in the texlive output (actually, bin/texlua is
> a symbolic link to the elf binary bin/luatex).
Could it be that the symlink doesn’t exist yet at the time the
‘patch-shebangs’ phase runs?
HTH,
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Patch-shebangs phase and created binaries
2014-11-02 16:54 ` Ludovic Courtès
@ 2014-11-02 17:48 ` Andreas Enge
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Enge @ 2014-11-02 17:48 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
On Sun, Nov 02, 2014 at 05:54:09PM +0100, Ludovic Courtès wrote:
> Andreas Enge <andreas@enge.fr> skribis:
> > should the final patch-shebangs phase not include the generated output
> > path (well, the bin subdirectory) in its $PATH?
> It already does.
Hm.
> > The file starts with
> > #!/usr/bin/env texlua
> > and texlua is a binary created in the texlive output (actually, bin/texlua is
> > a symbolic link to the elf binary bin/luatex).
> Could it be that the symlink doesn’t exist yet at the time the
> ‘patch-shebangs’ phase runs?
I think it already exists; the only thing between patch-shebangs and strip is
(setenv "PATH" (string-append (getenv "PATH") ":" out "/bin"))
(system* "updmap-sys" "--nohash" "--syncwithtrees")
(system* "mktexlsr")
(system* "fmtutil-sys" "--all")))
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-02 17:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-30 12:45 Patch-shebangs phase and created binaries Andreas Enge
2014-11-02 16:54 ` Ludovic Courtès
2014-11-02 17:48 ` Andreas Enge
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.