|
|
|
|
|
|
| Author |
Message |
Joseph Michael Smidt *nix forums beginner
Joined: 01 Jan 2006
Posts: 32
|
Posted: Wed Jul 19, 2006 3:20 pm Post subject:
Could there be a arch build test befre upload?
|
|
|
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 |
|
 |
Gustavo Noronha Silva *nix forums beginner
Joined: 01 Mar 2005
Posts: 32
|
Posted: Wed Jul 19, 2006 10:50 pm Post subject:
Re: Could there be a arch build test befre upload?
|
|
|
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 |
|
 |
martin f krafft *nix forums Guru
Joined: 01 Mar 2005
Posts: 360
|
Posted: Thu Jul 20, 2006 12:00 am Post subject:
Re: Could there be a arch build test befre upload?
|
|
|
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 |
|
 |
Goswin von Brederlow *nix forums Guru
Joined: 20 Feb 2005
Posts: 658
|
Posted: Thu Jul 20, 2006 10:20 am Post subject:
Re: Could there be a arch build test befre upload?
|
|
|
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 |
|
 |
Goswin von Brederlow *nix forums Guru
Joined: 20 Feb 2005
Posts: 658
|
Posted: Thu Jul 20, 2006 12:10 pm Post subject:
Re: Could there be a arch build test befre upload?
|
|
|
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 |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Nov 20, 2008 10:29 pm | All times are GMT
|
|
Loans | Property in Spain | Loans | Buy Anything On eBay | Best Credit Cards
|
|
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
|
|