libtraceevent is not built with distro flags

Bug #2069195 reported by Nick Rosbrook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libtraceevent (Ubuntu)
Fix Released
Undecided
Nick Rosbrook

Bug Description

We can see this in the build logs[1], that default build flags are missing. And, in the Makefile(s), we see that CFLAGS is not honored from the outside:

# Set compile option CFLAGS
ifdef EXTRA_CFLAGS
  CFLAGS := $(EXTRA_CFLAGS)
else
  CFLAGS := -g -Wall
endif

[1] https://launchpadlibrarian.net/722931304/buildlog_ubuntu-noble-amd64.libtraceevent_1%3A1.8.2-1ubuntu2_BUILDING.txt.gz

Nick Rosbrook (enr0n)
Changed in libtraceevent (Ubuntu):
assignee: nobody → Nick Rosbrook (enr0n)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libtraceevent - 1:1.8.2-1ubuntu3

---------------
libtraceevent (1:1.8.2-1ubuntu3) oracular; urgency=medium

  * debian/rules: ensure build is done with distro build flags (LP: #2069195)
    - Set EXTRA_CFLAGS to CFLAGS as passed by debhelper
    - Use DEB_CFLAGS_MAINT_APPEND to honor existing build defaults

 -- Nick Rosbrook <email address hidden> Wed, 12 Jun 2024 12:40:33 -0400

Changed in libtraceevent (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.