Skip to content

glibc-update: waterfox does not build anymore, missing sys/sysctl.h #2082

Closed
wwwutz opened this issue Apr 20, 2021 · 4 comments
Closed

glibc-update: waterfox does not build anymore, missing sys/sysctl.h #2082

wwwutz opened this issue Apr 20, 2021 · 4 comments

Comments

@wwwutz
Copy link
Collaborator

wwwutz commented Apr 20, 2021

/buildroot/waterfox/waterfox-56.2.14-0/source/objdir/dist/system_wrappers/sys/sysctl.h:3:15: fatal error: 'sys/sysctl.h' file not found

vs.

done-old/glibc-2.27-0.stdout:#BEEWRAP-install# [7335] install -c -m 644 ../sysdeps/unix/sysv/linux/sys/sysctl.h /dev/shm/mxqd/mnt/job/26468694/glibc-2.27-0/buildroot/glibc/glibc-2.27-0/image/usr/include/sys/sysctl.h
done-old/glibc-2.27-0.stdout:-rw-r--r-- build/build    2004 2021-02-09 23:37 /usr/include/sys/sysctl.h
done-old/glibc-2.27-0.stdout:#7335.2# install -c -m 644 ../sysdeps/unix/sysv/linux/sys/sysctl.h /dev/shm/mxqd/mnt/job/26468694/glibc-2.27-0/buildroot/glibc/glibc-2.27-0/image/usr/include/sys
@pmenzel
Copy link
Collaborator

pmenzel commented Apr 20, 2021

From the announcement:

  • The Linux-specific <sys/sysctl.h> header and the sysctl function have been
    deprecated and will be removed from a future version of glibc.
    Application should directly access /proc instead. For obtaining random
    bits, the getentropy function can be used.

I guess, Waterfox needs to be updated, or – if there are no users anymore – removed.

@wwwutz
Copy link
Collaborator Author

wwwutz commented Apr 20, 2021

also impacts js.be0

bee@pappnase:/project/beehive> grep sys/sysctl.h work/*
[...]
work/js-52.2.1gnome1-0.stdout:/dev/shm/mxqd/mnt/job/26770685/js-52.2.1gnome1-0/buildroot/js/js-52.2.1gnome1-0/build/dist/system_wrappers/sys/sysctl.h:3:15: fatal error: sys/sysctl.h: No such file or directory
work/js-52.2.1gnome1-0.stdout: #include_next <sys/sysctl.h>
[...]

so no high impact anyway.

@wwwutz
Copy link
Collaborator Author

wwwutz commented Apr 20, 2021

ah, libio.h is missing also.

done-old/alsa-oss-1.0.28-0.stdout:/usr/include/libio.h:21:2: warning: #warning "<libio.h> is deprecated; use <stdio.h> instead." [-Wcpp]
done-old/alsa-oss-1.0.28-0.stdout: #warning "<libio.h> is deprecated; use <stdio.h> instead."

at least the warned 8-)

@wwwutz
Copy link
Collaborator Author

wwwutz commented May 5, 2021

fixed by #2092

@wwwutz wwwutz closed this as completed May 5, 2021
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants