niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » Distributions » Debian » devel
Could there be a arch build test befre upload?
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
Goswin von Brederlow
*nix forums Guru


Joined: 20 Feb 2005
Posts: 658

PostPosted: Thu Jul 20, 2006 12:10 pm    Post subject: Re: Could there be a arch build test befre upload? Reply with quote

Gustavo Noronha Silva <kov@debian.org> writes:

Quote:
Em Wed, 19 Jul 2006 09:14:48 -0600
Joseph Smidt <jsmidt@byu.edu> escreveu:
The arm dev suggested using experimental for such a purpose,
which I admit is a good idea, but isn't that more than is needed if
all you want to test is whether it builds on all architectures.
dbuildtest could be another sanity test on top of linda and lintian.
Then you know in advance if the build would work.


Too much load for the buildd network, I believe. Notice that you do
have chroots in various port machines, and you can request that
build-deps for your package be installed on them.

See you,

And how often do they not have the right build-depends installed?

Also note that the load is the same if you start a build manual or if
buildd builds a package. So in overall cpu time you don't loose as
long as builds as started for specific archs.

MfG
Goswin


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
Goswin von Brederlow
*nix forums Guru


Joined: 20 Feb 2005
Posts: 658

PostPosted: Thu Jul 20, 2006 10:20 am    Post subject: Re: Could there be a arch build test befre upload? Reply with quote

Joseph Smidt <jsmidt@byu.edu> writes:

Quote:
I've been maintaining texmaker which has originally built fine on all
architectures but failed to build on arm after the last upload. Luckily
for me one of the arm devs helped me out and uploaded a fixed version.
He was able to test on arm and when it worked informed me.

The experience got me thinking, wouldn't it be nice if all
maintainers could test there packages on all architectures before they
uploaded? Maybe a dbuildtest command before dupload which ran your
package on the various architectures to test whether it builds. You
could view all the build logs and if everything checks out you know the
package is ready.

The arm dev suggested using experimental for such a purpose,
which I admit is a good idea, but isn't that more than is needed if all
you want to test is whether it builds on all architectures. dbuildtest
could be another sanity test on top of linda and lintian. Then you know
in advance if the build would work.

I just wondered what you all thought about this idea.

Joseph Smidt

For this you need a place to put the source (experimental upload
queue), a controler (wanna-build) that tells what to build, a network
of systems to compile (buildd for each arch). Only thing you don't
need is the signing and uploading of debs. But you can read the buildd
log without waiting for an upload.


One problem with using experimental to test compile is that afaik the
buildds don't have access to incoming.d.o so you have to wait for the
daily dinstall pules before anything gets build. That pretty much
kills the idea.

Another problem is that when you find say an arm FTBFS then you want
to do many test build on arm till you found the bug. There is no need
to recompile every test upload on all the other archs.

So maybe experimental isn't quite the right place for this. But maybe
you could talk aba into reusing the experimental buildds with a
different interface and source repository so DDs can schedule builds
on specific archs directly. You would need a DAK to upload the source
to and then a way to tell the wanna-build to add the package only on
specific archs. Nothing a few lines of perl or php can't do.

MfG
Goswin


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
martin f krafft
*nix forums Guru


Joined: 01 Mar 2005
Posts: 360

PostPosted: Thu Jul 20, 2006 12:00 am    Post subject: Re: Could there be a arch build test befre upload? Reply with quote

also sprach Joseph Smidt <jsmidt@byu.edu> [2006.07.19.1614 +0100]:
Quote:
The experience got me thinking, wouldn't it be nice if all
maintainers could test there packages on all architectures before they
uploaded? Maybe a dbuildtest command before dupload which ran your
package on the various architectures to test whether it builds. You
could view all the build logs and if everything checks out you know the
package is ready.

Could you implement something that does this so we can assess
whether it's reasonable for the current workflow? Note that I am
sceptical and think that the effort is too much for Debian
maintainers and may lead to (more) negligence of packages... so
don't implement it unless you're sure that this is a viable idea wrt
the way Debian works.

--
Please do not send copies of list mail to me; I read the list!

.''`. martin f. krafft <madduck@debian.org>
: :' : proud Debian developer and author: http://debiansystem.info
`. `'`
`- Debian - when you have better things to do than fixing a system

SUSE: Soll Unix Sein, Eigentlich.
Back to top
Gustavo Noronha Silva
*nix forums beginner


Joined: 01 Mar 2005
Posts: 32

PostPosted: Wed Jul 19, 2006 10:50 pm    Post subject: Re: Could there be a arch build test befre upload? Reply with quote

Em Wed, 19 Jul 2006 09:14:48 -0600
Joseph Smidt <jsmidt@byu.edu> escreveu:
Quote:
The arm dev suggested using experimental for such a purpose,
which I admit is a good idea, but isn't that more than is needed if
all you want to test is whether it builds on all architectures.
dbuildtest could be another sanity test on top of linda and lintian.
Then you know in advance if the build would work.


Too much load for the buildd network, I believe. Notice that you do
have chroots in various port machines, and you can request that
build-deps for your package be installed on them.

See you,

--
Gustavo Noronha Silva <kov@debian.org>
http://people.debian.org/~kov/


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
Joseph Michael Smidt
*nix forums beginner


Joined: 01 Jan 2006
Posts: 32

PostPosted: Wed Jul 19, 2006 3:20 pm    Post subject: Could there be a arch build test befre upload? Reply with quote

I've been maintaining texmaker which has originally built fine on all
architectures but failed to build on arm after the last upload. Luckily
for me one of the arm devs helped me out and uploaded a fixed version.
He was able to test on arm and when it worked informed me.

The experience got me thinking, wouldn't it be nice if all
maintainers could test there packages on all architectures before they
uploaded? Maybe a dbuildtest command before dupload which ran your
package on the various architectures to test whether it builds. You
could view all the build logs and if everything checks out you know the
package is ready.

The arm dev suggested using experimental for such a purpose,
which I admit is a good idea, but isn't that more than is needed if all
you want to test is whether it builds on all architectures. dbuildtest
could be another sanity test on top of linda and lintian. Then you know
in advance if the build would work.

I just wondered what you all thought about this idea.

Joseph Smidt
--
--------------------------------------------------------------------------------
Joseph Smidt
jsmidt@byu.edu


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Thu Dec 04, 2008 2:41 am | All times are GMT
navigation Forum index » *nix » Linux » Distributions » Debian » devel
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts test admin Atest 0 Mon May 14, 2007 6:29 am
No new posts MySQL Max Build Policy Kaj Arnö MySQL 0 Fri Jul 21, 2006 2:08 pm
No new posts Python proficiency test Kent Johnson python 0 Fri Jul 21, 2006 10:47 am
No new posts someone using apmd on ppc please test patch for #222635 Aníbal Monsalve Salazar devel 1 Thu Jul 20, 2006 11:50 pm
No new posts Net:TFTPd questions - Want to upload configs via TFTP Adam Perl 0 Thu Jul 20, 2006 4:59 pm

Internet Advertising | Car Finance | Free Advertising | Credit Cards | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 11.7755s ][ Queries: 20 (11.6817s) ][ GZIP on - Debug on ]