axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] .svn recursive copying bug


From: Ralf Hemmecke
Subject: [Axiom-developer] .svn recursive copying bug
Date: Sun, 02 Jul 2006 15:09:21 +0200
User-agent: Thunderbird 1.5.0.4 (X11/20060516)

Hello,

I've just looked into the problem with the double copying of .svn directories and I think I've found the offending lines.

It is in Makefile.pamphlet in the root directory.

There we find

<<literate commands>>=
${MNT}/${SYS}/bin/Makefile.pamphlet:
        @echo 0 ${ENV}
        @echo 10 copying ${SRC}/scripts to ${MNT}/${SYS}/bin
        @cp -pr ${SRC}/scripts/* ${MNT}/${SYS}/bin

@

and

<<rootdirs>>=
rootdirs: ${MNT}/${SYS}/bin/Makefile.pamphlet
        @echo 11 checking directory structure
        @echo 12 Environment: ${ENV}
        @mkdir -p ${INT}
        @mkdir -p ${OBJ}/${SYS}
        @mkdir -p ${TMP}
        @mkdir -p ${MNT}/${SYS}/bin/lib
        @mkdir -p ${MNT}/${SYS}/doc/src
        @cp -pr ${SRC}/scripts/* ${MNT}/${SYS}/bin
@

As you can see, the rootdirs target depends on ${MNT}/${SYS}/bin/Makefile.pamphlet. That means that the copying has already done. So the last line in the rootdirs commands is completely useless and can be removed.

After fixing that there must be a second fix. MAKE proceeds then into the subdirectory src/scripts and processes the Makefile.pamphlet. But that file says

OUT=${MNT}/${SYS}/bin

all:
        @echo 1 making ${SRC}/scripts
        @cp -pr * ${OUT}
        @mkdir -p ${OUT}/tex
        @rm -f ${OUT}/Makefile*

clean:
        @echo 2 cleaning ${SRC}/scripts

So, it is another unnecessary copy, since according to the way the build is done, that directory is the the first thing that will be created anyway. (See toplevel Makefile target "all".

Since I don't quite understand all of the build, I would suggest to do the above copy in src/scripts/Makefile.pamphlet in a similar way as in the top-level Makefile.

##BEGIN
OUT=${MNT}/${SYS}/bin

all: ${OUT}/Makefile.pamphlet
        address@hidden -p ${OUT}/tex

${OUT}/Makefile.pamphlet:
        @echo 1 making ${SRC}/scripts
        @cp -pr * ${OUT}
##END



Ralf

----------------------------------------------
> ~/OTHER/Axiom/silver/axiom>make NOISE=
13 making noweb
patching file modules.c
patching file Makefile
mnt.o(.text+0x366): In function `emitfile':
: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[1]: [install-shell] Error 1 (ignored)
make[1]: [install-code] Error 1 (ignored)
texhash: /usr/local/share/texmf/ls-R: no write permission. Skipping...
texhash: /usr/local/lib/texmf/ls-R: no write permission. Skipping...
texhash: /var/lib/texmf/ls-R: no write permission. Skipping...
texhash: /var/lib/texmf/ls-R-TEXMFMAIN: no write permission. Skipping...
texhash: /var/cache/fonts/ls-R: no write permission. Skipping...
make[1]: [install-elisp] Error 1 (ignored)
0 SPAD=/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux SYS=linux SPD=/home/hemmecke/OTHER/Axiom/silver/axiom LSP=/home/hemmecke/OTHER/Axiom/silver/axiom/lsp GCLDIR=/home/hemmecke/OTHER/Axiom/silver/axiom/lsp/gcl-2.6.8pre SRC=/home/hemmecke/OTHER/Axiom/silver/axiom/src INT=/home/hemmecke/OTHER/Axiom/silver/axiom/int OBJ=/home/hemmecke/OTHER/Axiom/silver/axiom/obj MNT=/home/hemmecke/OTHER/Axiom/silver/axiom/mnt ZIPS=/home/hemmecke/OTHER/Axiom/silver/axiom/zips TMP=/home/hemmecke/OTHER/Axiom/silver/axiom/obj/tmp SPADBIN=/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin INC=/home/hemmecke/OTHER/Axiom/silver/axiom/src/include CCLBASE=/home/hemmecke/OTHER/Axiom/silver/axiom/obj/linux/ccl/ccllisp PART=cprogs SUBPART=everything NOISE= GCLVERSION=gcl-2.6.8pre TANGLE=/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin/lib/notangle VERSION=Axiom (April 2006) PATCH=patchDOCUMENT=/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin/document WEAVE=/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin/lib/noweave 10 copying /home/hemmecke/OTHER/Axiom/silver/axiom/src/scripts to /home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin
1 making a linux system, PART=cprogs SUBPART=everything
2 Environment SPAD=/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux SYS=linux SPD=/home/hemmecke/OTHER/Axiom/silver/axiom LSP=/home/hemmecke/OTHER/Axiom/silver/axiom/lsp GCLDIR=/home/hemmecke/OTHER/Axiom/silver/axiom/lsp/gcl-2.6.8pre SRC=/home/hemmecke/OTHER/Axiom/silver/axiom/src INT=/home/hemmecke/OTHER/Axiom/silver/axiom/int OBJ=/home/hemmecke/OTHER/Axiom/silver/axiom/obj MNT=/home/hemmecke/OTHER/Axiom/silver/axiom/mnt ZIPS=/home/hemmecke/OTHER/Axiom/silver/axiom/zips TMP=/home/hemmecke/OTHER/Axiom/silver/axiom/obj/tmp SPADBIN=/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin INC=/home/hemmecke/OTHER/Axiom/silver/axiom/src/include CCLBASE=/home/hemmecke/OTHER/Axiom/silver/axiom/obj/linux/ccl/ccllisp PART=cprogs SUBPART=everything NOISE= GCLVERSION=gcl-2.6.8pre TANGLE=/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin/lib/notangle VERSION=Axiom (April 2006)PATCH=patch DOCUMENT=/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin/document WEAVE=/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin/lib/noweave
This is e-TeX, Version 3.14159-2.1 (Web2C 7.4.5)
entering extended mode
(./Makefile.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, b ahasa, basque, catalan, croatian, czech, danish, dutch, finnish, greek, iceland ic, irish, italian, latin, magyar, norsk, norsk, portuges, romanian, russian, s
lovak, slovene, spanish, swedish, turkish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo)) (./src/scripts/tex/axiom.sty)
No file Makefile.aux.
[1]
No file Makefile.toc.
[2] [3]
Overfull \hbox (41.71167pt too wide) in paragraph at lines 74--78
\OT1/cmr/m/n/10 for de-bug-ging pur-poses. We use the spe-cific file \OT1/cmtt/
m/n/10 ${MNT}/${SYS}/bin/Makefile.pamphlet
[4] [5] [6] [7] [8]
Overfull \hbox (34.22025pt too wide) in paragraph at lines 290--293
[]\OT1/cmr/m/n/10 The \OT1/cmtt/m/n/10 DOCUMENT \OT1/cmr/m/n/10 vari-able is no
w set to re-place the di-rect call to the \OT1/cmtt/m/n/10 $SPADBIN/document
[9] [10] [11] [12]
Overfull \hbox (48.74657pt too wide) in paragraph at lines 460--460
[]\OT1/cmtt/m/n/10 the {\tt{}noweb.src.shell.roff.mm.patch} file remove the ins
ecure temp file[]

Overfull \hbox (17.24684pt too wide) in paragraph at lines 460--460
[]\OT1/cmtt/m/n/10 {\tt{}noweb.src.lib.toascii.patch} because this is not a sou
rce file.[]
[13]
Overfull \hbox (53.99652pt too wide) in paragraph at lines 460--460
[] \OT1/cmtt/m/n/10 ${ENV} ${MAKE} BIN=${MNT}/${SYS}/bin/lib LIB=${MNT}/
${SYS}/bin/lib \[]

Overfull \hbox (48.74657pt too wide) in paragraph at lines 460--460
[] \OT1/cmtt/m/n/10 TEXINPUTS=${MNT}/${SYS}/bin/tex all install
>${TMP}/trace )[]

Overfull \hbox (22.4968pt too wide) in paragraph at lines 460--460
[] \OT1/cmtt/m/n/10 @echo The file marks the fact that noweb has been ma
de > noweb[]
[14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28]
[29]
Overfull \hbox (83.99927pt too wide) in paragraph at lines 1127--1127
[]\OT1/cmtt/m/n/10 CCF="-O2 -pipe -fno-strength-reduce -Wall -D_GNU_SOURCE -D$
{PLF} -I/usr/X11R6/include -I/usr/local/include"[]
[30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44]
[45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] (./Makefile.aux)

LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

 )
(see the transcript file for additional information)
Output written on Makefile.dvi (55 pages, 81740 bytes).
Transcript written on Makefile.log.
This is e-TeX, Version 3.14159-2.1 (Web2C 7.4.5)
entering extended mode
(./Makefile.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, b ahasa, basque, catalan, croatian, czech, danish, dutch, finnish, greek, iceland ic, irish, italian, latin, magyar, norsk, norsk, portuges, romanian, russian, s
lovak, slovene, spanish, swedish, turkish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo)) (./src/scripts/tex/axiom.sty)
(./Makefile.aux) [1] (./Makefile.toc [2]) [3] [4]
Overfull \hbox (41.71167pt too wide) in paragraph at lines 74--78
\OT1/cmr/m/n/10 for de-bug-ging pur-poses. We use the spe-cific file \OT1/cmtt/
m/n/10 ${MNT}/${SYS}/bin/Makefile.pamphlet
[5] [6] [7] [8] [9]
Overfull \hbox (34.22025pt too wide) in paragraph at lines 290--293
[]\OT1/cmr/m/n/10 The \OT1/cmtt/m/n/10 DOCUMENT \OT1/cmr/m/n/10 vari-able is no
w set to re-place the di-rect call to the \OT1/cmtt/m/n/10 $SPADBIN/document
[10] [11] [12] [13]
Overfull \hbox (48.74657pt too wide) in paragraph at lines 460--460
[]\OT1/cmtt/m/n/10 the {\tt{}noweb.src.shell.roff.mm.patch} file remove the ins
ecure temp file[]

Overfull \hbox (17.24684pt too wide) in paragraph at lines 460--460
[]\OT1/cmtt/m/n/10 {\tt{}noweb.src.lib.toascii.patch} because this is not a sou
rce file.[]
[14]
Overfull \hbox (53.99652pt too wide) in paragraph at lines 460--460
[] \OT1/cmtt/m/n/10 ${ENV} ${MAKE} BIN=${MNT}/${SYS}/bin/lib LIB=${MNT}/
${SYS}/bin/lib \[]

Overfull \hbox (48.74657pt too wide) in paragraph at lines 460--460
[] \OT1/cmtt/m/n/10 TEXINPUTS=${MNT}/${SYS}/bin/tex all install
>${TMP}/trace )[]

Overfull \hbox (22.4968pt too wide) in paragraph at lines 460--460
[] \OT1/cmtt/m/n/10 @echo The file marks the fact that noweb has been ma
de > noweb[]
[15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29]
[30]
Overfull \hbox (83.99927pt too wide) in paragraph at lines 1127--1127
[]\OT1/cmtt/m/n/10 CCF="-O2 -pipe -fno-strength-reduce -Wall -D_GNU_SOURCE -D$
{PLF} -I/usr/X11R6/include -I/usr/local/include"[]
[31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45]
[46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] (./Makefile.aux) )
(see the transcript file for additional information)
Output written on Makefile.dvi (56 pages, 105364 bytes).
Transcript written on Makefile.log.
make[1]: Entering directory `/home/hemmecke/OTHER/Axiom/silver/axiom'
11 checking directory structure
12 Environment: PLF=LINUXplatform CCF=-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -DLINUXplatform -I/usr/X11/include LDF=-L/usr/X11R6/lib CC=gcc AWK=gawk RANLIB=ranlib TOUCH=touch TAR=tar AXIOMXLROOT=/home/hemmecke/software/Axiom/mnt/linux/compiler O=o BYE=bye LISP=lsp DAASE=/home/hemmecke/OTHER/Axiom/silver/axiom/src/share XLIB=/usr/X11R6/lib GCLOPTS=--enable-vssize=65536*2 --enable-statsysbfd --enable-maxpage=256*1024 SRCDIRS=bootdir interpdir sharedir algebradir etcdir clefdir docdir graphdir smandir hyperdir inputdir PATCH=patch cp: cannot create regular file `/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin/tex/.svn/text-base/axiom.sty.svn-base': Permission denied cp: cannot create regular file `/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin/tex/.svn/prop-base/axiom.sty.svn-base': Permission denied cp: cannot create regular file `/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin/tex/.svn/props/axiom.sty.svn-work': Permission denied cp: cannot create regular file `/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin/tex/.svn/wcprops/axiom.sty.svn-work': Permission denied cp: cannot create regular file `/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin/tex/.svn/entries': Permission denied cp: cannot create regular file `/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin/tex/.svn/empty-file': Permission denied cp: cannot create regular file `/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin/tex/.svn/README.txt': Permission denied cp: cannot create regular file `/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin/tex/.svn/format': Permission denied cp: cannot create regular file `/home/hemmecke/OTHER/Axiom/silver/axiom/mnt/linux/bin/tex/.svn/dir-wcprops': Permission denied
make[1]: *** [rootdirs] Error 1
make[1]: Leaving directory `/home/hemmecke/OTHER/Axiom/silver/axiom'
make: *** [all] Error 2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]