unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15503: 24.3.50; [ELPA] admin/update-archive.sh fails to build the html files
@ 2013-10-02  1:10 Dmitry Gutov
  2013-10-02  1:57 ` Stefan Monnier
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Gutov @ 2013-10-02  1:10 UTC (permalink / raw)
  To: 15503

Am I using this right?

~/vc/elpa$ admin/update-archive.sh 
+ makelog=
+ pwd
+ buildir=/home/gutov/vc/elpa
+ export LANG=C
+ cd ../elpa
+ git pull
Already up-to-date.
+ emacs --batch -l /home/gutov/vc/elpa/admin/archive-contents.el -f archive-add/remove/update-externals
Source file `/home/gutov/emacs-bzr/trunk/lisp/emacs-lisp/cl-macs.el' newer than byte-compiled file
Running git pull in "/home/gutov/vc/elpa/packages/auctex/"
Updated auctex:Already up-to-date.

Running git pull in "/home/gutov/vc/elpa/packages/dismal/"
Updated dismal:Already up-to-date.

Running git pull in "/home/gutov/vc/elpa/packages/w3/"
Updated w3:Already up-to-date.

+ make -f /home/gutov/vc/elpa/GNUmakefile check_copyrights
Compute exceptions >copyright_exceptions~
diff -u "copyright_exceptions" "copyright_exceptions~"
+ cd /home/gutov/vc/elpa
+ rsync -av --delete --exclude=ChangeLog --exclude=.git --exclude=*.elc --exclude=*~ --exclude=*-autoloads.el ../elpa/packages ./
sending incremental file list

sent 26785 bytes  received 136 bytes  53842.00 bytes/sec
total size is 15124464  speedup is 561.81
+ emacs -batch -l admin/archive-contents.el -eval (archive-prepare-packages "../elpa")
Source file `/home/gutov/emacs-bzr/trunk/lisp/emacs-lisp/cl-macs.el' newer than byte-compiled file
Can't find previous revision name
+ rm -rf archive
+ make archive-full
rm -r archive-tmp
rm: cannot remove 'archive-tmp': No such file or directory
make: [archive-tmp] Error 1 (ignored)
mkdir -p archive-tmp
cp -a packages/. archive-tmp/packages
cd archive-tmp/packages; \
	pkgname=`curl -s http://orgmode.org/elpa/|perl -ne 'push @f, $1 if m/(org-\d{8})\.tar/; END { @f = sort @f; print "$f[-1]\n"}'`; \
	wget -q http://orgmode.org/elpa/${pkgname}.tar -O ${pkgname}.tar; \
	if [ -f ${pkgname}.tar ]; then \
		tar xf ${pkgname}.tar; \
		rm -f ${pkgname}.tar; \
		mv ${pkgname} org; \
	fi
make  process-archive
make[1]: Entering directory `/home/gutov/vc/elpa'
# FIXME, we could probably speed this up significantly with
# rules like "%.tar: ../%/ChangeLog" so we only rebuild the packages
# that have indeed changed.
cd archive-tmp/packages;				\
	  emacs --batch -l /home/gutov/vc/elpa/admin/archive-contents.el	\
	           -f batch-make-archive
Source file `/home/gutov/emacs-bzr/trunk/lisp/emacs-lisp/cl-macs.el' newer than byte-compiled file
Skipping non-package file README
Wrote /home/gutov/vc/elpa/archive-tmp/packages/company/company-pkg.el
Skipping non-package file elpa.rss
Wrote /home/gutov/vc/elpa/archive-tmp/packages/js2-mode/js2-mode-pkg.el
Wrote /home/gutov/vc/elpa/archive-tmp/packages/yasnippet/yasnippet-pkg.el
Wrote /home/gutov/vc/elpa/archive-tmp/packages/archive-contents
Creating tarball ack-1.3.tar
Creating tarball adaptive-wrap-0.5.tar
Creating tarball adjust-parens-1.0.tar
Creating tarball all-1.0.tar
Creating tarball auctex-11.87.tar
Creating tarball cl-lib-0.3.tar
Creating tarball coffee-mode-0.4.1.tar
Creating tarball company-0.6.10.tar
Creating tarball csv-mode-1.2.tar
Creating tarball debbugs-0.4.tar
Creating tarball dict-tree-0.12.8.tar
Creating tarball dismal-1.5.tar
Creating tarball djvu-0.5.tar
Creating tarball docbook-0.1.tar
Creating tarball ediprolog-1.0.tar
Creating tarball eldoc-eval-0.1.tar
Creating tarball enwc-1.0.tar
Creating tarball epoch-view-0.0.1.tar
Creating tarball f90-interface-browser-1.1.tar
Creating tarball ggtags-0.6.7.tar
Creating tarball heap-0.3.tar
Creating tarball ioccur-2.4.tar
Creating tarball jgraph-mode-1.0.tar
Creating tarball js2-mode-20130619.tar
Creating tarball jumpc-3.0.tar
Creating tarball lex-1.1.tar
Creating tarball lmc-1.2.tar
Creating tarball load-dir-0.0.3.tar
Creating tarball markchars-0.2.0.tar
Creating tarball memory-usage-0.2.tar
Creating tarball minimap-1.0.tar
Creating tarball muse-3.20.tar
Creating tarball nhexl-mode-0.1.tar
Creating tarball nlinum-1.1.tar
Creating tarball notes-mode-1.30.tar
Creating tarball num3-mode-1.1.tar
Creating tarball oauth2-0.9.tar
Creating tarball omn-mode-1.0.tar
Creating tarball org-20130930.tar
Creating tarball quarter-plane-0.1.tar
Creating tarball queue-0.1.tar
Creating tarball rainbow-mode-0.9.tar
Creating tarball register-list-0.1.tar
Creating tarball shen-mode-0.1.tar
Creating tarball sisu-mode-3.0.3.tar
Creating tarball smart-operator-4.0.tar
Creating tarball sml-mode-6.4.tar
Creating tarball sokoban-1.0.4.tar
Creating tarball svg-clock-0.5.tar
Creating tarball tNFA-0.1.1.tar
Creating tarball temp-buffer-browse-1.0.tar
Creating tarball trie-0.2.6.tar
Creating tarball undo-tree-0.6.3.tar
Creating tarball uni-confusables-0.1.tar
Creating tarball vlf-0.9.1.tar
Creating tarball w3-4.0.49.tar
Creating tarball websocket-1.1.tar
Creating tarball windresize-0.1.tar
Creating tarball xclip-1.3.tar
Creating tarball yasnippet-0.8.0.tar
mkdir -p archive/packages
mv archive/packages archive/packages-old
mv archive-tmp/packages archive/packages
chmod -R a+rX archive/packages
rm -rf archive/packages-old
rm -rf archive-tmp
make[1]: Leaving directory `/home/gutov/vc/elpa'
#mkdir -p archive/admin
#cp admin/* archive/admin/
+ latest=emacs-packages-latest.tgz
+ cd archive
+ tar zcf emacs-packages-latest.tgz packages
+ cd ../
+ mkdir -p staging/packages
+ rm -rf staging-old
+ cp -a staging staging-old
+ basename build/archive/packages/*
+ dst=staging/packages/*
+ [ -r staging/packages/* ]
+ mv build/archive/packages/* staging/packages/*
mv: cannot stat 'build/archive/packages/*': No such file or directory
+ mv build/archive/emacs-packages-latest.tgz staging/
mv: cannot stat 'build/archive/emacs-packages-latest.tgz': No such file or directory
+ rm -rf build/archive
+ cd ../staging/packages
+ emacs --batch -l ../../build/admin/archive-contents.el --eval (batch-html-make-index)
Cannot open load file: No such file or directory, ../../build/admin/archive-contents.el





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

* bug#15503: 24.3.50; [ELPA] admin/update-archive.sh fails to build the html files
  2013-10-02  1:10 bug#15503: 24.3.50; [ELPA] admin/update-archive.sh fails to build the html files Dmitry Gutov
@ 2013-10-02  1:57 ` Stefan Monnier
  2013-10-02  2:25   ` Dmitry Gutov
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2013-10-02  1:57 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 15503

> Am I using this right?
> ~/vc/elpa$ admin/update-archive.sh 

Depends: what are you trying to do, and what have you done before
running the above command?

The above command is designed to run on elpa.gnu.org's setup.
You can run it locally for testing purposes, but you'll need to set
things up accordingly.
Basically, something like:

   git clone .../elpa
   mkdir build
   mkdir staging
   cd build
   ln -s ../elpa/GNUmakefile ../elpa/admin ./
   cd build
   admin/update-archive.sh


--- Stefan





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

* bug#15503: 24.3.50; [ELPA] admin/update-archive.sh fails to build the html files
  2013-10-02  1:57 ` Stefan Monnier
@ 2013-10-02  2:25   ` Dmitry Gutov
  2013-10-02  3:20     ` Stefan Monnier
  2014-12-14 12:19     ` Dmitry Gutov
  0 siblings, 2 replies; 7+ messages in thread
From: Dmitry Gutov @ 2013-10-02  2:25 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 15503

On 02.10.2013 04:57, Stefan Monnier wrote:
>> Am I using this right?
>> ~/vc/elpa$ admin/update-archive.sh
>
> Depends: what are you trying to do, and what have you done before
> running the above command?

Trying to test the changes to the html building code in 
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13291#38

I've tried creating the missing dirs, but not the symbolic links.

> The above command is designed to run on elpa.gnu.org's setup.
> You can run iutft locally for testing purposes, but you'll need to set
> things up accordingly.
> Basically, something like:
>
>     git clone .../elpa
>     mkdir build
>     mkdir staging
>     cd build
>     ln -s ../elpa/GNUmakefile ../elpa/admin ./
>     cd build
>     admin/update-archive.sh

That works, thanks.

When I run it this way, though, it keeps popping these kind of prompts:

...
+ cd ../staging/packages
+ emacs --batch -l ../../build/admin/archive-contents.el --eval 
(batch-html-make-index)
Source file `/home/gutov/emacs-bzr/trunk/lisp/emacs-lisp/cl-macs.el' 
newer than byte-compiled file
Unknown file "README"
Wrote /home/gutov/vc/staging/packages/ack-readme.txt
Select coding system (default raw-text):
Selected encoding raw-text disagrees with utf-8 specified by file 
contents.  Really save (else edit coding cookies and try again)? (yes or 
no) yes
Wrote /home/gutov/vc/staging/packages/ack.html
Wrote /home/gutov/vc/staging/packages/adaptive-wrap-readme.txt
Select coding system (default raw-text): utf-8
Wrote /home/gutov/vc/staging/packages/adaptive-wrap.html
Wrote /home/gutov/vc/staging/packages/adjust-parens-readme.txt
Select coding system (default raw-text):
Selected encoding raw-text disagrees with utf-8 specified by file 
contents.  Really save (else edit coding cookies and try again)? (yes or 
no) no
Save aborted

Is that normal?





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

* bug#15503: 24.3.50; [ELPA] admin/update-archive.sh fails to build the html files
  2013-10-02  2:25   ` Dmitry Gutov
@ 2013-10-02  3:20     ` Stefan Monnier
  2013-10-02  3:24       ` Dmitry Gutov
  2014-12-14 12:19     ` Dmitry Gutov
  1 sibling, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2013-10-02  3:20 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 15503

> When I run it this way, though, it keeps popping these kind of prompts:
[...]
> Selected encoding raw-text disagrees with utf-8 specified by file contents.
> Really save (else edit coding cookies and try again)? (yes or no) no
[...]
> Is that normal?

No.  Maybe it's related to the `emacs' executable that ends up
being run?


        Stefan





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

* bug#15503: 24.3.50; [ELPA] admin/update-archive.sh fails to build the html files
  2013-10-02  3:20     ` Stefan Monnier
@ 2013-10-02  3:24       ` Dmitry Gutov
  2013-10-03 13:57         ` Stefan Monnier
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Gutov @ 2013-10-02  3:24 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 15503

On 02.10.2013 06:20, Stefan Monnier wrote:
> No.  Maybe it's related to the `emacs' executable that ends up
> being run?

Could be. My emacs executable is build from the recent trunk.

gutov@axl:~$ which emacs
/home/gutov/bin/emacs
gutov@axl:~$ ls -l bin/emacs
lrwxrwxrwx 1 gutov gutov 37 авг.  17 03:25 bin/emacs -> 
/home/gutov/emacs-bzr/trunk/src/emacs






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

* bug#15503: 24.3.50; [ELPA] admin/update-archive.sh fails to build the html files
  2013-10-02  3:24       ` Dmitry Gutov
@ 2013-10-03 13:57         ` Stefan Monnier
  0 siblings, 0 replies; 7+ messages in thread
From: Stefan Monnier @ 2013-10-03 13:57 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 15503

>> No.  Maybe it's related to the `emacs' executable that ends up
>> being run?
> Could be. My emacs executable is build from the recent trunk.
> gutov@axl:~$ which emacs
> /home/gutov/bin/emacs
> gutov@axl:~$ ls -l bin/emacs
> lrwxrwxrwx 1 gutov gutov 37 авг.  17 03:25 bin/emacs -> 
> /home/gutov/emacs-bzr/trunk/src/emacs

Maybe it's a bug in Emacs's trunk, then.


        Stefan





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

* bug#15503: 24.3.50; [ELPA] admin/update-archive.sh fails to build the html files
  2013-10-02  2:25   ` Dmitry Gutov
  2013-10-02  3:20     ` Stefan Monnier
@ 2014-12-14 12:19     ` Dmitry Gutov
  1 sibling, 0 replies; 7+ messages in thread
From: Dmitry Gutov @ 2014-12-14 12:19 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 15503-done

Dmitry Gutov <dgutov@yandex.ru> writes:

> Selected encoding raw-text disagrees with utf-8 specified by file
> contents.  Really save (else edit coding cookies and try again)? (yes
> or no) yes

Works fine now. And the building instructions are in elpa's README now,
so this bug is completely resolved.





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

end of thread, other threads:[~2014-12-14 12:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-02  1:10 bug#15503: 24.3.50; [ELPA] admin/update-archive.sh fails to build the html files Dmitry Gutov
2013-10-02  1:57 ` Stefan Monnier
2013-10-02  2:25   ` Dmitry Gutov
2013-10-02  3:20     ` Stefan Monnier
2013-10-02  3:24       ` Dmitry Gutov
2013-10-03 13:57         ` Stefan Monnier
2014-12-14 12:19     ` Dmitry Gutov

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

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).