pkgsrc-Users archive

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

Re: 2020Q4 - Linux - Unable to build gtk3



My apologies -this was on centos 8/amd64, using the system compiler (not pkgsrc's).

On 1/28/2021 3:11 PM, Michael Huff wrote:
This is driving me up a tree -I've tried different things on both Centos 8 (regular and stream) and Debian 10.

I've tried mixing up the compile order.

I've tried using pkgsrc's gcc 10 and gcc 8 (instead of the system compiler).

The last thing I tried was setting X11_TYPE=modular in /usr/pkg/etc/mk.conf in hopes that gtk3 would find the files it needs there.

My guess is that it's a problem with the source that I don't have the skills to fix. So before I give up on it, I'm going to post the output / error (captured with script) here and hope that someone has a suggestion I haven't thought of yet that I can try.

I'm not sure if this qualifies as a bug since it could be something on my end (I'm building in virtualbox, which can often be problematic for compiling packages).

The full output of script is here: https://pastebin.com/7GXTMkeA

The tail end of it is here:

^[[01m^[[Kgtktypefuncs.inc:90:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Kunterminated #ifdef^M
 #ifdef GDK_WINDOWING_X11n*tp++ = gdk_x11_display_get_type();n#endif^M
 ^M
^[[01m^[[Kgtktypefuncs.inc:89:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Kunterminated #ifdef^M
 #ifdef GDK_WINDOWING_X11n*tp++ = gdk_x11_device_xi2_get_type();n#endif^M
 ^M
^[[01m^[[Kgtktypefuncs.inc:88:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Kunterminated #ifdef^M  #ifdef GDK_WINDOWING_X11n*tp++ = gdk_x11_device_manager_xi2_get_type();n#endif^M
 ^M
^[[01m^[[Kgtktypefuncs.inc:87:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Kunterminated #ifdef^M  #ifdef GDK_WINDOWING_X11n*tp++ = gdk_x11_device_manager_core_get_type();n#endif^M
 ^M
^[[01m^[[Kgtktypefuncs.inc:86:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Kunterminated #ifdef^M  #ifdef GDK_WINDOWING_X11n*tp++ = gdk_x11_device_core_get_type();n#endif^M
 ^M
^[[01m^[[Kgtktypefuncs.inc:85:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Kunterminated #ifdef^M
 #ifdef GDK_WINDOWING_X11n*tp++ = gdk_x11_cursor_get_type();n#endif^M
 ^M
^[[01m^[[Kgtktypefuncs.inc:84:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Kunterminated #ifdef^M  #ifdef GDK_WINDOWING_X11n*tp++ = gdk_x11_app_launch_context_get_type();n#endif^M
 ^M
make[3]: *** [Makefile:7274: libgtk_3_la-gtktestutils.lo] Error 1^M
make[3]: *** Waiting for unfinished jobs....^M
make[3]: Leaving directory '/usr/pkgsrc/x11/gtk3/work/gtk+-3.24.23/gtk'^M
make[2]: *** [Makefile:3169: all] Error 2^M
make[2]: Leaving directory '/usr/pkgsrc/x11/gtk3/work/gtk+-3.24.23/gtk'^M
make[1]: *** [Makefile:750: all-recursive] Error 1^M
make[1]: Leaving directory '/usr/pkgsrc/x11/gtk3/work/gtk+-3.24.23'^M
make: *** [Makefile:623: all] Error 2^M
*** Error code 2^M
^M
Stop.^M
bmake[1]: stopped in /usr/pkgsrc/x11/gtk3^M
*** Error code 1^M
^M
Stop.^M
bmake: stopped in /usr/pkgsrc/x11/gtk3^M




Home | Main Index | Thread Index | Old Index