Public bug reported:

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

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

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

Title:
  sysctl.h has been deprecated and should be removed

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to