GNU bug report logs - #46603
[PATCH 1/1] gnu: Add camlidl

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Wed, 17 Feb 2021 22:57:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46603 in the body.
You can then email your comments to 46603 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#46603; Package guix-patches. (Wed, 17 Feb 2021 22:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 17 Feb 2021 22:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH 1/1] gnu: Add camlidl
Date: Wed, 17 Feb 2021 22:56:16 +0000
[Message part 1 (text/plain, inline)]
Hi Guix team!

I've got some extra packages to extend build of plplot (similar like
in Debian project
https://salsa.debian.org/science-team/plplot/-/blob/master/debian/control)

Related issues:
- https://issues.guix.gnu.org/46160
- https://issues.guix.gnu.org/46497

Workflow:
- https://github.com/Hellseher/guix-patches/blob/main/astronomy.org

--
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.
[0001-gnu-Add-camlidl.patch (text/x-patch, attachment)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 06 Apr 2021 21:59:01 GMT) Full text and rfc822 format available.

Notification sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
bug acknowledged by developer. (Tue, 06 Apr 2021 21:59:02 GMT) Full text and rfc822 format available.

Message #10 received at 46603-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 46603-done <at> debbugs.gnu.org
Subject: Re: bug#46603: [PATCH 1/1] gnu: Add camlidl
Date: Tue, 06 Apr 2021 23:58:13 +0200
[Message part 1 (text/plain, inline)]
Hi Sharlatan,

Sharlatan Hellseher <sharlatanus <at> gmail.com> skribis:

> From ce12e3783ad0e63a73a7ddc3471a0c82083b6283 Mon Sep 17 00:00:00 2001
> From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
> Date: Wed, 17 Feb 2021 22:45:08 +0000
> Subject: [PATCH] gnu: Add camlidl
>
> * gnu/packages/ocaml.scm (camlidl): New variable.

Applied with the minor changes below.  Thanks!

Ludo’.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 82a2aac812..0948377d08 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -478,7 +478,8 @@ for building OCaml library and programs.")
              (url "https://github.com/xavierleroy/camlidl")
              (commit "camlidl109")))
        (sha256
-        (base32 "0zrkaq7fk23b2b9vg6jwdjx7l0hdqp4synbbrw1zcg8gjf6n3c80"))))
+        (base32 "0zrkaq7fk23b2b9vg6jwdjx7l0hdqp4synbbrw1zcg8gjf6n3c80"))
+       (file-name (git-file-name name version))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f ;; No test suite
@@ -493,10 +494,10 @@ for building OCaml library and programs.")
          (delete 'configure)
          (replace 'build
            (lambda _
-             (let* ((cores  (parallel-job-count))
-                    (dash-j (format #f "-j~a" cores)))
-               (copy-file "config/Makefile.unix" "config/Makefile")
-               (invoke "make" dash-j "all"))
+             (copy-file "config/Makefile.unix" "config/Makefile")
+             ;; Note: do not pass '-jN' as this appears to not be
+             ;; parallel-safe (race condition related to libcamlidl.a).
+             (invoke "make" "all")
              #t))
          (add-before 'install 'create-target-directories
            (lambda* (#:key outputs #:allow-other-keys)

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 May 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 357 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.