[Bug 262275] AnyDesk

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 01 Mar 2022 14:38:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262275

            Bug ID: 262275
           Summary: AnyDesk
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: tszt2021@vivaldi.net
                CC: freebsd@sysctl.cz, gnome@FreeBSD.org
                CC: freebsd@sysctl.cz, gnome@FreeBSD.org

Hi!

I downloaded and tried to install the official AnyDesk(v6.1.1) package on
FreeBSD 13.0-RELEASE-p7. When I tried to run ./anydesk the following message
appeared:
ld-elf.so.1: Shared object "libgtkglext-x11-1.0.so.0" not found, required by
"anydesk"

I also tried to install AnyDesk from ports following these steps:
- cd /usr/ports/deskutils/anydesk
- sudo make install clean

Running these two commands gave me the errors that you can see below:
sudo make install clean
===>   anydesk-6.0.1 depends on package: xorgproto>=0 - found
===>   anydesk-6.0.1 depends on package: xorgproto>=0 - found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/x11.pc -
found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/xcb.pc -
found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/xdamage.pc -
found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/xext.pc -
found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc -
found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/xi.pc -
found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc -
found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/xrender.pc -
found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/xtst.pc -
found
===>   anydesk-6.0.1 depends on shared library: libfontconfig.so - found
(/usr/local/lib/libfontconfig.so)
===>   anydesk-6.0.1 depends on shared library: libfreetype.so - found
(/usr/local/lib/libfreetype.so)
===>   anydesk-6.0.1 depends on shared library: libgtkglext-x11-1.0.so - not
found
===>   gtkglext-1.2.0_19 depends on executable: msgfmt - found
===>   gtkglext-1.2.0_19 depends on package: gmake>=4.3 - found
===>   gtkglext-1.2.0_19 depends on package: libiconv>=1.14_11 - found
===>   gtkglext-1.2.0_19 depends on package: pkgconf>=1.3.0_1 - found
===>   gtkglext-1.2.0_19 depends on package: xorgproto>=0 - found
===>   gtkglext-1.2.0_19 depends on shared library: libintl.so - found
(/usr/local/lib/libintl.so)
===>   gtkglext-1.2.0_19 depends on shared library: libGLU.so - found
(/usr/local/lib/libGLU.so)
===>   gtkglext-1.2.0_19 depends on shared library: libatk-1.0.so - found
(/usr/local/lib/libatk-1.0.so)
===>   gtkglext-1.2.0_19 depends on shared library: libglib-2.0.so - found
(/usr/local/lib/libglib-2.0.so)
===>   gtkglext-1.2.0_19 depends on shared library: libintl.so - found
(/usr/local/lib/libintl.so)
===>   gtkglext-1.2.0_19 depends on shared library: libgtk-x11-2.0.so - found
(/usr/local/lib/libgtk-x11-2.0.so)
===>   gtkglext-1.2.0_19 depends on shared library: libpango-1.0.so - found
(/usr/local/lib/libpango-1.0.so)
===>   gtkglext-1.2.0_19 depends on shared library: libpangox-1.0.so - not
found
===>  Building for pangox-compat-0.0.2_2
gmake[4]: Entering directory
'/usr/ports/x11-toolkits/pangox-compat/work/pangox-compat-0.0.2'
/bin/sh ./libtool  --tag=CC   --mode=compile cc
-DPACKAGE_NAME=\"pangox-compat\" -DPACKAGE_TARNAME=\"pangox-compat\"
-DPACKAGE_VERSION=\"0.0.2\" -DPACKAGE_STRING=\"pangox-compat\ 0.0.2\"
-DPACKAGE_BUGREPORT=\"/dev/null\" -DPACKAGE_URL=\"\"
-DPACKAGE=\"pangox-compat\" -DVERSION=\"0.0.2\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. 
-DG_LOG_DOMAIN=\"PangoX-Compat\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE
-DPANGO_MODULE_PREFIX=_pango_basic_x -DSYSCONFDIR=\"/usr/local/etc\"
-I/usr/local/include/pango-1.0 -I/usr/local/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/harfbuzz -I/usr/local/include/freetype2
-I/usr/local/include/libpng16 -I/usr/local/include/fribidi
-I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE
-pthread  -I/usr/local/include -I/usr/local/include  -O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing  -MT libpangox_1_0_la-pangox.lo
-MD -MP -MF .deps/libpangox_1_0_la-pangox.Tpo -c -o libpangox_1_0_la-pangox.lo
`test -f 'pangox.c' || echo './'`pangox.c
libtool: compile:  cc -DPACKAGE_NAME=\"pangox-compat\"
-DPACKAGE_TARNAME=\"pangox-compat\" -DPACKAGE_VERSION=\"0.0.2\"
"-DPACKAGE_STRING=\"pangox-compat 0.0.2\"" -DPACKAGE_BUGREPORT=\"/dev/null\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"pangox-compat\" -DVERSION=\"0.0.2\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.
-DG_LOG_DOMAIN=\"PangoX-Compat\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE
-DPANGO_MODULE_PREFIX=_pango_basic_x -DSYSCONFDIR=\"/usr/local/etc\"
-I/usr/local/include/pango-1.0 -I/usr/local/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/harfbuzz -I/usr/local/include/freetype2
-I/usr/local/include/libpng16 -I/usr/local/include/fribidi
-I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE
-pthread -I/usr/local/include -I/usr/local/include -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -MT libpangox_1_0_la-pangox.lo
-MD -MP -MF .deps/libpangox_1_0_la-pangox.Tpo -c pangox.c  -fPIC -DPIC -o
.libs/libpangox_1_0_la-pangox.o
pangox.c:282:15: error: no member named 'find_shaper' in 'struct
_PangoFontClass'
  font_class->find_shaper = pango_x_font_find_shaper;
  ~~~~~~~~~~  ^
pangox.c:758:13: warning: 'pango_font_find_shaper' is deprecated
[-Wdeprecated-declarations]
          shaper = pango_font_find_shaper (font, language, wc);
                   ^
/usr/local/include/pango-1.0/pango/pango-font.h:574:1: note:
'pango_font_find_shaper' has been explicitly marked deprecated here
PANGO_DEPRECATED_IN_1_44
^
/usr/local/include/pango-1.0/pango/pango-version-macros.h:667:49: note:
expanded from macro 'PANGO_DEPRECATED_IN_1_44'
# define PANGO_DEPRECATED_IN_1_44               PANGO_DEPRECATED
                                                ^
/usr/local/include/pango-1.0/pango/pango-version-macros.h:365:49: note:
expanded from macro 'PANGO_DEPRECATED'
# define PANGO_DEPRECATED                       G_DEPRECATED _PANGO_EXTERN
                                                ^
/usr/local/include/glib-2.0/glib/gmacros.h:1102:37: note: expanded from macro
'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
                                    ^
pangox.c:983:17: warning: implicit declaration of function
'pango_font_metrics_new' is invalid in C99 [-Wimplicit-function-declaration]
      metrics = pango_font_metrics_new ();
                ^
pangox.c:983:15: warning: incompatible integer to pointer conversion assigning
to 'PangoFontMetrics *' (aka 'struct _PangoFontMetrics *') from 'int'
[-Wint-conversion]
      metrics = pango_font_metrics_new ();
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
pangox.c:1359:10: warning: 'pango_find_map' is deprecated
[-Wdeprecated-declarations]
  return pango_find_map (language, engine_type_id, render_type_id);
         ^
/usr/local/include/pango-1.0/pango/pango-modules.h:63:1: note: 'pango_find_map'
has been explicitly marked deprecated here
PANGO_DEPRECATED_IN_1_38
^
/usr/local/include/pango-1.0/pango/pango-version-macros.h:625:49: note:
expanded from macro 'PANGO_DEPRECATED_IN_1_38'
# define PANGO_DEPRECATED_IN_1_38               PANGO_DEPRECATED
                                                ^
/usr/local/include/pango-1.0/pango/pango-version-macros.h:365:49: note:
expanded from macro 'PANGO_DEPRECATED'
# define PANGO_DEPRECATED                       G_DEPRECATED _PANGO_EXTERN
                                                ^
/usr/local/include/glib-2.0/glib/gmacros.h:1102:37: note: expanded from macro
'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
                                    ^
pangox.c:1380:12: warning: 'pango_script_for_unichar' is deprecated: Use
'g_unichar_get_script' instead [-Wdeprecated-declarations]
  script = pango_script_for_unichar (ch);
           ^
/usr/local/include/pango-1.0/pango/pango-script.h:309:1: note:
'pango_script_for_unichar' has been explicitly marked deprecated here
PANGO_DEPRECATED_IN_1_44_FOR(g_unichar_get_script)
^
/usr/local/include/pango-1.0/pango/pango-version-macros.h:668:49: note:
expanded from macro 'PANGO_DEPRECATED_IN_1_44_FOR'
# define PANGO_DEPRECATED_IN_1_44_FOR(f)        PANGO_DEPRECATED_FOR(f)
                                                ^
/usr/local/include/pango-1.0/pango/pango-version-macros.h:366:49: note:
expanded from macro 'PANGO_DEPRECATED_FOR'
# define PANGO_DEPRECATED_FOR(f)                G_DEPRECATED_FOR(f)
_PANGO_EXTERN
                                                ^
/usr/local/include/glib-2.0/glib/gmacros.h:1112:44: note: expanded from macro
'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "'
instead")))
                                           ^
pangox.c:1381:30: warning: 'pango_map_get_engine' is deprecated
[-Wdeprecated-declarations]
  return (PangoEngineShape *)pango_map_get_engine (shape_map, script);
                             ^
/usr/local/include/pango-1.0/pango/pango-modules.h:67:1: note:
'pango_map_get_engine' has been explicitly marked deprecated here
PANGO_DEPRECATED_IN_1_38
^
/usr/local/include/pango-1.0/pango/pango-version-macros.h:625:49: note:
expanded from macro 'PANGO_DEPRECATED_IN_1_38'
# define PANGO_DEPRECATED_IN_1_38               PANGO_DEPRECATED
                                                ^
/usr/local/include/pango-1.0/pango/pango-version-macros.h:365:49: note:
expanded from macro 'PANGO_DEPRECATED'
# define PANGO_DEPRECATED                       G_DEPRECATED _PANGO_EXTERN
                                                ^
/usr/local/include/glib-2.0/glib/gmacros.h:1102:37: note: expanded from macro
'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
                                    ^
pangox.c:1547:15: warning: enumeration values 'PANGO_UNDERLINE_SINGLE_LINE',
'PANGO_UNDERLINE_DOUBLE_LINE', and 'PANGO_UNDERLINE_ERROR_LINE' not handled in
switch [-Wswitch]
      switch (uline)
              ^
7 warnings and 1 error generated.
gmake[4]: *** [Makefile:424: libpangox_1_0_la-pangox.lo] Error 1
gmake[4]: Leaving directory
'/usr/ports/x11-toolkits/pangox-compat/work/pangox-compat-0.0.2'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/x11-toolkits/pangox-compat
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/x11-toolkits/gtkglext
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/x11-toolkits/gtkglext
*** Error code 1

Stop.
make: stopped in /usr/ports/deskutils/anydesk

Also, running make install clean without sudo gave me the following errors:

make install clean
===>   anydesk-6.0.1 depends on package: xorgproto>=0 - found
===>   anydesk-6.0.1 depends on package: xorgproto>=0 - found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/x11.pc -
found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/xcb.pc -
found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/xdamage.pc -
found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/xext.pc -
found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc -
found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/xi.pc -
found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc -
found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/xrender.pc -
found
===>   anydesk-6.0.1 depends on file: /usr/local/libdata/pkgconfig/xtst.pc -
found
===>   anydesk-6.0.1 depends on shared library: libfontconfig.so - found
(/usr/local/lib/libfontconfig.so)
===>   anydesk-6.0.1 depends on shared library: libfreetype.so - found
(/usr/local/lib/libfreetype.so)
===>   anydesk-6.0.1 depends on shared library: libgtkglext-x11-1.0.so - not
found
===>   gtkglext-1.2.0_19 depends on executable: msgfmt - found
===>   gtkglext-1.2.0_19 depends on package: gmake>=4.3 - found
===>   gtkglext-1.2.0_19 depends on package: libiconv>=1.14_11 - found
===>   gtkglext-1.2.0_19 depends on package: pkgconf>=1.3.0_1 - found
===>   gtkglext-1.2.0_19 depends on package: xorgproto>=0 - found
===>   gtkglext-1.2.0_19 depends on shared library: libintl.so - found
(/usr/local/lib/libintl.so)
===>   gtkglext-1.2.0_19 depends on shared library: libGLU.so - found
(/usr/local/lib/libGLU.so)
===>   gtkglext-1.2.0_19 depends on shared library: libatk-1.0.so - found
(/usr/local/lib/libatk-1.0.so)
===>   gtkglext-1.2.0_19 depends on shared library: libglib-2.0.so - found
(/usr/local/lib/libglib-2.0.so)
===>   gtkglext-1.2.0_19 depends on shared library: libintl.so - found
(/usr/local/lib/libintl.so)
===>   gtkglext-1.2.0_19 depends on shared library: libgtk-x11-2.0.so - found
(/usr/local/lib/libgtk-x11-2.0.so)
===>   gtkglext-1.2.0_19 depends on shared library: libpango-1.0.so - found
(/usr/local/lib/libpango-1.0.so)
===>   gtkglext-1.2.0_19 depends on shared library: libpangox-1.0.so - not
found
===>  Building for pangox-compat-0.0.2_2
gmake[4]: Entering directory
'/usr/ports/x11-toolkits/pangox-compat/work/pangox-compat-0.0.2'
/bin/sh ./libtool  --tag=CC   --mode=compile cc
-DPACKAGE_NAME=\"pangox-compat\" -DPACKAGE_TARNAME=\"pangox-compat\"
-DPACKAGE_VERSION=\"0.0.2\" -DPACKAGE_STRING=\"pangox-compat\ 0.0.2\"
-DPACKAGE_BUGREPORT=\"/dev/null\" -DPACKAGE_URL=\"\"
-DPACKAGE=\"pangox-compat\" -DVERSION=\"0.0.2\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. 
-DG_LOG_DOMAIN=\"PangoX-Compat\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE
-DPANGO_MODULE_PREFIX=_pango_basic_x -DSYSCONFDIR=\"/usr/local/etc\"
-I/usr/local/include/pango-1.0 -I/usr/local/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/harfbuzz -I/usr/local/include/freetype2
-I/usr/local/include/libpng16 -I/usr/local/include/fribidi
-I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE
-pthread  -I/usr/local/include -I/usr/local/include  -O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing  -MT libpangox_1_0_la-pangox.lo
-MD -MP -MF .deps/libpangox_1_0_la-pangox.Tpo -c -o libpangox_1_0_la-pangox.lo
`test -f 'pangox.c' || echo './'`pangox.c
libtool: compile:  cc -DPACKAGE_NAME=\"pangox-compat\"
-DPACKAGE_TARNAME=\"pangox-compat\" -DPACKAGE_VERSION=\"0.0.2\"
"-DPACKAGE_STRING=\"pangox-compat 0.0.2\"" -DPACKAGE_BUGREPORT=\"/dev/null\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"pangox-compat\" -DVERSION=\"0.0.2\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.
-DG_LOG_DOMAIN=\"PangoX-Compat\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE
-DPANGO_MODULE_PREFIX=_pango_basic_x -DSYSCONFDIR=\"/usr/local/etc\"
-I/usr/local/include/pango-1.0 -I/usr/local/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/harfbuzz -I/usr/local/include/freetype2
-I/usr/local/include/libpng16 -I/usr/local/include/fribidi
-I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE
-pthread -I/usr/local/include -I/usr/local/include -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -MT libpangox_1_0_la-pangox.lo
-MD -MP -MF .deps/libpangox_1_0_la-pangox.Tpo -c pangox.c  -fPIC -DPIC -o
.libs/libpangox_1_0_la-pangox.o
error: unable to open output file '.libs/libpangox_1_0_la-pangox.o':
'Permission denied'
1 error generated.
gmake[4]: *** [Makefile:424: libpangox_1_0_la-pangox.lo] Error 1
gmake[4]: Leaving directory
'/usr/ports/x11-toolkits/pangox-compat/work/pangox-compat-0.0.2'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/x11-toolkits/pangox-compat
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/x11-toolkits/gtkglext
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/x11-toolkits/gtkglext
*** Error code 1

Stop.
make: stopped in /usr/ports/deskutils/anydesk


I would appreciate any help in solving this issue.

Thank you.

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