octave-bug-tracker
[Top][All Lists]
Advanced

[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: Julien Bect
Subject: [Octave-bug-tracker] [bug #45369] pkg build leads to duplication of PKG_ADD and PKG_DEL files
Date: Tue, 23 Jun 2015 06:28:23 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:38.0) Gecko/20100101 Firefox/38.0

Follow-up Comment #2, bug #45369 (project octave):

> PKG_ADD and PKG_DEL files can be defined in different ways. At the root of
the package, and as comments in the source files. In the first case, the files
are copied both to the architecture dependent and independent directories. In
the later, a PKG file is created for each of the directories.

Hello Carnë,

My understanding of what pkg really does is slightly different... 

In the case of directives, I think that only one set of PKG_ADD/PKG_DEL files
is created by 'pkg build'. But then, when 'pkg install' is called, the files
created by 'pkg build' are moved to the arch-dependent directory, and a new
set of files is created from the directives in the arch-independent directory.
Am I wrong ?

In the case of PKG_ADD/PKG_DEL files located at the root of the *source*
tarball, I have no idea what happens when calling 'pkg build' and then 'pkg
install'. But is there any such package in Octave Forge currently ?

@++
Julien

PS: In my opinion, the root of this problem is a lack documentation, and
perhaps also the lack of a formal specification, of what pkg is supposed to do
(which operations are carried out in which order, what is the expected
directory structure, what is allowed in pre_install / post_install files,
etc.).

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45369>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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