sysctl.h has been deprecated and should be removed

Bug #1924587 reported by Heather Ellsworth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gsimplecal (Ubuntu)
Fix Released
Undecided
Hugo Torres de Lima

Bug Description

Builds fail because of using sys/sysctl.h

Unique.cpp:7:10: fatal error: sys/sysctl.h: No such file or directory
    7 | #include <sys/sysctl.h>
      | ^~~~~~~~~~~~~~
compilation terminated.

The build failure: https://launchpadlibrarian.net/532496954/buildlog_ubuntu-hirsute-amd64.gsimplecal_2.1-1build1_BUILDING.txt.gz

sys/sysctl.h usage has been deprecated: https://sourceware.org/pipermail/glibc-cvs/2020q2/069366.html

I've verified that removing this line (it is only in Unique.cpp), the build completes just fine.

The upstream project has recently been revived and looks like they're readying a 2.2 release, which does have this fix: https://salsa.debian.org/debian/gsimplecal/-/tree/debian/2.2-1

Revision history for this message
Hugo Torres de Lima (f9kill) wrote :

Hi

The package has already been updated to the new version.

https://tracker.debian.org/pkg/gsimplecal

Changed in gsimplecal (Ubuntu):
status: New → Fix Released
assignee: nobody → Hugo Torres de Lima (f9kill)
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.