Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] media-video/mkvtoolnix-7.3.0 fails to configure it seems
Date: Mon, 20 Jul 2015 23:01:34
Message-Id: 55AD7DB9.4010704@gmail.com
In Reply to: Re: [gentoo-user] media-video/mkvtoolnix-7.3.0 fails to configure it seems by Alec Ten Harmsel
1 Alec Ten Harmsel wrote:
2 >> On Jul 16, 2015, at 1:15 PM, Dale <rdalek1967@×××××.com> wrote:
3 >>
4 >> Anyone else running into this?
5 >>
6 >>
7 > No.
8 >
9 >> checking if linking against libMatroska works and if it requires
10 >> -DMATROSKA_DLL... yes, without -MATROSKA_DLL
11 >> checking for ZLIB... yes
12 >> checking for wx-config... /usr/lib64/wx/config/gtk2-unicode-3.0
13 >> checking for wxWidgets 2.8.0 or newer... 3.0.2 ok
14 >> checking for wxWidgets class wxBitmapComboBox... yes
15 >> checking for wxMenuBar member function SetMenuLabel... yes
16 >> checking for wxMenuItem member function SetItemlabel... yes
17 >> checking for moc-qt5... no
18 >> checking for moc... /usr/bin/moc
19 >> checking for the Qt version /usr/bin/moc uses... too old: 4.8.7
20 >>
21 >> !!! Please attach the following file when seeking support:
22 >> !!!
23 >> /var/tmp/portage/media-video/mkvtoolnix-7.3.0/work/mkvtoolnix-7.3.0/config.log
24 >> * ERROR: media-video/mkvtoolnix-7.3.0::gentoo failed (configure phase):
25 >> * econf failed
26 >> *
27 >> * Call stack:
28 >> * ebuild.sh, line 93: Called src_configure
29 >> * environment, line 3004: Called econf '--disable-debug'
30 >> '--enable-qt' '--enable-wxwidgets' '--disable-precompiled-headers'
31 >> '--with-wx-config=/usr/lib64/wx/config/gtk2-unicode-3.0'
32 >> '--disable-optimization' '--docdir=/usr/share/doc/mkvtoolnix-7.3.0'
33 >> '--with-boost=/usr' '--with-boost-libdir=/usr/lib64' '--without-curl'
34 >> * phase-helpers.sh, line 662: Called __helpers_die 'econf failed'
35 >> * isolated-functions.sh, line 117: Called die
36 >> * The specific snippet of code:
37 >> * die "$@"
38 >> *
39 >> * If you need support, post the output of `emerge --info
40 >> '=media-video/mkvtoolnix-7.3.0::gentoo'`,
41 >> * the complete build log and the output of `emerge -pqv
42 >> '=media-video/mkvtoolnix-7.3.0::gentoo'`.
43 >> * The complete build log is located at
44 >> '/var/tmp/portage/media-video/mkvtoolnix-7.3.0/temp/build.log'.
45 >> * The ebuild environment file is located at
46 >> '/var/tmp/portage/media-video/mkvtoolnix-7.3.0/temp/environment'.
47 >> * Working directory:
48 >> '/var/tmp/portage/media-video/mkvtoolnix-7.3.0/work/mkvtoolnix-7.3.0'
49 >> * S: '/var/tmp/portage/media-video/mkvtoolnix-7.3.0/work/mkvtoolnix-7.3.0'
50 >> root@fireball / #
51 >>
52 >>
53 >>
54 >> It appears that qtchooser is to old but the one I have is the only one
55 >> in the tree.
56 >>
57 >>
58 >>
59 >> root@fireball / # equery list -p dev-qt/qtchooser
60 >> * Searching for qtchooser in dev-qt ...
61 >> [IP-] [ ] dev-qt/qtchooser-0_p20150102:0
62 >> root@fireball / #
63 >>
64 >>
65 >> How can it be to old if it is the only one available? If it is checking
66 >> for qt in general, this is what I have installed.
67 >>
68 >>
69 >> root@fireball / # equery list qt*
70 >> * Searching for qt* ...
71 >> [IP-] [ ] dev-qt/qt3support-4.8.7:4
72 >> [IP-] [ ] dev-qt/qtchooser-0_p20150102:0
73 >> [IP-] [ ] dev-qt/qtcore-4.8.7:4
74 >> [IP-] [ ] dev-qt/qtcore-5.4.2:5
75 >> [IP-] [ ] dev-qt/qtdbus-4.8.7:4
76 >> [IP-] [ ] dev-qt/qtdbus-5.4.2:5
77 >> [IP-] [ ] dev-qt/qtdeclarative-4.8.7:4
78 >> [IP-] [ ] dev-qt/qtgui-4.8.7:4
79 >> [IP-] [ ] dev-qt/qtgui-5.4.2-r1:5
80 >> [IP-] [ ] dev-qt/qtmultimedia-4.8.7:4
81 >> [IP-] [ ] dev-qt/qtopengl-4.8.7:4
82 >> [IP-] [ ] dev-qt/qtscript-4.8.7:4
83 >> [IP-] [ ] dev-qt/qtsql-4.8.7:4
84 >> [IP-] [ ] dev-qt/qtsvg-4.8.7:4
85 >> [IP-] [ ] dev-qt/qttest-4.8.7:4
86 >> [IP-] [ ] dev-qt/qttranslations-4.8.7:4
87 >> [IP-] [ ] dev-qt/qtwebkit-4.8.7:4
88 >> [IP-] [ ] dev-qt/qtwidgets-5.4.2:5
89 >> [IP-] [ ] dev-qt/qtxmlpatterns-4.8.7:4
90 >> [IP-] [ ] media-libs/qt-gstreamer-1.2.0:0
91 >> [IP-] [ ] x11-libs/qtscriptgenerator-0.2.0:0
92 >> root@fireball / #
93 >>
94 >> There is some qt5 pulled in by something. So maybe it needs to notice I
95 >> have a newer version installed??
96 >>
97 >> Any way past this problem or just mask and wait for another update?
98 >> I've had this error for about a week now. I thought maybe I just caught
99 >> a bad sync or something. Found nothing with google or on the forums
100 >> either. It's picking on ME, again. lol
101 >>
102 >> Thanks.
103 >>
104 >> Dale
105 >>
106 >> :-) :-)
107 >>
108 >>
109 > It’s not picking up that you have Qt 5. I have not done a whole lot of work with Qt, but they install all their binaries into /usr/lib/qt$ver/bin (at least for Qt4), and everything in /usr/bin is just a symlink to qtchooser, which then launches the correct tool and version and stuff. This looks like an upstream bug, since they should test for “moc -qt=5”, not just “moc” and/or use qtchooser to determine the available version(s) of Qt (or whatever Qt’s recommended way is).
110 >
111 > The easiest way to deal this this right now as far as I can tell would be to disable the Qt gui and go with the wxWidgets gui. You could also build it manually.
112 >
113 > Alec
114 >
115
116
117 After some digging, I figured out how to work around this. Tell it not
118 to look for qt5 at all. I added this to the package.use file:
119
120 media-video/mkvtoolnix -qt5
121
122 With that, it looks for qt4 and doesn't look for qt5. I figure this
123 will break something in the future tho. It always seems to bite back
124 later. I like it when I get this:
125
126
127 root@fireball / # emerge -uvaDN world
128
129 These are the packages that would be merged, in order:
130
131 Calculating dependencies... done!
132
133 Total: 0 packages, Size of downloads: 0 KiB
134
135 Nothing to merge; quitting.
136
137 root@fireball / #
138
139
140
141 Dale
142
143 :-) :-)