Mailing List Archive

rpm fc26 build of master succeeds; with patches from #13186 it fails
I have posted about this on #13186. I tried mock --rebuild with several
varieties of --without <plugin name> and all those failed too.

Patch1: 001_avcodec_decode_audio4.2.patch
Patch2: 002_avpicture.patch
Patch3: 003_avcodec_encode_audio2.patch
Patch4: 004_avcodec_decode_video2.patch
Patch5: 005_avstream_codec_avformatdecoder.patch

and both had a non-standard homebrew

Patch0: longeraudiograph#12901a.patch

I have now done plain rebuild runs both without and with the new
patches,in case fc26 updates had changed the environment. The results
are the same.

Here are the last few lines of the failing build log. I now think that
libmythgallery.so is just the last module before the test for failure;
it might not be the one actually failing.

John P

rm -f libmythgallery.so
g++ -Wl,-O1 -shared -o libmythgallery.so obj/glsingleview.o
obj/iconview.o obj/singleview.o obj/imageview.o obj/galleryfilter.o
obj/galleryfilterdlg.o obj/gallerysettings.o obj/dbcheck.o
obj/galleryutil.o obj/thumbgenerator.o obj/thumbview.o obj/main.o
obj/gltexture.o obj/moc_glsingleview.o obj/moc_iconview.o
obj/moc_singleview.o obj/moc_imageview.o obj/moc_galleryfilterdlg.o
-L/builddir/build/BUILD/mythtv-master/fakeroot/usr/lib64 -L/usr/lib64
-lXext -lXinerama -lXxf86vm -lXv -lXrandr -lxml2 -ldns_sd -lcrypto -lass
-lfftw3_threads -lfftw3f -lfftw3 -lsystemd -lvdpau -lva-drm -lva-x11
-lva -lxcb -lxcb-shm -lxcb-xfixes -lxcb-shape -lX11 -lpulse -ljack
-lasound -lxvidcore -lx264 -lvpx -lvorbisenc -lvorbis -ltheoraenc
-ltheoradec -logg -lcrystalhd -lm -llzma -lbz2 -lz -ludev -pthread -ldl
-lfreetype -lmp3lame -lraw1394 -liec61883 -lavc1394 -lrom1394
-lmythbase-30 -lmyth-30 -lmythui-30 -lmythupnp-30
-lmythservicecontracts-30 -lmythavcodec -lmythavutil -lmythavformat
-lmythswresample -lexif -lpthread -lGL -lQt5OpenGL -lQt5Widgets -lQt5Gui
-lQt5Network -lQt5Sql -lQt5Xml -lQt5Core


make[2]: Leaving directory
'/builddir/build/BUILD/mythtv-master/mythplugins/mythgallery/mythgallery'
make[1]: Leaving directory
'/builddir/build/BUILD/mythtv-master/mythplugins/mythgallery'
error: Bad exit status from /var/tmp/rpm-tmp.Kj4Oin (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.Kj4Oin (%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 618,
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 6413162a9c204416b7d87457504de540 -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/mythtvmaster30pre341b.spec


The successful build has:

make[2]: Leaving directory
'/builddir/build/BUILD/mythtv-master/mythplugins/mythgallery/mythgallery'
make[1]: Leaving directory
'/builddir/build/BUILD/mythtv-master/mythplugins/mythgallery'
cd mythmusic/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile
/builddir/build/BUILD/mythtv-master/mythplugins/mythmusic/mythmusic.pro
QMAKE=/usr/bin/qmake-qt5 ) && make -f Makefile
make[1]: Entering directory
'/builddir/build/BUILD/mythtv-master/mythplugins/mythmusic'
cd mythmusic/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile
/builddir/build/BUILD/mythtv-master/mythplugins/mythmusic/mythmusic/mythmusic.pro
QMAKE=/usr/bin/qmake-qt5 ) && make -f Makefile
make[2]: Entering directory
'/builddir/build/BUILD/mythtv-master/mythplugins/mythmusic/mythmusic'
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: rpm fc26 build of master succeeds; with patches from #13186 it fails [ In reply to ]
Just in case my own longeraudiograph patch on mythplayer.cpp was
affecting things I tried again without it. The failure log Traceback
looks much the same.
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: rpm fc26 build of master succeeds; with patches from #13186 it fails [ In reply to ]
On 12/14/2017 06:42 PM, John Pilkington wrote:
> Just in case my own longeraudiograph patch on mythplayer.cpp was
> affecting things I tried again without it.  The failure log Traceback
> looks much the same.
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

Hi John

Thank you for trying this.

I tried building the plugins and you are correct, it fails. This is
because it is calling some utility functions in mythavutil and perhaps
others, using the now deprecated AVPicture. Those functions have already
been changed to expect an AVFrame instead of an AVPicture, so the
compile fails. I will sort that out as the next step.

In the meantime if you can compile without the plugins you may have more
success.

Peter
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: rpm fc26 build of master succeeds; with patches from #13186 it fails [ In reply to ]
On 15/12/17 00:58, Peter Bennett wrote:
>
>
> On 12/14/2017 06:42 PM, John Pilkington wrote:
>> Just in case my own longeraudiograph patch on mythplayer.cpp was
>> affecting things I tried again without it.  The failure log Traceback
>> looks much the same.


> Hi John
>
> Thank you for trying this.
>
> I tried building the plugins and you are correct, it fails. This is
> because it is calling some utility functions in mythavutil and perhaps
> others, using the now deprecated AVPicture. Those functions have already
> been changed to expect an AVFrame instead of an AVPicture, so the
> compile fails. I will sort that out as the next step.
>
> In the meantime if you can compile without the plugins you may have more
> success.
>
> Peter

Hi Peter: Thanks for the info. The rpmfusion specfile will be used
primarily to create their full set of packages, and although it appears
to have other options it seems that, understandably, they haven't all
been kept up-to-date. I might look harder at '--without plugins' - but
don't hold your breath.

Thanks for all your input to MythTV

John
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org