libdar-dev: missing include file /usr/include/dar/config.h

Bug #2008596 reported by Rolf Gebhardt
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dar (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When switching from ubuntu 20.04 to 22.04 my project using libdar did not compile any more. The compiler complained it could find the header "/usr/include/dar/config.h".
The reason is simple:

/usr/include/dar/libdar.hpp includes /usr/include/dar/libdar_my_config.h
/usr/include/dar/libdar_my_config.h includes /usr/include/dar/config.h which does not exist.

On ubuntu 20.04 libdar_my_config.h included /usr/include/dar/libdar_config.h which exists.

For me I solved the problem by symlinking libdar_config.h to config.h.

But never the less the package libdar-dev should be corrected for ubuntu 22.04

Ubuntu release:
Description: Ubuntu 22.04.2 LTS
Release: 22.04

Package release:
libdar-dev:
  Installiert: 2.7.3-1
  Installationskandidat: 2.7.3-1
  Versionstabelle:
 *** 2.7.3-1 500
        500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        100 /var/lib/dpkg/status

(Thanks to the developer and the maintainer for providing this great backup utility!)

Tags: ibdar-dev
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dar (Ubuntu):
status: New → Confirmed
Revision history for this message
Orion the Hunter (hcabral00) wrote :

The exact same error as reported by Rolf Gebhardt happens to me when trying to compile the program gdar (https://www.peckto.de/gdar), which uses libdar.

Looks like it is a simple error that can be easily corrected.

The workaround of creating a symlink provided above seems to work for me.

Apparently unrelated to this bug, for those trying to compile and run gdar under Kubuntu, I had to install the package adwaita-icon-theme-full to make gdar work.

My system (lsb_release -a):
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy

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.