<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Komentarze do: APT-build &#8212; optimize your Debian!</title>
	<atom:link href="http://polishlinux.org/linux/debian/apt-build-optimize-debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://polishlinux.org/linux/debian/apt-build-optimize-debian/</link>
	<description>All About GNU/Linux and BSD - reviews, comparisons, articles</description>
	<lastBuildDate>Sun, 05 Feb 2012 02:17:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Autor: quequotion</title>
		<link>http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-185511</link>
		<dc:creator>quequotion</dc:creator>
		<pubDate>Mon, 18 Apr 2011 17:31:04 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-185511</guid>
		<description>You&#039;ll need to have deb-src lines for each source, and all sources listed in one file.

ie:

deb http://some.software.repo....
deb-src http://some.software.repo....

then you can use apt build like:

apt-build -sources-list /path/to/list install somepackage

Some repositories might not have a source repo (due to licensing or copyright problems or whatever) if this is the case, it&#039;s ok to ignore apt-build complaining about it. Software distributed as binary-only cannot be optimised per architecture.</description>
		<content:encoded><![CDATA[<p>You&#8217;ll need to have deb-src lines for each source, and all sources listed in one file.</p>
<p>ie:</p>
<p>deb <a href="http://some.software.repo..." rel="nofollow">http://some.software.repo&#8230;</a>.<br />
deb-src <a href="http://some.software.repo..." rel="nofollow">http://some.software.repo&#8230;</a>.</p>
<p>then you can use apt build like:</p>
<p>apt-build -sources-list /path/to/list install somepackage</p>
<p>Some repositories might not have a source repo (due to licensing or copyright problems or whatever) if this is the case, it&#8217;s ok to ignore apt-build complaining about it. Software distributed as binary-only cannot be optimised per architecture.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Autor: Maski</title>
		<link>http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-176051</link>
		<dc:creator>Maski</dc:creator>
		<pubDate>Sun, 27 Feb 2011 18:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-176051</guid>
		<description>Could you explaine a litte more about the right sources to get apt-build to download all the sources.</description>
		<content:encoded><![CDATA[<p>Could you explaine a litte more about the right sources to get apt-build to download all the sources.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Autor: quequotion</title>
		<link>http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-154991</link>
		<dc:creator>quequotion</dc:creator>
		<pubDate>Tue, 19 Oct 2010 16:52:50 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-154991</guid>
		<description>Many of these issues in apt-build have been fixed. The documentation has not been updated unfortunately :( (neither has apt&#039;s for that matter)

I have found that having multiple source lists (in /etc/apt/source.list.d/) prevents apt-build from getting a full list of sources.

It only reads ONE source file (default /etc/apt/sources.list), so I made a redundant file &quot;/etc/apt/apt-build.sources&quot; containing all my sources and use the parameter &quot;--sources-list /etc/apt-build.sources&quot; with every call to apt-build.</description>
		<content:encoded><![CDATA[<p>Many of these issues in apt-build have been fixed. The documentation has not been updated unfortunately <img src='http://polishlinux.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  (neither has apt&#8217;s for that matter)</p>
<p>I have found that having multiple source lists (in /etc/apt/source.list.d/) prevents apt-build from getting a full list of sources.</p>
<p>It only reads ONE source file (default /etc/apt/sources.list), so I made a redundant file &#8222;/etc/apt/apt-build.sources&#8221; containing all my sources and use the parameter &#8222;&#8211;sources-list /etc/apt-build.sources&#8221; with every call to apt-build.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Autor: Tom</title>
		<link>http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-135991</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Thu, 25 Mar 2010 09:48:50 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-135991</guid>
		<description>Hi@ALL

i run apt-get world --reinstall --force-yes -yes
and always apt-build stops cause it doesn&#039;t diffrent find sources?
How can i run a broken step? What is the problem of missing
sources? sources.list is debian-lenny default

Thanks for Help..</description>
		<content:encoded><![CDATA[<p>Hi@ALL</p>
<p>i run apt-get world &#8211;reinstall &#8211;force-yes -yes<br />
and always apt-build stops cause it doesn&#8217;t diffrent find sources?<br />
How can i run a broken step? What is the problem of missing<br />
sources? sources.list is debian-lenny default</p>
<p>Thanks for Help..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Autor: falk</title>
		<link>http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-130791</link>
		<dc:creator>falk</dc:creator>
		<pubDate>Tue, 08 Dec 2009 14:25:49 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-130791</guid>
		<description>â€œâ€¦set your environment variables before you run it!:

[â€¦]

Otherwise your regular CFLAGS (and all of /etc/apt/apt-build.conf) will be ignored.â€

Nope, what you see are the commands called by make. Apt-build uses a wrapper (apt-build-wrapper; probably in /usr/lib/apt-build/) wich adds the options from apt-build.conf. Read README.Debian (propably in /usr/share/doc/apt-build/).

The real gcc calls youâ€™ll see after typing â€˜ps ax &#124; grep gccâ€™.</description>
		<content:encoded><![CDATA[<p>â€œâ€¦set your environment variables before you run it!:</p>
<p>[â€¦]</p>
<p>Otherwise your regular CFLAGS (and all of /etc/apt/apt-build.conf) will be ignored.â€</p>
<p>Nope, what you see are the commands called by make. Apt-build uses a wrapper (apt-build-wrapper; probably in /usr/lib/apt-build/) wich adds the options from apt-build.conf. Read README.Debian (propably in /usr/share/doc/apt-build/).</p>
<p>The real gcc calls youâ€™ll see after typing â€˜ps ax | grep gccâ€™.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Autor: cww</title>
		<link>http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-129119</link>
		<dc:creator>cww</dc:creator>
		<pubDate>Fri, 02 Oct 2009 01:16:43 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-129119</guid>
		<description>I had to put the following in my APT preferences file in order to make apt-get choose a package from the local repository over a package from the remote repository.  Note that priorities over 1000 have a special meaning; see the apt_preferences man page.

Package: *
Pin: release o=apt-build
Pin-Priority: 1001

Awesome work.  Thanks!</description>
		<content:encoded><![CDATA[<p>I had to put the following in my APT preferences file in order to make apt-get choose a package from the local repository over a package from the remote repository.  Note that priorities over 1000 have a special meaning; see the apt_preferences man page.</p>
<p>Package: *<br />
Pin: release o=apt-build<br />
Pin-Priority: 1001</p>
<p>Awesome work.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Autor: madman</title>
		<link>http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-128004</link>
		<dc:creator>madman</dc:creator>
		<pubDate>Mon, 09 Mar 2009 10:24:16 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-128004</guid>
		<description>It&#039;s true; without &quot;--force-yes&quot;, you will just get a reinstall of the same old binary package!  Furthermore, all your optimizations are ignored anyway!  It seems that apt-build is an old, half-baked attempt, and really is just a &quot;novelty&quot; item - unless you use something like this:

apt-build install --rebuild --reinstall --yes --force-yes 

...set your environment variables before you run it!:

export CFLAGS_APPEND=&quot;-O3 -march=pentium3 -fomit-frame-pointer&quot;

export CXXFLAGS_APPEND=$CFLAGS_APPEND

Otherwise your regular CFLAGS (and all of /etc/apt/apt-build.conf) will be ignored.  See the manpage for dpkg-buildsource for more info.  BTW, the command-line options for apt-build behave slightly different that the documentation claims; hence --reinstall AND --rebuild together.  With a little cleaning up, apt-build could be a great utility.  If you want USE flags - USE=&quot;gentoo&quot; =)</description>
		<content:encoded><![CDATA[<p>It&#8217;s true; without &#8222;&#8211;force-yes&#8221;, you will just get a reinstall of the same old binary package!  Furthermore, all your optimizations are ignored anyway!  It seems that apt-build is an old, half-baked attempt, and really is just a &#8222;novelty&#8221; item &#8211; unless you use something like this:</p>
<p>apt-build install &#8211;rebuild &#8211;reinstall &#8211;yes &#8211;force-yes </p>
<p>&#8230;set your environment variables before you run it!:</p>
<p>export CFLAGS_APPEND=&#8221;-O3 -march=pentium3 -fomit-frame-pointer&#8221;</p>
<p>export CXXFLAGS_APPEND=$CFLAGS_APPEND</p>
<p>Otherwise your regular CFLAGS (and all of /etc/apt/apt-build.conf) will be ignored.  See the manpage for dpkg-buildsource for more info.  BTW, the command-line options for apt-build behave slightly different that the documentation claims; hence &#8211;reinstall AND &#8211;rebuild together.  With a little cleaning up, apt-build could be a great utility.  If you want USE flags &#8211; USE=&#8221;gentoo&#8221; =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Autor: Laurent</title>
		<link>http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-127461</link>
		<dc:creator>Laurent</dc:creator>
		<pubDate>Wed, 17 Dec 2008 16:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-127461</guid>
		<description>And?
Can you quantify the improvement in term of speed?

I highly doubt it changes anything if you already have a libc6-686</description>
		<content:encoded><![CDATA[<p>And?<br />
Can you quantify the improvement in term of speed?</p>
<p>I highly doubt it changes anything if you already have a libc6-686</p>
]]></content:encoded>
	</item>
</channel>
</rss>

