Source package without a binary

January 05th, 2012 - 12:30 pm ET by Joachim Breitner | Report spam

Dear devel,

I have an interesting case for a hypothetical „source package without
binary packages“: The haskell compiler comes with an extensive test
suite. This test suite
1. is distributed separately from the sources,
2. takes a long time to run and
3. partly depends on libraries that do not come with the compiler
packages, and which in turn Build-Depend on the compiler.

Now point 1 could be solved with dpkg’s multi-tarball-feature, and point
2 is also somewhat minor (but not irrelevant, compiling GHC already
takes more than a day on weak architectures, delaying this further is
undesireable), but point 3 clearly prevents running the test suite
during the build of the GHC package itself.

From my point of view, it seems desirable to package the testsuite as a
source-package of its own, build-depending on GHC and the additional
libraries required, and upload that. Our autobuilding infrastructure
would thus run the testsuite on the various architectures, which is very
desirable, given that we are talking about a compiler that is not
well-tested by upstream on the more exotic architectures.

Theoretically, there is no interesting binary package produced from this
source package and it seems that the policy does not explicitly require
that a source package produces binary packages... but I am certain that
this is an assumption buried deep within so many parts of our
infrastructure that it is not a good idea to actually try this.

So the logical conclusion is to build a binary package from the source
that contains nothing (or maybe a log of the test results) and clearly
states in its description that there is no point in installing this
binary package.

Is this something that we want to allow? If not, how else should I
proceed? And are there developers who think that having a source package
without binary package is a good way to stress-test our infrastructure
for corner-case-bugs? :-)

Greetings,
Joachim

Joachim "nomeata" Breitner
Debian Developer
nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata





To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/1325784373.2495.33.camel@kirk
email Follow the discussionReplies 10 repliesReplies Make a reply

Similar topics

Replies

#1 Tanguy Ortolo
January 05th, 2012 - 12:40 pm ET | Report spam
Joachim Breitner, 2012-01-05 18:26+0100 (gmane.linux.debian.devel.general):
Theoretically, there is no interesting binary package produced from this
source package and it seems that the policy does not explicitly require
that a source package produces binary packages... but I am certain that
this is an assumption buried deep within so many parts of our
infrastructure that it is not a good idea to actually try this.



Would there not be an interest in allowing people to install the test
suite itself for their own usage? That may be a relevant binary package,
that could be compared with the linux-source packages for instance
(although these are not a test suite, of course).

,--.
: /` ) Tanguy Ortolo <xmpp: <irc://irc.oftc.net/Tanguy>
| `-' Debian Developer
\_


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/je4n2h$a2q$
Replies Reply to this message
#2 Jean-Christophe Dubacq
January 05th, 2012 - 01:00 pm ET | Report spam
On 05/01/2012 18:26, Joachim Breitner wrote:
Dear devel,

I have an interesting case for a hypothetical „source package without
binary packages“: The haskell compiler comes with an extensive test
suite. This test suite
1. is distributed separately from the sources,
2. takes a long time to run and
3. partly depends on libraries that do not come with the compiler
packages, and which in turn Build-Depend on the compiler.

Now point 1 could be solved with dpkg’s multi-tarball-feature, and point
2 is also somewhat minor (but not irrelevant, compiling GHC already
takes more than a day on weak architectures, delaying this further is
undesireable), but point 3 clearly prevents running the test suite
during the build of the GHC package itself.

From my point of view, it seems desirable to package the testsuite as a
source-package of its own, build-depending on GHC and the additional
libraries required, and upload that. Our autobuilding infrastructure
would thus run the testsuite on the various architectures, which is very
desirable, given that we are talking about a compiler that is not
well-tested by upstream on the more exotic architectures.

Theoretically, there is no interesting binary package produced from this
source package and it seems that the policy does not explicitly require
that a source package produces binary packages... but I am certain that
this is an assumption buried deep within so many parts of our
infrastructure that it is not a good idea to actually try this.

So the logical conclusion is to build a binary package from the source
that contains nothing (or maybe a log of the test results) and clearly
states in its description that there is no point in installing this
binary package.

Is this something that we want to allow? If not, how else should I
proceed? And are there developers who think that having a source package
without binary package is a good way to stress-test our infrastructure
for corner-case-bugs? :-)

Greetings,
Joachim



You could build a binary package that just contains one file (the test
suite log, maybe?). This way, anyone could check that the test suite was
passed by the version of ghc being compiled by installing the binary
package.

Jean-Christophe Dubacq


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/
Replies Reply to this message
#3 Peter Samuelson
January 05th, 2012 - 06:30 pm ET | Report spam
On 05/01/2012 18:26, Joachim Breitner wrote:
> So the logical conclusion is to build a binary package from the
> source that contains nothing (or maybe a log of the test results)
> and clearly states in its description that there is no point in
> installing this binary package.
>
> Is this something that we want to allow?



[Jean-Christophe Dubacq]
You could build a binary package that just contains one file (the
test suite log, maybe?). This way, anyone could check that the test
suite was passed by the version of ghc being compiled by installing
the binary package.



Yeah, that's pretty much what he already said. What he's asking is
whether this is actually a good idea, or whether there are better
options.
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/
Replies Reply to this message
#4 Reinhard Tartler
January 05th, 2012 - 06:50 pm ET | Report spam
On Do, Jan 05, 2012 at 18:26:13 (CET), Joachim Breitner wrote:

Dear devel,

I have an interesting case for a hypothetical „source package without
binary packages“: The haskell compiler comes with an extensive test
suite. This test suite
1. is distributed separately from the sources,
2. takes a long time to run and
3. partly depends on libraries that do not come with the compiler
packages, and which in turn Build-Depend on the compiler.



Why not installing the test-suite itself in the binary package, so that
users that install the package can run the test-suite on their own?

Cheers,
Reinhard

Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/
Replies Reply to this message
#5 Joachim Breitner
January 05th, 2012 - 07:40 pm ET | Report spam

Hi,

Am Freitag, den 06.01.2012, 00:47 +0100 schrieb Reinhard Tartler:
On Do, Jan 05, 2012 at 18:26:13 (CET), Joachim Breitner wrote:
> Dear devel,
>
> I have an interesting case for a hypothetical „source package without
> binary packages“: The haskell compiler comes with an extensive test
> suite. This test suite
> 1. is distributed separately from the sources,
> 2. takes a long time to run and
> 3. partly depends on libraries that do not come with the compiler
> packages, and which in turn Build-Depend on the compiler.

Why not installing the test-suite itself in the binary package, so that
users that install the package can run the test-suite on their own?



I might do that additionally, thanks (and also to Tanguy) for the idea,
but one of the desired effects is that the test-suite would be run by
the buildds on all architectures. Even those without users :-)

Greetings,
Joachim

Joachim "nomeata" Breitner
Debian Developer
| ICQ# 74513189 | GPG-Keyid: 4743206C
JID: | http://people.debian.org/~nomeata





To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/
Replies Reply to this message
Help Create a new topicNext page Replies Make a reply
Search Make your own search