Your message dated Thu, 14 Sep 2017 22:44:24 -0300
with message-id <2399050.mvXUDI8C0e@luna>
and subject line File is present
has caused the Debian Bug report #825976,
regarding libqoauth-dev: Feature file (.prf) needed by qmake is missing
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
825976: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825976
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libqoauth-dev
Version: 1.0.1-2
Severity: important
Dear Maintainer,
This package seems to be missing an oauth.prf file, which qmake
would use to generate proper Makefiles.
libqca2-dev (another Qt "addon") provides a crypto.prf file, so
it can be used in Qt's .pro files with the CONFIG keyword:
https://packages.debian.org/sid/i386/libqca2-dev/filelist
OTOH, https://packages.debian.org/sid/i386/libqoauth-dev/filelist
does not provide such a file, but that file exists in distributions
like Mageia and Archlinux, and there, it allows using
"CONFIG += oauth" to autoconfigure several things in the Makefile.
This fails in Debian. qmake ignores the 'oauth' feature in the
CONFIG line of a .pro file, and therefore later compilation fails
due to invalid includes, or unspecified libraries during linkage.
The things that qmake would setup by reading oauth.prf.
For instance, Archlinux package provides oauth.prf (at the end of
https://www.archlinux.org/packages/community/i686/qoauth/files/),
and the file is present in QOAuth's git tree:
https://github.com/ayoy/qoauth/blob/master/oauth.prf
If I understand this correctly, the fix is just a matter of
including that text file in the package, and copying it in the
proper path, which I guess is:
/usr/share/qt4/mkspecs/features
(that's the one libqca2-dev uses, and that works)
* What led up to the situation?
Trying to build a Qt-based program which uses the QOAuth library.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Running qmake and make
* What was the outcome of this action?
make reported linking failure, because the "CONFIG += oauth"
directive in the .pro file was ignored, since the oauth.prf
file does not exist
(presumably in /usr/share/qt4/mkspecs/features).
* What outcome did you expect instead?
A successful build. The dependencies are there.
Instead, the .pro file can be tweaked to specify the exact
library name manually, but that's not how this is supposed
to work.
Thank you!
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 4.5.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libqoauth-dev depends on:
ii libqca2-dev 2.1.1-2
ii libqoauth1 1.0.1-2
libqoauth-dev recommends no packages.
libqoauth-dev suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 2.0.1~1-2
According to build logs this file is present since at least 2.0.1~1-2, so
closing.
--
...man had always assumed that he was more intelligent than dolphins because
he had achieved so much -- the wheel, New York, wars and so on -- whilst all
the dolphins had ever done was muck about in the water having a good time.
But conversely, the dolphins had always believed that they were far more
intelligent than man -- for precisely the same reasons.
Douglas Adams, "The hitchhikers' guide to the galaxy"
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
signature.asc
Description: This is a digitally signed message part.
--- End Message ---