bug#67651: [gnome-team] What should we do with the "gnome" package?

2023-12-05 Thread Vivien Kraus via Bug reports for GNU Guix
Dear guix,

On the one hand, we have this list of packages:
https://ftp2.nluug.nl/windowing/gnome/teams/releng/44.6/versions

On the other hand, we have the propagated-inputs of the gnome package.

Should we update the latter so that it contains everything from the
former? What should we do about the comments dividing the propagated-
inputs into categories? Where do these categories come from? Should we
preserve them? How do we know which package goes to which category?

The gnome package disables eog on 32-bit machines because it depends on
librsvg-next. It seems a bit outdated to me, as most of gnome won’t
work on 32-bit machines, not only eog. Should we try and find which
ones work on 32-bit systems?

Best regards,

Vivien





bug#67649: shepherd: (shepherd support) is visible for start GEXP

2023-12-05 Thread Attila Lendvai
the facts:
--

start GEXP's of services are loaded into unnamed modules. the definitions from 
(shepherd support) are visible in these unnamed modules. see the attached 
rerpoducer.

it can be run with:

$(guix system --no-graphic vm reproducer.scm)

and in the VM (must use fold, because it's a dumb terminal):

cat /var/log/messages | fold -150

and observe that (shepherd support) is listed.


questions:
--

is this indended? i.e. part of the shepherd API?

if not, then this is probably a bug. looking at the public definitions in 
(shepherd support), it's not obvious that those are meant to be available for 
the users of shepherd. either way, this should probably be documented with at 
least a comment at the top of the file.

if this is intended, then where is this module imported? i looked all around, 
and i can't seem to find what mechanism imports this support module into the 
unnamed module that are used for the GEXPs.


my ultimate issue:
--

my service code has conflicting definitions with (shepherd support), and i need 
to know the intent in the shepherd API to decide on the proper fix.

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“Tact is a skill that can turn brutal honesty into just honesty. It's a skill 
that develops with practice, and one that's harder to use when emotions are 
running high. But you can't go towards someone with a verbal fist and expect a 
hug in return. When method matches intention, outcomes are much more peaceful.”
— Doe Zantamata
;; Run with something like this:
;; $(guix system --no-graphic vm reproducer.scm)

(define-module (reproducer)
  #:use-module (gnu system)
  #:use-module (gnu system shadow)
  #:use-module (gnu system nss)
  #:use-module (gnu system vm)
  #:use-module (gnu tests)
  #:use-module (gnu services)
  #:use-module (gnu services base)
  #:use-module (gnu services dbus)
  #:use-module (gnu services shepherd)
  #:use-module (gnu packages admin)
  #:use-module (gnu packages base)
  #:use-module (gnu packages bash)
  #:use-module (gnu packages certs)
  #:use-module (gnu packages package-management)
  #:use-module (gnu packages linux)
  #:use-module (guix gexp)
  #:use-module (guix git)
  #:use-module (guix git-download)
  #:use-module (guix store)
  #:use-module (guix modules)
  #:use-module (guix packages)
  #:use-module (srfi srfi-1)
  #:use-module (ice-9 match))

(operating-system
  (inherit %simple-os)
  (services
   (cons*
(simple-service
 'reproducer
 shepherd-root-service-type
 (list
  (shepherd-service
   (requirement '(file-systems))
   (provision '(reproducer))
   (documentation "")
   (start
#~(begin
(lambda _
  (format #t "*** reproducer gexp speaking, \
current module: ~A, \
module-uses: ~A, \
ringbuffer: ~A~%"
  (current-module)
  (module-uses (current-module))
  (and=> (module-variable (current-module) 'ring-buffer) variable-ref))
  0))
%base-services)))


bug#67632: [PATCH 1/2] gnu: Add static-abseil-cpp-20220623.1.

2023-12-05 Thread Greg Hogan
* gnu/packages/cpp.scm (static-abseil-cpp-20220623.1): New variable.
(make-static-abseil-cpp): Parameterize base.

Change-Id: I9667914de031f431524bf195818e8d2f316e8553
---
 gnu/packages/cpp.scm | 20 +++-
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index f7549cb22a..c451033287 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1320,15 +1320,14 @@ (define (abseil-cpp-for-c++-standard base version)
(number->string version))
   #$flags)))
 
-(define (make-static-abseil-cpp version)
-  (let ((base abseil-cpp))
-(hidden-package
- (package/inherit base
-   (arguments
-(substitute-keyword-arguments (package-arguments base)
-  ((#:configure-flags flags)
-   #~(cons* "-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
-(delete "-DBUILD_SHARED_LIBS=ON" #$flags)
+(define (make-static-abseil-cpp base)
+  (hidden-package
+   (package/inherit base
+ (arguments
+  (substitute-keyword-arguments (package-arguments base)
+((#:configure-flags flags)
+ #~(cons* "-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
+  (delete "-DBUILD_SHARED_LIBS=ON" #$flags
 
 (define-public abseil-cpp-cxxstd17
   (abseil-cpp-for-c++-standard abseil-cpp 17))  ;XXX: the default with GCC 11?
@@ -1339,6 +1338,9 @@ (define-public abseil-cpp-cxxstd11
 (define-public static-abseil-cpp
   (make-static-abseil-cpp abseil-cpp))
 
+(define-public static-abseil-cpp-20220623.1
+  (make-static-abseil-cpp abseil-cpp-20220623.1))
+
 (define-public pegtl
   (package
 (name "pegtl")

-- 
2.40.1






bug#67632: [PATCH 2/2] gnu: python-dm-tree: Pin abseil-cpp version.

2023-12-05 Thread Greg Hogan
* gnu/packages/python-xyz.scm (python-dm-tree)[inputs]: Replace
static-abseil-cpp with static-abseil-cpp-20220623.1.

Change-Id: Ia83175c266eeea5bab9dac4282e39d9f71b06052
---
 gnu/packages/python-xyz.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9f458196fa..9b3c917e7a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5890,7 +5890,7 @@ (define-public python-dm-tree
 ;; We link the static abseil libraries here to avoid problems in
 ;; downstream libraries using potentially different variants of
 ;; abseil-cpp.  This is also what's done in the upstream CMake build.
-(inputs (list pybind11 static-abseil-cpp python))
+(inputs (list pybind11 static-abseil-cpp-20220623.1 python))
 (propagated-inputs (list python-wheel
  python-absl-py
  python-attrs
-- 
2.40.1






bug#67042: ecl-cl-pcg fails to build due to a flaky test (was: Re: bug#67042: ecl-seedable-rng recently broken)

2023-12-05 Thread Guillaume Le Vaillant
Tests for ecl-cl-pcg disabled in
9a4a480f8d51da8bf25b61a98e1092a6cd6f76ee.
Closing.


signature.asc
Description: PGP signature