Public bug reported:

### **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)

** Affects: igraph (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2102055

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/igraph/+bug/2102055/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to