all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: David Craven <david@craven.ch>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 05/31] gnu: extra-cmake-modules: Update to 5.24.0.
Date: Mon, 1 Aug 2016 22:19:10 +0200	[thread overview]
Message-ID: <20160801201910.GF6728@solar> (raw)
In-Reply-To: <20160801181342.16203-6-david@craven.ch>

On Mon, Aug 01, 2016 at 08:13:16PM +0200, David Craven wrote:
> From: Hartmut Goebel <h.goebel@crazy-compilers.com>
> * gnu/packages/kde-frameworks.scm: Update to 5.24.0.
> Co-authored-by: David Craven <david@craven.ch>

Now that you have taken over the project (and will probably end up modifying
the commits), and since you will do the final commits, I would do things the
other way round: Put yourself is the author, and add a "Co-authored-by" line
for Hartmut.

> -        (uri (string-append "http://download.kde.org/stable/frameworks/"
> +        (uri (string-append "mirror://kde/stable/frameworks/"
>                              (version-major+minor version) "/"
>                              name "-" version ".tar.xz"))

All modifications should either be done in separate patches, or at least be
mentioned in the commit log. Here the changing of the URL is not necessary
for the update, but probably does not warrant a separate commit (unless you
want to do it together with the introduction of the KDE mirrors, when you
could at the same time update the existing KDE packages). So you could add
a line:
[source]: Use mirror.

> +    (native-inputs
> +     `(("qtbase" ,qtbase)))    ; For tests (needs qmake)

This would also need to be mentioned in the commit message.

> +    (arguments `(#:tests? #f)) ; FIXME: All tests pass, but install fails after
> +                               ; running tests.

And hopefully, there should be a line:
[arguments]: Enable tests.
!

For the record, here is the output of the install phase:
starting phase `install'
/gnu/store/sac1fmc84cvqnrh577flhpb6arkyr922-cmake-3.3.2/bin/cmake -H/tmp/guix-build-extra-cmake-modules-5.24.0.drv-0/extra-cmake-modules-5.24.0 -B/tmp/guix-build-extra-cmake-modules-5.24.0.drv-0/build --check-build-system CMakeFiles/Makefile.cmake 0
/gnu/store/sac1fmc84cvqnrh577flhpb6arkyr922-cmake-3.3.2/bin/cmake -E cmake_progress_start /tmp/guix-build-extra-cmake-modules-5.24.0.drv-0/build/CMakeFiles /tmp/guix-build-extra-cmake-modules-5.24.0.drv-0/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/tmp/guix-build-extra-cmake-modules-5.24.0.drv-0/build'
make -f tests/ECMToolchainAndroidTest/CMakeFiles/dummy.dir/build.make tests/ECMToolchainAndroidTest/CMakeFiles/dummy.dir/depend
make[2]: Entering directory '/tmp/guix-build-extra-cmake-modules-5.24.0.drv-0/build'
tests/ECMToolchainAndroidTest/CMakeFiles/dummy.dir/build.make:52: CMakeFiles/dummy.dir/depend.make: No such file or directory
tests/ECMToolchainAndroidTest/CMakeFiles/dummy.dir/build.make:55: CMakeFiles/dummy.dir/progress.make: No such file or directory
tests/ECMToolchainAndroidTest/CMakeFiles/dummy.dir/build.make:58: CMakeFiles/dummy.dir/flags.make: No such file or directory
make[2]: *** No rule to make target 'CMakeFiles/dummy.dir/flags.make'.  Stop.
make[2]: Leaving directory '/tmp/guix-build-extra-cmake-modules-5.24.0.drv-0/build'
CMakeFiles/Makefile2:208: recipe for target 'tests/ECMToolchainAndroidTest/CMakeFiles/dummy.dir/all' failed
make[1]: *** [tests/ECMToolchainAndroidTest/CMakeFiles/dummy.dir/all] Error 2
make[1]: Leaving directory '/tmp/guix-build-extra-cmake-modules-5.24.0.drv-0/build'
Makefile:163: recipe for target 'all' failed
make: *** [all] Error 2

To me, this looks as if the tests created additional subdirectories, which
are now traversed during the install phase. One possible solution could be
to exchange the two phases.

I often take inspiration from Arch or Gentoo. In Arch:
   https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/extra-cmake-modules
There is a "-DBUILD_TESTING=OFF" flag, so apparently they do not test.

In Gentoo, I found this:
   https://gitweb.gentoo.org/proj/kde.git/commit/?id=f60141c0242b72efd3e80712e2c4cd024f1cffa8
The words "broken test" are suspicious.

In Linux From Scratch, for an older version of the package:
   http://www.linuxfromscratch.org/blfs/view/7.9/kde/extra-cmake-modules.html
"This package does not come with a test suite."

Andreas
 

  reply	other threads:[~2016-08-01 20:19 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-01 18:13 [PATCH 00/31] KDE Framework Tier1 Packages David Craven
2016-08-01 18:13 ` [PATCH 01/31] gnu: network-manager: Propagate GLIB David Craven
2016-08-01 19:48   ` Andreas Enge
2016-08-01 19:56     ` David Craven
2016-08-01 21:16       ` Andreas Enge
2016-08-01 18:13 ` [PATCH 02/31] download: Add KDE mirrors David Craven
2016-08-01 19:54   ` Andreas Enge
2016-08-02  9:55     ` Ludovic Courtès
2016-08-02 10:08       ` David Craven
2016-08-02 15:47         ` Leo Famulari
2016-08-02 15:52           ` David Craven
2016-08-02 16:27             ` Leo Famulari
2016-08-02 16:40               ` David Craven
2016-08-02 16:54                 ` David Craven
2016-08-01 18:13 ` [PATCH 03/31] gnu-maintenance: Add KDE updater David Craven
2016-08-02 10:02   ` Ludovic Courtès
2016-08-02 10:41     ` Andreas Enge
2016-08-02 12:42       ` Ludovic Courtès
2016-08-01 18:13 ` [PATCH 04/31] lint: 'inputs-should-be-native' checks for extra-cmake-modules and qttools David Craven
2016-08-01 21:22   ` Ludovic Courtès
2016-08-01 18:13 ` [PATCH 05/31] gnu: extra-cmake-modules: Update to 5.24.0 David Craven
2016-08-01 20:19   ` Andreas Enge [this message]
2016-08-01 18:13 ` [PATCH 06/31] gnu: kwindowsystem: " David Craven
2016-08-01 21:10   ` Andreas Enge
2016-08-01 22:17     ` Andreas Enge
2016-08-01 22:21       ` David Craven
2016-08-01 22:28         ` David Craven
2016-08-01 22:51           ` David Craven
2016-08-02 17:36             ` David Craven
2016-08-02 21:31               ` Ludovic Courtès
2016-08-03 14:08                 ` David Craven
2016-08-05 14:36                   ` David Craven
2016-08-05 18:21                     ` Andreas Enge
2016-08-05 18:23                     ` Andreas Enge
2016-08-05 19:38                   ` Andreas Enge
2016-08-05 19:51                     ` David Craven
2016-08-01 18:13 ` [PATCH 07/31] gnu: oxygen-icons: " David Craven
2016-08-01 18:13 ` [PATCH 08/31] gnu: kde-frameworks: Remove kde-frameworks-version David Craven
2016-08-01 19:57   ` Andreas Enge
2016-08-01 20:00     ` David Craven
2016-08-01 21:17       ` Andreas Enge
2016-08-02 11:55         ` David Craven
2016-08-02 11:57           ` David Craven
2016-08-02 12:15             ` Andreas Enge
2016-08-02 12:44             ` Ludovic Courtès
2016-08-02 12:50               ` David Craven
2016-08-01 19:58   ` Andreas Enge
2016-08-02 12:33   ` Ludovic Courtès
2016-08-01 18:13 ` [PATCH 09/31] gnu: kde-frameworks: Add attica David Craven
2016-08-01 18:13 ` [PATCH 10/31] gnu: kde-frameworks: Add bluez-qt David Craven
2016-08-01 18:13 ` [PATCH 11/31] gnu: kde-frameworks: Add breeze-icons David Craven
2016-08-01 18:13 ` [PATCH 12/31] gnu: kde-frameworks: Add kapidox David Craven
2016-08-01 18:13 ` [PATCH 13/31] gnu: kde-frameworks: Add karchive David Craven
2016-08-01 18:13 ` [PATCH 14/31] gnu: kde-frameworks: Add kcodecs David Craven
2016-08-01 18:13 ` [PATCH 15/31] gnu: kde-frameworks: Add kconfig David Craven
2016-08-01 18:13 ` [PATCH 16/31] gnu: kde-frameworks: Add kcoreaddons David Craven
2016-08-01 18:13 ` [PATCH 17/31] gnu: kde-frameworks: Add kdbusaddons David Craven
2016-08-01 18:13 ` [PATCH 18/31] gnu: kde-frameworks: Add kdnssd David Craven
2016-08-01 18:13 ` [PATCH 19/31] gnu: kde-frameworks: Add kguiaddons David Craven
2016-08-01 18:13 ` [PATCH 20/31] gnu: kde-frameworks: Add ki18n David Craven
2016-08-01 18:13 ` [PATCH 21/31] gnu: kde-frameworks: Add kidletime David Craven
2016-08-01 18:13 ` [PATCH 22/31] gnu: kde-frameworks: Add kitemmodels David Craven
2016-08-01 18:13 ` [PATCH 23/31] gnu: kde-frameworks: Add kitemviews David Craven
2016-08-01 18:13 ` [PATCH 24/31] gnu: kde-frameworks: Add kplotting David Craven
2016-08-01 18:13 ` [PATCH 25/31] gnu: kde-frameworks: Add kwayland David Craven
2016-08-01 18:13 ` [PATCH 26/31] gnu: kde-frameworks: Add kwidgetsaddons David Craven
2016-08-01 18:13 ` [PATCH 27/31] gnu: kde-frameworks: Add modemmanager-qt David Craven
2016-08-01 18:13 ` [PATCH 28/31] gnu: kde-frameworks: Add networkmanager-qt David Craven
2016-08-01 18:13 ` [PATCH 29/31] gnu: kde-frameworks: Add solid David Craven
2016-08-01 18:13 ` [PATCH 30/31] gnu: kde-frameworks: Add sonnet David Craven
2016-08-01 18:13 ` [PATCH 31/31] gnu: kde-frameworks: Add threadweaver David Craven
2016-08-01 19:44 ` [PATCH 00/31] KDE Framework Tier1 Packages Andreas Enge
2016-08-01 21:21 ` Ludovic Courtès

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

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

  git send-email \
    --in-reply-to=20160801201910.GF6728@solar \
    --to=andreas@enge.fr \
    --cc=david@craven.ch \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.