Missing igraph_version.h in libigraph-dev Package on Ubuntu 24.04

Bug #2102055 reported by sanchuanhehe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
igraph (Ubuntu)
New
Undecided
Unassigned

Bug Description

### **Bug Report: Missing `igraph_version.h` in `libigraph-dev` Package on Ubuntu 24.04**

#### **1. Affected Package**
- **Package Name**: `libigraph-dev`
- **Ubuntu Version**: Ubuntu 24.04.2 LTS (Noble)
- **Package Version**: `0.10.10+ds-1.1build2` (amd64)

---

#### **2. Issue Description**
After installing the `libigraph-dev` package on Ubuntu 24.04, the header file `igraph_version.h` is missing from the expected directory `/usr/include/igraph/`. This causes compilation errors when trying to use `igraph`, such as:

```c
fatal error: igraph_version.h: No such file or directory
```

---

#### **3. Steps to Reproduce**
1. Install `libigraph-dev`:
   ```sh
   sudo apt update
   sudo apt install libigraph-dev
   ```
2. Check for missing header files:
   ```sh
   ls -l /usr/include/igraph/
   dpkg -L libigraph-dev | grep '\.h$'
   ```
3. `igraph_version.h` is not present in `/usr/include/igraph/`, leading to compilation failures.

---

#### **4. Expected Behavior**
After installing `libigraph-dev`, the following header files should be available in `/usr/include/igraph/`:
```sh
/usr/include/igraph/igraph.h
/usr/include/igraph/igraph_types.h
/usr/include/igraph/igraph_attributes.h
/usr/include/igraph/igraph_version.h # MISSING
```
However, `igraph_version.h` is missing, making it impossible to compile programs that depend on it.

---

#### **5. Possible Solutions**
- Verify the packaging process of `libigraph-dev` to ensure all required headers, including `igraph_version.h`, are correctly included.
- If the issue originates from the upstream Debian package, sync with the latest version or report it to Debian maintainers.

---

#### **6. System Information**
```sh
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.2 LTS
Release: 24.04
Codename: noble

dpkg -l | grep libigraph-dev
libigraph-dev/noble 0.10.10+ds-1.1build2 amd64
  library for creating and manipulating graphs - development files
```

---

#### **7. Additional Information**
- Does this issue exist in previous versions of `libigraph-dev`? [Yes/No]
- Have you tried manually downloading `igraph_version.h` from the official source? [Yes/No]
  - [igraph GitHub Repository](https://github.com/igraph/igraph)
- Have you attempted to compile `igraph` from source, and did it resolve the issue? [Yes/No]

---

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: libigraph-dev (not installed)
ProcVersionSignature: Ubuntu 6.11.0-19.19~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-19-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: Unity
Date: Wed Mar 12 08:05:21 2025
InstallationDate: Installed on 2024-11-17 (114 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1)
ProcEnviron:
 LANG=zh_CN.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: igraph
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
sanchuanhehe (sanchuanhehexx) wrote :
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.