bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52684: [BUG] Multiple Packages Failing to Build


From: zimoun
Subject: bug#52684: [BUG] Multiple Packages Failing to Build
Date: Tue, 21 Dec 2021 01:36:53 +0100

Hi,

Thanks for your report.  It is collateral issue of recent core-updates
merge which major updates.  Almost was fine, except sparse packages
which seem broken.

The commit merging core-updates is 6dffced09e (where the one you mention
2c469f0 is a direct descendant), so the 2 parents are: b603554ed0 (old
master) and e3196755e6 (major updates).  Let compare availability:

--8<---------------cut here---------------start------------->8---
$ guix time-machine --commit=b603554ed0 -- weather apl beets-bandcamp frotz 
nomad passwordsafe
calcul de 5 dérivations de paquets pour x86_64-linux…
recherche de 5 éléments du dépôt sur https://ci.guix.gnu.org...
https://ci.guix.gnu.org
  100.0 % des substituts sont disponibles (5 sur 5)
  au moins 8,7 Mo de fichiers nar (compressés)
  11,0 Mo sur le disque (décompressé)
  0,161 secondes par requête (0,3 secondes en tout)
  6,2 requêtes par seconde

  au moins 1 000 constructions dans la queue
      aarch64-linux : 836 (83.6 %)
      i686-linux : 56 (5.6 %)
      x86_64-linux : 75 (7.5 %)
      powerpc64le-linux : 33 (3.3 %)
  vitesse de construction : .00 constructions par l'heure
      i686-linux : 0.00 constructions par heure
      x86_64-linux : 0.00 constructions par heure
recherche de 5 éléments du dépôt sur https://bordeaux.guix.gnu.org...
https://bordeaux.guix.gnu.org
  100.0 % des substituts sont disponibles (5 sur 5)
  2,5 Mo de fichiers nar (compressés)
  11,0 Mo sur le disque (décompressé)
  0,080 secondes par requête (0,3 secondes en tout)
  12,6 requêtes par seconde
  (informations sur l’intégration continue indisponibles)
--8<---------------cut here---------------end--------------->8---

and

--8<---------------cut here---------------start------------->8---
$ guix time-machine --commit=e3196755e6 -- weather apl beets-bandcamp frotz 
nomad passwordsafe
calcul de 5 dérivations de paquets pour x86_64-linux…
recherche de 5 éléments du dépôt sur https://ci.guix.gnu.org...
https://ci.guix.gnu.org
  0.0 % des substituts sont disponibles (0 sur 5)
  taille des substituts inconnue
  0,0 Mo sur le disque (décompressé)
  0,104 secondes par requête (0,5 secondes en tout)
  9,6 requêtes par seconde

  0.0 % (0 sur 5) des éléments manquants sont dans la queue
  au moins 1 000 constructions dans la queue
      aarch64-linux : 836 (83.6 %)
      i686-linux : 56 (5.6 %)
      x86_64-linux : 75 (7.5 %)
      powerpc64le-linux : 33 (3.3 %)
  vitesse de construction : .00 constructions par l'heure
      i686-linux : 0.00 constructions par heure
      x86_64-linux : 0.00 constructions par heure
recherche de 5 éléments du dépôt sur https://bordeaux.guix.gnu.org...
https://bordeaux.guix.gnu.org
  0.0 % des substituts sont disponibles (0 sur 5)
  taille des substituts inconnue
  0,0 Mo sur le disque (décompressé)
  0,057 secondes par requête (0,3 secondes en tout)
  17,4 requêtes par seconde
  (informations sur l’intégration continue indisponibles)
--8<---------------cut here---------------end--------------->8---

where e3196755e6 is the core-updates branch using GCC 10 as default and
many other things.


On Mon, 20 Dec 2021 at 14:17, Christopher Rodriguez <yewscion@gmail.com> wrote:

> building /gnu/store/x1mx0g2cxlkmgyz4ljkkhcdcqqvidby0-apl-1.8.drv...
> | 'build' phasebuilder for 
> `/gnu/store/x1mx0g2cxlkmgyz4ljkkhcdcqqvidby0-apl-1.8.drv' failed with exit 
> code 1
> build of /gnu/store/x1mx0g2cxlkmgyz4ljkkhcdcqqvidby0-apl-1.8.drv failed
> View build log at 
> '/var/log/guix/drvs/x1/mx0g2cxlkmgyz4ljkkhcdcqqvidby0-apl-1.8.drv.bz2'.

--8<---------------cut here---------------start------------->8---
Shape.hh: In member function ‘Shape Shape::insert_axis(Axis, ShapeItem) const’:
Shape.hh:68:46: error: ‘*(const ShapeItem*)((char*)& ret + <unknown> *8 +8)’ 
may be used uninitialized in this function [-Werror=maybe-uninitialized]
   68 |      loop(r, MAX_RANK)   rho[r] = other.rho[r];
      |                                   ~~~~~~~~~~~^
cc1plus: all warnings being treated as errors
--8<---------------cut here---------------end--------------->8---

Therefore, this patch fixes apl.

diff --git a/gnu/packages/apl.scm b/gnu/packages/apl.scm
index badec04333..a1b923053c 100644
--- a/gnu/packages/apl.scm
+++ b/gnu/packages/apl.scm
@@ -49,7 +49,8 @@ (define-public apl
        ("sqlite" ,sqlite)
        ("readline" ,readline)))
     (arguments
-     `(#:configure-flags (list (string-append
+     `(#:configure-flags (list "CXX_WERROR=no"
+                               (string-append
                                 "--with-sqlite3="
                                 (assoc-ref %build-inputs "sqlite")))))
     (synopsis "APL interpreter")

The other beets-bandcamp, it is because the new ’sanity-check’ phase for
Python package, so it is easy to fix.  Do you want to give a try?


For frotz, nomad and passwordsafe, they require more investigations.

Cheers,
simon

reply via email to

[Prev in Thread] Current Thread [Next in Thread]