<?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"
	>
<channel>
	<title>Comments on: 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>
	<pubDate>Tue, 16 Mar 2010 19:34:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: 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>By: 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>By: 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's true; without "--force-yes", 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 "novelty" 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="-O3 -march=pentium3 -fomit-frame-pointer"

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="gentoo" =)</description>
		<content:encoded><![CDATA[<p>It&#8217;s true; without &#8220;&#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 &#8220;novelty&#8221; item - 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 - USE=&#8221;gentoo&#8221; =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 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>
	<item>
		<title>By: Dann</title>
		<link>http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-127459</link>
		<dc:creator>Dann</dc:creator>
		<pubDate>Wed, 17 Dec 2008 07:32:39 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-127459</guid>
		<description>I've had trouble with apt-build quitting on me before. This is only when it stumbles upon a package to install that does not exist in the repository (I'm at a loss as to why).
Just edit the apt-build.list file and erase everything up to and including the package that doesn't work and continue on.

Cheers.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve had trouble with apt-build quitting on me before. This is only when it stumbles upon a package to install that does not exist in the repository (I&#8217;m at a loss as to why).<br />
Just edit the apt-build.list file and erase everything up to and including the package that doesn&#8217;t work and continue on.</p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vook</title>
		<link>http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-118983</link>
		<dc:creator>vook</dc:creator>
		<pubDate>Wed, 02 Apr 2008 01:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-118983</guid>
		<description>The term "Gentoo's USE flags" implies that you believe that this is something that Gentoo has created and/or offers that other distributions and UNIX variants do not.  Gentoo just tells you about them right away during the install.  You can always completely customize the compilation process by creating a make.conf file in /etc - (linux didn't invent this either btw - it's been around a long time).

No, apt-build is not a novelty.  It just doesn't hold your hand the way Gentoo's documentation does.

Nothing against Gentoo btw - it has gotten people excited about Linux in a way other distributions have not - and it has outstanding documentation.  I just hope people realize that Gentoo doesn't offer anything that wasn't available before.  If I really want the fastest and most optimized open OS around and I'm willing to tediously build it from scratch, I'll pass on Gentoo and go straight for FreeBSD (or one of the others).</description>
		<content:encoded><![CDATA[<p>The term &#8220;Gentoo&#8217;s USE flags&#8221; implies that you believe that this is something that Gentoo has created and/or offers that other distributions and UNIX variants do not.  Gentoo just tells you about them right away during the install.  You can always completely customize the compilation process by creating a make.conf file in /etc - (linux didn&#8217;t invent this either btw - it&#8217;s been around a long time).</p>
<p>No, apt-build is not a novelty.  It just doesn&#8217;t hold your hand the way Gentoo&#8217;s documentation does.</p>
<p>Nothing against Gentoo btw - it has gotten people excited about Linux in a way other distributions have not - and it has outstanding documentation.  I just hope people realize that Gentoo doesn&#8217;t offer anything that wasn&#8217;t available before.  If I really want the fastest and most optimized open OS around and I&#8217;m willing to tediously build it from scratch, I&#8217;ll pass on Gentoo and go straight for FreeBSD (or one of the others).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Catnap</title>
		<link>http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-84038</link>
		<dc:creator>Catnap</dc:creator>
		<pubDate>Sun, 25 Nov 2007 20:36:09 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-84038</guid>
		<description>I tried apt-build a year or two ago. IIRC, "apt-build world" failed after a couple of hours of compiling. It might work better in the future because, AFAIK, Debian developers now do more automatic build testing than they used to in the past. (They don't use apt-build to do this testing, though. ;-)

Nowadays I dual boot between the good old binary-Debian and a source-distro called Source Mage that is designed from the ground up to build all packages from source. The easy-to-use "sorcery" package manager in Source Mage is written in Bash and they try to avoid adding any patches or distro-specific configurations to packages, so Source Mage is refreshingly different from Debian. I love both of these distros.</description>
		<content:encoded><![CDATA[<p>I tried apt-build a year or two ago. IIRC, &#8220;apt-build world&#8221; failed after a couple of hours of compiling. It might work better in the future because, AFAIK, Debian developers now do more automatic build testing than they used to in the past. (They don&#8217;t use apt-build to do this testing, though. <img src='http://polishlinux.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Nowadays I dual boot between the good old binary-Debian and a source-distro called Source Mage that is designed from the ground up to build all packages from source. The easy-to-use &#8220;sorcery&#8221; package manager in Source Mage is written in Bash and they try to avoid adding any patches or distro-specific configurations to packages, so Source Mage is refreshingly different from Debian. I love both of these distros.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bob f</title>
		<link>http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-83454</link>
		<dc:creator>bob f</dc:creator>
		<pubDate>Sat, 24 Nov 2007 12:22:28 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/debian/apt-build-optimize-debian/#comment-83454</guid>
		<description>I have used apt-build in the past,  and if I remember correctly only the explicity named application was built. The dependencies binaries where downloaded/installed and the named package only was built. IMHO, Gentoo's USE flags are what makes building from source make sense and without these, I found apt-build to be more of a novelty.</description>
		<content:encoded><![CDATA[<p>I have used apt-build in the past,  and if I remember correctly only the explicity named application was built. The dependencies binaries where downloaded/installed and the named package only was built. IMHO, Gentoo&#8217;s USE flags are what makes building from source make sense and without these, I found apt-build to be more of a novelty.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
