Bug#1067603: contextfree: FTBFS on armhf: test failure with missing codec

2024-03-27 Thread Kentaro HAYASHI
Hi,

On Wed, 27 Mar 2024 20:58:51 -0700 John Horigan 
wrote:
> That error message indicates that libavcodec60 does not support the
> libx264 codec for encoding H.264 files. libavcodec60 lists
> libx264-164 as a dependency, with no exception for armel or armhf
> systems, so I don't know why the codec won't load.
> 
> Can you run the command
> 
> ffmpeg -codecs
> 
> on an armhf system and report back the output?

I've attached ffmepg -codecs (when ffmpeg was manually installed, not
apt build-dep)

It seems when ffmpeg is not installed, it causes FTBFS.
After installing ffmpeg, build succeeded on armhf.


Surely, it seems that libx264 was installed.

(sid_armhf-dchroot)kenhys@amdahl:~$ dpkg -l |grep
-E "avcodec|x264" ii  libavcodec-dev:armhf 7:6.1.1-3+b1
armhfFFmpeg library with de/encoders for audio/video codecs -
development files ii  libavcodec60:armhf   7:6.1.1-3+b1
  armhfFFmpeg library with de/encoders for
audio/video codecs - runtime files ii  libx264-164:armhf
2:0.164.3108+git31e19f9-1  armhfx264 video coding library
ii  libx264-dev:armhf2:0.164.3108+git31e19f9-1
armhfdevelopment files for libx264




ffmpeg-codecs-on-armhf.txt.gz
Description: application/gzip


Bug#1067603: contextfree: FTBFS on armhf: test failure with missing codec

2024-03-27 Thread John Horigan
Could this bug be the cause?

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012791

If libavcodec cannot access libx264.so due to some executable stack
security issue, then it would fail to load the libx264 encoder.

-- john


Bug#1067603: contextfree: FTBFS on armhf: test failure with missing codec

2024-03-27 Thread John Horigan
That error message indicates that libavcodec60 does not support the libx264
codec for encoding H.264 files. libavcodec60 lists libx264-164 as a
dependency, with no exception for armel or armhf systems, so I don't know
why the codec won't load.

Can you run the command

ffmpeg -codecs

on an armhf system and report back the output?

-- john

On Sun, 24 Mar 2024 21:04:49 +0900 Kentaro HAYASHI  wrote:
> Package: contextfree
> Version: 3.4+dfsg-1.1
> Severity: important
> Tags: ftbfs
> X-Debbugs-Cc: ken...@xdump.org
>
> Dear Maintainer,
>
>
>* What led up to the situation?
>
>contextfree can't build on armel,armhf.
>
>* What exactly did you do (or not do) that was effective (or
>  ineffective)?
>
> apt-get source contextfree
> cd contextfree-3.4+dfsg
> debuild -us -uc
>
>* What was the outcome of this action?
>
> See
>
https://buildd.debian.org/status/fetch.php?pkg=contextfree=armhf=3.4%2Bdfsg-1.1=1711207519=0
>
> input/ziggy_v2.cfdg   pass Reading rules file input/mtree.cfdg
> Restarting as a version 3 design
> 8 rules loaded
> Generating 8bit gray-scale Quicktime movie, variation FFGH...
> Failed to create movie file: codec not found
> make[1]: *** [Makefile:188: test] Error 8
> make[1]: Leaving directory '/home/kenhys/work/contextfree-3.4+dfsg'
> dh_auto_test: error: make -j8 test returned exit code 2
> make: *** [debian/rules:6: build] Error 25
> dpkg-buildpackage: error: debian/rules build subprocess returned exit
> status 2 debuild: fatal error at line 1184:
> dpkg-buildpackage -us -uc -ui failed
>
>* What outcome did you expect instead?
>
> contextfree can build on armel/armhf.
>
> -- System Information:
> Debian Release: trixie/sid
>   APT prefers unstable-debug
>   APT policy: (500, 'unstable-debug'), (500, 'unstable')
> Architecture: armhf (armv8l)
>
> Kernel: Linux 6.1.0-18-arm64 (SMP w/8 CPU threads)
> Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: unable to detect
>
> Versions of packages contextfree depends on:
> pn  libagg2
> ii  libavcodec60   7:6.1.1-3
> ii  libavformat60  7:6.1.1-3
> ii  libavutil587:6.1.1-3
> ii  libc6  2.37-15.1
> ii  libgcc-s1  14-20240315-1


Bug#1067603: contextfree: FTBFS on armhf: test failure with missing codec

2024-03-24 Thread Kentaro HAYASHI
Package: contextfree
Version: 3.4+dfsg-1.1
Severity: important
Tags: ftbfs
X-Debbugs-Cc: ken...@xdump.org

Dear Maintainer,


   * What led up to the situation?

   contextfree can't build on armel,armhf.

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

apt-get source contextfree
cd contextfree-3.4+dfsg
debuild -us -uc

   * What was the outcome of this action?

See
https://buildd.debian.org/status/fetch.php?pkg=contextfree=armhf=3.4%2Bdfsg-1.1=1711207519=0

input/ziggy_v2.cfdg   pass Reading rules file input/mtree.cfdg
Restarting as a version 3 design
8 rules loaded
Generating 8bit gray-scale Quicktime movie, variation FFGH...
Failed to create movie file: codec not found
make[1]: *** [Makefile:188: test] Error 8
make[1]: Leaving directory '/home/kenhys/work/contextfree-3.4+dfsg'
dh_auto_test: error: make -j8 test returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit
status 2 debuild: fatal error at line 1184:
dpkg-buildpackage -us -uc -ui failed

   * What outcome did you expect instead?

contextfree can build on armel/armhf.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: armhf (armv8l)

Kernel: Linux 6.1.0-18-arm64 (SMP w/8 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages contextfree depends on:
pn  libagg2
ii  libavcodec60   7:6.1.1-3
ii  libavformat60  7:6.1.1-3
ii  libavutil587:6.1.1-3
ii  libc6  2.37-15.1
ii  libgcc-s1  14-20240315-1
ii  libicu72   72.1-4+b1
pn  libpng16-16
ii  libstdc++6 14-20240315-1
ii  libswscale77:6.1.1-3