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: Carnë Draug
Subject: [Octave-bug-tracker] [bug #45369] pkg build leads to duplication of PKG_ADD and PKG_DEL files
Date: Mon, 21 Mar 2016 03:51:30 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.1

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

I am attaching a patch that addresses the issue with "pkg build" only.

pkg build works by installing the package in a specific place and the making a
tarball of that.  This causes several problems with PKG_ADD and PKG_DEL (note
that it is not possible to have a PKG_ADD file within inst -- see bug #47481).
What is doing at the moment is moving the PKG_ADD file that is installed back
to the root of the package to create a binary release of the package.

This patch changes the whole logic of "pkg build".  It simply runs configure
make within src, and then packages everything again.  This fixes second
guessing the origin of PKG_ADD files.  It also future proofs for when the
architecture dependent directory is no longer nested within the package
architecture dependent directory.

It mades two nice additions inspired by python's wheel pep. It explicitly
mentions the Octave abi version and arch for the release.

Would be nice if anyone that makes uses of pkg build could test this.

(file #36706)
    _______________________________________________________

Additional Item Attachment:

File name: pkg_build_bug_45369.cset       Size:17 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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