-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Julia 0.6.1: make install is trying to build documentation again #24432
Comments
I am using the following patch as a workaround: Index: julia/Makefile
===================================================================
--- julia.orig/Makefile
+++ julia/Makefile
@@ -332,7 +332,7 @@ define stringreplace
$(build_depsbindir)/stringreplace $$(strings -t x - $1 | grep '$2' | awk '{print $$1;}') '$3' 255 "$(call cygpath_w,$1)"
endef
-install: $(build_depsbindir)/stringreplace $(BUILDROOT)/doc/_build/html/en/index.html
+install: $(build_depsbindir)/stringreplace
@$(MAKE) $(QUIET_MAKE) all
@for subdir in $(bindir) $(datarootdir)/julia/site/$(VERSDIR) $(docdir) $(man1dir) $(includedir)/julia $(libdir) $(private_libdir) $(sysconfdir); do \
mkdir -p $(DESTDIR)$$subdir; \ |
I have bumped into the same problem when trying to build Fedora RPMs. In fact I had introduced this code in #19705 precisely for this reason. I think the problem has to do with timestamps. In the 0.6.0 tarball, doc/_build/html/en/index.html had the most recent timestamp of all files. In the 0.6.1, some files under src are slightly more recent than it, like src/version_git.jl. @ararslan Any idea what could have triggered an update of version_git.jl after the docs where built when preparing the tarball? Ideally one would just need to call |
I have no idea. |
Hi guys,
I am trying to pack julia 0.6.1 to openSUSE. However, in the build process (
make install
), I am seeing this error:This is really strange, because the file
/home/abuild/rpmbuild/BUILD/julia/doc/_build/html/en/index.html
exists. Furthermore, I had no problem with julia v0.6.0 and nothing seems to have changed between v0.6.0 and v0.6.1 with respect to the Makefiles.The text was updated successfully, but these errors were encountered: