[Xfce-bugs] [Bug 16583] New: Does not build when source code configured with --disable-gtk2

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sat Mar 21 23:49:40 CET 2020


https://bugzilla.xfce.org/show_bug.cgi?id=16583

            Bug ID: 16583
           Summary: Does not build when source code configured with
                    --disable-gtk2
    Classification: Xfce Core
           Product: Exo
           Version: 0.12.11
          Hardware: PC (x86_64)
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: kloczko.tomasz at gmail.com
  Target Milestone: Exo 0.12

[tkloczko at barrel exo-0.12.11]$ grep -r  GTK3 | grep Makefile.am
exo-desktop-item-edit/Makefile.am:      $(GTK3_CFLAGS)                         
                        \
exo-desktop-item-edit/Makefile.am:      $(GTK3_LIBS)                           
                        \
tests/Makefile.am:      $(GTK3_CFLAGS)                                         
        \
tests/Makefile.am:      $(GTK3_LIBS)                                           
        \
docs/reference/Makefile.am:# We need to use GTK2 exo flags because the GTK3
version does not have
exo/Makefile.am:        $(GTK3_CFLAGS)                                         
        \
exo/Makefile.am:        $(GTK3_LIBS)                                           
        \
exo-open/Makefile.am:   $(GTK3_CFLAGS)                                         
        \
exo-open/Makefile.am:   $(GTK3_LIBS)                                           
        \
exo-helper/Makefile.am: $(GTK3_CFLAGS)                                         
        \
exo-helper/Makefile.am: $(GTK3_LIBS)    
                                                \
[tkloczko at barrel exo-0.12.11]$ make
make  all-recursive
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11'
Making all in exo
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo'
make  all-am
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo'
Making all in exo-csource
make[2]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-csource'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-csource'
Making all in exo-desktop-item-edit
make[2]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-desktop-item-edit'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-desktop-item-edit'
Making all in exo-helper
make[2]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-helper'
make  all-recursive
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-helper'
Making all in helpers
make[4]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-helper/helpers'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-helper/helpers'
make[4]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-helper'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-helper'
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-helper'
make[2]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-helper'
Making all in exo-open
make[2]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-open'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/exo-open'
Making all in docs
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/docs'
Making all in reference
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/docs/reference'
_source_dir='' ; \
for i in ../.. ; do \
  _source_dir="${_source_dir} --source-dir=$i" ; \
done ; \
gtkdoc-scan --module=exo --ignore-headers="" ${_source_dir}
--deprecated-guards="EXO_DISABLE_DEPRECATED"
if grep -l '^..*$' exo.types > /dev/null 2>&1 ; then \
  scanobj_options=""; \
  gtkdoc-scangobj 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
  if test "$?" = "0"; then \
    if test "x" = "x1"; then \
      scanobj_options="--verbose"; \
    fi; \
  fi; \
  CC="/bin/sh ../../libtool --tag=CC --mode=compile gcc 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DNDEBUG
-DHAVE_GNUC_VISIBILITY  -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-flto=auto -flto-partition=none -fcommon -DGSEAL_ENABLE" LD="/bin/sh
../../libtool --tag=CC --mode=link gcc -lgobject-2.0 -lglib-2.0   -O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-flto=auto -flto-partition=none -fcommon -DGSEAL_ENABLE  -Wl,-z,relro
-Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
-flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--as-needed -Wl,-O1"
RUN="/bin/sh ../../libtool --mode=execute" CFLAGS="-I../.. -I../.. 
-I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -O2
-g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-flto=auto -flto-partition=none -fcommon -DGSEAL_ENABLE"
LDFLAGS="../../exo/libexo-1.la  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none
-fuse-linker-plugin -Wl,--as-needed -Wl,-O1" \
  gtkdoc-scangobj  $scanobj_options --module=exo; \
else \
  for i in exo.args exo.hierarchy exo.interfaces exo.prerequisites exo.signals
; do \
    test -f $i || touch $i ; \
  done \
fi
In file included from exo-scan.c:7:
../../exo/exo.h:32:10: fatal error: gtk/gtk.h: No such file or directory
   32 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
2020-03-21 22:47:06,936:scangobj.py:execute_command:1199:WARNING:Compiling
scanner failed: 1, command: /bin/sh ../../libtool --tag=CC --mode=compile gcc
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNDEBUG
-DHAVE_GNUC_VISIBILITY -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-flto=auto -flto-partition=none -fcommon -DGSEAL_ENABLE -I../.. -I../..
-I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2
-g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-flto=auto -flto-partition=none -fcommon -DGSEAL_ENABLE -c -o exo-scan.lo
exo-scan.c
make[3]: *** [Makefile:825: scan-build.stamp] Error 1
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/docs/reference'
make[2]: *** [Makefile:447: all-recursive] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11/docs'
make[1]: *** [Makefile:530: all-recursive] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/exo-0.12.11'

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list