[SRU] [hardy/gutsy] missing depends on libc6-dev

Bug #77624 reported by Sebastien Estienne
30
Affects Status Importance Assigned to Milestone
varnish (Ubuntu)
Fix Released
Undecided
Unassigned
Declined for Gutsy by Martin Pitt
Hardy
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: varnish

== Bug ==
varnish should depend on libc6-dev.
If libc6-dev is not installed, the daemon can't start.

== Development version ==
This has already been fixed in intrepid onwards by debian.

== How to reproduce? ==
Be sure that libc6-dev is not installed, and install varnish. Trying to start the daemon will result in an error.

== Regression potential ==
None, as this is an added dependency only.

Changed in varnish:
status: Unconfirmed → Confirmed
Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

The dependency is added in version 1.1.2 in intrepid.

Changed in varnish:
status: Confirmed → Fix Released
Revision history for this message
Andreas Wenning (andreas-wenning) wrote : Re: missing depency on libc6-dev

I'll prepare an SRU for this issue.

description: updated
Changed in varnish:
assignee: nobody → andreas-wenning
status: Fix Released → In Progress
Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

Sadly the package is made as a native package; as to keep the minimal change it has been kept so.

An updated package for hardy is available here:
http://awen.dk/packages/varnish/hardy/

And for gutsy here:
http://awen.dk/packages/varnish/gutsy/

As to retain the minimal diff, please be sure to run "debuild -S -I/^$/" as the source contains an .svn-directory, which we would like to keep in this case.

description: updated
Changed in varnish:
assignee: andreas-wenning → nobody
status: In Progress → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Let's not worry about gutsy. It is far away from a bug which matches SRU criteria, and gutsy goes EOL in two months.

For hardy, this bug is way too underdocumented. It doesn't say why exactly varnish fails (output, etc.). libc6-dev is a package providing header files for development, it sounds very wrong to make it a dependency of a system daemon. So what is the *actual* problem with varnish?

Changed in varnish:
status: New → Incomplete
Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

Fair enough to drop gutsy.

The error received when trying to start varnish is the following:
Starting HTTPd accelerator: /usr/bin/ld: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status
pclose=256
Internal error: GCC returned 0x0100

The file crti.o is in the libc6-dev package.

Varnish compiles its configuration and then dynamically links to it, which is why it is needed.

Revision history for this message
Martin Pitt (pitti) wrote :

OK, fair enough. Please go ahead with the hardy SRU.

Changed in varnish:
status: Incomplete → Confirmed
Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

The hardy update is located here:
http://awen.dk/packages/varnish/hardy/

I have no upload rights; do I need to subscribe ubuntu-universe-sponsors or is this fine?

Revision history for this message
Martin Pitt (pitti) wrote :

Andreas, next time please just submit a debdiff. Your source package doesn't use the hardy orig.tar.gz. I'll try and clean it up.

Revision history for this message
Martin Pitt (pitti) wrote :

Argh, it doesn't even have one. What a broken package...

Revision history for this message
Martin Pitt (pitti) wrote :

Sponsored.

Changed in varnish:
status: Confirmed → In Progress
Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

Yeah agreed, it is kinda messy in that regard. Thanks!

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into hardy-proposed; please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in varnish:
status: In Progress → Fix Committed
Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

I can confirm that the uploaded package works. Installing varnish 1.0.3-2 (w/o libc6-dev is installed) and varnish can't be started; updating to the version in hardy-proposed pulls in libc6-dev and starting varnish now works. varnish in itself is tested and works as well.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package varnish - 1.0.3-2ubuntu1

---------------
varnish (1.0.3-2ubuntu1) hardy-proposed; urgency=low

  * Add libc6-dev to depends. (LP: #77624)

 -- Andreas Wenning <email address hidden> Fri, 13 Feb 2009 14:30:32 +0100

Changed in varnish:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.