libqdbm++-dev doesn't find own includes

Bug #450672 reported by bijwaard
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qdbm (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When I include the qdbm headers like this (since they are under /usr/include/qdbm):

#include <qdbm/depot.h>
#include <qdbm/cabin.h>
#include <qdbm/vista.h>

I get the following problems during compilation with g++:

/usr/include/qdbm/vista.h:31:19: error: depot.h: No such file or directory
/usr/include/qdbm/vista.h:32:19: error: curia.h: No such file or directory
/usr/include/qdbm/vista.h:33:19: error: cabin.h: No such file or directory
/usr/include/qdbm/vista.h:126:19: error: villa.h: No such file or directory
...

This is due to the fact that these headers assume they are not in a subdirectory, i.e. they include each other as follows (from vista.h):

#include <depot.h>
#include <curia.h>
#include <cabin.h>

Clearly they should include from the install directory in /usr/include/qdbm (else every developer has to add /usr/include/qdbm to its include path) by either using the path relative to /usr/include:

#include <qdbm/depot.h>
#include <qdbm/curia.h>
#include <qdbm/cabin.h>

or in the same directory:

#include "depot.h"
#include "curia.h"
#include "cabin.h"

Similar issues can be found in the other /usr/include/qdbm/* include files.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: libqdbm++-dev 1.8.74-1.4
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: qdbm
Uname: Linux 2.6.28-14-generic i686

Related branches

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

This bug was fixed in the package qdbm - 1.8.77-3.1

---------------
qdbm (1.8.77-3.1) unstable; urgency=low

  * Non-maintainer upload.
  * Fix FTBFS:
    + Apply patch from Julien Cristau to replace STR2CSTR with StringValuePtr.
    + Hack: avoid modifying $0 (frozen variable in 1.9.2)
    + Add -I. to work around removal of relative requires in 1.9.2.
    Closes: #592775

qdbm (1.8.77-3) unstable; urgency=low

  * Fix FTBTS again. (Closes: #589275)
  * update libxqdbm2c2.symbols to demangle symbols name.

qdbm (1.8.77-2) unstable; urgency=low

  * New Standards-Version: 3.9.0
  * debian/control: fix section overrides.
  * Fix FTBTS adding build options for gcj. (Closes: #589275)
  * fix lintian issues.

qdbm (1.8.77-1) unstable; urgency=low

  * Imported Upstream version 1.8.77
  * Change binary package name of C++ library
    (by Taku YASUI <email address hidden>)
  * New Maintainer. (Closes: #541046)
  * New Standards-Version: 3.8.4
  * Change Build-Depends from gcj to default-jdk
  * remove needless pkgconfig option. (Closes: #397614)
  * fix refering paths of header files. (LP: #450672)
  * fix lintian issues:
      remove RPATH with chrpath.
      change location of perl modules.
  * build ruby binding for both 1.8 and 1.9.1.
 -- Ubuntu Archive Auto-Sync <email address hidden> Fri, 15 Oct 2010 09:56:53 +0000

Changed in qdbm (Ubuntu):
status: New → 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.