Bug#1028758: mozjs78: FTBFS: ld: cannot find -lXt: No such file or directory

Lucas Nussbaum lucas at debian.org
Sat Jan 14 12:28:08 GMT 2023


Source: mozjs78
Version: 78.15.0-5
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230113 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> 	CXX=x86_64-linux-gnu-g++ \
> 	RUST_HOST=x86_64-unknown-linux-gnu \
> 	RUST_TARGET=x86_64-unknown-linux-gnu \
> /bin/sh /<<PKGBUILDDIR>>/js/src/configure \
> 	--host=x86_64-linux-gnu \
> 	--target=x86_64-linux-gnu \
> 	--prefix=/usr \
> 	--libdir=/usr/lib/x86_64-linux-gnu/ \
> 	--with-system-zlib \
> 	--disable-strip \
> 	--with-intl-api \
> 	--enable-readline \
> 	--disable-jemalloc \
> 	--without-system-icu \
> ; then \
> 	echo Configure successful; \
> else \
> 	echo Configure failed with status $?; \
> 	tail -v -n +0 config.log; \
> 	exit 1; \
> fi
> Creating Python 3 environment
> created virtual environment CPython3.11.1.final.0-64 in 211ms
>   creator CPython3Posix(dest=/<<PKGBUILDDIR>>/debian/build/_virtualenvs/init_py3, clear=False, global=False)
>   seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/tmp/tmpuyka5ihg)
>     added seed packages: pip==20.2.2, setuptools==49.6.0, wheel==0.35.1
>   activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
> /<<PKGBUILDDIR>>/python/mozbuild/mozbuild/virtualenv.py:697: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
>   from distutils.version import LooseVersion
> /<<PKGBUILDDIR>>/python/mozbuild/mozbuild/virtualenv.py:316: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
>   import distutils.sysconfig
> b"running build_ext\nbuilding 'psutil._psutil_linux' extension\ncreating build\ncreating build/temp.linux-x86_64-3.11\ncreating build/temp.linux-x86_64-3.11/psutil\nx86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -I/<<PKGBUILDDIR>>/debian/build/_virtualenvs/init_py3/include -I/usr/include/python3.11 -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.11/psutil/_psutil_common.o\nx86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -I/<<PKGBUILDDIR>>/debian/build/_virtualenvs/init_py3/include -I/usr/include/python3.11 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-3.11/psutil/_psutil_linux.o\nx86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -I/<<PKGBUILDDIR>>/debian/build/_virtualenvs/init_py3/include -I/usr/include/python3.11 -c psutil/_psutil_posix.c -o build/temp.linux-x86_64-3.11/psutil/_psutil_posix.o\ncreating build/lib.linux-x86_64-3.11\ncreating build/lib.linux-x86_64-3.11/psutil\nx86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/psutil/_psutil_common.o build/temp.linux-x86_64-3.11/psutil/_psutil_linux.o build/temp.linux-x86_64-3.11/psutil/_psutil_posix.o -o build/lib.linux-x86_64-3.11/psutil/_psutil_linux.cpython-311-x86_64-linux-gnu.so\nbuilding 'psutil._psutil_posix' extension\nx86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -I/<<PKGBUILDDIR>>/debian/build/_virtualenvs/init_py3/include -I/usr/include/python3.11 -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.11/psutil/_psutil_common.o\nx86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -I/<<PKGBUILDDIR>>/debian/build/_virtualenvs/init_py3/include -I/usr/include/python3.11 -c psutil/_psutil_posix.c -o build/temp.linux-x86_64-3.11/psutil/_psutil_posix.o\nx86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.11/psutil/_psutil_common.o build/temp.linux-x86_64-3.11/psutil/_psutil_posix.o -o build/lib.linux-x86_64-3.11/psutil/_psutil_posix.cpython-311-x86_64-linux-gnu.so\ncopying build/lib.linux-x86_64-3.11/psutil/_psutil_linux.cpython-311-x86_64-linux-gnu.so -> psutil\ncopying build/lib.linux-x86_64-3.11/psutil/_psutil_posix.cpython-311-x86_64-linux-gnu.so -> psutil\n"
> Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt)
> Re-executing in the virtualenv
> checking for vcs source checkout... no
> checking for a shell... /bin/sh
> checking for host system type... x86_64-pc-linux-gnu
> checking for target system type... x86_64-pc-linux-gnu
> checking for Python 3... /<<PKGBUILDDIR>>/debian/build/_virtualenvs/init_py3/bin/python (3.11.1)
> checking whether cross compiling... no
> checking for yasm... not found
> checking for the target C compiler... /usr/bin/x86_64-linux-gnu-gcc
> checking whether the target C compiler can be used... yes
> checking the target C compiler version... 12.2.0
> checking the target C compiler works... yes
> checking for the target C++ compiler... /usr/bin/x86_64-linux-gnu-g++
> checking whether the target C++ compiler can be used... yes
> checking the target C++ compiler version... 12.2.0
> checking the target C++ compiler works... yes
> checking for the host C compiler... /usr/bin/x86_64-linux-gnu-gcc
> checking whether the host C compiler can be used... yes
> checking the host C compiler version... 12.2.0
> checking the host C compiler works... yes
> checking for the host C++ compiler... /usr/bin/x86_64-linux-gnu-g++
> checking whether the host C++ compiler can be used... yes
> checking the host C++ compiler version... 12.2.0
> checking the host C++ compiler works... yes
> checking for 64-bit OS... yes
> checking for new enough STL headers from libstdc++... yes
> checking for nasm... not found
> checking for linker... bfd
> checking for the assembler... /usr/bin/x86_64-linux-gnu-gcc
> checking for ar... /usr/bin/ar
> checking for pkg_config... /usr/bin/pkg-config
> checking for pkg-config version... 1.8.0
> checking for stdint.h... yes
> checking for inttypes.h... yes
> checking for malloc.h... yes
> checking for alloca.h... yes
> checking for sys/byteorder.h... no
> checking for getopt.h... yes
> checking for unistd.h... yes
> checking for nl_types.h... yes
> checking for cpuid.h... yes
> checking for fts.h... yes
> checking for sys/statvfs.h... yes
> checking for sys/statfs.h... yes
> checking for sys/vfs.h... yes
> checking for sys/mount.h... yes
> checking for sys/quota.h... yes
> checking for linux/quota.h... yes
> checking for linux/if_addr.h... yes
> checking for linux/rtnetlink.h... yes
> checking for sys/queue.h... yes
> checking for sys/types.h... yes
> checking for netinet/in.h... yes
> checking for byteswap.h... yes
> checking for linux/perf_event.h... yes
> checking for perf_event_open system call... yes
> checking whether the C compiler supports -Wbitfield-enum-conversion... no
> checking whether the C++ compiler supports -Wbitfield-enum-conversion... no
> checking whether the C compiler supports -Wshadow-field-in-constructor-modified... no
> checking whether the C++ compiler supports -Wshadow-field-in-constructor-modified... no
> checking whether the C compiler supports -Wunreachable-code-return... no
> checking whether the C++ compiler supports -Wunreachable-code-return... no
> checking whether the C compiler supports -Wclass-varargs... no
> checking whether the C++ compiler supports -Wclass-varargs... no
> checking whether the C++ compiler supports -Wempty-init-stmt... no
> checking whether the C compiler supports -Wfloat-overflow-conversion... no
> checking whether the C++ compiler supports -Wfloat-overflow-conversion... no
> checking whether the C compiler supports -Wfloat-zero-conversion... no
> checking whether the C++ compiler supports -Wfloat-zero-conversion... no
> checking whether the C compiler supports -Wloop-analysis... no
> checking whether the C++ compiler supports -Wloop-analysis... no
> checking whether the C++ compiler supports -Wc++2a-compat... yes
> checking whether the C++ compiler supports -Wcomma... no
> checking whether the C compiler supports -Wduplicated-cond... yes
> checking whether the C++ compiler supports -Wduplicated-cond... yes
> checking whether the C++ compiler supports -Wimplicit-fallthrough... yes
> checking whether the C++ compiler supports -Wunused-function... yes
> checking whether the C++ compiler supports -Wunused-variable... yes
> checking whether the C compiler supports -Wstring-conversion... no
> checking whether the C++ compiler supports -Wstring-conversion... no
> checking whether the C compiler supports -Wtautological-overlap-compare... no
> checking whether the C++ compiler supports -Wtautological-overlap-compare... no
> checking whether the C compiler supports -Wtautological-unsigned-enum-zero-compare... no
> checking whether the C++ compiler supports -Wtautological-unsigned-enum-zero-compare... no
> checking whether the C compiler supports -Wtautological-unsigned-zero-compare... no
> checking whether the C++ compiler supports -Wtautological-unsigned-zero-compare... no
> checking whether the C compiler supports -Wno-error=tautological-type-limit-compare... no
> checking whether the C++ compiler supports -Wno-error=tautological-type-limit-compare... no
> checking whether the C++ compiler supports -Wno-inline-new-delete... no
> checking whether the C compiler supports -Wno-error=maybe-uninitialized... yes
> checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... yes
> checking whether the C compiler supports -Wno-error=deprecated-declarations... yes
> checking whether the C++ compiler supports -Wno-error=deprecated-declarations... yes
> checking whether the C compiler supports -Wno-error=array-bounds... yes
> checking whether the C++ compiler supports -Wno-error=array-bounds... yes
> checking whether the C compiler supports -Wno-error=coverage-mismatch... yes
> checking whether the C++ compiler supports -Wno-error=coverage-mismatch... yes
> checking whether the C compiler supports -Wno-error=backend-plugin... no
> checking whether the C++ compiler supports -Wno-error=backend-plugin... no
> checking whether the C compiler supports -Wno-error=free-nonheap-object... yes
> checking whether the C++ compiler supports -Wno-error=free-nonheap-object... yes
> checking whether the C compiler supports -Wno-multistatement-macros... yes
> checking whether the C++ compiler supports -Wno-multistatement-macros... yes
> checking whether the C compiler supports -Wno-error=return-std-move... no
> checking whether the C++ compiler supports -Wno-error=return-std-move... no
> checking whether the C compiler supports -Wno-error=class-memaccess... yes
> checking whether the C++ compiler supports -Wno-error=class-memaccess... yes
> checking whether the C compiler supports -Wno-error=atomic-alignment... no
> checking whether the C++ compiler supports -Wno-error=atomic-alignment... no
> checking whether the C compiler supports -Wno-error=deprecated-copy... yes
> checking whether the C++ compiler supports -Wno-error=deprecated-copy... yes
> checking whether the C compiler supports -Wformat... yes
> checking whether the C++ compiler supports -Wformat... yes
> checking whether the C compiler supports -Wformat-security... no
> checking whether the C++ compiler supports -Wformat-security... no
> checking whether the C compiler supports -Wformat-overflow=2... yes
> checking whether the C++ compiler supports -Wformat-overflow=2... yes
> checking whether the C compiler supports -Wno-gnu-zero-variadic-macro-arguments... no
> checking whether the C++ compiler supports -Wno-gnu-zero-variadic-macro-arguments... no
> checking whether the C++ compiler supports -Wno-noexcept-type... yes
> checking for llvm_profdata... /usr/bin/llvm-profdata
> checking whether the C++ compiler supports -fno-sized-deallocation... yes
> checking whether the C++ compiler supports -fno-aligned-new... yes
> checking for rustc... /usr/bin/rustc
> checking for cargo... /usr/bin/cargo
> checking rustc version... 1.63.0
> checking cargo version... 1.65.0
> checking rust host... x86_64-unknown-linux-gnu
> checking rust target... x86_64-unknown-linux-gnu
> checking for rust target triplet... x86_64-unknown-linux-gnu
> checking for rust host triplet... x86_64-unknown-linux-gnu
> checking for rustdoc... /usr/bin/rustdoc
> checking for rustfmt... not found
> checking for clang for bindgen... /usr/bin/clang++
> checking for libclang for bindgen... /usr/lib/llvm-14/lib/libclang.so.1
> checking that libclang is new enough... yes
> checking bindgen cflags... -x c++ -fno-sized-deallocation -fno-aligned-new -DTRACING=1 -DIMPL_LIBXUL -DMOZILLA_INTERNAL_API -DRUST_BINDGEN -DOS_POSIX=1 -DOS_LINUX=1 -std=gnu++17
> checking for readline... yes
> checking for awk... /usr/bin/mawk
> checking for perl... /usr/bin/perl
> checking for minimum required perl version >= 5.006... 5.036000
> checking for full perl installation... yes
> checking for gmake... /usr/bin/gmake
> checking for watchman... not found
> checking for xargs... /usr/bin/xargs
> checking for rpmbuild... not found
> checking for NSIS version... no
> checking for llvm-objdump... /usr/bin/llvm-objdump
> checking for zlib >= 1.2.3... yes
> checking MOZ_ZLIB_CFLAGS... 
> checking MOZ_ZLIB_LIBS... -lz
> checking for autoconf... /usr/bin/autoconf2.13
> creating cache ./config.cache
> checking host system type... x86_64-pc-linux-gnu
> checking target system type... x86_64-pc-linux-gnu
> checking build system type... x86_64-pc-linux-gnu
> checking for gcc... (cached) /usr/bin/x86_64-linux-gnu-gcc -std=gnu99
> checking whether the C compiler (/usr/bin/x86_64-linux-gnu-gcc -std=gnu99 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fcf-protection=none -Wl,-z,relro ) works... (cached) yes
> checking whether the C compiler (/usr/bin/x86_64-linux-gnu-gcc -std=gnu99 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fcf-protection=none -Wl,-z,relro ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether /usr/bin/x86_64-linux-gnu-gcc -std=gnu99 accepts -g... (cached) yes
> checking for c++... (cached) /usr/bin/x86_64-linux-gnu-g++
> checking whether the C++ compiler (/usr/bin/x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fcf-protection=none -Wl,-z,relro ) works... (cached) yes
> checking whether the C++ compiler (/usr/bin/x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fcf-protection=none -Wl,-z,relro ) is a cross-compiler... no
> checking whether we are using GNU C++... (cached) yes
> checking whether /usr/bin/x86_64-linux-gnu-g++ accepts -g... (cached) yes
> checking for ranlib... ranlib
> checking for /usr/bin/x86_64-linux-gnu-gcc... /usr/bin/x86_64-linux-gnu-gcc -std=gnu99
> checking for strip... strip
> checking for sb-conf... no
> checking for ve... no
> checking for X... no
> checking for --noexecstack option to as... yes
> checking for -z noexecstack option to ld... yes
> checking for -z text option to ld... yes
> checking for -z relro option to ld... yes
> checking for -z nocopyreloc option to ld... yes
> checking for -Bsymbolic-functions option to ld... yes
> checking for --build-id=sha1 option to ld... yes
> checking whether the linker supports Identical Code Folding... no
> checking whether removing dead symbols breaks debugging... no
> checking for working const... yes
> checking for mode_t... yes
> checking for off_t... yes
> checking for pid_t... yes
> checking for size_t... yes
> checking for ssize_t... yes
> checking whether 64-bits std::atomic requires -latomic... no
> checking for dirent.h that defines DIR... yes
> checking for opendir in -ldir... no
> checking for gethostbyname_r in -lc_r... no
> checking for library containing dlopen... none required
> checking for dlfcn.h... yes
> checking for socket in -lsocket... no
> checking for pthread_create in -lpthreads... no
> checking for pthread_create in -lpthread... yes
> checking whether /usr/bin/x86_64-linux-gnu-gcc -std=gnu99 accepts -pthread... yes
> checking for getc_unlocked... yes
> checking for _getc_nolock... no
> checking for gmtime_r... yes
> checking for localtime_r... yes
> checking for pthread_getname_np... yes
> checking for pthread_get_name_np... no
> checking for clock_gettime(CLOCK_MONOTONIC)...
> checking for sin in -lm... yes
> checking for res_ninit()... yes
> checking for nl_langinfo and CODESET... yes
> checking for an implementation of va_copy()... yes
> checking whether va_list can be copied by value... no
> checking for __thread keyword for TLS variables... yes
> checking for localeconv... yes
> checking for valid optimization flags... yes
> checking for __cxa_demangle... yes
> checking for -pipe support... yes
> checking for tm_zone tm_gmtoff in struct tm... yes
> checking what kind of list files are supported by the linker... linkerscript
> checking for posix_fadvise... yes
> checking for posix_fallocate... yes
> checking for malloc.h... yes
> checking for strndup... yes
> checking for posix_memalign... yes
> checking for memalign... yes
> checking for malloc_usable_size... yes
> checking whether malloc_usable_size definition can use const argument... no
> checking for valloc in malloc.h... yes
> checking for valloc in unistd.h... no
> checking for _aligned_malloc in malloc.h... no
> updating cache ./config.cache
> creating ./config.data
> Creating config.status
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/js/src/../../configure.py", line 181, in <module>
>     sys.exit(main(sys.argv))
>              ^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/js/src/../../configure.py", line 57, in main
>     return config_status(config)
>            ^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/js/src/../../configure.py", line 142, in config_status
>     partial_config.write_vars(sanitized_config)
>   File "/<<PKGBUILDDIR>>/python/mozbuild/mozbuild/backend/configenvironment.py", line 361, in write_vars
>     self.substs._fill_group(substs)
>   File "/<<PKGBUILDDIR>>/python/mozbuild/mozbuild/backend/configenvironment.py", line 257, in _fill_group
>     new_files.add(self._write_file(k, v))
>                   ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/python/mozbuild/mozbuild/backend/configenvironment.py", line 240, in _write_file
>     with FileAvoidWrite(filename) as fh:
>   File "/<<PKGBUILDDIR>>/python/mozbuild/mozbuild/util.py", line 338, in __exit__
>     self.close()
>   File "/<<PKGBUILDDIR>>/python/mozbuild/mozbuild/util.py", line 261, in close
>     existing = _open(self.name, self.mode)
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/python/mozbuild/mozbuild/util.py", line 59, in _open
>     return io.open(path, mode, encoding='utf-8', newline='\n')
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> ValueError: invalid mode: 'rU'
> Configure failed with status 1
> ==> config.log <==
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> configure:594: checking host system type
> configure:615: checking target system type
> configure:633: checking build system type
> configure:1385: checking for gcc
> configure:1498: checking whether the C compiler (/usr/bin/x86_64-linux-gnu-gcc -std=gnu99 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fcf-protection=none -Wl,-z,relro ) works
> configure:1553: checking whether the C compiler (/usr/bin/x86_64-linux-gnu-gcc -std=gnu99 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fcf-protection=none -Wl,-z,relro ) is a cross-compiler
> configure:1558: checking whether we are using GNU C
> configure:1586: checking whether /usr/bin/x86_64-linux-gnu-gcc -std=gnu99 accepts -g
> configure:1622: checking for c++
> configure:1654: checking whether the C++ compiler (/usr/bin/x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fcf-protection=none -Wl,-z,relro ) works
> configure:1709: checking whether the C++ compiler (/usr/bin/x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fcf-protection=none -Wl,-z,relro ) is a cross-compiler
> configure:1714: checking whether we are using GNU C++
> configure:1742: checking whether /usr/bin/x86_64-linux-gnu-g++ accepts -g
> configure:1776: checking for ranlib
> configure:1808: checking for /usr/bin/x86_64-linux-gnu-gcc
> configure:1862: checking for strip
> configure:2210: checking for sb-conf
> configure:2210: checking for ve
> configure:2263: checking for X
> configure:2330: /usr/bin/x86_64-linux-gnu-gcc -E -std=gnu99 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >/dev/null 2>conftest.out
> configure:2326:10: fatal error: X11/Intrinsic.h: No such file or directory
> compilation terminated.
> configure: failed program was:
> #line 2325 "configure"
> #include "confdefs.h"
> #include <X11/Intrinsic.h>
> configure:2406: /usr/bin/x86_64-linux-gnu-gcc -std=gnu99 -o conftest -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fcf-protection=none -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro  conftest.c -lXt  1>&5
> configure: In function 'main':
> configure:2402:1: warning: implicit declaration of function 'XtMalloc' [-Wimplicit-function-declaration]
> /usr/bin/ld: cannot find -lXt: No such file or directory
> collect2: error: ld returned 1 exit status


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/mozjs78_78.15.0-5_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-gnome-maintainers mailing list