<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Inliniac &#187; autopackage</title>
	<atom:link href="http://www.inliniac.net/blog/tag/autopackage/feed" rel="self" type="application/rss+xml" />
	<link>http://www.inliniac.net/blog</link>
	<description>Everything inline.</description>
	<lastBuildDate>Thu, 02 Sep 2010 22:20:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Installing and creating Autopackages in a chroot</title>
		<link>http://www.inliniac.net/blog/2007/05/31/installing-and-creating-autopackages-in-a-chroot.html</link>
		<comments>http://www.inliniac.net/blog/2007/05/31/installing-and-creating-autopackages-in-a-chroot.html#comments</comments>
		<pubDate>Thu, 31 May 2007 20:50:54 +0000</pubDate>
		<dc:creator>Victor Julien</dc:creator>
				<category><![CDATA[Vuurmuur]]></category>
		<category><![CDATA[autopackage]]></category>
		<category><![CDATA[chroot]]></category>

		<guid isPermaLink="false">http://www.inliniac.net/blog/?p=83</guid>
		<description><![CDATA[This may be a little off-topic for this weblog, but since I spend quite some time researching this, I&#8217;ve decided to write about it anyway. When preparing a new release for Vuurmuur, I wanted to create an Autopackage as well. For those that are unaware of it Autopackage is a distribution independent installer for Linux [...]]]></description>
			<content:encoded><![CDATA[<p>This may be a little off-topic for this weblog, but since I spend quite some time researching this, I&#8217;ve decided to write about it anyway. When preparing a new release for Vuurmuur, I wanted to create an <a href="http://www.autopackage.org" target="_blank">Autopackage</a> as well. For those that are unaware of it Autopackage is a distribution independent installer for Linux binaries. Because creating packages for every distro including flavor and versions is way out of my reach, a general installer can save the day.</p>
<p>Because I had some issues with Autopackage 1.2.2 in Ubuntu Edgy, I tried getting a Debian Etch install in a chroot to build the package. However, while installing the autopackage-devel package I got some weird errors:</p>
<blockquote><p>$ package install /data/Autopackage\ Development\ Environment\ 1.2.3.package</p>
<p># Preparing package: Autopackage Development Environment<br />
# Checking for required C library versions &#8230; passed<br />
# Checking for autopackage runtime prefix &#8230; passed<br />
Removing currently installed version of &#8216;Autopackage Development Environment&#8217;.<br />
This may take a moment, please wait &#8230; done<br />
# Installing package: Autopackage Development Environment (package 1 of 1)<br />
# Preparing executables&#8230;<br />
# Installing executables&#8230;<br />
# Copying files to /usr/include<br />
/usr/share/autopackage/apkg-script-utils: line 803: cd: include: No such file or directory<br />
/usr/share/autopackage/apkg-script-utils: line 861: cd: include: No such file or directory<br />
cp: cannot stat `*&#8217;: No such file or directory<br />
# Copying files to /usr/libexec<br />
/usr/share/autopackage/apkg-script-utils: line 803: cd: libexec: No such file or directory<br />
/usr/share/autopackage/apkg-script-utils: line 861: cd: libexec: No such file or directory<br />
cp: cannot stat `*&#8217;: No such file or directory<br />
# Copying files to /usr/binreloc<br />
/usr/share/autopackage/apkg-script-utils: line 803: cd: binreloc: No such file or directory<br />
/usr/share/autopackage/apkg-script-utils: line 861: cd: binreloc: No such file or directory<br />
cp: cannot stat `*&#8217;: No such file or directory<br />
# Installing data files&#8230;<br />
/usr/share/autopackage/apkg-script-utils: line 803: cd: share: No such file or directory<br />
# Copying files to /usr/local<br />
FAIL: Package Autopackage Development Environment could not be installed.</p></blockquote>
<p>After a lot of researching and debugging I finally found out that I forgot to mount the /proc filesystem in the chroot. The /dev/stdin, /dev/stdout and /dev/stderr files should link to /proc/self/fd/0, 1 and 2 respectively. After fixing this installing the package worked fine. Next I tried creating packages and this worked as well. I probably won&#8217;t be using the chroot though, because the Autopackage team released 1.2.3 and this release fixed my issues with Ubuntu.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.inliniac.net/blog/2007/05/31/installing-and-creating-autopackages-in-a-chroot.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
