TB: Issues building 1.0.7 on FC3 (fails for i386, works for x86_64)

Philip Prindeville philipp_subx at redfish-solutions.com
Wed Dec 14 01:28:27 UTC 2005


I'm trying to build the SRPM for thunderbird-1.0.7-1.1.fc3, and
it works fine on x86_64, but it fails for i386.  It complains that it
can't find xproto, which is required for Xft.  ?!?!?

Any ideas?

Thanks,

-Philip

...
+ make -f client.mk build_all
Adding client.mk options from /home/src/redhat/BUILD/mozilla/.mozconfig:
    MOZ_THUNDERBIRD=1
    BUILD_OFFICIAL=1
    MOZILLA_OFFICIAL=1
    MOZ_MAKE_FLAGS=
cd /home/src/redhat/BUILD/mozilla
./configure
Adding configure options from ./.mozconfig:
  --enable-crypto
  --disable-mathml
  --disable-activex
  --disable-activex-scripting
  --disable-tests
  --disable-oji
  --disable-plugins
  --disable-necko-disk-cache
  --enable-single-profile
  --disable-profilesharing
  --enable-extensions=wallet,spellcheck,xmlextras,webservices
  --enable-necko-protocols=http,file,jar,viewsource,res,data
  --enable-image-decoders=default,-xbm
  --enable-default-toolkit=gtk2
  --enable-xft
  --enable-optimize=-Os -g -pipe -m32 -march=i386 -mtune=pentium4
  --with-system-jpeg
  --with-system-png
  --with-system-zlib
  --with-pthreads
  --enable-freetype2
  --enable-xinerama
  --disable-xprint
  --disable-debug
  --disable-strip
  --disable-tests
  --enable-official-branding
  --enable-pango
  --libdir=/usr/lib
  --with-default-mozilla-five-home=/usr/lib/thunderbird-1.0.7
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -Os -g -pipe -m32 -march=i386
-mtune=pentium4 ) works... yes
checking whether the C compiler (gcc -Os -g -pipe -m32 -march=i386
-mtune=pentium4 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ -Os -g -pipe -m32 -march=i386
-mtune=pentium4 ) works... yes
checking whether the C++ compiler (c++ -Os -g -pipe -m32 -march=i386
-mtune=pentium4 ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for ranlib... ranlib
checking for as... /usr/bin/as
checking for ar... ar
checking for ld... ld
checking for strip... strip
checking for windres... no
checking for gawk... gawk
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for perl5... no
checking for perl... /usr/bin/perl
checking for minimum required perl version >= 5.004... 5.008005
checking for full perl installation... yes
checking for doxygen... /usr/bin/doxygen
checking for whoami... /usr/bin/whoami
checking for autoconf... /usr/bin/autoconf
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for makedepend... /usr/X11R6/bin/makedepend
checking for xargs... /usr/bin/xargs
checking for gmake... /usr/bin/gmake
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether ld has archive extraction flags... yes
checking for 64-bit OS... no
checking for ANSI C header files... yes
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 uid_t in sys/types.h... yes
checking for st_blksize in struct stat... yes
checking for siginfo_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int64... no
checking for uint... yes
checking for uint_t... no
checking for uint16_t... no
checking for uname.domainname... yes
checking for uname.__domainname... no
checking for usable wchar_t (2 bytes, unsigned)... no
checking for compiler -fshort-wchar option... yes
checking for .hidden assembler directive... yes
checking whether __attribute__((visibility())) is supported... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for sys/byteorder.h... no
checking for compat.h... no
checking for getopt.h... yes
checking for sys/bitypes.h... yes
checking for memory.h... yes
checking for unistd.h... yes
checking for gnu/libc-version.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for X11/XKBlib.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 mmintrin.h... no
checking for new... yes
checking for sys/cdefs.h... yes
checking for gethostbyname_r in -lc_r... no
checking for atan in -lm... yes
checking for dlopen in -ldl... yes
checking for dlfcn.h... yes
checking for socket in -lsocket... no
checking for XDrawLines in -lX11... yes
checking for XextAddDisplay in -lXext... yes
checking for XtFree in -lXt... yes
checking for XineramaIsActive in -lXinerama... yes
checking for X11/extensions/Xinerama.h... yes
checking for XShmCreateImage in -lXext... yes
checking for X11/extensions/XShm.h... yes
checking for XieFloGeometry in -lXIE... no
checking for X11/extensions/XIElib.h... no
checking for freetype-config... /usr/bin/freetype-config
checking for FreeType - version >= 6.1.0... yes
checking for pthread_create in -lpthreads... no
checking for pthread_create in -lpthread... yes
checking whether gcc accepts -pthread... yes
checking whether mmap() sees write()s... yes
checking whether gcc needs -traditional... no
checking for 8-bit clean memcmp... yes
checking for random... yes
checking for strerror... yes
checking for lchown... yes
checking for fchmod... yes
checking for snprintf... yes
checking for statvfs... yes
checking for memmove... yes
checking for rint... yes
checking for flockfile... yes
checking for getpagesize... yes
checking for localtime_r... yes
checking for strtok_r... yes
checking for wcrtomb... yes
checking for mbrtowc... yes
checking for res_ninit()... yes
checking for gnu_get_libc_version()... yes
checking for iconv in -lc... yes
checking for iconv()... yes
checking for iconv() with const input... no
checking for nl_langinfo and CODESET... yes
checking for an implementation of va_copy()... yes
checking for an implementation of __va_copy()... yes
checking whether va_lists can be copied by value... yes
checking for C++ exceptions flag... -fno-exceptions
checking for gcc 3.0 ABI... yes
checking for C++ "explicit" keyword... yes
checking for C++ "typename" keyword... yes
checking for modern C++ template specialization syntax support... yes
checking whether partial template specialization works... yes
checking whether operators must be re-defined for templates derived from
templates... no
checking whether we need to cast a derived template to pass as its base
class... no
checking whether the compiler can resolve const ambiguities for
templates... yeschecking whether the C++ "using" keyword can change
access... yes
checking whether the C++ "using" keyword resolves ambiguity... yes
checking for "std::" namespace... yes
checking whether standard template operator!=() is ambiguous... unambiguous
checking for C++ reinterpret_cast... yes
checking for C++ dynamic_cast to void*... yes
checking whether C++ requires implementation of unused virtual methods... no
checking for trouble comparing to zero near std::operator!=()... no
checking for LC_MESSAGES... yes
checking for jpeg_destroy_compress in -ljpeg... yes
checking for gzread in -lz... yes
checking for png_get_valid in -lpng... yes
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 1.3.7... yes
checking MOZ_GTK2_CFLAGS... -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
checking MOZ_GTK2_LIBS...   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for xft... Package xproto was not found in the pkg-config
search path.
Perhaps you should add the directory containing `xproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xproto', required by 'Xft', not found

configure: error: Library requirements (xft) not met; consider adjusting
the PKG_CONFIG_PATH environment variable if your libraries are in a
nonstandard prefix so pkg-config can find them.
*** Fix above errors and then restart with "make -f client.mk build"
make: *** [/home/src/redhat/BUILD/mozilla/Makefile] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.60007 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.60007 (%build)
[root at settop SPECS]#






More information about the devel mailing list