pkgsrc-Bugs archive

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

pkg/45483: x11/libXpm fails on build: can't find -lxcb



>Number:         45483
>Category:       pkg
>Synopsis:       x11/libXpm fails on build: can't find -lxcb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 18 16:10:00 +0000 2011
>Originator:     diro%nixsyspaus.org@localhost
>Release:        NetBSD 5.1.0_PATCH
>Organization:
>Environment:
System: NetBSD themobe.lan 5.1.0_PATCH NetBSD 5.1.0_PATCH (THEMOBE2) #0: Tue Oct
18 13:33:37 UTC 2011  
root%themobe.lan@localhost:/usr/obj/sys/arch/i386/compile/THEMOBE2
i386
Architecture: i386
Machine: i386
>Description:
=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg 
fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for libXpm-3.5.8.tar.bz2
=> Checksum RMD160 OK for libXpm-3.5.8.tar.bz2
===> Installing dependencies for libXpm-3.5.8nb1
=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb5
=> Build dependency {gettext-tools>=0.14.5,gettext>=0.10.36<0.14.5}: found 
gettext-tools-0.18.1.1nb2
=> Build dependency pkg-config>=0.19: found pkg-config-0.25nb1
=> Build dependency kbproto>=1.0.2: found kbproto-1.0.5
=> Build dependency xproto>=7.0.9: found xproto-7.0.18
=> Build dependency xextproto>=7.0: found xextproto-7.1.2
=> Build dependency inputproto>=1.4: found inputproto-2.0
=> Full dependency gettext-lib>=0.18: found gettext-lib-0.18.1.1
=> Full dependency libX11>=1.1: found libX11-1.3.5
=> Full dependency libXext>=0.99.0: found libXext-1.1.1
=> Full dependency libXt>=1.0.0: found libXt-1.0.8
===> Overriding tools for libXpm-3.5.8nb1
===> Extracting for libXpm-3.5.8nb1
===> Patching for libXpm-3.5.8nb1
=> Applying pkgsrc patches for libXpm-3.5.8nb1
===> Creating toolchain wrappers for libXpm-3.5.8nb1
===> Configuring for libXpm-3.5.8nb1
=> 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.
configure: WARNING: unrecognized options: --with-libintl-prefix, 
--with-libiconv-prefix
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 to enable maintainer-specific portions of Makefiles... no
checking build system type... i386--netbsdelf
checking host system type... i386--netbsdelf
checking for style of include used by make... GNU
checking for i386--netbsdelf-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking for a sed that does not truncate output... 
/usr/pkgsrc/x11/libXpm/work/.tools/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ld used by cc... /usr/pkgsrc/x11/libXpm/work/.wrapper/bin/ld
checking if the linker (/usr/pkgsrc/x11/libXpm/work/.wrapper/bin/ld) is GNU 
ld... yes
checking for /usr/pkgsrc/x11/libXpm/work/.wrapper/bin/ld option to reload 
object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... match_pattern 
/lib[^/]+(\.so|_pic\.a)$
checking how to run the C preprocessor... cc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... no
checking whether c++ accepts -g... no
checking dependency style of c++... none
checking how to run the C++ preprocessor... cpp
checking for i386--netbsdelf-g77... f77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether f77 accepts -g... no
checking the maximum length of command line arguments... (cached) 262144
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for i386--netbsdelf-ar... no
checking for ar... ar
checking for i386--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for i386--netbsdelf-strip... no
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/pkgsrc/x11/libXpm/work/.wrapper/bin/ld) 
supports shared libraries... yes
checking whether -lc should be explicitly linked in... 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the c++ linker (/usr/pkgsrc/x11/libXpm/work/.wrapper/bin/ld) 
supports shared libraries... PKGSRC-WARNING: Something is trying to run the c++ 
compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
yes
libtool.m4: error: problem compiling CXX test program
checking for c++ option to produce PIC... 
checking if c++ static flag  works... no
checking if c++ supports -c -o file.o... no
checking whether the c++ linker (/usr/pkgsrc/x11/libXpm/work/.wrapper/bin/ld) 
supports shared libraries... yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying 
to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
(cached) (cached) checking how to hardcode library paths into programs... 
unsupported
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... no
checking if f77 static flag -static works... no
checking if f77 supports -c -o file.o... no
checking whether the f77 linker (/usr/pkgsrc/x11/libXpm/work/.wrapper/bin/ld) 
supports shared libraries... PKGSRC-WARNING: Something is trying to run the 
fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying 
to run the fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
(cached) (cached) checking how to hardcode library paths into programs... 
immediate
checking for i386--netbsdelf-gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking for a sed that does not truncate output... (cached) 
/usr/pkgsrc/x11/libXpm/work/.tools/bin/sed
checking for cc option to accept ISO C99... -std=gnu99
checking pkg-config is at least version 0.9.0... yes
checking for XPM... yes
checking for ANSI C header files... (cached) yes
checking for strlcat... yes
checking for library containing gettext... (cached) no
checking where to install localized messages... nowhere
checking for SXPM... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating sxpm/Makefile
config.status: creating cxpm/Makefile
config.status: creating xpm.pc
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --with-libintl-prefix, 
--with-libiconv-prefix
=> Modifying libtool scripts to use pkgsrc libtool
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package 
Makefile.
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package 
Makefile.
===> Building for libXpm-3.5.8nb1
/usr/pkg/bin/bmake  all-recursive
Making all in src
  CC     Attrib.lo
  CC     CrBufFrI.lo
  CC     CrBufFrP.lo
  CC     CrDatFrI.lo
  CC     CrDatFrP.lo
  CC     CrIFrBuf.lo
  CC     CrIFrDat.lo
  CC     CrIFrP.lo
  CC     CrPFrBuf.lo
  CC     CrPFrDat.lo
  CC     CrPFrI.lo
  CC     Image.lo
  CC     Info.lo
  CC     RdFToBuf.lo
  CC     RdFToDat.lo
  CC     RdFToI.lo
  CC     RdFToP.lo
  CC     WrFFrBuf.lo
  CC     WrFFrDat.lo
  CC     WrFFrI.lo
  CC     WrFFrP.lo
  CC     create.lo
  CC     data.lo
  CC     hashtab.lo
  CC     misc.lo
  CC     parse.lo
parse.c: In function 'xpmParseExtensions':
parse.c:590: warning: array subscript has type 'char'
  CC     rgb.lo
rgb.c: In function 'xpmReadRgbNames':
rgb.c:98: warning: array subscript has type 'char'
  CC     scan.lo
  CCLD   libXpm.la

*** Warning: linker path does not have real file for library -lxcb.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libxcb but no candidates were found. (...for regex pattern test)
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
Making all in sxpm
  CC     sxpm.o
  CCLD   sxpm
ld: cannot find -lxcb
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libXpm/work/libXpm-3.5.8/sxpm
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libXpm/work/libXpm-3.5.8
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libXpm/work/libXpm-3.5.8
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libXpm
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libXpm
>How-To-Repeat:
        cd pkgsrc/x11/libXpm; bmake; # pkgsrc-2011Q3
>Fix:
        Add: .include "../../x11/libxcb/buildlink3.mk" to Makefile



Home | Main Index | Thread Index | Old Index