Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174237 - app-emacs/gnus-cvs-5.11 - Access violations and typos
Summary: app-emacs/gnus-cvs-5.11 - Access violations and typos
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-12 06:31 UTC by Tassilo Horn
Modified: 2007-04-15 19:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/app-emacs/gnus-cvs-5.11/temp/build.log (build.log,117.01 KB, text/plain)
2007-04-12 06:32 UTC, Tassilo Horn
Details
The corrected ebuild (gnus-cvs-5.11.ebuild,1.23 KB, text/plain)
2007-04-13 13:21 UTC, Tassilo Horn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tassilo Horn 2007-04-12 06:31:10 UTC
When emerging gnus-cvs I get these access violations:

 /usr/bin/install -c -m 644 yenc.el /var/tmp/portage/app-emacs/gnus-cvs-5.11/image//usr/share/emacs/site-lisp/gnus-cvs/yenc.el
 /usr/bin/install -c -m 644 yenc.elc /var/tmp/portage/app-emacs/gnus-cvs-5.11/image//usr/share/emacs/site-lisp/gnus-cvs/yenc.elc
make[1]: Leaving directory `/var/tmp/portage/app-emacs/gnus-cvs-5.11/work/gnus/lisp'
cd texi && make EMACS="emacs" install
make[1]: Entering directory `/var/tmp/portage/app-emacs/gnus-cvs-5.11/work/gnus/texi'
/bin/sh ../mkinstalldirs /usr/share/info
 /usr/bin/install -c -m 644 gnus /usr/share/info/gnus
ACCESS DENIED  open_wr:   /usr/share/info/gnus
/usr/bin/install: cannot create regular file `/usr/share/info/gnus': Permission denied
 /usr/bin/install -c -m 644 gnus-1 /usr/share/info/gnus-1
ACCESS DENIED  open_wr:   /usr/share/info/gnus-1
/usr/bin/install: cannot create regular file `/usr/share/info/gnus-1': Permission denied
 /usr/bin/install -c -m 644 gnus-2 /usr/share/info/gnus-2
ACCESS DENIED  open_wr:   /usr/share/info/gnus-2
/usr/bin/install: cannot create regular file `/usr/share/info/gnus-2': Permission denied
 /usr/bin/install -c -m 644 gnus-3 /usr/share/info/gnus-3
ACCESS DENIED  open_wr:   /usr/share/info/gnus-3
/usr/bin/install: cannot create regular file `/usr/share/info/gnus-3': Permission denied
 /usr/bin/install -c -m 644 gnus-4 /usr/share/info/gnus-4
ACCESS DENIED  open_wr:   /usr/share/info/gnus-4
/usr/bin/install: cannot create regular file `/usr/share/info/gnus-4': Permission denied
 /usr/bin/install -c -m 644 gnus-5 /usr/share/info/gnus-5
ACCESS DENIED  open_wr:   /usr/share/info/gnus-5
/usr/bin/install: cannot create regular file `/usr/share/info/gnus-5': Permission denied
 /usr/bin/install -c -m 644 message /usr/share/info/message
ACCESS DENIED  open_wr:   /usr/share/info/message
/usr/bin/install: cannot create regular file `/usr/share/info/message': Permission denied
 /usr/bin/install -c -m 644 emacs-mime /usr/share/info/emacs-mime
ACCESS DENIED  open_wr:   /usr/share/info/emacs-mime
/usr/bin/install: cannot create regular file `/usr/share/info/emacs-mime': Permission denied
 /usr/bin/install -c -m 644 sieve /usr/share/info/sieve
ACCESS DENIED  open_wr:   /usr/share/info/sieve
/usr/bin/install: cannot create regular file `/usr/share/info/sieve': Permission denied
 /usr/bin/install -c -m 644 pgg /usr/share/info/pgg
ACCESS DENIED  open_wr:   /usr/share/info/pgg
/usr/bin/install: cannot create regular file `/usr/share/info/pgg': Permission denied
 /usr/bin/install -c -m 644 sasl /usr/share/info/sasl
ACCESS DENIED  open_wr:   /usr/share/info/sasl
/usr/bin/install: cannot create regular file `/usr/share/info/sasl': Permission denied
 install-info --info-dir=/usr/share/info /usr/share/info/gnus
install-info: No such file or directory for /usr/share/info/gnus
 install-info --info-dir=/usr/share/info /usr/share/info/message
install-info: No such file or directory for /usr/share/info/message
 install-info --info-dir=/usr/share/info /usr/share/info/emacs-mime
install-info: No such file or directory for /usr/share/info/emacs-mime
 install-info --info-dir=/usr/share/info /usr/share/info/sieve
install-info: No such file or directory for /usr/share/info/sieve
 install-info --info-dir=/usr/share/info /usr/share/info/pgg
install-info: No such file or directory for /usr/share/info/pgg
 install-info --info-dir=/usr/share/info /usr/share/info/sasl
install-info: No such file or directory for /usr/share/info/sasl
make[1]: Leaving directory `/var/tmp/portage/app-emacs/gnus-cvs-5.11/work/gnus/texi'
cd etc && make EMACS="emacs" install
make[1]: Entering directory `/var/tmp/portage/app-emacs/gnus-cvs-5.11/work/gnus/etc'
/bin/sh ../mkinstalldirs /var/tmp/portage/app-emacs/gnus-cvs-5.11/image//usr/share/emacs/etc
mkdir /var/tmp/portage/app-emacs/gnus-cvs-5.11/image/usr/share/emacs/etc
cd . \
        && for p in gnus-tut.txt; do \
          echo " /usr/bin/install -c -m 644 $p /var/tmp/portage/app-emacs/gnus-cvs-5.11/image//usr/share/emacs/etc/$p"; \
          /usr/bin/install -c -m 644 $p /var/tmp/portage/app-emacs/gnus-cvs-5.11/image//usr/share/emacs/etc/$p; \
        done
 /usr/bin/install -c -m 644 gnus-tut.txt /var/tmp/portage/app-emacs/gnus-cvs-5.11/image//usr/share/emacs/etc/gnus-tut.txt
/bin/sh ../mkinstalldirs /var/tmp/portage/app-emacs/gnus-cvs-5.11/image//usr/share/emacs/etc/images/gnus /var/tmp/portage/app-emacs/gnus-cvs-5.11/image//usr/share/emacs/etc/images/mail

And it cannot install its site file:

make[1]: Leaving directory `/var/tmp/portage/app-emacs/gnus-cvs-5.11/work/gnus/etc'
/var/tmp/portage/app-emacs/gnus-cvs-5.11/work/gnus /var/tmp/portage/app-emacs/gnus-cvs-5.11/work/gnus
cp: cannot stat `/usr/portage/app-emacs/gnus-cvs/files/70gnus-gentoo.elA': No such file or directory
sed: can't read /var/tmp/portage/app-emacs/gnus-cvs-5.11/temp/70gnus-gentoo.elA: No such file or directory
install: cannot stat `/var/tmp/portage/app-emacs/gnus-cvs-5.11/temp/70gnus-gentoo.elA': No such file or directory

!!! ERROR: app-emacs/gnus-cvs-5.11 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_install
  ebuild.sh, line 1060:   Called qa_call 'src_install'
  ebuild.sh, line 44:   Called src_install
  gnus-cvs-5.11.ebuild, line 46:   Called elisp-site-file-install '/usr/portage/app-emacs/gnus-cvs/files/70gnus-gentoo.elA'
  elisp-common.eclass, line 142:   Called die

!!! failed to install site file
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-emacs/gnus-cvs-5.11/temp/build.log'.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-app-emacs_-_gnus-cvs-5.11-30356.log"

open_wr:   /usr/share/info/gnus
open_wr:   /usr/share/info/gnus-1
open_wr:   /usr/share/info/gnus-2
open_wr:   /usr/share/info/gnus-3
open_wr:   /usr/share/info/gnus-4
open_wr:   /usr/share/info/gnus-5
open_wr:   /usr/share/info/message
open_wr:   /usr/share/info/emacs-mime
open_wr:   /usr/share/info/sieve
open_wr:   /usr/share/info/pgg
open_wr:   /usr/share/info/sasl
--------------------------------------------------------------------------------

I think the 'A' in "70gnus-gentoo.elA" is a typo, and there's no 70gnus-gentoo.el in the files dir, but a 70gnus-cvs-gentoo.el.

I'll attach the complete build.log.
Comment 1 Tassilo Horn 2007-04-12 06:32:11 UTC
Created attachment 116027 [details]
/var/tmp/portage/app-emacs/gnus-cvs-5.11/temp/build.log
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2007-04-12 07:01:44 UTC
You give me more reasons to punt a CVS ebuild.  I will look into it next week.
Comment 3 Tassilo Horn 2007-04-13 09:19:50 UTC
Last time I successfully emerged gnus-cvs was 07:33:21 AM 04/10/2007, so the breakage was introduced between this day and the morning of the next day, because usually I update my cvs apps every morning. I think this should help you to track down the cause.
Comment 4 Ulrich Müller gentoo-dev 2007-04-13 12:33:19 UTC
Christian seems to be busy with his exams, so maybe I should step in here...

Tassilo: Could you try if it works for you if you change the "emake" in src_install() to "einstall", and the name of the SITEFILE to "70${PN}-gentoo.el"?

> I think the 'A' in "70gnus-gentoo.elA" is a typo [...]

Obviously.
Comment 5 Ulrich Müller gentoo-dev 2007-04-13 12:36:26 UTC
(In reply to comment #4)
> [...] change the "emake" in src_install() to "einstall"

I.e., change "emake ... install" to "einstall ...".
Comment 6 Tassilo Horn 2007-04-13 13:21:58 UTC
Created attachment 116160 [details]
The corrected ebuild

I applied the changes you suggested, and the resulting (attached) ebuild works again. Thanks a lot!

Tassilo
Comment 7 Ulrich Müller gentoo-dev 2007-04-15 19:56:34 UTC
Fixed, thanks for reporting.