unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: Guix-devel <guix-devel@gnu.org>
Subject: Need help for updating Qt to 5.12 - cmake link issue
Date: Wed, 30 Oct 2019 16:56:21 +0100	[thread overview]
Message-ID: <cf49f90e-3e6d-ce68-19bd-724355f18e9b@crazy-compilers.com> (raw)

Hi,

I'm stuck on updating QT to 5.12, which is q prerequisite for updating
KDE Framworks to a recent version.

For some of the packages - most of which seem to be rather new to Qt -
build fails since the linker does not find some libraries, e.g when
building qtgamepad:

g++: error: /gnu/store/…-qtgamepad-5.12.5/lib/libQt5Core.so: No such
file or directory

As you can see, this is libQt5core, but the linker want to load it from
the current packages output.

This kind of issues do not occur with most of the "older" packages. I
already tried to find some place to hook in - without success. Any hints?

Here is the package definition for the case one want to reproduce this.

(define-public qtgamepad
  (package (inherit qtsvg)
    (name "qtgamepad")
    (version "5.12.5")
    (source (origin
             (method url-fetch)
             (uri (string-append
"https://download.qt.io/official_releases/qt/"
                                 (version-major+minor version) "/" version
                                 "/submodules/" name "-everywhere-src-"
                                 version ".tar.xz"))
             (sha256
              (base32
               "0czdmmbjc6zpj213pwwgjh0h2awzmrgkqy5gl5a5vk7p8wfz126y"))))
    (arguments
     (substitute-keyword-arguments (package-arguments qtsvg)
       ((#:phases phases)
        `(modify-phases ,phases
           (add-after 'configure 'fail
             (lambda* (#:key outputs #:allow-other-keys)
               #t))))
       ((#:tests? _ #f) #f)))           ; TODO: Enable the tests
    (native-inputs
     `(("perl" ,perl)))
    (inputs
     `(("sdl2" ,sdl2)
       ("qtbase" ,qtbase)))
    (synopsis "x")
    (description "")))

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

             reply	other threads:[~2019-10-30 15:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-30 15:56 Hartmut Goebel [this message]
2019-10-31 16:34 ` Need help for updating Qt to 5.12 - cmake link issue Efraim Flashner
2019-11-01  9:39   ` Hartmut Goebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cf49f90e-3e6d-ce68-19bd-724355f18e9b@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).