pkgsrc-Users archive

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

Problems compiling libXTst



Just updating a server with latest pkgsrc. Came to compile libXTst 
(needed for kodi et al) and it fails to compile complaining about not 
finding X11/extensions/XInput.h from ...XTest.h - yet the stuff in the 
/usr/X11R7/include/X11/extensions/ looks fine.

I cannot see what's going wrong, but note that there was a change in 
March to the top level Makefile. Help!

Cheers,
Dave

NetBSD rakelane.anduin.org.uk 8.0_BETA NetBSD 8.0_BETA (HP) #0: Fri Mar 
30 23:58:02 BST 2018  
root%hp.anduin.org.uk@localhost:/usr/obj/sys/arch/amd64/compile/HP amd64

=> Bootstrap dependency digest>=20010302: found digest-20160304
=> Checksum SHA1 OK for libXtst-1.2.3.tar.bz2
=> Checksum RMD160 OK for libXtst-1.2.3.tar.bz2
=> Checksum SHA512 OK for libXtst-1.2.3.tar.bz2
===> Installing dependencies for libXtst-1.2.3nb1
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.4.1nb1
=> Build dependency x11-links>=1.10: found x11-links-1.10
=> Build dependency xorgproto>=2016.1: found xorgproto-2018.4
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency libX11>=1.6: found libX11-1.6.5nb1
=> Full dependency libXext>=1.0.99.4: found libXext-1.3.3nb1
===> Overriding tools for libXtst-1.2.3nb1
===> Extracting for libXtst-1.2.3nb1
===> Patching for libXtst-1.2.3nb1
===> Creating toolchain wrappers for libXtst-1.2.3nb1
===> Configuring for libXtst-1.2.3nb1
=> Fix error in configure script propagated from xorg autoconf macros.
INFO: [subst.mk:xorg-autoconf-err] Nothing changed in ./configure.
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Adding run-time search paths to pkg-config files.
checking for a BSD-compatible install... /usr/bin/install -c -o root -g 
wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking how to print strings... printf
checking for style of include used by make... GNU
checking for x86_64--netbsd-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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) 
/usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... 
/usr/pkgsrc/x11/libXtst/work/.cwrapper/bin/ld
checking if the linker (/usr/pkgsrc/x11/libXtst/work/.cwrapper/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... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert x86_64--netbsd file names to x86_64--netbsd 
format... func_convert_file_noop
checking how to convert x86_64--netbsd file names to toolchain format... 
func_convert_file_noop
checking for /usr/pkgsrc/x11/libXtst/work/.cwrapper/bin/ld option to 
reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern 
/lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64--netbsd-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for x86_64--netbsd-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -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 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... rm: conftest*: No such file or 
directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker 
(/usr/pkgsrc/x11/libXtst/work/.cwrapper/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No 
such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_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... yes
checking for gcc option to accept ISO C99... none needed
checking whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking pkg-config is at least version 0.9.0... yes
checking if gcc supports -Werror=unknown-warning-option... no
checking if gcc supports -Werror=unused-command-line-argument... no
checking if gcc supports -Wall... yes
checking if gcc supports -Wpointer-arith... yes
checking if gcc supports -Wmissing-declarations... yes
checking if gcc supports -Wformat=2... yes
checking if gcc supports -Wstrict-prototypes... yes
checking if gcc supports -Wmissing-prototypes... yes
checking if gcc supports -Wnested-externs... yes
checking if gcc supports -Wbad-function-cast... yes
checking if gcc supports -Wold-style-definition... yes
checking if gcc supports -Wdeclaration-after-statement... yes
checking if gcc supports -Wunused... yes
checking if gcc supports -Wuninitialized... yes
checking if gcc supports -Wshadow... yes
checking if gcc supports -Wmissing-noreturn... yes
checking if gcc supports -Wmissing-format-attribute... yes
checking if gcc supports -Wredundant-decls... yes
checking if gcc supports -Wlogical-op... yes
checking if gcc supports -Werror=implicit... yes
checking if gcc supports -Werror=nonnull... yes
checking if gcc supports -Werror=init-self... yes
checking if gcc supports -Werror=main... yes
checking if gcc supports -Werror=missing-braces... yes
checking if gcc supports -Werror=sequence-point... yes
checking if gcc supports -Werror=return-type... yes
checking if gcc supports -Werror=trigraphs... yes
checking if gcc supports -Werror=array-bounds... yes
checking if gcc supports -Werror=write-strings... yes
checking if gcc supports -Werror=address... yes
checking if gcc supports -Werror=int-to-pointer-cast... yes
checking if gcc supports -Werror=pointer-to-int-cast... yes
checking if gcc supports -pedantic... yes
checking if gcc supports -Werror... yes
checking if gcc supports -Werror=attributes... yes
Package xorg-macros was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-macros.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xorg-macros', required by 'virtual:world', not found
checking whether make supports nested variables... (cached) yes
checking whether to build functional specifications... yes
checking for xmlto... (cached) no
configure: WARNING: xmlto not found - documentation targets will be 
skipped
checking for fop... no
configure: WARNING: fop not found - documentation targets will be 
skipped
checking for xsltproc... /usr/pkg/bin/xsltproc
checking for X.Org SGML entities >= 1.8... no
checking for XTST... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating specs/Makefile
config.status: creating xtst.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
=> Fix .so arguments.
===> Building for libXtst-1.2.3nb1
/usr/bin/make  all-recursive
Making all in src
  CC       XRecord.lo
  CC       XTest.lo
In file included from XTest.c:34:0:
../include/X11/extensions/XTest.h:32:35: fatal error: 
X11/extensions/XInput.h: No such file or directory
compilation terminated.
*** Error code 1

Stop.
make[2]: stopped in /usr/pkgsrc/x11/libXtst/work/libXtst-1.2.3/src
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/x11/libXtst/work/libXtst-1.2.3
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/libXtst/work/libXtst-1.2.3
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/x11/libXtst
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/libXtst

-- 
============================================
Phone: 07805784357
Open Source O/S: www.netbsd.org
Caving: http://www.wirralcavinggroup.org.uk
============================================



Home | Main Index | Thread Index | Old Index