pkgsrc-Users archive

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

firefox build error gtk/gtk.h not found



On NetBSD 8.0 amd64 in pkgsrc-current I get this error. gtk2 and 4 are
installed and buildlinks are present, though not sure why the include path
doesn't reflect gtk in the command below.

/usr/pkgsrc/www/firefox/work/.cwrapper/bin/c++ -o Unified_cpp_xpcom_base2.o -c  -I/usr/pkgsrc/www/firefox/w
ork/build/dist/stl_wrappers -I/usr/pkgsrc/www/firefox/work/build/dist/system_wrappers -include /usr/pkgsrc/
www/firefox/work/firefox-67.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_NETBSD=1 -DOS_BS
D=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/usr/pkgsrc/www/fir
efox/work/firefox-67.0/xpcom/base -I/usr/pkgsrc/www/firefox/work/build/xpcom/base -I/usr/pkgsrc/www/firefox
/work/build/ipc/ipdl/_ipdlheaders -I/usr/pkgsrc/www/firefox/work/firefox-67.0/ipc/chromium/src -I/usr/pkgsr
c/www/firefox/work/firefox-67.0/ipc/glue -I/usr/pkgsrc/www/firefox/work/firefox-67.0/xpcom/build -I/usr/pkg
src/www/firefox/work/firefox-67.0/dom/base -I/usr/pkgsrc/www/firefox/work/firefox-67.0/mfbt -I/usr/pkgsrc/w
ww/firefox/work/firefox-67.0/netwerk/base -I/usr/pkgsrc/www/firefox/work/firefox-67.0/xpcom/ds -I/usr/pkgsr
c/www/firefox/work/build/dist/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss -I/usr/pkg/include/nsp
r -I/usr/pkgsrc/www/firefox/work/build/dist/include/nss -I/usr/X11R7/include/pixman-1 -fPIC -DPIC -DMOZILLA
_CLIENT -include /usr/pkgsrc/www/firefox/work/build/mozilla-config.h -I/usr/pkg/include -I/usr/include -I/u
sr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/
include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/inclu
de/ffmpeg4 -I/usr/X11R7/include/freetype2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -W
all -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wu
nreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wduplicated-cond -Wno-error=maybe-uninitialized -Wno
-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -fno-sized-d
eallocation -O2 -I/usr/pkg/include/nspr -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS -D_FORTIFY_SOURCE=2 -I/usr/pkg/in
clude -I/usr/include -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg
/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/incl
ude/ffmpeg4 -I/usr/X11R7/include/freetype2 -D__HAVE_INLINE___ISINF -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -f
stack-protector-strong -fno-exceptions -fno-strict-aliasing -Dunix -fno-rtti -ffunction-sections -fdata-sec
tions -fno-exceptions -fno-math-errno -pthread -pipe -I/usr/pkg/include -O2 -fomit-frame-pointer -funwind-t
ables -I/usr/pkgsrc/www/firefox/work/firefox-67.0/widget/gtk/compat-gtk3  -MD -MP -MF .deps/Unified_cpp_xpc
om_base2.o.pp   /usr/pkgsrc/www/firefox/work/build/xpcom/base/Unified_cpp_xpcom_base2.cpp
In file included from /usr/pkgsrc/www/firefox/work/firefox-67.0/xpcom/base/nsSystemInfo.cpp:41:0,
                 from /usr/pkgsrc/www/firefox/work/build/xpcom/base/Unified_cpp_xpcom_base2.cpp:56:
/usr/pkgsrc/www/firefox/work/build/dist/system_wrappers/gtk/gtk.h:3:26: fatal error: gtk/gtk.h: No such fil
e or directory
 #include_next <gtk/gtk.h>


Mayuresh


Home | Main Index | Thread Index | Old Index