NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

X11/Xlib.h went missing on latest 10.2



Hi,

just a quick check. I'm compiling https://github.com/rmottola/Arctic-Fox/tree/dev on NetBSD/amd64 10.2 with up-to-date pkg.

Since gtk2 builds won't work and perhaps will be removed, I tested a gtk3 build, which works on linux and which used to work on NetBSD too (but tested more rarely).

The file itself is there of course and is there.

nx6325$ find /usr -name Xlib.h
find: /usr/games/hide: Permission denied
/usr/X11R7/include/X11/Xlib.h

-r--r--r--  1 root  wheel  99853 Sep 15 19:50 /usr/X11R7/include/X11/Xlib.h



204:51.40 libdom_media_eme.a.desc
204:51.40 In file included from /home/multix/code/Arctic-Fox/widget/gtk/mozgtk/mozgtk.c:623: 204:51.40 /home/multix/code/Arctic-Fox/obj-x86_64-unknown-netbsd10.2/dist/system_wrappers/X11/Xlib.h:4:15: fatal error: X11/Xlib.h: No such file or directory
204:51.40     4 | #include_next <X11/Xlib.h>
204:51.40       |               ^~~~~~~~~~~~
204:51.40 compilation terminated.
204:51.40
204:51.40 In the directory /home/multix/code/Arctic-Fox/obj-x86_64-unknown-netbsd10.2/widget/gtk/mozgtk/gtk3
204:51.40 The following command failed to execute properly:
204:51.42 /usr/bin/gcc -march=athlon64-sse3 -std=gnu99 -o mozgtk.o -c -I/home/multix/code/Arctic-Fox/obj-x86_64-unknown-netbsd10.2/dist/system_wrappers -include /home/multix/code/Arctic-Fox/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DGTK2_SYMBOLS -I/home/multix/code/Arctic-Fox/widget/gtk/mozgtk/gtk3 -I/home/multix/code/Arctic-Fox/obj-x86_64-unknown-netbsd10.2/widget/gtk/mozgtk/gtk3 -I/home/multix/code/Arctic-Fox/obj-x86_64-unknown-netbsd10.2/dist/include -I/home/multix/code/Arctic-Fox/obj-x86_64-unknown-netbsd10.2/dist/include/nspr -I/home/multix/code/Arctic-Fox/obj-x86_64-unknown-netbsd10.2/dist/include/nss -fPIC -DPIC -include /home/multix/code/Arctic-Fox/obj-x86_64-unknown-netbsd10.2/mozilla-config.h -DMOZILLA_CLIENT -MD -MP -MF .deps/mozgtk.o.pp -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wformat -fno-strict-aliasing -Dunix -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe -g -O -fomit-frame-pointer /home/multix/code/Arctic-Fox/widget/gtk/mozgtk/mozgtk.c


the change requiring Xlib.h here is sketchy, but it is over 6 months old in the code, so it used to work. I see no direct include to /usr/X11R7/include which worries me, but what could have changed in 10.2 that very likely worked in 10.1? I did an upgrade of my system, perhaps I missed a step somewhere, what could I check?
Perhaps there should be some links?

Riccardo


Home | Main Index | Thread Index | Old Index