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

Bug#729203: Intent to package FFmpeg



* Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> [27-03-2014 14:35 EET]:
> Hi Norbert,
> 
> On 27.03.2014 14:49, Norbert Preining wrote:
> >On Thu, 27 Mar 2014, Andreas Cadhalpun wrote:
> >>I updated my packaging to FFmpeg 2.2 and was finally able to push it
> >>to the collab-maint repository [1].
> >
> >I tried to build in a clean cowbuilder on amd64, but it dies right
> >at the beginning after configure:
> >...
> >Creating config.mak, config.h, and doc/config.texi...
> >make[1]: Leaving directory `/tmp/buildd/ffmpeg-2.2'
> >    debian/rules override_dh_auto_build-arch
> >make[1]: Entering directory `/tmp/buildd/ffmpeg-2.2'
> >faketime "Mon, 24 Mar 2014 18:56:11 +0100" dh_auto_build -a -- tools/qt-faststart
> >sem_open: Function not implemented
> >make[1]: *** [override_dh_auto_build-arch] Error 1
> 
> Strange, as it builds fine with pbuilder.
> 
> I just tried a jessie/amd64 chroot with cowbuilder and it builds fine for
> me.
> Does your cowbuilder mount /run/shm? Mine does:
> I: mounting /run/shm filesystem
> 
> This might be the cause for 'sem_open: Function not implemented'.

This was a problem that I had while building with sbuild. I set the
profile to 'desktop' and the build failed with another error:


    # Use faketime to make the build more binary reproducible.
    faketime -f -m "" dh_auto_build -a
    shm_open: Bad address
    make[1]: *** [override_dh_auto_build-arch] Error 1
    debian/rules:170: recipe for target 'override_dh_auto_build-arch' failed
    make[1]: Leaving directory '/«PKGBUILDDIR»'
    make: *** [build] Error 2
    dpkg-buildpackage: error: debian/rules build gave error exit status 2
    debian/rules:139: recipe for target 'build' failed

This was resolved by removing eatmydata (#747078) as a command-prefix in schroot.

    $ faketime '1 day ago' /bin/date -u
    Mon Sep 15 14:18:21 UTC 2014
    $ eatmydata faketime '1 day ago' /bin/date -u
    shm_open: Bad address

An issue was opened for this back in May at
https://github.com/wolfcw/libfaketime/issues/44 .

-------

More on topic:  Thanks for your work on bringing ffmpeg* back to Debian. :)
I mostly care about the ffmpeg binary since avconv is far from being a
drop-in replacement.

If the "there can be only one" stance remains with libav VS ffmpeg, this
user would prefer ffmpeg replacing libav.


Reply to: