[buildd-tools-devel] Bug#554953: buildd: Fails to upgrade, doesn't work.
Kurt Roeckx
kurt at roeckx.be
Sat Nov 7 12:58:28 UTC 2009
Package: buildd
Version: 0.59.0-1
Severity: serious
Hi,
When upgrading buildd on one of the buildds I get:
Setting up buildd (0.59.0-1) ...
Installing new version of config file /etc/cron.d/buildd ...
Starting Debian package autobuilder: builddE:
/home/buildd/.builddrc: Errors found in configuration file:
Global symbol "$sshcmd" requires explicit package name at (eval 7)
line 35.
Global symbol "$wanna_build_user" requires explicit package name
at (eval 7) line 38.
Global symbol "$wanna_build_dbbase" requires explicit package name
at (eval 7) line 39.
invoke-rc.d: initscript buildd, action "start" failed.
dpkg: error processing buildd (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
buildd
E: Sub-process /usr/bin/dpkg returned an error code (1)
I removed the config file, and then it started, but end up with:
buildd 14095 0.0 0.1 98952 8336 ? S 12:21 0:00 /usr/bin/perl /usr/bin/buildd
buildd 14096 0.0 0.1 98952 8416 ? Ss 12:21 0:00 /usr/bin/perl /usr/bin/buildd
And the log file shows:
Nov 7 12:21:17 buildd[14089]: Daemon started. (pid=14096)
Nov 7 12:21:17 buildd[14089]: Nothing to do -- sleeping 300 seconds
Notice that it has the pid wrong.
Looking at /etc/buildd/buildd.conf, I see:
# database used for wanna-build
#$wanna_build_db = "arch/build-db";
# Database to use for wanna-build.
#$wanna_build_db_name = 'arch/build-db';
Only $wanna_build_db_name seems to be used, and that seems to
work.
The current wanna-build does not need the database name anymore.
It just needs to know the arch. You can pass it with -A $arch.
If that's not used, it falls back to using the arch from database
name.
$wanna_build_user seems to have changed to $wanna_build_db_user.
$sshcmd seems to need to get replaced by $wanna_build_ssh_user.
$sshsocket seems to be renamed to $wanna_build_ssh_socket.
After all that, it seems to start fine, but complain with:
Nov 7 12:53:32 buildd[16668]: take_from_dists is empty, aborting.
at /usr/share/perl5/Buildd/Daemon.pm line 99.
While I have:
@take_from_dists = qw(unstable);
Kurt
More information about the Buildd-tools-devel
mailing list