GNOME Bugzilla – Bug 776523
Ubuntu 16.04 buildfailure of mediainfo
Last modified: 2017-01-02 14:54:42 UTC
Created attachment 342501 [details] base build script works nice On ubuntu 16.04 all of gstreamer does build ok but not gst-devtools mediainfo . codec anilizer and validate does build ok. To avoid problems with distro ubuntu included gstreamer , install is done by me on seperate harddrive. so the gstreamer is build to be used out off a prefix called /media/build/usr (build is actually the extra drive mountpoint) . When building gstreamer I just use clone all the master gits to my standard ~/ dir in a map GIT/GSTREAMER/UBUNTU1604/gst . There all the modules inclusif common are cloned. To build I use a script located in GIT/GSTREAMER/UBUNTU1604 . well since I left /media/build/usr to owner root I just used a trick to use sudo for the install pfase only. Script included , gstreamer build fine all works nice (if of course first use export PATH=/media/build/usr/bin:$PATH before running gst-play-1.0 or gst-launch-1.0 or ...) build script gstreamer included all ok.
But now the gst-devtools for that I use another script the base clone is also into my map GIT/GSTREAMER/UBUNTU1604/gst For that I use another script : included here But first when building the -m (mediainfo) it failed up on missing libgee-1.0. But ubuntu does have libgee-0.8 and that susperseeds libgee-1.0 or actually gee-0.8 is a higher version then gee-1.0 (in despit the fact that they did not used gee-1.0) actually the gee-1.0 was a hack on gee-0.6 version from earlier called gee-1.0 as far I could look up. So I corrected the configure ac lines : pkg_modules="gee-1.0 gtk+-3.0 >= 3.0.0 gstreamer-1.0 >= 1.1.0 gstreamer-plugins-base-1.0 >= 1.1.0 gstreamer-pbutils-1.0 >= 1.1.0 gstreamer-video-1.0 >= 1.1.0" MI_PACKAGES="--pkg gee-1.0 --pkg gtk+-3.0 --pkg gdk-x11-3.0 --pkg gstreamer-1.0 --pkg gstreamer-pbutils-1.0 --pkg gstreamer-video-1.0" to : pkg_modules="gee-0.8 gtk+-3.0 >= 3.0.0 gstreamer-1.0 >= 1.1.0 gstreamer-plugins-base-1.0 >= 1.1.0 gstreamer-pbutils-1.0 >= 1.1.0 gstreamer-video-1.0 >= 1.1.0" MI_PACKAGES="--pkg gee-0.8 --pkg gtk+-3.0 --pkg gdk-x11-3.0 --pkg gstreamer-1.0 --pkg gstreamer-pbutils-1.0 --pkg gstreamer-video-1.0" But mediainfo still does not build error msg checking that generated files are newer than configure... done configure: creating ./config.status autoreconf: running: ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: error: cannot find input file: `po/Makefile.in.in' autoreconf: ./config.status failed with exit status: 1
Created attachment 342503 [details] build of gst-devtools
ter info when building the gst-devtools it also uses 'po/Makefile.in.in' but there it is created during configure phase by intltools so why does it not when building mediainfo ?
christophe, could you please attach changes as patches? configure works for me (ubuntu 14.04.5 LTS), see attached log. there are deprecation warnings, which I'll take care of in the next days.
Created attachment 342506 [details] autogen output
Created attachment 342510 [details] autogen output failed configuring Here the ./autogen --prefix /media/build/usr output first unchanged on ubuntu 16.04 there is no gee-1.0 that is not existing package , it is replaced by gst-0.8 which actually is a higher version then the old gee-1.0
Created attachment 342511 [details] autogen where configure.ac modified to use gee-0.8 here the link about gee version it's from ubuntu I found it on a place where is told that libgee2 which was a patched gee0.6x version named gee-1.0 is removed. https://launchpad.net/ubuntu/xenial/amd64/libgee2
Created attachment 342512 [details] [review] proposed a change to gee-0.8 but still no configure Here what a patch of what I changed to use gee-0.8 but still no configuring there is more to do but can't find what.
Hi Stefan I think it's just that the introspection must be added to the mediainfo build, adding the common like is done by validate. and then just change the configure ac like in my patch to use gee-0.8
christophe, I made some changes, it should build better. Now checking your uploads.
On ubuntu 14.04: $ dpkg -S /usr/lib/x86_64-linux-gnu/pkgconfig/gee-1.0.pc libgee-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/gee-1.0.pc $ apt-cache show libgee-dev Package: libgee-dev Source: libgee Version: 0.6.8-1ubuntu1 Installed-Size: 326 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> ... I'll can change configure to test both. When you changed it to 0.8 what issue did you run into? It would only make sense for me to change it if that makes it build.
Created attachment 342555 [details] last git master still no config with last changes on ubuntu 16.04 no configuring off mediainfo please note You're still using a non existent gee-1.0 . That package was wrong has been removed out off debian and ubuntu . read the link about this I posted before. The gee is now gee-0.8 which is a higher version then the gee-1.0 (which does not exist on ubuntu 16.04 or on debian systems anymore) only on soon deprecated debian and ubuntu versions
extra info current libee versio much higher 0.18.x (instead of 0.6.x apt-cache show libgee-0.8-dev Package: libgee-0.8-dev Priority: optional Section: libdevel Installed-Size: 638 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Maintainers of Vala packages <pkg-vala-maintainers@lists.alioth.debian.org> Architecture: amd64 Source: libgee-0.8 Version: 0.18.0-1 Depends: libgee-0.8-2 (= 0.18.0-1), gir1.2-gee-0.8 (= 0.18.0-1), libglib2.0-dev (>= 2.36) Filename: pool/main/libg/libgee-0.8/libgee-0.8-dev_0.18.0-1_amd64.deb
I understood the version change, but since I am on 14.04 I can't test this yet and I was asking you to let me know if changing it to 0.8 makes it work.
Created attachment 342592 [details] [review] Build off mediainfo on ubuntu 16.04 I just made a patch now mediainfo does build on ubuntu 16.04 needed to add extra intltoolize run .
p.s. it also works :-) But the problem is that line gee-0-8 (which is much more advanced and a much higher version then the gee-1.0 by ubuntu 14.04 ) same is for debian systems. will brake build on 14.04 so how to solve that is a question.
Review of attachment 342592 [details] [review]: Can we split the intltool related changes into a 2nd patch?
More complicated :/ I actually also have a gee-0.8, but it seems to be different to yours: > dpkg -S /usr/lib/x86_64-linux-gnu/pkgconfig/gee-0.8.pc libgee-0.8-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/gee-0.8.pc > apt-cache show libgee-0.8-dev Package: libgee-0.8-dev Source: libgee-0.8 Version: 0.10.5-1ubuntu1 Installed-Size: 519 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Maintainers of Vala packages <pkg-vala-maintainers@lists.alioth.debian.org> Architecture: amd64 Depends: libgee-0.8-2 (= 0.10.5-1ubuntu1), gir1.2-gee-0.8 (= 0.10.5-1ubuntu1), libglib2.0-dev (>= 2.12.0) > dpkg -S /usr/lib/x86_64-linux-gnu/pkgconfig/gee-1.0.pc libgee-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/gee-1.0.pc > apt-cache show libgee-dev Package: libgee-dev Source: libgee Version: 0.6.8-1ubuntu1 Installed-Size: 326 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Maintainers of Vala packages <pkg-vala-maintainers@lists.alioth.debian.org> Architecture: amd64 Depends: libgee2 (= 0.6.8-1ubuntu1), gir1.2-gee-1.0 (= 0.6.8-1ubuntu1), libglib2.0-dev (>= 2.12.0) but if I try to build again 0.8, I get lots of build issues. The API seems to be different. Not sure why it built for you. https://gist.github.com/ensonic/dfcce79cabedbe2e7c5050ac58ee3773 I'll see if I can make it build against 0.8 and hope that this is the same API that you have with 0.8.
Ignore my last comment. I had to do a make clean. I'll push the 1.0 -> 0.8 change and if you rebase and then try your intltool patch.
Thanks for your help. I rebased your patch and updated the commit message. Please reopen if there are still issues. commit 1a27ff33f9f93844d18ea6f2dcb37bcab8f89a10 Author: christophecvr <stefansat@telenet.be> Date: Fri Dec 30 11:53:13 2016 +0100 mediainfo: update build setup Fix intltool build setup to make it build on ubuntu 16.04 as well. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=776523
Hi happy new Year, Just tested the last git with the changes tools are building ok now on ubuntu 16.04 . Hpe you can find a solution to that Table which is deprecated since gnome 3.4 (till 3.8 it still works ok) but I'm afk that there is a risk it will be gone in future versions. I'm dunno why but suspect that that is one of the reasons that vlc is not using gtk anymore . The gnome3 team make it all almost unusable into a desktop
Happy new year to you too, thanks for re-testing and for your patches. I'll replace the table in the next days, got a cold in the last two days :/