Re: make distcheck: cannot remove '../../po/lyx.pot'
On Thu, Apr 20, 2017 at 04:57:00PM +0200, Jean-Marc Lasgouttes wrote: > Le 01/07/2016 à 03:44, Scott Kostyshak a écrit : > > > I just tried 1.15 with Ubuntu 15.10 and I do get the same error. The > > > mystery remains. > > > > I still see this with current master and Ubuntu 16.04. > > > > Does the following work for anyone on current master? > > > > git reset --hard && git clean -xdf && ./autogen.sh && > > ./configure --enable-build-type=pre && > > make && > > make check && > > make distcheck && > > echo "GOOD" > > For what is worth, it works for me on ubuntu 17.10. Thanks for checking. I just ran the set of compilation tests (testing monolithic, --disable-nls, etc) and everything is working well now. Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
Le 01/07/2016 à 03:44, Scott Kostyshak a écrit : I just tried 1.15 with Ubuntu 15.10 and I do get the same error. The mystery remains. I still see this with current master and Ubuntu 16.04. Does the following work for anyone on current master? git reset --hard && git clean -xdf && ./autogen.sh && ./configure --enable-build-type=pre && make && make check && make distcheck && echo "GOOD" For what is worth, it works for me on ubuntu 17.10. JMarc
Re: make distcheck: cannot remove '../../po/lyx.pot'
Pavel Sanda wrote: > This was a tough one. distcheck was broken for a while (while showing it's > famous lyx.pot message) and bisecting nowadays master is like walking > through the minefield where bunch of commits do not compile at all or git > gets crazy due to cr-lf mismanagement. I still do not understand this 100%, but I believe I made a mistake when introducing the .gitattributes file: I should have done $ echo "* text=auto" >>.gitattributes $ rm .git/index # Remove the index to force Git to $ git reset # re-scan the working directory $ git status# Show files that will be normalized $ git add -u $ git add .gitattributes $ git commit -m "Introduce end-of-line normalization" according to https://git-scm.com/docs/gitattributes, but I only did the equivalent of the first and the last two steps. Unfortunately this cannot be fixed now anymore, andybody doing a bisect spanning the time between .gitattributes creation and the fix should probably first remove .gitattributes. > But try again now. You are a hero! Some months ago I tried to find the cause, but failed to find the missing file. Georg
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Mon, Jul 04, 2016 at 02:42:47PM -0700, Pavel Sanda wrote: > Scott Kostyshak wrote: > > Does the following work for anyone on current master? > > > > git reset --hard && git clean -xdf && ./autogen.sh && > > ./configure --enable-build-type=pre && > > make && > > make check && > > make distcheck && > > echo "GOOD" > > This was a tough one. distcheck was broken for a while (while showing it's > famous lyx.pot message) and bisecting nowadays master is like walking through > the minefield where bunch of commits do not compile at all or git gets crazy > due to cr-lf mismanagement. > > But try again now. Thanks! Just tried and it works well. Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
Scott Kostyshak wrote: > Does the following work for anyone on current master? > > git reset --hard && git clean -xdf && ./autogen.sh && > ./configure --enable-build-type=pre && > make && > make check && > make distcheck && > echo "GOOD" This was a tough one. distcheck was broken for a while (while showing it's famous lyx.pot message) and bisecting nowadays master is like walking through the minefield where bunch of commits do not compile at all or git gets crazy due to cr-lf mismanagement. But try again now. Pavel
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Sat, Jan 23, 2016 at 01:45:58AM -0500, Scott Kostyshak wrote: > On Tue, Jan 12, 2016 at 02:47:35PM +0100, Jean-Marc Lasgouttes wrote: > > Le 12/01/2016 03:51, Scott Kostyshak a écrit : > > > >It would be nice to know what happens with 1.15. Ubuntu 15.10 has 1.15 > > >so I will try to do a fresh install and check it out. Not sure when > > >though. > > > > I just tried it and it worked without problem. Actually, I suspect that > > there is some timing problem that creates wrong dependencies between files. > > I just tried 1.15 with Ubuntu 15.10 and I do get the same error. The > mystery remains. I still see this with current master and Ubuntu 16.04. Does the following work for anyone on current master? git reset --hard && git clean -xdf && ./autogen.sh && ./configure --enable-build-type=pre && make && make check && make distcheck && echo "GOOD" If it works for you, can you send me the Makefile that is generated? Mine is attached. I tried experimenting by removing the chmod a-w $(distdir) lines but when I do that I get the following error: ERROR: files left in build directory after distclean: ./po/stamp-po Makefile:848: recipe for target 'distcleancheck' failed Scott # Makefile.in generated by automake 1.15 from Makefile.am. # Makefile. Generated from Makefile.in by configure. # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgincludedir = $(includedir)/lyx pkglibdir = $(libdir)/lyx pkglibexecdir = $(libexecdir)/lyx am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = x86_64-pc-linux-gnu host_triplet = x86_64-pc-linux-gnu target_triplet = x86_64-pc-linux-gnu subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/config/lyxinclude.m4 \ $(top_srcdir)/config/lyxpython.m4 $(top_srcdir)/config/pkg.m4 \ $(top_srcdir)/config/qt4.m4 $(top_srcdir)/config/spell.m4 \ $(top_srcdir)/m4/eilseq.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) $(am__DIST_COMMON) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = lyx.1 CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_$(V)) am__v_P_ = $(am__v_P_$(AM_DEFAUL
Re: make distcheck: cannot remove '../../po/lyx.pot'
Am Donnerstag, 28. Januar 2016 um 12:08:20, schrieb Scott Kostyshak > On Tue, Jan 12, 2016 at 02:47:35PM +0100, Jean-Marc Lasgouttes wrote: > > Le 12/01/2016 03:51, Scott Kostyshak a écrit : > > >I wonder if the difference in behavior is due to: > > >http://lists.gnu.org/archive/html/automake/2012-07/msg00023.html > > > > > >That thread is linked to on the main page: > > >https://www.gnu.org/software/automake/ > > > > It is interesting but I fail to see how this could make a problem for us. > > The only difference in the fix is giving write permission to user instead of > > world. However, when we run distcheck, only one the current user counts. > > > > >It would be nice to know what happens with 1.15. Ubuntu 15.10 has 1.15 > > >so I will try to do a fresh install and check it out. Not sure when > > >though. > > > > I just tried it and it worked without problem. Actually, I suspect that > > there is some timing problem that creates wrong dependencies between files. > > If I do > > make -j4 > make check > make distcheck > > Does the 'make distcheck' know that I asked for 4 jobs in the make call? No > If so, could parallel building be a cause of the timing differences? > > Scott Kornel signature.asc Description: This is a digitally signed message part.
Re: make distcheck: cannot remove '../../po/lyx.pot'
I would say that parallel building can be a bad idea. The fact that we have added some dependencies in po/Rules-lyx is probably a factor too, but it is not new to 2.2. JMarc Le 28 janvier 2016 18:08:20 GMT+01:00, Scott Kostyshak a écrit : >On Tue, Jan 12, 2016 at 02:47:35PM +0100, Jean-Marc Lasgouttes wrote: >> Le 12/01/2016 03:51, Scott Kostyshak a écrit : >> >I wonder if the difference in behavior is due to: >> >http://lists.gnu.org/archive/html/automake/2012-07/msg00023.html >> > >> >That thread is linked to on the main page: >> >https://www.gnu.org/software/automake/ >> >> It is interesting but I fail to see how this could make a problem for >us. >> The only difference in the fix is giving write permission to user >instead of >> world. However, when we run distcheck, only one the current user >counts. >> >> >It would be nice to know what happens with 1.15. Ubuntu 15.10 has >1.15 >> >so I will try to do a fresh install and check it out. Not sure when >> >though. >> >> I just tried it and it worked without problem. Actually, I suspect >that >> there is some timing problem that creates wrong dependencies between >files. > >If I do > >make -j4 >make check >make distcheck > >Does the 'make distcheck' know that I asked for 4 jobs in the make >call? >If so, could parallel building be a cause of the timing differences? > >Scott
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Tue, Jan 12, 2016 at 02:47:35PM +0100, Jean-Marc Lasgouttes wrote: > Le 12/01/2016 03:51, Scott Kostyshak a écrit : > >I wonder if the difference in behavior is due to: > >http://lists.gnu.org/archive/html/automake/2012-07/msg00023.html > > > >That thread is linked to on the main page: > >https://www.gnu.org/software/automake/ > > It is interesting but I fail to see how this could make a problem for us. > The only difference in the fix is giving write permission to user instead of > world. However, when we run distcheck, only one the current user counts. > > >It would be nice to know what happens with 1.15. Ubuntu 15.10 has 1.15 > >so I will try to do a fresh install and check it out. Not sure when > >though. > > I just tried it and it worked without problem. Actually, I suspect that > there is some timing problem that creates wrong dependencies between files. If I do make -j4 make check make distcheck Does the 'make distcheck' know that I asked for 4 jobs in the make call? If so, could parallel building be a cause of the timing differences? Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Tue, Jan 12, 2016 at 02:47:35PM +0100, Jean-Marc Lasgouttes wrote: > Le 12/01/2016 03:51, Scott Kostyshak a écrit : > >It would be nice to know what happens with 1.15. Ubuntu 15.10 has 1.15 > >so I will try to do a fresh install and check it out. Not sure when > >though. > > I just tried it and it worked without problem. Actually, I suspect that > there is some timing problem that creates wrong dependencies between files. I just tried 1.15 with Ubuntu 15.10 and I do get the same error. The mystery remains. Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
Am Dienstag, 12. Januar 2016 um 14:47:35, schrieb Jean-Marc Lasgouttes > Le 12/01/2016 03:51, Scott Kostyshak a écrit : > > I wonder if the difference in behavior is due to: > > http://lists.gnu.org/archive/html/automake/2012-07/msg00023.html > > > > That thread is linked to on the main page: > > https://www.gnu.org/software/automake/ > > It is interesting but I fail to see how this could make a problem for > us. The only difference in the fix is giving write permission to user > instead of world. However, when we run distcheck, only one the current > user counts. > > > It would be nice to know what happens with 1.15. Ubuntu 15.10 has 1.15 > > so I will try to do a fresh install and check it out. Not sure when > > though. > > I just tried it and it worked without problem. Actually, I suspect that > there is some timing problem that creates wrong dependencies between files. > > JMarc I fail to see the problem there. In _my_ am/distdir.am, there already are the correct statements. They read as follows (from distdir.am:429) ## this case. However, make the top-level directory writable so we ## can make our new subdirs. chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_inst ## Undo the write access. chmod a-w $(distdir) Still, 'make distcheck' fails. Kornel signature.asc Description: This is a digitally signed message part.
Re: make distcheck: cannot remove '../../po/lyx.pot'
Le 12/01/2016 03:51, Scott Kostyshak a écrit : I wonder if the difference in behavior is due to: http://lists.gnu.org/archive/html/automake/2012-07/msg00023.html That thread is linked to on the main page: https://www.gnu.org/software/automake/ It is interesting but I fail to see how this could make a problem for us. The only difference in the fix is giving write permission to user instead of world. However, when we run distcheck, only one the current user counts. It would be nice to know what happens with 1.15. Ubuntu 15.10 has 1.15 so I will try to do a fresh install and check it out. Not sure when though. I just tried it and it worked without problem. Actually, I suspect that there is some timing problem that creates wrong dependencies between files. JMarc
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Thu, Jan 07, 2016 at 01:48:59PM -0800, Pavel Sanda wrote: > Georg Baum wrote: > > Pavel Sanda wrote: > > > > > Scott Kostyshak wrote: > > >> > > >> Can you reproduce now? > > > > > > Nope. Smells like automake/autoconf versions. What is your config? > > > > These versions produce the error for me: > > > > $ ./autogen.sh > > Using automake (GNU automake) 1.14.1 > > Using autoconf (GNU Autoconf) 2.69 > > These work for me: > automake (GNU automake) 1.11.3 > autoconf (GNU Autoconf) 2.68 > P I wonder if the difference in behavior is due to: http://lists.gnu.org/archive/html/automake/2012-07/msg00023.html That thread is linked to on the main page: https://www.gnu.org/software/automake/ The discussion of write permissions and the fact that Pavel does not see the problem with 1.11.3 but we see it with one of the "fixed" automake versions make me think that the issues are related. It would be nice to know what happens with 1.15. Ubuntu 15.10 has 1.15 so I will try to do a fresh install and check it out. Not sure when though. Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
Am Freitag, 8. Januar 2016 um 21:43:17, schrieb Georg Baum > Scott Kostyshak wrote: > > > On Thu, Jan 07, 2016 at 02:30:58PM -0800, Pavel Sanda wrote: > >> Scott Kostyshak wrote: > >> > > > These versions produce the error for me: > >> > > > > >> > > > $ ./autogen.sh > >> > > > Using automake (GNU automake) 1.14.1 > >> > > > Using autoconf (GNU Autoconf) 2.69 > >> > > > > >> > > > > >> > > > Georg > >> > > > >> > > I have the same, with the error too. > >> > > >> > I have the same as Kornel and Georg. > >> > >> And you don't observe this problem for 2.1.x, right? P > > > > I do observe this problem on 2.1.x. > > I don't see it with 2.1.x. This is really mysterious. > This forces me to do check too ... No problems with 2.1.x. > Georg Kornel signature.asc Description: This is a digitally signed message part.
Re: make distcheck: cannot remove '../../po/lyx.pot'
Scott Kostyshak wrote: > On Thu, Jan 07, 2016 at 02:30:58PM -0800, Pavel Sanda wrote: >> Scott Kostyshak wrote: >> > > > These versions produce the error for me: >> > > > >> > > > $ ./autogen.sh >> > > > Using automake (GNU automake) 1.14.1 >> > > > Using autoconf (GNU Autoconf) 2.69 >> > > > >> > > > >> > > > Georg >> > > >> > > I have the same, with the error too. >> > >> > I have the same as Kornel and Georg. >> >> And you don't observe this problem for 2.1.x, right? P > > I do observe this problem on 2.1.x. I don't see it with 2.1.x. This is really mysterious. Georg
Re: make distcheck: cannot remove '../../po/lyx.pot'
Scott Kostyshak wrote: > I do observe this problem on 2.1.x. Cool, so we don't see regression in terms of lyx codebase :) P
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Thu, Jan 07, 2016 at 02:30:58PM -0800, Pavel Sanda wrote: > Scott Kostyshak wrote: > > > > These versions produce the error for me: > > > > > > > > $ ./autogen.sh > > > > Using automake (GNU automake) 1.14.1 > > > > Using autoconf (GNU Autoconf) 2.69 > > > > > > > > > > > > Georg > > > > > > I have the same, with the error too. > > > > I have the same as Kornel and Georg. > > And you don't observe this problem for 2.1.x, right? P I do observe this problem on 2.1.x. Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
Scott Kostyshak wrote: > > > These versions produce the error for me: > > > > > > $ ./autogen.sh > > > Using automake (GNU automake) 1.14.1 > > > Using autoconf (GNU Autoconf) 2.69 > > > > > > > > > Georg > > > > I have the same, with the error too. > > I have the same as Kornel and Georg. And you don't observe this problem for 2.1.x, right? P
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Thu, Jan 07, 2016 at 10:59:26PM +0100, Kornel Benko wrote: > Am Donnerstag, 7. Januar 2016 um 22:42:03, schrieb Georg Baum > > > Pavel Sanda wrote: > > > > > Scott Kostyshak wrote: > > >> > > >> Can you reproduce now? > > > > > > Nope. Smells like automake/autoconf versions. What is your config? > > > > These versions produce the error for me: > > > > $ ./autogen.sh > > Using automake (GNU automake) 1.14.1 > > Using autoconf (GNU Autoconf) 2.69 > > > > > > Georg > > I have the same, with the error too. I have the same as Kornel and Georg. Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
Am Donnerstag, 7. Januar 2016 um 22:42:03, schrieb Georg Baum > Pavel Sanda wrote: > > > Scott Kostyshak wrote: > >> > >> Can you reproduce now? > > > > Nope. Smells like automake/autoconf versions. What is your config? > > These versions produce the error for me: > > $ ./autogen.sh > Using automake (GNU automake) 1.14.1 > Using autoconf (GNU Autoconf) 2.69 > > > Georg I have the same, with the error too. Kornel signature.asc Description: This is a digitally signed message part.
Re: make distcheck: cannot remove '../../po/lyx.pot'
Georg Baum wrote: > Pavel Sanda wrote: > > > Scott Kostyshak wrote: > >> > >> Can you reproduce now? > > > > Nope. Smells like automake/autoconf versions. What is your config? > > These versions produce the error for me: > > $ ./autogen.sh > Using automake (GNU automake) 1.14.1 > Using autoconf (GNU Autoconf) 2.69 These work for me: automake (GNU automake) 1.11.3 autoconf (GNU Autoconf) 2.68 P
Re: make distcheck: cannot remove '../../po/lyx.pot'
Scott Kostyshak wrote: > > Nope. Smells like automake/autoconf versions. What is your config? > > First part is below. Do you want the whole (long) config.log file? Sorry I just meant these two commands: automake --version autoconf --version P
Re: make distcheck: cannot remove '../../po/lyx.pot'
Pavel Sanda wrote: > Scott Kostyshak wrote: >> >> Can you reproduce now? > > Nope. Smells like automake/autoconf versions. What is your config? These versions produce the error for me: $ ./autogen.sh Using automake (GNU automake) 1.14.1 Using autoconf (GNU Autoconf) 2.69 Georg
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Thu, Jan 07, 2016 at 01:24:45PM -0800, Pavel Sanda wrote: > Scott Kostyshak wrote: > > --- > > mkdir /tmp/tmp.EI1jW3t6A1 > > cd /path/to/git/repo > > git reset --hard > > git clean -xdf > > ./autogen.sh > > cd /tmp/tmp.EI1jW3t6A1 && /path/to/git/repo/configure > > --enable-build-type=pre --enable-monolithic-build=no > > make -j4 > > make -j4 check > > make -j4 distcheck > > echo $? > > --- > > > > Note that I can reproduce it with many other specifications (e.g. configure > > options). > > > > Can you reproduce now? > > Nope. Smells like automake/autoconf versions. What is your config? First part is below. Do you want the whole (long) config.log file? This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by LyX configure 2.2.0dev, which was generated by GNU Autoconf 2.69. Invocation command line was $ /home/scott/lyxbuilds/master_TEMP/repo/configure ## - ## ## Platform. ## ## - ## hostname = cotopaxi uname -m = x86_64 uname -r = 3.19.0-33-generic uname -s = Linux uname -v = #38-Ubuntu SMP Fri Nov 6 18:18:12 UTC 2015 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
Scott Kostyshak wrote: > --- > mkdir /tmp/tmp.EI1jW3t6A1 > cd /path/to/git/repo > git reset --hard > git clean -xdf > ./autogen.sh > cd /tmp/tmp.EI1jW3t6A1 && /path/to/git/repo/configure --enable-build-type=pre > --enable-monolithic-build=no > make -j4 > make -j4 check > make -j4 distcheck > echo $? > --- > > Note that I can reproduce it with many other specifications (e.g. configure > options). > > Can you reproduce now? Nope. Smells like automake/autoconf versions. What is your config? P
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Wed, Jan 06, 2016 at 02:22:35PM -0800, Pavel Sanda wrote: > Georg Baum wrote: > > Pavel Sanda wrote: > > > > > Scott Kostyshak wrote: > > >> (although I still don't understand why). I get another instance of the > > >> same error though when using a build directory instead of an in-source > > >> build. > > > > > > Recipe? P > > > > Starting from the top level source directory: > > > > ./autogen.sh > > mkdir buildtest > > cd buildtest > > ../configure > > make distcheck > > > > But since 'make distcheck' works if it is run directly in the source > > directory it is probably no show stopper for the beta (but we should create > > a bug in trac). > > Still can't reproduce on the current HEAD, > you use git clean -xdf before your recipy, right? > Pavel I just tried the current HEAD (ac1cd1ad) and I can still reproduce. To use the exact commands that I run, run the following commands. Note the possible consequences (e.g. git reset --hard and git clean -xdf will cause you to lose any unsaved work). You just need to change the two instances of /path/to/git/repo --- mkdir /tmp/tmp.EI1jW3t6A1 cd /path/to/git/repo git reset --hard git clean -xdf ./autogen.sh cd /tmp/tmp.EI1jW3t6A1 && /path/to/git/repo/configure --enable-build-type=pre --enable-monolithic-build=no make -j4 make -j4 check make -j4 distcheck echo $? --- Note that I can reproduce it with many other specifications (e.g. configure options). Can you reproduce now? Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
Georg Baum wrote: > Pavel Sanda wrote: > > > Scott Kostyshak wrote: > >> (although I still don't understand why). I get another instance of the > >> same error though when using a build directory instead of an in-source > >> build. > > > > Recipe? P > > Starting from the top level source directory: > > ./autogen.sh > mkdir buildtest > cd buildtest > ../configure > make distcheck > > But since 'make distcheck' works if it is run directly in the source > directory it is probably no show stopper for the beta (but we should create > a bug in trac). Still can't reproduce on the current HEAD, you use git clean -xdf before your recipy, right? Pavel
Re: make distcheck: cannot remove '../../po/lyx.pot'
Pavel Sanda wrote: > Scott Kostyshak wrote: >> (although I still don't understand why). I get another instance of the >> same error though when using a build directory instead of an in-source >> build. > > Recipe? P Starting from the top level source directory: ./autogen.sh mkdir buildtest cd buildtest ../configure make distcheck But since 'make distcheck' works if it is run directly in the source directory it is probably no show stopper for the beta (but we should create a bug in trac). Georg
Re: make distcheck: cannot remove '../../po/lyx.pot'
Scott Kostyshak wrote: > (although I still don't understand why). I get another instance of the > same error though when using a build directory instead of an in-source > build. Recipe? P
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Tue, Jan 05, 2016 at 08:10:55PM -0800, Pavel Sanda wrote: > Jean-Marc Lasgouttes wrote: > > Le 25/11/2015 08:54, Scott Kostyshak a écrit : > >> Can anyone else reproduce this error from the following command? > >> > >> # make sure no local changes you want to keep in your LyX directory > >> # first do 'git reset --hard' > >> # then 'git clean -xdf' > >> ./autogen.sh && ./configure --enable-build-type=pre --disable-nls && make > >> && make check && make distcheck && echo "ALL TESTS PASSED" > >> > >> ... > >> > >> rm: cannot remove ???../../po/lyx.pot???: Permission denied > >> Makefile:368: recipe for target 'lyx.pot-update' failed > > > > I run out of ideas and my makefile debugging skills are limited. > > > > Pavel, would you have an idea? > > I thought I would give it a try but I can't reproduce the problem no matter > what config params I try. > $ git clean -xdf > $ ./autogen.sh && ./configure --enable-build-type=pre --disable-nls && make > -j30 && make -j30 check && make -j30 distcheck && echo "ALL TESTS PASSED" > > > > ALL TESTS PASSED > $ > > (Using automake (GNU automake) 1.11.3 > Using autoconf (GNU Autoconf) 2.68) > P This particular instance of the error was fixed for me with 7c4a1e16 (although I still don't understand why). I get another instance of the same error though when using a build directory instead of an in-source build. Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
Jean-Marc Lasgouttes wrote: > Le 25/11/2015 08:54, Scott Kostyshak a écrit : >> Can anyone else reproduce this error from the following command? >> >> # make sure no local changes you want to keep in your LyX directory >> # first do 'git reset --hard' >> # then 'git clean -xdf' >> ./autogen.sh && ./configure --enable-build-type=pre --disable-nls && make >> && make check && make distcheck && echo "ALL TESTS PASSED" >> >> ... >> >> rm: cannot remove ???../../po/lyx.pot???: Permission denied >> Makefile:368: recipe for target 'lyx.pot-update' failed > > I run out of ideas and my makefile debugging skills are limited. > > Pavel, would you have an idea? I thought I would give it a try but I can't reproduce the problem no matter what config params I try. $ git clean -xdf $ ./autogen.sh && ./configure --enable-build-type=pre --disable-nls && make -j30 && make -j30 check && make -j30 distcheck && echo "ALL TESTS PASSED" ALL TESTS PASSED $ (Using automake (GNU automake) 1.11.3 Using autoconf (GNU Autoconf) 2.68) P
Re: make distcheck: cannot remove '../../po/lyx.pot'
Jean-Marc Lasgouttes wrote: > Le 03/01/2016 13:08, Kornel Benko a écrit : >> I think, we cannot solve it now. As I understand, automake expects that >> the source dir will not be changed, but our po-handling changes not only >> lyx.pot but also all files in the po directory. Lyx.pot is only the first >> one found. > > Normally, a fresh unpacked lyx source does not require any write access > to the source directory. This is what happens with 2.1.X. We have to > find out what is different with 2.2. I tried to do that and did run ../configure && make -d distcheck > out.log for both versions in the build directory, and now I am puzzled. The produced output file is unfortunetaly huge, but if I understand it correctly then the target lyx.pot-update is called in both versions inside the build directory lyx-2.1.5dev/_build/po/ or lyx-2.2.0dev/_build/po/, respectively. The target lyx.pot-update is supposed to build lyx.pot inside the unpacked source directory (i.e. lyx-2.1.5dev/po/lyx.pot or lyx-2.2.0dev/po/lyx.pot unconditionally. For some reason (which I cannot figure out from the log file) lyx.pot is _not_ remade for 2.1 by the lyx.pot-update target (or the write protection on the unpacked source directory does not work). Now I would like to have a look at both the build directory lyx-2.1.5dev/_build/po/ and the unpacked sources lyx-2.1.5dev/po/, but I don't know how I can cause make to stop at this point (lyx-2.1.5dev is deleted if the distcheck target succeeds). Georg PS: Sorry for not yet answering the other 'open' threads, I'll hopefully be able to do that tomorrow.
Re: make distcheck: cannot remove '../../po/lyx.pot'
Le 03/01/2016 13:08, Kornel Benko a écrit : I think, we cannot solve it now. As I understand, automake expects that the source dir will not be changed, but our po-handling changes not only lyx.pot but also all files in the po directory. Lyx.pot is only the first one found. Normally, a fresh unpacked lyx source does not require any write access to the source directory. This is what happens with 2.1.X. We have to find out what is different with 2.2. Matrc
Re: make distcheck: cannot remove '../../po/lyx.pot'
Am Sonntag, 20. Dezember 2015 um 16:39:33, schrieb Scott Kostyshak > On Sat, Dec 19, 2015 at 10:19:59AM -0800, Pavel Sanda wrote: > > Scott Kostyshak wrote: > > > It would be nice to fix this so that we can run all of the compilation > > > tests before releasing beta. > > > > Did you try to bisect? Pavel > > Yes I did this for a previous instance of the error. I bisected on two > different computers and got the same commit. I fixed it here: 7c4a1e16 > > I have no idea why it fixed the error though. And it is not surprising > that another instance of the error (with a different build command) > occurs. I'm not sure it is worth a lot of time to bisect to find another > commit that I don't understand why it would cause the error. Georg has > mentioned that it could be due to some strange timestamp issue, or > possibly an issue with faking permissions. I'm not sure in this case > that a bisect would lead us to the root problem. > > Scott I think, we cannot solve it now. As I understand, automake expects that the source dir will not be changed, but our po-handling changes not only lyx.pot but also all files in the po directory. Lyx.pot is only the first one found. Kornel signature.asc Description: This is a digitally signed message part.
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Sat, Dec 19, 2015 at 12:17:08PM +0100, Georg Baum wrote: > > It would be nice to fix this so that we can run all of the compilation > > tests before releasing beta. > > Definitely. Would you say this should be a beta blocker? If so, what about an alpha blocker? If so, I will make this clear in the release notes (which already say to run the make commands but don't necessary say that their failures are automatically considered blockers. Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
Le 19/12/2015 12:17, Georg Baum a écrit : This code is executed in build-dir/po, so ../../po/lyx.pot points to the file in the source tree. lyx.pot exists and is writable, so the only thing I can imagine is some trickery that tries to forbid writing into the source tree by faking permissions, but this is beyond my knowledge. This trickery is the only simple aspect of this thing. The targz is unpacked and the source tree is set to read only: distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst chmod a-w $(distdir) [more ugly code] JMarc
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Sat, Dec 19, 2015 at 11:41:02AM +0100, Kornel Benko wrote: > Am Samstag, 19. Dezember 2015 um 05:24:48, schrieb Scott Kostyshak > > > On Tue, Dec 15, 2015 at 12:28:32PM -0500, Scott Kostyshak wrote: > > > On Tue, Dec 15, 2015 at 02:20:50PM +0100, Jean-Marc Lasgouttes wrote: > > > > > > > > I have no idea why, but the attached patch seems to fix 'make > > > > > distcheck' for me. > > > > > > > > > > Can it go in? > > > > > > > > It is strange that it can fix anything. But it should definitely go > > > > in. > > > > > > OK it's in at 7c4a1e16. > > > > I am still seeing the error. I don't know if it is another instance of > > it or the same one. Is there anyone that does not see the error that > > would be interested in investigating? If so, I will give the precise > > steps to reproduce. > > > > It would be nice to fix this so that we can run all of the compilation > > tests before releasing beta. > > > > Scott > > Just a question .. why are you compiling in source? I could not see errors in > ./autogen.sh > cd build-dir > source-dir/configure --enable-build-type=pre --disable-nls > make -j12 > make -j12 check > make -j12 distcheck I now use a build directory and I see the error. There is something about this bug that it does not surprise me that you cannot reproduce. I have no idea what's going on. Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Sat, Dec 19, 2015 at 10:19:59AM -0800, Pavel Sanda wrote: > Scott Kostyshak wrote: > > It would be nice to fix this so that we can run all of the compilation > > tests before releasing beta. > > Did you try to bisect? Pavel Yes I did this for a previous instance of the error. I bisected on two different computers and got the same commit. I fixed it here: 7c4a1e16 I have no idea why it fixed the error though. And it is not surprising that another instance of the error (with a different build command) occurs. I'm not sure it is worth a lot of time to bisect to find another commit that I don't understand why it would cause the error. Georg has mentioned that it could be due to some strange timestamp issue, or possibly an issue with faking permissions. I'm not sure in this case that a bisect would lead us to the root problem. Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
Scott Kostyshak wrote: > It would be nice to fix this so that we can run all of the compilation > tests before releasing beta. Did you try to bisect? Pavel
Re: make distcheck: cannot remove '../../po/lyx.pot'
Scott Kostyshak wrote: > I am still seeing the error. I don't know if it is another instance of > it or the same one. Is there anyone that does not see the error that > would be interested in investigating? If so, I will give the precise > steps to reproduce. I get it as well. It seems to be caused by the following code: test ! -f lyx.po || { \ if test -f ../../po/lyx.pot; then \ sed -f remove-potcdate.sed < ../../po/lyx.pot > lyx.1po && \ sed -f remove-potcdate.sed < lyx.po > lyx.2po && \ if cmp lyx.1po lyx.2po >/dev/null 2>&1; then \ rm -f lyx.1po lyx.2po lyx.po; \ else \ rm -f lyx.1po lyx.2po ../../po/lyx.pot && \ mv lyx.po ../../po/lyx.pot; \ fi; \ else \ mv lyx.po ../../po/lyx.pot; \ fi; \ } rm: das Entfernen von „../../po/lyx.pot“ ist nicht möglich: Keine Berechtigung This code is executed in build-dir/po, so ../../po/lyx.pot points to the file in the source tree. lyx.pot exists and is writable, so the only thing I can imagine is some trickery that tries to forbid writing into the source tree by faking permissions, but this is beyond my knowledge. > It would be nice to fix this so that we can run all of the compilation > tests before releasing beta. Definitely. Georg
Re: make distcheck: cannot remove '../../po/lyx.pot'
Am Samstag, 19. Dezember 2015 um 05:24:48, schrieb Scott Kostyshak > On Tue, Dec 15, 2015 at 12:28:32PM -0500, Scott Kostyshak wrote: > > On Tue, Dec 15, 2015 at 02:20:50PM +0100, Jean-Marc Lasgouttes wrote: > > > > > > I have no idea why, but the attached patch seems to fix 'make > > > > distcheck' for me. > > > > > > > > Can it go in? > > > > > > It is strange that it can fix anything. But it should definitely go > > > in. > > > > OK it's in at 7c4a1e16. > > I am still seeing the error. I don't know if it is another instance of > it or the same one. Is there anyone that does not see the error that > would be interested in investigating? If so, I will give the precise > steps to reproduce. > > It would be nice to fix this so that we can run all of the compilation > tests before releasing beta. > > Scott Just a question .. why are you compiling in source? I could not see errors in ./autogen.sh cd build-dir source-dir/configure --enable-build-type=pre --disable-nls make -j12 make -j12 check make -j12 distcheck Kornel signature.asc Description: This is a digitally signed message part.
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Tue, Dec 15, 2015 at 12:28:32PM -0500, Scott Kostyshak wrote: > On Tue, Dec 15, 2015 at 02:20:50PM +0100, Jean-Marc Lasgouttes wrote: > > > > I have no idea why, but the attached patch seems to fix 'make > > > distcheck' for me. > > > > > > Can it go in? > > > > It is strange that it can fix anything. But it should definitely go > > in. > > OK it's in at 7c4a1e16. I am still seeing the error. I don't know if it is another instance of it or the same one. Is there anyone that does not see the error that would be interested in investigating? If so, I will give the precise steps to reproduce. It would be nice to fix this so that we can run all of the compilation tests before releasing beta. Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Tue, Dec 15, 2015 at 02:20:50PM +0100, Jean-Marc Lasgouttes wrote: > > I have no idea why, but the attached patch seems to fix 'make > > distcheck' for me. > > > > Can it go in? > > It is strange that it can fix anything. But it should definitely go > in. OK it's in at 7c4a1e16. > Did you check whether there are other missing entries? I did not. I'll add this to the release manager checklist. Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 14/12/2015 22:14, Scott Kostyshak a écrit : > On Thu, Dec 10, 2015 at 09:35:57PM +0100, Georg Baum wrote: >> Scott Kostyshak wrote: >> >>> Interesting idea. In this case, a git bisect would be worthless >>> so I will wait before doing it. Is there a way to test your >>> theory? If we use 'touch' to update a file and then try? >> >> I'd think so. > > I have no idea why, but the attached patch seems to fix 'make > distcheck' for me. > > Can it go in? It is strange that it can fix anything. But it should definitely go in. Did you check whether there are other missing entries? JMarc -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAEBAgAGBQJWcBOyAAoJEM5u12ge/IfVvucP/2HmTB/jKivbnCHnULt1QZni OEsw1q4SC6Sxizdcc4Ha4VEnY9ZFdpKJfKwCX0sK8AbVGAUPHY+k2bddXhmyJVu/ TujFx/m0ciehOYJ9/4Wxznu6vOYidm9UqP4l+GoOyLqPrhT8BzSeB0JC3PhSwA1C b4/JwQzx7U5DjPSNB8HC98C65J+MJx34uQ0pqRhBiit8JbU9AZu7TArvtalDzUWw 8xv9lV1jFAN8CTABfizq/89IDWhKbzmndDKpe8NgEjpCBtgm54e8K9TLiFlhIG5i x1e0RXvut5MpMtKpG9V+0oOjqJEw9yst3u2pvIUZT1DDVY1Gqn3uWCu4TAoDMkQw t1cv0npixIaKV4ZMmx2QrVhIZP5o9fznMH+3PtMrgrmhQJIo4YaqYuotvojPkS2w Cm0yl4Rg9J8S413D9UO4Au2iXGuVg0cn1jLOe+j2bZxOezpxQVDMkcT2bV3cfSp0 iN5EKUE6ILDHw+CP5vHWWYlRLo5yvQAbpbY+F8eqj3H3w38A1mtCOaO3fG8CAwfI 1r6On5IbVmwNXzwfG5u3mnP3uC3gWup4UWmjMo3ubL9TyWoWR9UGqsoxMJqYJdOB yR76Qau5Mi5VEFuaHqYP1fA+9DnHntUbguEc0rJgKPNTnbmTnoe19NbGAeZqLrUq uBJVnw7BN7ky3wcQJpoG =7tYM -END PGP SIGNATURE-
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Thu, Dec 10, 2015 at 09:35:57PM +0100, Georg Baum wrote: > Scott Kostyshak wrote: > > > Interesting idea. In this case, a git bisect would be worthless so I > > will wait before doing it. Is there a way to test your theory? If we use > > 'touch' to update a file and then try? > > I'd think so. I have no idea why, but the attached patch seems to fix 'make distcheck' for me. Can it go in? Scott From 0cbbfba70bdac6ef3d0670778af5bee9985f5323 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Mon, 14 Dec 2015 15:19:09 -0500 Subject: [PATCH] Add stdspecialchars.inc to Makefile.am MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This also fixes 'make distcheck', which was failing with a mysterious error message: cannot remove ‘../../po/lyx.pot’: Permission denied For discussion, see: https://www.mail-archive.com/search?l=mid&q=20151125075443.GA7491%40cotopaxi.hsd1.dc.comcast.net --- lib/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Makefile.am b/lib/Makefile.am index 7ca8bc6..f06e32f 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -2124,6 +2124,7 @@ dist_layouts_DATA =\ layouts/stdlyxlist.inc \ layouts/stdrefprefix.inc \ layouts/stdsections.inc \ + layouts/stdspecialchars.inc \ layouts/stdstarsections.inc \ layouts/stdstruct.inc \ layouts/stdtitle.inc \ -- 2.1.4 signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
Scott Kostyshak wrote: > Interesting idea. In this case, a git bisect would be worthless so I > will wait before doing it. Is there a way to test your theory? If we use > 'touch' to update a file and then try? I'd think so. Georg
Re: make distcheck: cannot remove '../../po/lyx.pot'
Le 10/12/2015 03:30, Scott Kostyshak a écrit : On Wed, Dec 09, 2015 at 10:11:53PM +0100, Georg Baum wrote: This is just a shot in the dark, but when I try to compile from a fresh git checkout with autotools, it updates all po and gmo files once, including lyx.pot. This dos not happen anymore for any further compile, even if the sources did change. Maybe there is no difference between 2.1 and 2.2, but it is simply a matter of time stamps of the relevant files in the tar ball? Maybe for 2.1 lyx.pot has a later timestamp than the files it depends on, and for 2.2 this is not the case? Interesting idea. In this case, a git bisect would be worthless so I will wait before doing it. Is there a way to test your theory? If we use 'touch' to update a file and then try? Yes, this is something I forgot to mention. I never understood what are the situations where the files are rebuilt. JMarc
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Wed, Dec 09, 2015 at 10:11:53PM +0100, Georg Baum wrote: > Jean-Marc Lasgouttes wrote: > > > I run out of ideas and my makefile debugging skills are limited. > > > > Pavel, would you have an idea? > > - make distcheck works on 2.1, not 2.2 > > - --disable-nls does not matter here > > - the Makefile.in.in is the same in both cases > > - actually everything seems to be the same :( > > > > The error happens because distcheck tries at some point to create > > po/lyx.pot and the unpacked source tree has been marked as read-only. > > This is just a shot in the dark, but when I try to compile from a fresh git > checkout with autotools, it updates all po and gmo files once, including > lyx.pot. This dos not happen anymore for any further compile, even if the > sources did change. Maybe there is no difference between 2.1 and 2.2, but it > is simply a matter of time stamps of the relevant files in the tar ball? > Maybe for 2.1 lyx.pot has a later timestamp than the files it depends on, > and for 2.2 this is not the case? Interesting idea. In this case, a git bisect would be worthless so I will wait before doing it. Is there a way to test your theory? If we use 'touch' to update a file and then try? Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
Jean-Marc Lasgouttes wrote: > I run out of ideas and my makefile debugging skills are limited. > > Pavel, would you have an idea? > - make distcheck works on 2.1, not 2.2 > - --disable-nls does not matter here > - the Makefile.in.in is the same in both cases > - actually everything seems to be the same :( > > The error happens because distcheck tries at some point to create > po/lyx.pot and the unpacked source tree has been marked as read-only. This is just a shot in the dark, but when I try to compile from a fresh git checkout with autotools, it updates all po and gmo files once, including lyx.pot. This dos not happen anymore for any further compile, even if the sources did change. Maybe there is no difference between 2.1 and 2.2, but it is simply a matter of time stamps of the relevant files in the tar ball? Maybe for 2.1 lyx.pot has a later timestamp than the files it depends on, and for 2.2 this is not the case? Georg
Re: make distcheck: cannot remove '../../po/lyx.pot'
Scott Kostyshak wrote: > > Pavel, would you have an idea? > > - make distcheck works on 2.1, not 2.2 > > I did not realize it worked on 2.1. I still have not confirmed this, but > if it does work for me, I do not mind doing a git bisect. Would that > help? That would help, I might have little bit time this weekend to look if we don't get further. Pavel
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Wed, Dec 09, 2015 at 05:06:10PM +0100, Jean-Marc Lasgouttes wrote: > Le 25/11/2015 08:54, Scott Kostyshak a écrit : > >Can anyone else reproduce this error from the following command? > > > ># make sure no local changes you want to keep in your LyX directory > ># first do 'git reset --hard' > ># then 'git clean -xdf' > >./autogen.sh && ./configure --enable-build-type=pre --disable-nls && make && > >make check && make distcheck && echo "ALL TESTS PASSED" > > > >... > > > >rm: cannot remove ‘../../po/lyx.pot’: Permission denied > >Makefile:368: recipe for target 'lyx.pot-update' failed > > I run out of ideas and my makefile debugging skills are limited. > > Pavel, would you have an idea? > - make distcheck works on 2.1, not 2.2 I did not realize it worked on 2.1. I still have not confirmed this, but if it does work for me, I do not mind doing a git bisect. Would that help? Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
Le 25/11/2015 08:54, Scott Kostyshak a écrit : Can anyone else reproduce this error from the following command? # make sure no local changes you want to keep in your LyX directory # first do 'git reset --hard' # then 'git clean -xdf' ./autogen.sh && ./configure --enable-build-type=pre --disable-nls && make && make check && make distcheck && echo "ALL TESTS PASSED" ... rm: cannot remove ‘../../po/lyx.pot’: Permission denied Makefile:368: recipe for target 'lyx.pot-update' failed I run out of ideas and my makefile debugging skills are limited. Pavel, would you have an idea? - make distcheck works on 2.1, not 2.2 - --disable-nls does not matter here - the Makefile.in.in is the same in both cases - actually everything seems to be the same :( The error happens because distcheck tries at some point to create po/lyx.pot and the unpacked source tree has been marked as read-only. Actually I suspect that building LyX does not work when source is read-only. But I do not know why. JMarc
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Fri, Nov 27, 2015 at 02:41:12PM +0100, Jean-Marc Lasgouttes wrote: > Le 25/11/2015 08:54, Scott Kostyshak a écrit : > >rm: cannot remove ‘../../po/lyx.pot’: Permission denied > >Makefile:368: recipe for target 'lyx.pot-update' failed > > > >I wouldn't be surprised if this is something specific to my computer but > >thought I would check in just to make sure. > > All I can say for now is that this is not related to --disable-nls. > > "make distcheck" unpacks the distribution and makes it read-only. After > that, the error happens because some line in po/Makefile tries to write to > the source tree. I see. Yes I can reproduce with it besides --disable-nls as well. > Still investigating. Thanks for looking into it. Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
Le 25/11/2015 08:54, Scott Kostyshak a écrit : rm: cannot remove ‘../../po/lyx.pot’: Permission denied Makefile:368: recipe for target 'lyx.pot-update' failed I wouldn't be surprised if this is something specific to my computer but thought I would check in just to make sure. All I can say for now is that this is not related to --disable-nls. "make distcheck" unpacks the distribution and makes it read-only. After that, the error happens because some line in po/Makefile tries to write to the source tree. Still investigating. JMarc
Re: make distcheck: cannot remove '../../po/lyx.pot'
On Wed, Nov 25, 2015 at 09:29:28PM +0100, Jean-Marc Lasgouttes wrote: > Le 25/11/2015 08:54, Scott Kostyshak a écrit : > >Can anyone else reproduce this error from the following command? > > > ># make sure no local changes you want to keep in your LyX directory > ># first do 'git reset --hard' > ># then 'git clean -xdf' > >./autogen.sh && ./configure --enable-build-type=pre --disable-nls && make && > >make check && make distcheck && echo "ALL TESTS PASSED" > > > >... > > > >rm: cannot remove ‘../../po/lyx.pot’: Permission denied > >Makefile:368: recipe for target 'lyx.pot-update' failed > > > >I wouldn't be surprised if this is something specific to my computer but > >thought I would check in just to make sure. > > I see it too. I'm looking at it, but I have not completely nailed it yet > (there are other errors after the first one). OK thanks for confirming and for taking a look. Scott signature.asc Description: PGP signature
Re: make distcheck: cannot remove '../../po/lyx.pot'
Le 25/11/2015 08:54, Scott Kostyshak a écrit : Can anyone else reproduce this error from the following command? # make sure no local changes you want to keep in your LyX directory # first do 'git reset --hard' # then 'git clean -xdf' ./autogen.sh && ./configure --enable-build-type=pre --disable-nls && make && make check && make distcheck && echo "ALL TESTS PASSED" ... rm: cannot remove ‘../../po/lyx.pot’: Permission denied Makefile:368: recipe for target 'lyx.pot-update' failed I wouldn't be surprised if this is something specific to my computer but thought I would check in just to make sure. I see it too. I'm looking at it, but I have not completely nailed it yet (there are other errors after the first one). JMarc
make distcheck: cannot remove '../../po/lyx.pot'
Can anyone else reproduce this error from the following command? # make sure no local changes you want to keep in your LyX directory # first do 'git reset --hard' # then 'git clean -xdf' ./autogen.sh && ./configure --enable-build-type=pre --disable-nls && make && make check && make distcheck && echo "ALL TESTS PASSED" ... rm: cannot remove ‘../../po/lyx.pot’: Permission denied Makefile:368: recipe for target 'lyx.pot-update' failed I wouldn't be surprised if this is something specific to my computer but thought I would check in just to make sure. Scott signature.asc Description: PGP signature