pkgsrc-Users archive

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

x11/libdrm fails to build



I use a pkg_comp chroot with NetBSD 6.0 inside.

x11/libdrm is needed for MesaLib, which in turn is needed (according to
my notes) for geeqie (which apparently doesn't declare the dependency).

The build fails with

libdrm 2.4.54 will be compiled with:

  libkms         no
  Intel API      yes
  vmwgfx API     yes
  Radeon API     yes
  Nouveau API    yes
  OMAP API       no
  EXYNOS API     no
  Freedreno API  no

=> Modifying libtool scripts to use pkgsrc libtool
===> build-message [libdrm-2.4.54] ===> Building for libdrm-2.4.54
/usr/bin/make  all-recursive
Making all in .
  CC       libdrm_la-xf86drm.lo
  CC       libdrm_la-xf86drmHash.lo
  CC       libdrm_la-xf86drmRandom.lo
  CC       libdrm_la-xf86drmSL.lo
  CC       libdrm_la-xf86drmMode.lo
  CCLD     libdrm.la
Making all in intel
  CC       intel_bufmgr.lo
  CC       intel_bufmgr_fake.lo
  CC       intel_bufmgr_gem.lo
  CC       intel_decode.lo
  CC       mm.lo
  CCLD     libdrm_intel.la
  CC       test_decode.o
test_decode.c: In function 'compare_batch':
test_decode.c:93:9: warning: unused variable 'size'
  CCLD     test_decode
ld: warning: libdrm.so.3, needed by 
/pkg_comp/obj/pkgsrc/x11/libdrm/default/.buildlink/lib/libdrm_intel.so, may 
conflict with libdrm.so.2
test_decode.o: In function `main':
test_decode.c:(.text+0x191): undefined reference to 
`drm_intel_decode_context_alloc'
test_decode.c:(.text+0x1bd): undefined reference to 
`drm_intel_decode_context_free'
test_decode.c:(.text+0x20b): undefined reference to 
`drm_intel_decode_set_batch_pointer'
test_decode.c:(.text+0x218): undefined reference to 
`drm_intel_decode_set_output_file'
test_decode.c:(.text+0x220): undefined reference to `drm_intel_decode'
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/x11/libdrm/default/libdrm-2.4.54/intel
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/x11/libdrm/default/libdrm-2.4.54
*** Error code 1


The libdrm.so.3 that is mentioned is probably the one from
/scratch/chroot/pkg_comp.amd64-6.0/default/usr/X11R7/lib/libdrm.so.3
but one would hope that the build process would not be distracted by
that.

Maybe it gets confused with
/scratch/chroot/pkg_comp.amd64-6.0/default/usr/X11R7/lib/libdrm_intel.a
 ?

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl    -- 'this bath is too hot.'

Attachment: pgpzEU8U0kLv6.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index