https://bugzilla.redhat.com/show_bug.cgi?id=1568834
--- Comment #12 from Olivier LAHAYE <olivier.lahaye1(a)free.fr> ---
(In reply to Sergio Monteiro Basto from comment #7)
(In reply to Olivier LAHAYE from comment #5)
> Why do you patch test files while ENABLE_GUI_TESTS:BOOL exists in cmake
> files?
> -DENABLE_GUI_TESTS=OFF works.
what patches ?
What I mean is that I think that it is useless to remove by hand
tests that use
X11 (line 115, the bunch of sed) as I think that -DENABLE_GUI_TESTS=OFF is
sufficient
> What I did:
> %{cmake_kde4} \
> -DCUSTOM_PERL_SITE_ARCH_DIR=%{perl_vendorarch} \
> -DCMAKE_SKIP_RPATH=YES \
> -DENABLE_GUI_TESTS=YES \
> %if 0%{?el6}
> -DWITH_QScintilla=OFF \
> -DWITH_Qwt5=OFF \
> %endif
> %if !%{with perl_Qt_enables_x11_test}
> -DENABLE_GUI_TESTS=OFF \
> %endif
>
> Also add to fix the %licence which is broken on CentOS-6
> (
https://bugzilla.redhat.com/show_bug.cgi?id=1386639 not fixed in CentOS-6)
>
> %if ! 0%{?el6}
> %license LICENSE*
> %else
> %doc LICENSE*
> %endif
I have to check this , epel 6 I think it have %license macro
The %license macro exists in el6, but it seems buggy. I did hit this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1386639
So I used a workaround :-)
Bug 1st reported here:
https://bugs.mageia.org/show_bug.cgi?id=16818
> Whith those 2 modifications, the package builds fine with epel6
stadanrd
> packages (smokeqt-devel-4.7.3-6.3.x86_64 smokegen-devel-4.7.3-4.3.x86_64 ...)
Ah! you solved this node , I got on smokeqt-devel [1] in my copr repo [2] ,
you had also patched smokeqt ? what patch did you made ?
No I didn't patch smoke-qt. I 1st tried to use a more recent version as I
though it was the problem, but it turned out that the standard 4.7.3-6.3
version works.
DEBUG util.py:484: Error: No Package found for
pkgconfig(QtDeclarative)
DEBUG util.py:484: Error: No Package found for pkgconfig(qwt)
As you can see
above, I had to disable those 2 following options:
-DWITH_QScintilla=OFF \
-DWITH_Qwt5=OFF \
If those options are not disabled, it fails to build.
I didn't dig much into this as I only need basic perl-Qt4 for OSCAR Cluster
netbootmgr component, and in the end, the result is far better than nothing.
--
You are receiving this mail because:
You are on the CC list for the bug.