zsh-workers
 help / color / mirror / code / Atom feed
* Install Failure
@ 2018-09-06 21:20 Vin Shelton
  2018-09-06 21:57 ` Daniel Shahaf
  0 siblings, 1 reply; 4+ messages in thread
From: Vin Shelton @ 2018-09-06 21:20 UTC (permalink / raw)
  To: Zsh Hackers' List

[-- Attachment #1: Type: text/plain, Size: 1132 bytes --]

Here's what I'm getting:

make[1]: Entering directory '/home/opt/build/zsh-2018-09-06/Doc'
if test x"/opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help" != x""; then \
    /bin/sh ../../../src/zsh-2018-09-06/mkinstalldirs
/opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help; \
    /usr/bin/install -c -m 644 ../../../src/zsh-2018-09-06/Doc/help/*
/opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help; \
    while read from to; do \
        rm -f /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help/$to || : ; \
        ln -s $from /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help/$to; \
    done < ../../../src/zsh-2018-09-06/Doc/help.txt; \
fi
mkdir -m 755 -p -- /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help
/usr/bin/install: cannot stat '../../../src/zsh-2018-09-06/Doc/help/*': No
such file or directory
/bin/sh: 4: cannot open ../../../src/zsh-2018-09-06/Doc/help.txt: No such
file
make[1]: *** [Makefile:481: install.runhelp] Error 2
make[1]: Leaving directory '/home/opt/build/zsh-2018-09-06/Doc'
make: *** [Makefile:226: install.runhelp] Error 2

Source = /opt/src/zsh-2018-09-06
Build = /opt/build/zsh-2018-09-06
config.log available upon request

  - Vin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Install Failure
  2018-09-06 21:20 Install Failure Vin Shelton
@ 2018-09-06 21:57 ` Daniel Shahaf
  2018-09-06 22:18   ` Vin Shelton
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Shahaf @ 2018-09-06 21:57 UTC (permalink / raw)
  To: Vin Shelton, Zsh Hackers' List

This is with 85ae84e89583dfff54905c4632b03bcdc0aa1a79 and it doesn't
happen with the commit before it, right?  An out-of-tree build?  And
it's a clean build, i.e., you ran preconfig and configure?

What is the actual command that failed, is it 'make foo' or 'make -C Doc
foo' and what's foo?

And how's your environment different to mine?  I did test an out-of-tree
build with that commit before I pushed it.

Vin Shelton wrote on Thu, 06 Sep 2018 17:20 -0400:
> Here's what I'm getting:
> 
> make[1]: Entering directory '/home/opt/build/zsh-2018-09-06/Doc'
> if test x"/opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help" != x""; then \
>     /bin/sh ../../../src/zsh-2018-09-06/mkinstalldirs
> /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help; \
>     /usr/bin/install -c -m 644 ../../../src/zsh-2018-09-06/Doc/help/*
> /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help; \
>     while read from to; do \
>         rm -f /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help/$to || : ; \
>         ln -s $from /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help/$to; \
>     done < ../../../src/zsh-2018-09-06/Doc/help.txt; \
> fi
> mkdir -m 755 -p -- /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help
> /usr/bin/install: cannot stat '../../../src/zsh-2018-09-06/Doc/help/*': No
> such file or directory
> /bin/sh: 4: cannot open ../../../src/zsh-2018-09-06/Doc/help.txt: No such
> file
> make[1]: *** [Makefile:481: install.runhelp] Error 2
> make[1]: Leaving directory '/home/opt/build/zsh-2018-09-06/Doc'
> make: *** [Makefile:226: install.runhelp] Error 2
> 
> Source = /opt/src/zsh-2018-09-06
> Build = /opt/build/zsh-2018-09-06
> config.log available upon request
> 
>   - Vin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Install Failure
  2018-09-06 21:57 ` Daniel Shahaf
@ 2018-09-06 22:18   ` Vin Shelton
  2018-09-07  0:06     ` Daniel Shahaf
  0 siblings, 1 reply; 4+ messages in thread
From: Vin Shelton @ 2018-09-06 22:18 UTC (permalink / raw)
  To: Daniel Shahaf; +Cc: Zsh Hackers' List

[-- Attachment #1: Type: text/plain, Size: 2210 bytes --]

Yes, completely clean build from latest sources.

From the build directory:
   mkdir zsh-2018-09-06
   cd ./zsh-2018-09-06
   pushd ../../src/zsh-2018-09-06/
  ./Util/preconfig
  popd
  ../../src/zsh-2018-09-06/configure --prefix=/opt/zsh-2018-09-06
  make
  make install

If I had to guess, your source directory is not completely fresh and
../../../src/zsh-2018-09-06/Doc/help/* already exists.

  - Vin


On Thu, Sep 6, 2018 at 5:57 PM, Daniel Shahaf <d.s@daniel.shahaf.name>
wrote:

> This is with 85ae84e89583dfff54905c4632b03bcdc0aa1a79 and it doesn't
> happen with the commit before it, right?  An out-of-tree build?  And
> it's a clean build, i.e., you ran preconfig and configure?
>
> What is the actual command that failed, is it 'make foo' or 'make -C Doc
> foo' and what's foo?
>
> And how's your environment different to mine?  I did test an out-of-tree
> build with that commit before I pushed it.
>
> Vin Shelton wrote on Thu, 06 Sep 2018 17:20 -0400:
> > Here's what I'm getting:
> >
> > make[1]: Entering directory '/home/opt/build/zsh-2018-09-06/Doc'
> > if test x"/opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help" != x""; then \
> >     /bin/sh ../../../src/zsh-2018-09-06/mkinstalldirs
> > /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help; \
> >     /usr/bin/install -c -m 644 ../../../src/zsh-2018-09-06/Doc/help/*
> > /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help; \
> >     while read from to; do \
> >         rm -f /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help/$to || : ; \
> >         ln -s $from /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help/$to; \
> >     done < ../../../src/zsh-2018-09-06/Doc/help.txt; \
> > fi
> > mkdir -m 755 -p -- /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help
> > /usr/bin/install: cannot stat '../../../src/zsh-2018-09-06/Doc/help/*':
> No
> > such file or directory
> > /bin/sh: 4: cannot open ../../../src/zsh-2018-09-06/Doc/help.txt: No
> such
> > file
> > make[1]: *** [Makefile:481: install.runhelp] Error 2
> > make[1]: Leaving directory '/home/opt/build/zsh-2018-09-06/Doc'
> > make: *** [Makefile:226: install.runhelp] Error 2
> >
> > Source = /opt/src/zsh-2018-09-06
> > Build = /opt/build/zsh-2018-09-06
> > config.log available upon request
> >
> >   - Vin
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Install Failure
  2018-09-06 22:18   ` Vin Shelton
@ 2018-09-07  0:06     ` Daniel Shahaf
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Shahaf @ 2018-09-07  0:06 UTC (permalink / raw)
  To: Vin Shelton; +Cc: Zsh Hackers' List

Vin Shelton wrote on Thu, Sep 06, 2018 at 18:18:19 -0400:
>   make
>   make install
> 
> If I had to guess, your source directory is not completely fresh and
> ../../../src/zsh-2018-09-06/Doc/help/* already exists.

No, I got that part right.  I just missed something in my grep.

diff --git a/Doc/Makefile.in b/Doc/Makefile.in
index 35011091b..9dea79252 100644
--- a/Doc/Makefile.in
+++ b/Doc/Makefile.in
@@ -337,11 +337,11 @@ install.man: man
 install.runhelp: $(runhelp)
 	if test x"$(runhelpdir)" != x""; then \
 	    ${SHELL} $(sdir_top)/mkinstalldirs $(DESTDIR)$(runhelpdir); \
-	    $(INSTALL_DATA) $(sdir)/help/* $(DESTDIR)$(runhelpdir); \
+	    $(INSTALL_DATA) help/* $(DESTDIR)$(runhelpdir); \
 	    while read from to; do \
 	        rm -f $(DESTDIR)$(runhelpdir)/$$to || : ; \
 	        $(LN_S) $$from $(DESTDIR)$(runhelpdir)/$$to; \
-	    done < $(sdir)/help.txt; \
+	    done < help.txt; \
 	fi
 .PHONY: install.runhelp
 
@@ -418,7 +418,7 @@ distclean-here: clean-here
 realclean-here: distclean-here
 	cd $(sdir) && rm -f Zsh/modlist.yo Zsh/modmenu.yo Zsh/manmodmenu.yo
 	cd $(sdir) && rm -f version.yo ../META-FAQ zsh.texi $(MAN)
-	cd $(sdir) && rm -f help.txt help/*
+	rm -f help.txt help/*
 .PHONY: realclean-here
 
 @CLEAN_MK@

We still need to do a 5.6.1 to add Doc/help/* to the tarball.  (The jobs
thing looks like it'll take a while to fix and stabilize so I'm not
inclined to wait for it.)  Can I tag on Friday, or should we wait a bit
longer?

Daniel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-07  0:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-06 21:20 Install Failure Vin Shelton
2018-09-06 21:57 ` Daniel Shahaf
2018-09-06 22:18   ` Vin Shelton
2018-09-07  0:06     ` Daniel Shahaf

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).