[Bug 2115579] Re: python3-config --cflags is wong with Ubuntu 24.04.2 LTS

Launchpad Bug Tracker 2115579 at bugs.launchpad.net
Fri Aug 29 04:17:17 UTC 2025


[Expired for python3-defaults (Ubuntu) because there has been no
activity for 60 days.]

** Changed in: python3-defaults (Ubuntu)
       Status: Incomplete => Expired

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

Title:
  python3-config --cflags is wong with Ubuntu 24.04.2 LTS

Status in python3-defaults package in Ubuntu:
  Expired

Bug description:
  
  Right now --cflags is returning the Python include path twice and the library zero times.  It is missing  -lpython3.12 and requires hand patching.

  This is what I am getting.

  ~$ python3-config --cflags
  -I/usr/include/python3.12 -I/usr/include/python3.12  -fno-strict-overflow -Wsign-compare  -DNDEBUG -g -O2 -Wall

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: python3 3.12.3-0ubuntu2
  ProcVersionSignature: Ubuntu 6.11.0-26.26~24.04.1-generic 6.11.11
  Uname: Linux 6.11.0-26-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.28.1-0ubuntu3.7
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Jun 28 15:36:37 2025
  InstallationDate: Installed on 2024-11-08 (232 days ago)
  InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/dash
   TERM=xterm-256color
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: python3-defaults
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2115579/+subscriptions




More information about the foundations-bugs mailing list