Bug#622102: [buildd-tools-devel] Bug#622102: buildd does not find any distrubutions after upgrade

2012-01-25 Thread Philipp Kern
On Thu, Jan 19, 2012 at 03:02:58PM -0600, Runningen, Jeffrey M wrote:
 I'm testing it with a .builddrc based on the sample buildd.conf from the 
 package, but with the fields I plan to use uncommented.  This .builddrc is:
 
 $distributions = [ {
 dist_name = [unstable, testing],
 built_architecture = undef,
 wanna_build_ssh_host = buildd.debian.org,
 wanna_build_ssh_user = buildd_arch,
 wanna_build_ssh_socket = ,
 wanna_build_ssh_options = [],
 wanna_build_db_name = arch/build-db,
 wanna_build_db_user = $Buildd::username,
 dupload_local_queue_dir = upload,
 no_auto_build = [],
 weak_no_auto_build = [],
 logs_mailed_to = $admin_mail,
 sbuild_chroot = undef,
 } ];

You'd need to use a proper list here, e.g.:

@distributions = (
{
dist_name = [sid],
built_architecture = 's390x',

wanna_build_ssh_host = buildd.debian.org,
wanna_build_ssh_user = wb-buildd,
wanna_build_ssh_socket = 'buildd.debian.org.ssh',
wanna_build_ssh_options = [],
wanna_build_db_user = buildd_s390x-zappa,

dupload_local_queue_dir = upload,

logs_mailed_to = 'addre...@domain.tld,addr...@domain.tld',
}
);

You can also populate a hash called $defaults with common values.

 $upload_queues = [ {
 dupload_local_queue_dir = upload,
 dupload_archive_name = anonymous-ftp-master,
 },
 {
 dupload_local_queue_dir = upload-security,
 dupload_archive_name = security,
 } ];

Same here:

@upload_queues = (
{
dupload_local_queue_dir = upload,
dupload_archive_name = anonymous-ftp-master,
},
[…]
);

Kind regards
Philipp Kern


signature.asc
Description: Digital signature


Bug#622102: [buildd-tools-devel] Bug#622102: buildd does not find any distrubutions after upgrade

2012-01-19 Thread Runningen, Jeffrey M

On Jan 18, 2012, at 6:23 PM, Roger Leigh wrote:

 On Wed, Jan 18, 2012 at 04:35:17PM -0600, Runningen, Jeffrey M wrote:
 I believe I¹m having the same issue.  Were you able to find a solution?  I¹m
 trying to get a another build server going for the powerpcspe port.  My
 buildd is version 0.62.6-1.
 
 These newer versions of buildd have not yet been tested or deployed on
 Debian autobuilders yet.  It's quite possible this is due to a bug in
 that perl module--there have been some changes made here.  Could you
 provide a full transcript of the error you are seeing, and I'll see if
 we can identify and fix the cause of this problem.
 
daemon.log merely contains the same error reported in the original bug:

  distribution list is empty, aborting. at /usr/share/perl5/Buildd/Daemon.pm 
line 95.

I'm testing it with a .builddrc based on the sample buildd.conf from the 
package, but with the fields I plan to use uncommented.  This .builddrc is:

$distributions = [ {
dist_name = [unstable, testing],
built_architecture = undef,
wanna_build_ssh_host = buildd.debian.org,
wanna_build_ssh_user = buildd_arch,
wanna_build_ssh_socket = ,
wanna_build_ssh_options = [],
wanna_build_db_name = arch/build-db,
wanna_build_db_user = $Buildd::username,
dupload_local_queue_dir = upload,
no_auto_build = [],
weak_no_auto_build = [],
logs_mailed_to = $admin_mail,
sbuild_chroot = undef,
} ];
$nice_level = 10;
$admin_mail = 'root';
$log_queued_messages = 0;
$upload_queues = [ {
dupload_local_queue_dir = upload,
dupload_archive_name = anonymous-ftp-master,
},
{
dupload_local_queue_dir = upload-security,
dupload_archive_name = security,
} ];
$build_log_keep = 2;
$daemon_log_send = 1;
$statistics_mail = 'root';
1;


 
 Thanks,
 Roger
 


Cheers,
Jeff

Jeff Runningen
Integrated Intelligence
The Boeing Company




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#622102: [buildd-tools-devel] Bug#622102: buildd does not find any distrubutions after upgrade

2012-01-18 Thread Roger Leigh
On Wed, Jan 18, 2012 at 04:35:17PM -0600, Runningen, Jeffrey M wrote:
 I believe I¹m having the same issue.  Were you able to find a solution?  I¹m
 trying to get a another build server going for the powerpcspe port.  My
 buildd is version 0.62.6-1.

These newer versions of buildd have not yet been tested or deployed on
Debian autobuilders yet.  It's quite possible this is due to a bug in
that perl module--there have been some changes made here.  Could you
provide a full transcript of the error you are seeing, and I'll see if
we can identify and fix the cause of this problem.


Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?   http://gutenprint.sourceforge.net/
   `-GPG Public Key: 0x25BFB848   Please GPG sign your mail.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org