[kde-freebsd] [plasma5] help request with (own) broken ports

Ramiro Caso ramirocaso08 at gmail.com
Wed Dec 23 17:34:45 UTC 2015


Hi all,

I've been doing some porting in the past few weeks, and was planing to 
do some more, and everything seemed to work ok, but since two weeks ago 
(I think) all QT5 ports I made fail at package, while they did not 
before. The intended ports where:

- net/qoauth-qt5
- finance/alkimia-kf5

to be able to build:

- editors/kile-kf5
- finance/kmymoney-kf5
- graphics/dspdfviewer
- www/choqok-kf5

and as many as I can port (currently, some of the kde4 versions conflict 
with kdepim-kf5 or with something else in plasma5/kf5/kde5, so it's 
worth the effort, for me at least, since I used to use them quite 
regularly).

So, if someone could help me, I would very much appreciate it. Just to 
take the intended net/qoauth-qt5 port, at stage, files are placed under 
/usr/local/WHATEVER (e.g., include, lib):

install -m 755 -p ../lib/libqoauth.so.2.0.1 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/usr/local/lib/libqoauth.so.2.0.1
install -m 644 -p ../lib/libqoauth.prl 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/usr/local/lib/libqoauth.prl
install -m 644 -p 
/wrkdirs/usr/ports/net/qoauth-qt5/work/qoauth/src/qoauth_global.h 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/usr/local/include/QtOAuth/
install -m 644 -p 
/wrkdirs/usr/ports/net/qoauth-qt5/work/qoauth/src/qoauth_namespace.h 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/usr/local/include/QtOAuth/
install -m 644 -p 
/wrkdirs/usr/ports/net/qoauth-qt5/work/qoauth/src/interface.h 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/usr/local/include/QtOAuth/
install -m 644 -p 
/wrkdirs/usr/ports/net/qoauth-qt5/work/qoauth/include/QtOAuth 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/usr/local/include/QtOAuth/
install -m 644 -p 
/wrkdirs/usr/ports/net/qoauth-qt5/work/qoauth/src/qoauth.pc 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/usr/local/lib/pkgconfig/
install -m 644 -p 
/wrkdirs/usr/ports/net/qoauth-qt5/work/qoauth/oauth.prf 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/usr/local/lib/qt5/mkspecs/features/

But at package, the "usr/local" prefix just seems to disappear, and 
%%QT_LIBDIR%% seems to be set simply to "lib":

pkg-static: Unable to access file 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/include/QtOAuth/QtOAuth: No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/include/QtOAuth/interface.h: No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/include/QtOAuth/qoauth_global.h: 
No such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/include/QtOAuth/qoauth_namespace.h: 
No such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/lib/libqoauth.prl: No such 
file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/lib/libqoauth.so: No such 
file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/lib/libqoauth.so.2: No such 
file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/lib/libqoauth.so.2.0: No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/lib/libqoauth.so.2.0.1: No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/lib/pkgconfig/qoauth.pc: No 
such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/net/qoauth-qt5/work/stage/lib/qt5/mkspecs/features/oauth.prf: 
No such file or directory

I haven't changed neither the pkg-plist file nor the Makefile, which 
used to work before. (I copy the contents of pkg-plist:

include/QtOAuth/QtOAuth
include/QtOAuth/interface.h
include/QtOAuth/qoauth_global.h
include/QtOAuth/qoauth_namespace.h
%%QT_LIBDIR%%/%%QT_LIBDIR%%qoauth.prl
%%QT_LIBDIR%%/%%QT_LIBDIR%%qoauth.so
%%QT_LIBDIR%%/%%QT_LIBDIR%%qoauth.so.2
%%QT_LIBDIR%%/%%QT_LIBDIR%%qoauth.so.2.0
%%QT_LIBDIR%%/%%QT_LIBDIR%%qoauth.so.2.0.1
%%QT_LIBDIR%%/pkgconfig/qoauth.pc
%%QT_MKSPECDIR%%/features/oauth.prf
)

It seems to me that there where modifications in the files under Mk or 
Mk/Uses that are causing this, but my understanding is limited, so I'm 
not getting what the solution is supposed to be.

Thanks in advance,
Ramiro


More information about the kde-freebsd mailing list