Ponce / slackbuilds

fork of master branch from git://git.slackbuilds.org/slackbuilds.git (read more on wiki). If you want to fork/pull request do it only over master (the other branches are temporary and are always rebased on master). alternative interface https://cgit.ponce.cc/slackbuilds/
https://slackware.ponce.cc
163 stars 62 forks source link

xfce4-cpugraph-plugin fails to build #136

Closed ghost closed 3 years ago

ghost commented 3 years ago

More info below

Processing xfce4-cpugraph-plugin

xfce4-cpugraph-plugin:
Found xfce4-cpugraph-plugin-1.1.0.tar.bz2 in /var/cache/sbopkg.
Checking MD5SUM:
  MD5SUM check for xfce4-cpugraph-plugin-1.1.0.tar.bz2 ... OK
Building package for xfce4-cpugraph-plugin...
xfce4-cpugraph-plugin-1.1.0/
xfce4-cpugraph-plugin-1.1.0/compile
xfce4-cpugraph-plugin-1.1.0/aclocal.m4
xfce4-cpugraph-plugin-1.1.0/ltmain.sh
xfce4-cpugraph-plugin-1.1.0/intltool-extract.in
xfce4-cpugraph-plugin-1.1.0/INSTALL
xfce4-cpugraph-plugin-1.1.0/depcomp
xfce4-cpugraph-plugin-1.1.0/po/
xfce4-cpugraph-plugin-1.1.0/po/sk.po
xfce4-cpugraph-plugin-1.1.0/po/ms.po
xfce4-cpugraph-plugin-1.1.0/po/zh_CN.po
xfce4-cpugraph-plugin-1.1.0/po/POTFILES.skip
xfce4-cpugraph-plugin-1.1.0/po/lv.po
xfce4-cpugraph-plugin-1.1.0/po/ja.po
xfce4-cpugraph-plugin-1.1.0/po/ro.po
xfce4-cpugraph-plugin-1.1.0/po/cs.po
xfce4-cpugraph-plugin-1.1.0/po/th.po
xfce4-cpugraph-plugin-1.1.0/po/da.po
xfce4-cpugraph-plugin-1.1.0/po/eu.po
xfce4-cpugraph-plugin-1.1.0/po/Makefile.in.in
xfce4-cpugraph-plugin-1.1.0/po/de.po
xfce4-cpugraph-plugin-1.1.0/po/vi.po
xfce4-cpugraph-plugin-1.1.0/po/ur_PK.po
xfce4-cpugraph-plugin-1.1.0/po/ar.po
xfce4-cpugraph-plugin-1.1.0/po/el.po
xfce4-cpugraph-plugin-1.1.0/po/pa.po
xfce4-cpugraph-plugin-1.1.0/po/es.po
xfce4-cpugraph-plugin-1.1.0/po/pt_BR.po
xfce4-cpugraph-plugin-1.1.0/po/ie.po
xfce4-cpugraph-plugin-1.1.0/po/ru.po
xfce4-cpugraph-plugin-1.1.0/po/is.po
xfce4-cpugraph-plugin-1.1.0/po/fi.po
xfce4-cpugraph-plugin-1.1.0/po/sq.po
xfce4-cpugraph-plugin-1.1.0/po/ko.po
xfce4-cpugraph-plugin-1.1.0/po/uk.po
xfce4-cpugraph-plugin-1.1.0/po/sv.po
xfce4-cpugraph-plugin-1.1.0/po/fr.po
xfce4-cpugraph-plugin-1.1.0/po/lt.po
xfce4-cpugraph-plugin-1.1.0/po/pl.po
xfce4-cpugraph-plugin-1.1.0/po/oc.po
xfce4-cpugraph-plugin-1.1.0/po/POTFILES.in
xfce4-cpugraph-plugin-1.1.0/po/ug.po
xfce4-cpugraph-plugin-1.1.0/po/he.po
xfce4-cpugraph-plugin-1.1.0/po/en_GB.po
xfce4-cpugraph-plugin-1.1.0/po/hu.po
xfce4-cpugraph-plugin-1.1.0/po/zh_TW.po
xfce4-cpugraph-plugin-1.1.0/po/ca.po
xfce4-cpugraph-plugin-1.1.0/po/hr.po
xfce4-cpugraph-plugin-1.1.0/po/it.po
xfce4-cpugraph-plugin-1.1.0/po/pt.po
xfce4-cpugraph-plugin-1.1.0/po/ur.po
xfce4-cpugraph-plugin-1.1.0/po/ast.po
xfce4-cpugraph-plugin-1.1.0/po/kk.po
xfce4-cpugraph-plugin-1.1.0/po/id.po
xfce4-cpugraph-plugin-1.1.0/po/nl.po
xfce4-cpugraph-plugin-1.1.0/po/tr.po
xfce4-cpugraph-plugin-1.1.0/po/en_AU.po
xfce4-cpugraph-plugin-1.1.0/po/nb.po
xfce4-cpugraph-plugin-1.1.0/po/bg.po
xfce4-cpugraph-plugin-1.1.0/po/gl.po
xfce4-cpugraph-plugin-1.1.0/po/be.po
xfce4-cpugraph-plugin-1.1.0/po/sr.po
xfce4-cpugraph-plugin-1.1.0/missing
xfce4-cpugraph-plugin-1.1.0/icons/
xfce4-cpugraph-plugin-1.1.0/icons/22x22/
xfce4-cpugraph-plugin-1.1.0/icons/22x22/xfce4-cpugraph-plugin.png
xfce4-cpugraph-plugin-1.1.0/icons/22x22/Makefile.in
xfce4-cpugraph-plugin-1.1.0/icons/22x22/Makefile.am
xfce4-cpugraph-plugin-1.1.0/icons/16x16/
xfce4-cpugraph-plugin-1.1.0/icons/16x16/xfce4-cpugraph-plugin.png
xfce4-cpugraph-plugin-1.1.0/icons/16x16/Makefile.in
xfce4-cpugraph-plugin-1.1.0/icons/16x16/Makefile.am
xfce4-cpugraph-plugin-1.1.0/icons/Makefile.in
xfce4-cpugraph-plugin-1.1.0/icons/Makefile.am
xfce4-cpugraph-plugin-1.1.0/icons/48x48/
xfce4-cpugraph-plugin-1.1.0/icons/48x48/xfce4-cpugraph-plugin.png
xfce4-cpugraph-plugin-1.1.0/icons/48x48/Makefile.in
xfce4-cpugraph-plugin-1.1.0/icons/48x48/Makefile.am
xfce4-cpugraph-plugin-1.1.0/Makefile.in
xfce4-cpugraph-plugin-1.1.0/README
xfce4-cpugraph-plugin-1.1.0/config.guess
xfce4-cpugraph-plugin-1.1.0/configure.ac
xfce4-cpugraph-plugin-1.1.0/AUTHORS
xfce4-cpugraph-plugin-1.1.0/Makefile.am
xfce4-cpugraph-plugin-1.1.0/configure
xfce4-cpugraph-plugin-1.1.0/install-sh
xfce4-cpugraph-plugin-1.1.0/COPYING
xfce4-cpugraph-plugin-1.1.0/config.sub
xfce4-cpugraph-plugin-1.1.0/config.h.in
xfce4-cpugraph-plugin-1.1.0/panel-plugin/
xfce4-cpugraph-plugin-1.1.0/panel-plugin/properties.h
xfce4-cpugraph-plugin-1.1.0/panel-plugin/mode.c
xfce4-cpugraph-plugin-1.1.0/panel-plugin/settings.c
xfce4-cpugraph-plugin-1.1.0/panel-plugin/cpugraph.desktop.in
xfce4-cpugraph-plugin-1.1.0/panel-plugin/mode.h
xfce4-cpugraph-plugin-1.1.0/panel-plugin/cpu.c
xfce4-cpugraph-plugin-1.1.0/panel-plugin/Makefile.in
xfce4-cpugraph-plugin-1.1.0/panel-plugin/Makefile.am
xfce4-cpugraph-plugin-1.1.0/panel-plugin/properties.c
xfce4-cpugraph-plugin-1.1.0/panel-plugin/settings.h
xfce4-cpugraph-plugin-1.1.0/panel-plugin/os.c
xfce4-cpugraph-plugin-1.1.0/panel-plugin/cpu.h
xfce4-cpugraph-plugin-1.1.0/panel-plugin/os.h
xfce4-cpugraph-plugin-1.1.0/ChangeLog
xfce4-cpugraph-plugin-1.1.0/intltool-update.in
xfce4-cpugraph-plugin-1.1.0/NEWS
xfce4-cpugraph-plugin-1.1.0/intltool-merge.in
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking dependency style of gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.34.0
checking for XML::Parser... ok
checking build system type... x86_64-slackware-linux-gnu
checking host system type... x86_64-slackware-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-slackware-linux-gnu file names to x86_64-slackware-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-slackware-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ANSI C header files... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4ui-2 >= 4.12.0... 4.16.1
checking LIBXFCE4UI_CFLAGS... -pthread -I/usr/include/xfce4/libxfce4ui-2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
checking LIBXFCE4UI_LIBS... -lxfce4ui-2 -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lxfce4util -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4panel-2.0 >= 4.12.0... 4.16.3
checking LIBXFCE4PANEL_CFLAGS... -pthread -I/usr/include/xfce4/libxfce4panel-2.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
checking LIBXFCE4PANEL_LIBS... -lxfce4panel-2.0 -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lxfce4util -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk+-3.0 >= 3.22.0... 3.24.30
checking GTK_CFLAGS... -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
checking GTK_LIBS... -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed...  ar ast be bg ca cs da de el en_AU en_GB es eu fi fr gl he hr hu id ie is it ja kk ko lt lv ms nb nl oc pa pl pt_BR pt ro ru sk sq sr sv th tr ug uk ur_PK ur vi zh_CN zh_TW
checking for bind_textdomain_codeset... (cached) yes
checking for locales directory... ${datarootdir}/locale
checking for additional xgettext flags... --keyword=Q_ --from-code=UTF-8
checking whether to build with debugging support... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating panel-plugin/Makefile
config.status: creating icons/Makefile
config.status: creating icons/16x16/Makefile
config.status: creating icons/22x22/Makefile
config.status: creating icons/48x48/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
make  all-recursive
make[1]: Entrando no diretório '/tmp/SBo/xfce4-cpugraph-plugin-1.1.0'

Making all in panel-plugin
make[2]: Entrando no diretório '/tmp/SBo/xfce4-cpugraph-plugin-1.1.0/panel-plugin'

  CC       libcpugraph_la-mode.lo
  CC       libcpugraph_la-cpu.lo
cpu.c:71:1: warning: data definition has no type or storage class
   71 | XFCE_PANEL_PLUGIN_REGISTER (cpugraph_construct);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
cpu.c:71:1: warning: type defaults to ‘int’ in declaration of ‘XFCE_PANEL_PLUGIN_REGISTER’ [-Wimplicit-int]
cpu.c:71:1: warning: parameter names (without types) in function declaration
cpu.c: In function ‘about_cb’:
cpu.c:154:12: warning: implicit declaration of function ‘xfce_panel_pixbuf_from_source’ [-Wimplicit-function-declaration]
  154 |     icon = xfce_panel_pixbuf_from_source ("xfce4-cpugraph-plugin", NULL, 32);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cpu.c:154:10: warning: assignment to ‘GdkPixbuf *’ {aka ‘struct _GdkPixbuf *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  154 |     icon = xfce_panel_pixbuf_from_source ("xfce4-cpugraph-plugin", NULL, 32);
      |          ^
  CC       libcpugraph_la-os.lo
  CC       libcpugraph_la-properties.lo
  CC       libcpugraph_la-settings.lo
  CCLD     libcpugraph.la
/usr/bin/ld:.libs/libcpugraph.ver:2: syntax error in VERSION script
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:483: libcpugraph.la] Erro 1
make[2]: Saindo do diretório '/tmp/SBo/xfce4-cpugraph-plugin-1.1.0/panel-plugin'

make[1]: *** [Makefile:451: all-recursive] Erro 1
make[1]: Saindo do diretório '/tmp/SBo/xfce4-cpugraph-plugin-1.1.0'

make: *** [Makefile:383: all] Erro 2

xfce4-cpugraph-plugin:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:
Ponce commented 3 years ago

updated for version 1.2.4 in my branch on SBo

https://git.slackbuilds.org/slackbuilds/commit/?id=0203bc0

thanks for the report!