Error on mipsel buildd not reproducible on porter box

Vincent Danjean <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
[please, CC me for answer as I'm not subscribed]

  Hi,

  The freshplayerplugin (in contrib) successfully build the 0.3.1-2
version on mipsel but not the 0.3.2-1 version, thus preventing
migration to testing:
https://buildd.debian.org/status/logs.php?pkg=freshplayerplugin&arch=mipsel&suite=sid

The failed log from the buildd can be found here:
https://buildd.debian.org/status/fetch.php?pkg=freshplayerplugin&arch=mips&ver=0.3.2-1&stamp=1440508071

What seems interesting to me is:
[...]
dh_auto_configure -- \
	-DWITH_LIBPDF=TRUE \
	-DWITH_NACL=TRUE \
	-DWITH_PEPPERFLASH=TRUE
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DWITH_LIBPDF=TRUE -DWITH_NACL=TRUE -DWITH_PEPPERFLASH=TRUE
-- The C compiler identification is GNU 5.2.1
-- The CXX compiler identification is GNU 5.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for modules 'alsa;glib-2.0;gio-2.0;x11;xrandr;xrender;xcursor;gl;libconfig;libdrm;libevent;libevent_pthreads;cairo;pango;pangocairo;pangoft2;freetype2;openssl'
--   found alsa, version 1.0.29
--   found glib-2.0, version 2.44.1
--   found gio-2.0, version 2.44.1
--   found x11, version 1.6.3
--   found xrandr, version 1.5.0
--   found xrender, version 0.9.8
--   found xcursor, version 1.1.14
--   found gl, version 10.6.4
--   found libconfig, version 1.5
--   found libdrm, version 2.4.64
--   found libevent, version 2.0.21-stable
--   found libevent_pthreads, version 2.0.21-stable
--   found cairo, version 1.14.2
--   found pango, version 1.36.8
--   found pangocairo, version 1.36.8
--   found pangoft2, version 1.36.8
--   found freetype2, version 17.1.11
--   found openssl, version 1.0.2d
-- checking for module 'gtk+-2.0'
--   found gtk+-2.0, version 2.24.28
-- checking for module 'glesv2'
--   found glesv2, version 10.6.4
-- checking for optional dependencies
--   found libpulse, version 6.0 (optional)
--   no jack found (optional)
-- checking for modules 'libavcodec;libavutil;libva;libva-x11;vdpau'
--   found libavcodec, version 56.41.100
--   found libavutil, version 54.27.100
--   found libva, version 0.38.0
--   found libva-x11, version 0.38.0
--   found vdpau, version 1.1
-- Performing Test HAVE_AVPixelFormat
-- Performing Test HAVE_AVPixelFormat - Failed
-- Performing Test HAVE_AV_PIX_FMT_VDPAU
-- Performing Test HAVE_AV_PIX_FMT_VDPAU - Failed
-- Performing Test HAVE_AVCodecID
-- Performing Test HAVE_AVCodecID - Failed
-- Performing Test HAVE_AVCodecContext_get_buffer2
-- Performing Test HAVE_AVCodecContext_get_buffer2 - Failed
-- Performing Test HAVE_AVVDPAUContext
-- Performing Test HAVE_AVVDPAUContext - Failed
-- Looking for av_frame_alloc
-- Looking for av_frame_alloc - not found
-- Looking for av_frame_free
-- Looking for av_frame_free - not found
-- Looking for avcodec_free_context
-- Looking for avcodec_free_context - not found
[...]
cd /«PKGBUILDDIR»/build/src && /usr/bin/cc  -DHAVE_GLES2=1 -DHAVE_HWDEC=1 -DHAVE_LIBV4L2=1 -DHAVE_PULSEAUDIO=1 -DXP_UNIX -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -std=gnu99 -fPIC -fvisibility=hidden -pthread -Wall -Werror=format-security -Werror=implicit-function-declaration -I/«PKGBUILDDIR»/build -I/usr/include/alsa -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/mips-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/mips-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/mips-linux-gnu -I/«PKGBUILDDIR»/3rdparty -I/«PKGBUILDDIR»/build/resources    -pthread -o CMakeFiles/freshwrapper-obj.dir/async_network.c.o   -c /«PKGBUILDDIR»/src/async_network.c
In file included from /«PKGBUILDDIR»/src/async_network.c:40:0:
/«PKGBUILDDIR»/src/pp_resource.h:482:8: error: redefinition of 'struct AVVDPAUContext'
 struct AVVDPAUContext {
        ^
In file included from /«PKGBUILDDIR»/src/pp_resource.h:72:0,
                 from /«PKGBUILDDIR»/src/async_network.c:40:
/usr/include/mips-linux-gnu/libavcodec/vdpau.h:90:16: note: originally defined here
 typedef struct AVVDPAUContext {
                ^
make[3]: *** [src/CMakeFiles/freshwrapper-obj.dir/async_network.c.o] Error 1
src/CMakeFiles/freshwrapper-obj.dir/build.make:57: recipe for target 'src/CMakeFiles/freshwrapper-obj.dir/async_network.c.o' failed
[...]


Now, using the mipsel porterbox, I have:
dh_auto_configure -- \
> -DWITH_LIBPDF=TRUE \
> -DWITH_NACL=TRUE \
> -DWITH_PEPPERFLASH=TRUE
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DWITH_LIBPDF=TRUE -DWITH_NACL=TRUE -DWITH_PEPPERFLASH=TRUE
-- The C compiler identification is GNU 5.2.1
-- The CXX compiler identification is GNU 5.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for modules 'alsa;glib-2.0;gio-2.0;x11;xrandr;xrender;xcursor;gl;libconfig;libdrm;libevent;libevent_pthreads;cairo;pango;pangocairo;pangoft2;freetype2;openssl'
--   found alsa, version 1.0.29
--   found glib-2.0, version 2.44.1
--   found gio-2.0, version 2.44.1
--   found x11, version 1.6.3
--   found xrandr, version 1.5.0
--   found xrender, version 0.9.8
--   found xcursor, version 1.1.14
--   found gl, version 10.6.4
--   found libconfig, version 1.5
--   found libdrm, version 2.4.64
--   found libevent, version 2.0.21-stable
--   found libevent_pthreads, version 2.0.21-stable
--   found cairo, version 1.14.2
--   found pango, version 1.36.8
--   found pangocairo, version 1.36.8
--   found pangoft2, version 1.36.8
--   found freetype2, version 17.1.11
--   found openssl, version 1.0.2d
-- checking for module 'gtk+-2.0'
--   found gtk+-2.0, version 2.24.28
-- checking for module 'glesv2'
--   found glesv2, version 10.6.4
-- checking for optional dependencies
--   found libpulse, version 6.0 (optional)
--   no jack found (optional)
-- checking for modules 'libavcodec;libavutil;libva;libva-x11;vdpau'
--   found libavcodec, version 56.41.100
--   found libavutil, version 54.27.100
--   found libva, version 0.38.0
--   found libva-x11, version 0.38.0
--   found vdpau, version 1.1
-- Performing Test HAVE_AVPixelFormat
-- Performing Test HAVE_AVPixelFormat - Success
-- Performing Test HAVE_AV_PIX_FMT_VDPAU
-- Performing Test HAVE_AV_PIX_FMT_VDPAU - Success
-- Performing Test HAVE_AVCodecID
-- Performing Test HAVE_AVCodecID - Success
-- Performing Test HAVE_AVCodecContext_get_buffer2
-- Performing Test HAVE_AVCodecContext_get_buffer2 - Success
-- Performing Test HAVE_AVVDPAUContext
-- Performing Test HAVE_AVVDPAUContext - Success
-- Looking for av_frame_alloc
-- Looking for av_frame_alloc - found
-- Looking for av_frame_free
-- Looking for av_frame_free - found
-- Looking for avcodec_free_context
-- Looking for avcodec_free_context - found
-- checking for module 'libv4l2'
--   found libv4l2, version 1.6.3
-- Configuring done
-- Generating done

Note as all "Performing Test" gives "Success" in the porter box and
not in the buildd.

I've no clue about what happens and I have no idea about what to do
now. Can someone give me an hint?

  Regards,
    Vincent

-- 
Vincent Danjean       GPG key ID 0xD17897FA         [email protected]
GPG key fingerprint: 621E 3509 654D D77C 43F5  CA4A F6AE F2AF D178 97FA
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo:  deb http://people.debian.org/~vdanjean/debian unstable main
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.