DevHeads.net

Postings by Martin Gansser

how to replace ssl with ssh2 in kqoauth

Is it possible to compile kQOAuth [1] with ssh2 by using openssl, as it always comes to conflict between compat-openssl10 and openssl.

libqxt-qt5: rename library name

Hi,

I noticed that if I installed the original libqxt version, it would come to a collision between the library names of libqxt-qt5 and libqxt, because they use the same library names.

<a href="https://martinkg.fedorapeople.org/Packages/GoldenCheetah/libqxt-qt5.spec" title="https://martinkg.fedorapeople.org/Packages/GoldenCheetah/libqxt-qt5.spec">https://martinkg.fedorapeople.org/Packages/GoldenCheetah/libqxt-qt5.spec</a>
<a href="https://martinkg.fedorapeople.org/Packages/GoldenCheetah/libqxt-qt5-0.7.0-0.4.20130718giteaf6872f6ad4.fc27.src.rpm" title="https://martinkg.fedorapeople.org/Packages/GoldenCheetah/libqxt-qt5-0.7.0-0.4.20130718giteaf6872f6ad4.fc27.src.rpm">https://martinkg.fedorapeople.org/Packages/GoldenCheetah/libqxt-qt5-0.7....</a>

How can i change the Target LIB_NAME of the libraries ?
libQxtCore.so.0.7.0 -> libQxtCore-qt5.so.0.7.0 ?
libQxtNetwork.so.0.7.0 -> libQxtNetwork-qt5.so.0.7.0
libQxtSql.so.0.7.0 -> libQxtSql-qt5.so.0.7.0
libQxtWeb.

git push fails for new packages

$ fedpkg clone nuvola-app-mixcloud; cd nuvola-app-mixcloud
$ fedpkg import ~/rpmbuild/SRPMS/nuvola-app-mixcloud-3.2-3.fc26.src.rpm
$ git commit -m "Initial import (#1478067)."

$[martin@f26 nuvola-app-mixcloud]$ git push -v
Pushing to ssh:// ... at pkgs dot fedoraproject.org/rpms/nuvola-app-mixcloud
FATAL: W any rpms/nuvola-app-mixcloud martinkg DENIED by fallthru
(or you mis-spelled the reponame)
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Settings widget still shows English text when system is configured to use other locales

I am working on a review of gnome-shell-extension-netspeed (<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1377631" title="https://bugzilla.redhat.com/show_bug.cgi?id=1377631">https://bugzilla.redhat.com/show_bug.cgi?id=1377631</a>).
I'm using the latest version of NetSpeed from the extensions website, with GNOME 3.22, on Fedora 25 Workstation x86_64 in a german environment (LANG=de_DE.UTF-8).

Does anyone have an idea, how to fix this ?

can't compile okhttp-3.6.0 - AndroidPlatform.java:[18, 20] package android.util does not exist

I tried to compile the new version 3.6.0 of okhttp, itook the rpm spec file from <a href="http://pkgs.fedoraproject.org/cgit/rpms/okhttp.git/tree/okhttp.spec" title="http://pkgs.fedoraproject.org/cgit/rpms/okhttp.git/tree/okhttp.spec">http://pkgs.fedoraproject.org/cgit/rpms/okhttp.git/tree/okhttp.spec</a>
and changed the version numbering.
my rpm spec file: <a href="https://martinkg.fedorapeople.org/Packages/okhttp3/okhttp-3.6.0.spec" title="https://martinkg.fedorapeople.org/Packages/okhttp3/okhttp-3.6.0.spec">https://martinkg.fedorapeople.org/Packages/okhttp3/okhttp-3.6.0.spec</a>

But the compilation fails with this errors:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project okhttp: Compilation failure: Compilation failure:
[ERROR] /home/martin/rpmbuild/BUILD/okhttp-parent-3.6.0/okhttp/src/main/java/okhttp3/internal/platform/AndroidPl

this is the working patch for the cmst.pro file:

--- cmst-5be4ce6f9a733e609cfcf37492f5c025f80d36c9/cmst.pro.orig 2017-03-02 20:47:34.985348086 +0100
+++ cmst-5be4ce6f9a733e609cfcf37492f5c025f80d36c9/cmst.pro 2017-03-02 20:48:10.965692212 +0100
@@ -56,7 +56,9 @@
# desktop file
desktop.path = /usr/share/applications
desktop.files = ./misc/desktop/cmst.desktop
-desktop.extra = gtk-update-icon-cache /usr/share/icons/hicolor
+!isEmpty(DESTDIR) {
+ desktop.extra = gtk-update-icon-cache /usr/share/icons/hicolor
+}
INSTALLS += desktop

# autostart desktop file

make: gtk-update-icon-cache: Command not found

the build of cmst fails on rawhide and f26 maybe on other version too.
<a href="https://kojipkgs.fedoraproject.org//work/tasks/4850/18134850/build.log" title="https://kojipkgs.fedoraproject.org//work/tasks/4850/18134850/build.log">https://kojipkgs.fedoraproject.org//work/tasks/4850/18134850/build.log</a>

for f26:
<a href="https://koji.fedoraproject.org/koji/taskinfo?taskID=18135093" title="https://koji.fedoraproject.org/koji/taskinfo?taskID=18135093">https://koji.fedoraproject.org/koji/taskinfo?taskID=18135093</a>

do someone know what the reason is ?

systemctl daemon-reload causes message "Failed to connect to bus: No such file or directory"

on fedora the build process of vdr-epg-daemon fails with this message:

make install-systemd
make[1]: Entering directory '/builddir/build/BUILD/vdr-epg-daemon-1.1.100'
cat contrib/epgd.service | sed s:"<BINDEST>":"/usr/bin":g | sed s:"<AFTER>":"mariadb.service":g | sed s:"<PLGDEST>":"/usr/lib64/epgd":g | install -C -D /dev/stdin /builddir/build/BUILDROOT/vdr-epg-daemon-1.1.100-1.fc26.x86_64/usr/lib/systemd/system/epgd.service
chmod a+r /builddir/build/BUILDROOT/vdr-epg-daemon-1.1.100-1.fc26.x86_64/usr/lib/systemd/system/epgd.service
cat contrib/epghttpd.service | sed s:"<BINDEST>":"/usr/bin":g

undefined reference to `sf::String::operator std::__cxx11::basic_string<char

Hi,

when compiling marsshooter on rawhide it fails with the following error message:
undefined reference to `sf::String::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'

This is the complete build.log
<a href="https://kojipkgs.fedoraproject.org//work/tasks/7032/17757032/build.log" title="https://kojipkgs.fedoraproject.org//work/tasks/7032/17757032/build.log">https://kojipkgs.fedoraproject.org//work/tasks/7032/17757032/build.log</a>

On Fedora 26 gcc-7.0.1 is installed.

have somebody a solution ?

MediathekView - java package optimization

Hi,

I am working on a rpm package for MediathekView and need some tips for optimizing the rpm spec file.

<a href="https://martinkg.fedorapeople.org/Packages/MediathekView/MediathekView.spec" title="https://martinkg.fedorapeople.org/Packages/MediathekView/MediathekView.spec">https://martinkg.fedorapeople.org/Packages/MediathekView/MediathekView.spec</a>
<a href="https://martinkg.fedorapeople.org/Packages/MediathekView/MediathekView-13.0.1-1.fc25.src.rpm" title="https://martinkg.fedorapeople.org/Packages/MediathekView/MediathekView-13.0.1-1.fc25.src.rpm">https://martinkg.fedorapeople.org/Packages/MediathekView/MediathekView-1...</a>

error: package javafx.collections does not exist

Hi,

I am trying to compile MSearch, a program needed by Mediathekview.
<a href="https://martinkg.fedorapeople.org/Packages/MediathekView/MSearch.spec" title="https://martinkg.fedorapeople.org/Packages/MediathekView/MSearch.spec">https://martinkg.fedorapeople.org/Packages/MediathekView/MSearch.spec</a>

dependencies: openjfx, i compiled the src.rpm file from:
<a href="https://jonny.fedorapeople.org/openjfx-8.0.152-3.b00.fc25.src.rpm" title="https://jonny.fedorapeople.org/openjfx-8.0.152-3.b00.fc25.src.rpm">https://jonny.fedorapeople.org/openjfx-8.0.152-3.b00.fc25.src.rpm</a>

When I try to compile msearch, I get the following error:
/home/martin/rpmbuild/BUILD/MSearch-3467040e54e31625425eb33dcd0f20a8da575dc4/src/main/java/mSearch/tool/SysMsg.java:22: error: package javafx.collections does not exist
import javafx.collections.FXCollections;
^
/home/martin/rpmbuild/BUILD/MSearch-34

ImportError: No module named kivy, when run make html

I am working on a review <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1416705" title="https://bugzilla.redhat.com/show_bug.cgi?id=1416705">https://bugzilla.redhat.com/show_bug.cgi?id=1416705</a>
and the build of the documentation fails with the following error message:

+ cd doc
+ make html
mkdir -p build/html build/doctrees
python autobuild.py silenced=yes
Traceback (most recent call last):
File "autobuild.py", line 22, in <module>
import kivy
ImportError: No module named kivy
Makefile:80: recipe for target 'html' failed
make: *** [html] Error 1
+ exit 0

how can i resolve this ?

update to libmicrohttpd-0.9.52-1.fc24.x86_64 breaks openvas-gsa-6.0.11-3.fc24.x86_64

Hi,

since the update to libmicrohttpd-0.9.52-1.fc24.x86_64 the log file /var/log/openvas/gsad.log of openvas-gsa prints the
following error:

gsad main:CRITICAL:2017-01-25 13h21.04 utc:2726: main: start_https_daemon failed!
gsad main: DEBUG:2017-01-25 13h21.04 utc:2727: Received Terminated signal.
gsad main:WARNING:2017-01-25 13h21.05 utc:2730: main: Locale defined by environment variables is not an "en_..." one.
gsad main: DEBUG:2017-01-25 13h21.05 utc:2730: main: gettext translation extensions are enabled (using locale "de_DE.UTF-8").

A fedora ticket has already been opened
<a href="https://bugzi" title="https://bugzi">https://bugzi</a>

packaging problem - rm: cannot remove ... Permission denied

Hi,

i want o create a rpm package of a small plugin for nuvolaplayer, but this fails with this error:

+ cd nuvola-app-spotify-1828d92b7e9412fba629b95b33ed63e819203dd3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dldLHl
+ umask 022
+ cd /home/martin/rpmbuild/BUILD
+ cd nuvola-app-spotify-1828d92b7e9412fba629b95b33ed63e819203dd3
+ /usr/bin/make -O -j2
make build - build files (graphics, etc.)
make clean - clean source directory
make install - install to user's local directory (~/.local)
make install DEST

Build of asgp failed since update to libclaw-1.7.4-16.fc25

See koji build: <a href="https://koji.fedoraproject.org/koji/taskinfo?taskID=17175933" title="https://koji.fedoraproject.org/koji/taskinfo?taskID=17175933">https://koji.fedoraproject.org/koji/taskinfo?taskID=17175933</a>

An update of libclaw had to be done because of a problem with mock, see
<a href="Https://lists.fedoraproject.org/archives/list/ ... at lists dot fedoraproject.org/thread/JKVA4N45H5U2VNZ5KALSP6QNNA44V6H3/" title="Https://lists.fedoraproject.org/archives/list/ ... at lists dot fedoraproject.org/thread/JKVA4N45H5U2VNZ5KALSP6QNNA44V6H3/">Https://lists.fedoraproject.org/archives/list/ ... at lists dot fedoraproject....</a>

error message:
[ 5%] Linking CXX executable ../../bin/andy-super-great-park
cd /home/martin/rpmbuild/BUILD/asgp-90d6d90e3196d387dc58f028a04e75af2281e513/asgp/launcher/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/andy-super-great-park.dir/link.txt --verbose=1
/usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-

program requires SELinux policy to write to ~/.cache directory

Hi,

i am the package maintainer of boomaga and users told me that there is a problem with access rights, when writing to ~/.cache directory.
A selinux package already exists for testing in: <a href="https://martinkg.fedorapeople.org/Review/test/boomaga/" title="https://martinkg.fedorapeople.org/Review/test/boomaga/">https://martinkg.fedorapeople.org/Review/test/boomaga/</a>
And a bugzilla bug report also exists: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1409115" title="https://bugzilla.redhat.com/show_bug.cgi?id=1409115">https://bugzilla.redhat.com/show_bug.cgi?id=1409115</a>
Bugreport on the boomaga developer site: <a href="https://github.com/Boomaga/boomaga/issues/43" title="https://github.com/Boomaga/boomaga/issues/43">https://github.com/Boomaga/boomaga/issues/43</a>

Can someone help to write the correct selinux rules ?