After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 719808 - at-spi2-core-2.8.0 reports error: Couldn't find the Xtst library when libSM is not installed
at-spi2-core-2.8.0 reports error: Couldn't find the Xtst library when libSM i...
Status: RESOLVED OBSOLETE
Product: at-spi
Classification: Platform
Component: at-spi2-core
unspecified
Other Linux
: Normal normal
: ---
Assigned To: At-spi maintainer(s)
At-spi maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-12-03 22:01 UTC by Pacho Ramos
Modified: 2018-08-30 22:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pacho Ramos 2013-12-03 22:01:56 UTC
As reported downstream:
https://bugs.gentoo.org/show_bug.cgi?id=493254

libSM looks to also be required as, otherwise, configure tells Xtst is not found even when it's present:
configure:13408: checking for XTestFakeKeyEvent in -lXtst
configure:13433: x86_64-pc-linux-gnu-gcc -o conftest -O2 -march=x86-64 -pipe   -Wl,-O1 -Wl,--as-needed conftest.c -lXtst   -lSM -lICE -lX11   >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lSM
collect2: error: ld returned 1 exit status
configure:13433: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "at-spi2-core"
| #define PACKAGE_TARNAME "at-spi2-core"
| #define PACKAGE_VERSION "2.8.0"
| #define PACKAGE_STRING "at-spi2-core 2.8.0"
| #define PACKAGE_BUGREPORT "accessibility-atspi@lists.linux-foundation.org"
| #define PACKAGE_URL ""
| #define PACKAGE "at-spi2-core"
| #define VERSION "2.8.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char XTestFakeKeyEvent ();
| int
| main ()
| {
| return XTestFakeKeyEvent ();
|   ;
|   return 0;
| }
configure:13442: result: no
configure:13448: error: Couldn't find the Xtst library. Check config.log

Is this normal?

Thanks
Comment 1 Rafał Mużyło 2013-12-03 22:46:15 UTC
X_PRE_LIBS appear in this check only because they were explicitly added to AC_CHECK_LIB.
Chances are X_LIBS weren't needed there in the first place, at least not for any libXtst release after xorg autoconf migration.
Comment 2 Mart Raudsepp 2018-08-30 22:25:49 UTC
Pretty sure this is obsolete since 2.26 and definitely since meson port and autotools dropping