unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tobias Alexandra Platen <guix@platen-software.de>
To: guix-devel@gnu.org
Subject: How to fix Git information file contains no revision
Date: Thu, 27 Jun 2024 19:43:53 +0200	[thread overview]
Message-ID: <002a55884f911f9644a988aeef2ffaff7e8dc215.camel@platen-software.de> (raw)

I'm trying to package wxformbuilder, the lastest stable
version. The programs seems do depend on version information
from git, so it does not build on the guix system.

CMake Warning at /tmp/guix-build-wxformbuilder-4.2.1.drv-
0/source/cmake/revision-git-properties.cmake:57 (message):
  Git information file contents unknown:
git.commit.id.abbrev=$Format:%h$

CMake Error at /tmp/guix-build-wxformbuilder-4.2.1.drv-
0/source/cmake/revision-git-properties.cmake:60 (message):
  Git information file contains no revision


(define-public wxformbuilder
  (package
    (name "wxformbuilder")
    (version "4.2.1")
    (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/wxFormBuilder/wxFormBuilder/")
              (commit "v4.2.1")
              (recursive? #t)))
        (file-name (git-file-name name version))
        (sha256 (base32
"0rax8hxfrvl3dl76p8a16ypidf7548vj5iw1yyk9c356ph6r2psn"))))
    (build-system cmake-build-system)
    ;;; guessed
    (inputs
     (list wxwidgets boost))
    (native-inputs
     (list pkg-config))
     ;;;; end of block
    (arguments (list #:configure-flags #~(list "")
                     #:tests? #f
                     #:build-type "Release"))
    (home-page "https://github.com/wxFormBuilder/wxFormBuilder/")
    (synopsis "GUI builder for the wxWidgets framework")
    (description "Code generation is supported for C++, Python, Lua and
PHP. Additionally, the import and export of XRC code is possible. To
support additional widgets, custom plugins can be used.")
    (license l:gpl2+)))





                 reply	other threads:[~2024-06-27 17:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=002a55884f911f9644a988aeef2ffaff7e8dc215.camel@platen-software.de \
    --to=guix@platen-software.de \
    --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).