dhcp3-dev is unusable without libdst.a

Bug #12710 reported by Alexandra Kossovsky
4
Affects Status Importance Assigned to Milestone
dhcp3 (Debian)
Fix Released
Unknown
dhcp3 (Ubuntu)
Fix Released
Medium
Jeff Bailey

Bug Description

dhcp3-dev is unusable without libdst.a. See Debian bug
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=220525.

Revision history for this message
In , Matt Zimmerman (mdz) wrote :

This is apparently an upstream bug. libdst.a is explicitly not installed:

mizar:[...rk/dhcp/dhcp3-3.0+3.0.1rc11] grep -A 5 '^install:'
dst/Makefile.dist
install:

libdst.a: $(OBJ)
        rm -f dst.a
        ar cruv libdst.a $(OBJ)
        $(RANLIB) libdst.a

It is only used internally to link programs which use libomapi. It should
either be installed, or combined into libomapi in order for that library to
be useful after installation.

--
 - mdz

Revision history for this message
Alexandra Kossovsky (alexandra-kossovsky) wrote :

dhcp3-dev is unusable without libdst.a. See Debian bug
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=220525.

Revision history for this message
Matt Zimmerman (mdz) wrote :

My analysis is the same as in Debian

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Wed, 12 Nov 2003 22:24:19 -0700
From: Glen Mabey <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: dhcp3-dev: deb missing lib from upstream source

Package: dhcp3-dev
Version: 3.0+3.0.1rc11-5
Severity: normal

While simply trying to compile the API example in 'man dhcpctl', I was
very confused for quite a while as to why there were so many dst_*
symbols which were not getting resolved.

My conclusion is that libdst.a which is build by default by the upstream
source should be included in dhcp3-dev. Linking with this file causes
all symbols to be resolved.

I would be surprised if this package is usable without that lib ...

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux gamma 2.4.20 #4 Tue May 6 17:14:38 MDT 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages dhcp3-dev depends on:
ii libc6-dev 2.3.2-9 GNU C Library: Development Librari

-- no debconf information

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 18 Dec 2003 13:23:02 -0800
From: Matt Zimmerman <email address hidden>
To: <email address hidden>, Glen Mabey <email address hidden>
Subject: Re: dhcp3-dev: deb missing lib from upstream source

This is apparently an upstream bug. libdst.a is explicitly not installed:

mizar:[...rk/dhcp/dhcp3-3.0+3.0.1rc11] grep -A 5 '^install:'
dst/Makefile.dist
install:

libdst.a: $(OBJ)
        rm -f dst.a
        ar cruv libdst.a $(OBJ)
        $(RANLIB) libdst.a

It is only used internally to link programs which use libomapi. It should
either be installed, or combined into libomapi in order for that library to
be useful after installation.

--
 - mdz

Revision history for this message
Alexandra Kossovsky (alexandra-kossovsky) wrote :

Excuse me, I undrestand that it is upstream problem, but I do not understand why
it is "normal", not "major" severity. Could you please provide any usage of this
package that is not broken? If you do not know how to fix this problem (if it is
so, it is really strange), here is a simple fix:
--- dhcp3-3.0.1/dst/Makefile.dist 2004-06-10 21:59:28.000000000 +0400
+++ dhcp3-3.0.1.fixed//dst/Makefile.dist 2005-02-09 17:58:39.000000000 +0300
@@ -30,7 +30,9 @@

 all: libdst.a

-install:
+install: all
+ mkdir -p $(DESTDIR)$(LIBDIR)
+ $(INSTALL) libdst.a $(DESTDIR)$(LIBDIR)

 libdst.a: $(OBJ)
        rm -f dst.a

Revision history for this message
Matt Zimmerman (mdz) wrote :

(In reply to comment #4)
> Excuse me, I undrestand that it is upstream problem, but I do not understand why
> it is "normal", not "major" severity.

This bug does not have a major effect on the usability of Ubuntu; it affects
only a rarely-used library which is not used by any functionality in Ubuntu.
That is, we base bug severities on the distribution as a whole, not on a
particular package. Even if dhcp3-dev were completely broken, it is not a
critical package.

> so, it is really strange), here is a simple fix:

Thanks, but this is not what was lacking. Upstream made an explicit decision
not to install this library, and without knowing why, it's not clear that it
should be installed. If this has changed in newer upstream code, we can merge
their fix.

Revision history for this message
Alexandra Kossovsky (alexandra-kossovsky) wrote :

Thank you for explanation. Just a remark: this problem does not exist in Fedora
Core 2 & 3.
bash$ rpm -qa |grep dhcp
dhcp-3.0.1-11
dhcpv6_client-0.10-8
dhcp-devel-3.0.1-11
bash$ rpm -ql dhcp-devel |grep libdst
/usr/lib/libdst.a
May be, you can have a look on FC patches?

Revision history for this message
In , Olivier Houchard (cognet-ci0) wrote :

tags 220525 + patch
thanks

Hi,

The attached patch (which really comes from FreeBSD), makes the "install"
target for libdst.a a bit more useful than ISC's default.

Revision history for this message
In , Andrew Pollock (apollock) wrote : tagging 220525

# Automatically generated email from bts, devscripts version 2.8.14
tags 220525 + pending

Revision history for this message
In , Andrew Pollock (apollock) wrote : Bug#220525: fixed in dhcp3 3.0.2-1
Download full text (5.2 KiB)

Source: dhcp3
Source-Version: 3.0.2-1

We believe that the bug you reported is fixed in the latest version of
dhcp3, which is due to be installed in the Debian FTP archive:

dhcp3-client-udeb_3.0.2-1_i386.udeb
  to pool/main/d/dhcp3/dhcp3-client-udeb_3.0.2-1_i386.udeb
dhcp3-client_3.0.2-1_i386.deb
  to pool/main/d/dhcp3/dhcp3-client_3.0.2-1_i386.deb
dhcp3-common_3.0.2-1_i386.deb
  to pool/main/d/dhcp3/dhcp3-common_3.0.2-1_i386.deb
dhcp3-dev_3.0.2-1_i386.deb
  to pool/main/d/dhcp3/dhcp3-dev_3.0.2-1_i386.deb
dhcp3-relay_3.0.2-1_i386.deb
  to pool/main/d/dhcp3/dhcp3-relay_3.0.2-1_i386.deb
dhcp3-server_3.0.2-1_i386.deb
  to pool/main/d/dhcp3/dhcp3-server_3.0.2-1_i386.deb
dhcp3_3.0.2-1.diff.gz
  to pool/main/d/dhcp3/dhcp3_3.0.2-1.diff.gz
dhcp3_3.0.2-1.dsc
  to pool/main/d/dhcp3/dhcp3_3.0.2-1.dsc
dhcp3_3.0.2.orig.tar.gz
  to pool/main/d/dhcp3/dhcp3_3.0.2.orig.tar.gz

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrew Pollock <email address hidden> (supplier of updated dhcp3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 16 Jun 2005 20:50:34 +1000
Source: dhcp3
Binary: dhcp3-client-udeb dhcp3-common dhcp3-relay dhcp3-dev dhcp3-client dhcp3-server
Architecture: source i386
Version: 3.0.2-1
Distribution: unstable
Urgency: low
Maintainer: Eloy A. Paris <email address hidden>
Changed-By: Andrew Pollock <email address hidden>
Description:
 dhcp3-client - DHCP Client
 dhcp3-client-udeb - DHCP Client for debian-installer (udeb)
 dhcp3-common - Common files used by all the dhcp3* packages
 dhcp3-dev - API for accessing and modifying the DHCP server and client state
 dhcp3-relay - DHCP Relay
 dhcp3-server - DHCP server for automatic IP address assignment
Closes: 178885 220525 266574 279338 281989 283388 290431 292357 300513 310074 310224 310225 311723
Changes:
 dhcp3 (3.0.2-1) unstable; urgency=low
 .
   * The "Look Mum, it's nearly Lintian clean!" release
   * New upstream release
   * debian/dhcp3-server.postinst: Applied patch from Robert Millan to handle
     interface names with slashes in them (closes: #290431)
   * debian/dhcp3-server.postinst: move startup to 40 instead of 20 so as to
     allow PCMCIA interfaces to exist (closes: #292357)
   * debian/dhcp3-server.init.d: explictly define a $PATH (closes: #311723)
   * Added Russian debconf templates translation (спасибо Yuriy Talakan)
     (closes: #310074)
   * debian/dhcp3-server.templates: fixed typo (closes: #310225)
   * debian/dhcp3-server.init.d: only restart if the config file is sane
     (closes: #300513)
   * Added Vietnamese debconf templates translation (Cám ón ông Clytie Siddall)
     (closes: #310224)
   * Added Czech debconf templates translation (dêkuji Jan Outrata) (closes:
     #266...

Read more...

Revision history for this message
Jeff Bailey (jbailey) wrote :

Current dhcp3-dev package contains this library.

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

Other bug subscribers

Remote bug watches

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