After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776523 - Ubuntu 16.04 buildfailure of mediainfo
Ubuntu 16.04 buildfailure of mediainfo
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-devtools
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-12-27 15:29 UTC by christophe vr
Modified: 2017-01-02 14:54 UTC
See Also:
GNOME target: ---
GNOME version: 3.17/3.18


Attachments
base build script works nice (834 bytes, application/x-shellscript)
2016-12-27 15:29 UTC, christophe vr
  Details
build of gst-devtools (667 bytes, application/x-shellscript)
2016-12-27 15:43 UTC, christophe vr
  Details
autogen output (2.87 KB, text/x-log)
2016-12-27 17:34 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
  Details
autogen output failed configuring (3.19 KB, text/plain)
2016-12-27 22:19 UTC, christophe vr
  Details
autogen where configure.ac modified to use gee-0.8 (3.04 KB, text/plain)
2016-12-27 22:27 UTC, christophe vr
  Details
proposed a change to gee-0.8 but still no configure (1.21 KB, patch)
2016-12-27 22:33 UTC, christophe vr
none Details | Review
last git master still no config (3.21 KB, text/plain)
2016-12-28 21:34 UTC, christophe vr
  Details
Build off mediainfo on ubuntu 16.04 (3.18 KB, patch)
2016-12-29 19:32 UTC, christophe vr
committed Details | Review

Description christophe vr 2016-12-27 15:29:30 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.
Comment 1 christophe vr 2016-12-27 15:42:52 UTC
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
Comment 2 christophe vr 2016-12-27 15:43:46 UTC
Created attachment 342503 [details]
build of gst-devtools
Comment 3 christophe vr 2016-12-27 15:50:03 UTC
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 ?
Comment 4 Stefan Sauer (gstreamer, gtkdoc dev) 2016-12-27 17:34:17 UTC
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.
Comment 5 Stefan Sauer (gstreamer, gtkdoc dev) 2016-12-27 17:34:49 UTC
Created attachment 342506 [details]
autogen output
Comment 6 christophe vr 2016-12-27 22:19:25 UTC
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
Comment 7 christophe vr 2016-12-27 22:27:09 UTC
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
Comment 8 christophe vr 2016-12-27 22:33:27 UTC
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.
Comment 9 christophe vr 2016-12-28 13:14:08 UTC
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
Comment 10 Stefan Sauer (gstreamer, gtkdoc dev) 2016-12-28 19:31:43 UTC
christophe, I made some changes, it should build better. Now checking your uploads.
Comment 11 Stefan Sauer (gstreamer, gtkdoc dev) 2016-12-28 19:36:58 UTC
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.
Comment 12 christophe vr 2016-12-28 21:34:12 UTC
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
Comment 13 christophe vr 2016-12-28 21:49:00 UTC
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
Comment 14 Stefan Sauer (gstreamer, gtkdoc dev) 2016-12-29 19:18:20 UTC
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.
Comment 15 christophe vr 2016-12-29 19:32:05 UTC
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 .
Comment 16 christophe vr 2016-12-29 19:45:25 UTC
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.
Comment 17 Stefan Sauer (gstreamer, gtkdoc dev) 2016-12-30 10:34:27 UTC
Review of attachment 342592 [details] [review]:

Can we split the intltool related changes into a 2nd patch?
Comment 18 Stefan Sauer (gstreamer, gtkdoc dev) 2016-12-30 10:34:41 UTC
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.
Comment 19 Stefan Sauer (gstreamer, gtkdoc dev) 2016-12-30 10:42:18 UTC
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.
Comment 20 Stefan Sauer (gstreamer, gtkdoc dev) 2016-12-30 10:55:44 UTC
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
Comment 21 christophe vr 2017-01-01 07:53:51 UTC
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
Comment 22 Stefan Sauer (gstreamer, gtkdoc dev) 2017-01-02 14:54:42 UTC
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 :/