[mythtv] rpm build of master fails after ffmpeg refactor
John Pilkington
johnpilk222 at gmail.com
Wed May 9 20:09:24 UTC 2018
I just realised (after a comment by Paul H) that commits to master
hadn't stopped but are not coming through on the mailing list, so this
is a bit late.
I'm using a specfile based on one from rpmfusion. Last success was on 25
April. Now I see
+ ./configure --qmake=/usr/bin/qmake-qt5 --prefix=/usr
--libdir=/usr/lib64 --libdir-name=lib64 --mandir=/usr/share/man
--enable-libmp3lame --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-libxvid ' '
Unknown option "--enable-libtheora".
All those 'enables' come from a section of the specfile with this preamble:
%build
# First, we build MythTV
pushd mythtv
# Similar to 'percent' configure, but without {_target_platform} and
# {_exec_prefix} etc... MythTV no longer accepts the parameters that the
# configure macro passes, so we do this manually.
./configure \
--qmake=%{_bindir}/qmake-qt5 \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--libdir-name=%{_lib} \
--mandir=%{_mandir} \
<snip>
--enable-bdjava \
--enable-libmp3lame \
--enable-libtheora --enable-libvorbis \
--enable-libx264 \
--enable-libx265 \
--enable-libxvid \
--enable-libvpx \
and I suspect that the others would fail too. I tried
--enable-libmyththeora, but no joy.
This is pretty early in the build process and I have no doubt that
fixing it will simply reveal the need for lots more changes; but perhaps
someone will be able to suggest an approach?
And do I need to disable plugins?
John P
Deleted all the --enables, libtheora to libvpx since they appeared in
config. Now get
Configuring minilzo...
Info: creating stash file
/builddir/build/BUILD/mythtv-master/mythtv/external/minilzo/.qmake.stash
Configuring libmythsoundtouch...
Info: creating stash file
/builddir/build/BUILD/mythtv-master/mythtv/external/libmythsoundtouch/.qmake.stash
Configuring libXNVCtrl...
Info: creating stash file
/builddir/build/BUILD/mythtv-master/mythtv/external/libXNVCtrl/.qmake.stash
+ '--extra-cflags=-O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
-fomit-frame-pointer -fno-devirtualize' '--extra-cxxflags=-O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
-fomit-frame-pointer -fno-devirtualize' --compile-type=release
--enable-debug
BUILDSTDERR: /var/tmp/rpm-tmp.2KJ8B9: line 50: --extra-cflags=-O2 -g
-pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
-fomit-frame-pointer -fno-devirtualize: No such file or directory
BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.2KJ8B9 (%build)
RPM build errors:
BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.2KJ8B9 (%build)
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py",
line 96, in trace
result = func(*args, **kw)
File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626,
in do
raise exception.Error("Command failed: \n # %s\n%s" % (command,
output), child.returncode)
mockbuild.exception.Error: Command failed:
# /usr/bin/systemd-nspawn -q -M 310f2b4d5d4146abb7291952db02508f -D
/var/lib/mock/fedora-26-x86_64/root -a --setenv=TERM=vt100
--setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock
--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin
--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"
--setenv=PS1=<mock-chroot> \s-\v\$ --setenv=LANG=en_GB.UTF-8 -u
mockbuild bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps
/builddir/build/SPECS/mythtvmaster30pre620a.spec
More information about the mythtv-dev
mailing list