[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45369] pkg build leads to duplication of PKG_
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #45369] pkg build leads to duplication of PKG_ADD and PKG_DEL files |
Date: |
Sun, 21 Jun 2015 12:16:39 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.7.0 |
Follow-up Comment #1, bug #45369 (project octave):
I have attached a simple package to exemplify the issue:
octave-gui:1> pkg install "test-bug45369.tar.gz"
foo() was called
octave-gui:2> pkg build binary "test-bug45369.tar.gz"
foo() was called
octave-gui:3> pkg install "binary/test-bug45369-1.0.0.tar.gz"
foo() was called
'foo' undefined near line 2 column 1
error: called from
'/home/carandraug/octave/test-bug45369-1.0.0/x86_64-unknown-linux-gnu-api-v50+/PKG_ADD'
in file
/home/carandraug/octave/test-bug45369-1.0.0/x86_64-unknown-linux-gnu-api-v50+/PKG_ADD
near line 2, column 1
Inspection of the two tarballs will show:
1. no PKG_ADD files in the original source release.
2. a PKG_ADD directirve as comment in inst/foo.m
3. a PKG_ADD file at the root of the binary distribution (this file should not
have been created)
4. the error message shows that installation of the binary package, places the
PKG_ADD in the arch dependent directory. Error is caused because foo() will
only be added to the path later.
(file #34284)
_______________________________________________________
Additional Item Attachment:
File name: test-bug45369.tar.gz Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45369>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45369] pkg build leads to duplication of PKG_ADD and PKG_DEL files, Carnë Draug, 2015/06/21
- [Octave-bug-tracker] [bug #45369] pkg build leads to duplication of PKG_ADD and PKG_DEL files,
Carnë Draug <=
- [Octave-bug-tracker] [bug #45369] pkg build leads to duplication of PKG_ADD and PKG_DEL files, Julien Bect, 2015/06/23
- [Octave-bug-tracker] [bug #45369] pkg build leads to duplication of PKG_ADD and PKG_DEL files, Olaf Till, 2015/06/23
- [Octave-bug-tracker] [bug #45369] pkg build leads to duplication of PKG_ADD and PKG_DEL files, Julien Bect, 2015/06/23
- [Octave-bug-tracker] [bug #45369] pkg build leads to duplication of PKG_ADD and PKG_DEL files, Julien Bect, 2015/06/23
- [Octave-bug-tracker] [bug #45369] pkg build leads to duplication of PKG_ADD and PKG_DEL files, Philip Nienhuis, 2015/06/23
- [Octave-bug-tracker] [bug #45369] pkg build leads to duplication of PKG_ADD and PKG_DEL files, Julien Bect, 2015/06/23
- [Octave-bug-tracker] [bug #45369] pkg build leads to duplication of PKG_ADD and PKG_DEL files, Julien Bect, 2015/06/23
- [Octave-bug-tracker] [bug #45369] pkg build leads to duplication of PKG_ADD and PKG_DEL files, Philip Nienhuis, 2015/06/23
- [Octave-bug-tracker] [bug #45369] pkg build leads to duplication of PKG_ADD and PKG_DEL files, Julien Bect, 2015/06/24
- [Octave-bug-tracker] [bug #45369] pkg build leads to duplication of PKG_ADD and PKG_DEL files, Julien Bect, 2015/06/24