<?xml version="1.0" ?>

<kc>

<title>Debian Traffic</title>

<headquote><a href="http://www.debian.org">Debian Home Page</a> |
<a href="http://www.debian.org/News/weekly/">Weekly News</a> | <a
href="http://www.debian.org/social_contract">Social Contract</a> |
<a href="http://www.debian.org/devel/constitution">Constitution</a> |
<a href="http://www.debian.org/doc/debian-policy/">Policy Manual</a> | <a
href="http://www.debian.org/doc/packaging-manuals/developers-reference/">Developer's
Reference</a> | <a href="http://www.debian.org/doc/ddp">Documentation
Project</a> | <a href="http://lists.debian.org/#debian-devel">debian-devel
Archives</a></headquote>

<editor contact="mailto:zbrown@tumblerings.org">Zack Brown</editor>

<issue num="25" date="02 Mar 2001 00:00:00 -0800" />

<intro>

<p>Want to help write KC Debian? See the <a href="../author.html">KC Authorship
page</a> the <a href="index.html">KC Debian homepage</a>, and the <a
href="../summaryfaq.html">Thread Summary FAQ</a>. Send any questions to the
<a href="mailto:kcdevel@zork.net">KCDevel mailing list.</a></p>

</intro>

<section
  title="OpenOffice Packaging Update"
  author="Prashanth Mundkur"
  contact="mailto:mundkur@tsoft.com"
  subject="OpenOffice packages?"
  archive=""
  posts="11"
  startdate="08 Feb 2001 20:01:59 -0800"
  enddate="25 Feb 2001 06:43:42 -0800"
>

<mention></mention>
<mention>Adrian Bunk</mention>
<mention>Stephen Zander</mention>
<mention>Antti-Juhani Kaijanaho</mention>

<p>

There was some more discussion of packaging OpenOffice, last discussed
in <kcref subject="StarOffice / Open Office
progress"></kcref>.Anthony Towns asked, <quote who="Anthony Towns">
So, it seems we don't have StarOffice/OpenOffice packages yet in spite
of three people ITPing it... Any of you care to fix this?</quote>
Adrian Bunk said he was having problems building it without JDK
1.2.2. When Anthony suggested using the version from blackdown.org to
build, Stephen Zander pointed out that that Openffice would likely
require the blackdown 1.2.2 Java Runtime Environment (JRE) to run,
which is not DFSG free. Antti-Juhani Kaijanaho said Kaffe was too
buggy and only provided JDK 1.1.

</p>

<p> 

Alan Shutko and Jeffry Smith later commented that the JDK was only
required for optional functionality, and that OpenOffice could be run
without the JRE.

</p>

</section>

<section
  title="Debconf and Remote Package Configuration"
  author="Prashanth Mundkur"
  contact="mailto:mundkur@tsoft.com"
  subject="automating debconf"
  archive="http://lists.debian.org/debian-devel-0102/msg00973.html  "
  posts="22"
  startdate="16 Feb 2001 02:13:11 -0800"
  enddate="23 Feb 2001 23:40:56 -0800"
>

<mention></mention>

<p>

Craig Sanders requested a pipe feature for debconf, so that he could
<quote who="Craig Sanders"> use a for loop around a script which
connects to a remote machine with ssh and either makes configuration
changes or runs apt-get to upgrade/install/remove packages from the
system.</quote> He needed this as <quote who="Craig Sanders"> i've got
several remote boxes which need this done to them so that i can script
upgrades for important packages as security updates are released </quote> 

</p>

<p>

He later elaborated what he had in mind:
<quote who="Craig Sanders">

<p>
one of the strengths of unix is that data &amp; configuration details can  
be piped around and transformed and manipulated using the whole swag of
unix text manipulation tools. plain-text configuration is a strength,
not a weakness.

</p>
<p>

while some special-purpose database thingy would be good for those
who like to work like that, a solution that allows generic piping of
configuration data in and out of debconf would work just fine for the
sysadmins out there who have years of experience in the traditional unix
way of doing things. [...]

</p>
<p>

it would open up all sorts of possibilities too. e.g. copying
configuration data from one machine to another could be as simple as
something like:

</p>
<p>

<pre>
debconf --extract postfix | ssh remote.hostname debconf --configure postfix
</pre>

</p>
<p>

and if you needed to transform one particular variable to customise it for  
the remote machine:

</p>
<p>

<pre>
debconf --extract postfix | \<br />
&#160;&#160;&#160;&#160;    sed -e "s/localhostname/remotehostname/gi" | \<br />
&#160;&#160;&#160;&#160;    ssh remote.hostname debconf --configure postfix

</pre>

</p>
<p>

now you can wrap that in a for loop to configure many machines at once:

</p>
<p>

<pre>
for i in $( cat hosts ) ; do<br />
&#160;&#160;&#160;&#160;    debconf --extract postfix | \<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;        sed -e "s/localhostname/$i/gi" | \<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;        ssh $i debconf --configure postfix<br />
done
</pre>

</p>
<p>


this is the unix "small tools" approach to problem-solving in action. it
works, and it works extremely well...it has worked extremely well for
over 20 years. it's very flexible and it allows people to do common or
"standard" things easily without sacrificing their ability to do unusual
or oddball things that they need to do for some reason or other. it  
lends itself to customised automation tasks.


</p>

</quote>

</p>
<p>

Joey Hess responded, <quote who="joey Hess"> 
Well, what you're really running into is the missing third of debconf,
the flexible backend database. You _should_ be able to point all these
machines as a single master debconf database, or ship a database file
onto them, or accomplish this in several other ways. 
</quote> 

</p>
<p>

Very soon thereafter, Joey Hess <a
href="http://lists.debian.org/debian-devel-0102/msg01152.html"> announced
</a> that he was working on a backend database for debconf: <quote who="Joey
Hess">I've been writing a backend db for debconf, since nobody else will do
it.</quote> and asked for comments on the config file format.

</p>

</section>

<section
  title="Cross-compiling as a Solution for m68k Build Problems"
  author="Prashanth Mundkur"
  contact="mailto:mundkur@tsoft.com"
  subject="m68k buildd presents significant problem for non-us and testing"
  archive="http://lists.debian.org/debian-devel-0102/msg01011.html"
  posts="28"
  startdate="16 Feb 2001 14:47:42 -0800"
  enddate="23 Feb 2001 17:36:22 -0800"
>

<mention></mention>

<p>Sam Hartman was upset with the time taken to build
packages on m68k: </p>

<quote who="Sam Hartman">

<p>Looking at incoming/DONE on pandora, it looks as
if m68k buildd has not built packages for non-us
since January 10.  This means that packages
uploaded since January 10 with m68k support have
not made it into testing. [...] </p>

<p>I believe this is unacceptably long.  Non-us maintainers want their
packages tested too; users who are running testing also depend on
these packages.</p>

<p>More than that, if we are preparing for a freeze,  waiting a month to
start getting feedback on how a package interacts with testing will
significantly decrease the quality of packages in the non-us section
of the archive.</p>

</quote>

<p>Steve Langasek proposed using cross-compilers for
autobuilding: <quote who="Steve Langasek"> all the
heavy compiling work could be done on heavy-duty
machines, regardless of architecture
</quote>. Paul Slootman pointed out a potential problem:
<quote who="Paul Slootman"> It's not that simple,
because often, during the build of a package, an
executable that was compiled just before is used
in the build process, and such situations won't
work.</quote></p>

<p>The discussion continued in a later <a
href="http://lists.debian.org/debian-devel-0102/msg01354.html">thread</a>,
with opinions divided on the usefulness of the idea. Scott Dier pointed out
the problem of tests for executable binaries during package build times. Marcus
Brinkmann recounted his experiences:</p>

<quote who="Marcus Brinkmann">

<p>Unfortunately, there can be very subtle issues (for example, one version of
bash got the list of signals wrong, because it was using the build systems
header files, not the host systems. You wouldn't notice this problem until
after some later time).</p>

<p>However, packages can try to support cross building via dpkg-architecture,
which provides all the necessary information to debian/rules. It would be
nice if all Essential and Required packages could be cross build. [...]</p>

<p>I cross build glibc for the Hurd, and occasionally some other programs. Many
Debian packages won't cross build, though.</p>

</quote>

<p>During the course of the discussion, several folks came forward to offer more
machines to reduce the load on the m68k build machines. Scott Dier offered a
spare box, Pieter Schoenmakers came forward with an offer of two NeXt boxes,
and Alain Schroeder said he was working on getting another box.</p>

</section>

<section
  title="Packaging Policy on Build-Depends"
  author="Prashanth Mundkur"
  contact="mailto:mundkur@tsoft.com"
  subject="serious bugs because of missing build depends"
  archive="http://lists.debian.org/debian-devel-0102/msg01647.html"
  posts="17"
  startdate="24 Feb 2001 17:46:13 -0800"
  enddate="25 Feb 2001 10:11:31 -0800"
>

<mention></mention>

<p> Peter Palfrader announced after some discussion on
#debian-bugs that a serious bug should not be filed against
a package due to the lack of a Build-Depends, since the <a
href="http://www.debian.org/doc/debian-policy/ch-relationships.html#s7.6">
Policy Manual </a> said this field <em> may</em> be defined; he
added later that Bug #87510 was a proposal to make this field a
requirement. Wichert Akkerman said that <quote who="Wichert Akkerman">
a number of packages don't have build dependencies at all (everything they
need is build-essential)</quote>, but Julian Gilbey pointed out elsewhere
that <quote who="Julian Gilbey">perhaps lintian should warn if there is no
Build-Depends(-Indep) line, seeing that most packages will need one (for
debhelper, if nothing else).</quote></p>

<p>The Standards-Version field was then discussed,
with Bob Hilliard pointing out the Policy was a
bit vague on what "current policy" was: <quote
who="Bob Hilliard"> Is it the version in stable,
in testing, or in unstable? </quote></p>

<p>Julian Gilbey eventually announced <quote who="Julian Gilbey">
I'll post an announcement to -devel-announce when
the rewritten policy is ready. </quote></p>

</section>

</kc>

