Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 15700] New: Cache tarball cannot be created.

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 15700] New: Cache tarball cannot be created.
  • Date: 30 Apr 2010 16:14:31 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=15700

Summary: Cache tarball cannot be created.
Product: Sorcery
Version: Untargetted future release
Platform: x86
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: stage install
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: linschn AT gmail.com


Created an attachment (id=7456)
--> (http://bugs.sourcemage.org/attachment.cgi?id=7456)
The dummy package

My $INSTALL_ROOT is not /.
When casting a dummy package (see attached file), I get the following output :
Creating cache file
/home/share/sorcery/var/cache/sorcery/dummy-2010-04-30-i386-pc-linux-gnu.tar.bz2
tar: /opt/dummy: Cannot stat: No such file or directory
tar: /opt/dummy/install-dir: Cannot stat: No such file or directory
tar: /opt/dummy/install-dir/total.txt: Cannot stat: No such file or directory
tar: /opt/dummy/total.txt: Cannot stat: No such file or directory
tar: /opt/dummy/fic2.txt: Cannot stat: No such file or directory
tar: /opt/dummy/fic1.txt: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors

In delve, the INSTALL_ROOT variable is set to "". Commenting out this line
suppress the above error message, but as a consequence files get installed in
$INSTALL_ROOT/$INSTALL_ROOT

To solve this new problem I modified the libstage file, so that it does not
add
$INSTALL_ROOT before the destination of the files it creates, as the $FILE or
$DIR variable already contains it due to the commenting of the
$INSTALL_ROOT=""
line.

I will add the patches in the following comments.

I am not sure about these modifications, because I am unfamiliar with the code
base, however, they solve the problem, as files get installed at the right
place and the cache archive is created so that the spell can be resurrected.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




Archive powered by MHonArc 2.6.24.

Top of Page