GNU bug report logs -
#60946
java-logback-classic fails to build
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60946 in the body.
You can then email your comments to 60946 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#60946
; Package
guix
.
(Thu, 19 Jan 2023 14:33:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 19 Jan 2023 14:33:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
To reproduce:
guix build java-logback-classic
This is a dependency of maven.
Result:
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
error: in phase 'build': uncaught exception:
wrong-type-arg #f "Wrong type (expecting ~A): ~S" ("string" #f) (#f)
phase `build' failed after 0.0 seconds
Backtrace:
19 (primitive-load "/gnu/store/7my17jqik49hmy3lwp4lrns09rv…")
In guix/build/gnu-build-system.scm:
906:2 18 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
In ice-9/boot-9.scm:
1752:10 17 (with-exception-handler _ _ #:unwind? _ # _)
In srfi/srfi-1.scm:
634:9 16 (for-each #<procedure 7ffff0b881c0 at guix/build/gnu-b…> …)
In ice-9/boot-9.scm:
1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
In guix/build/gnu-build-system.scm:
927:23 14 (_)
In ice-9/eval.scm:
619:8 13 (_ #(#(#<directory (guile-user) 7ffff1fd3c80>) (# # …)))
159:9 12 (_ #(#(#<directory (guile-user) 7ffff1fd3c80>) (# # …)))
159:9 11 (_ #(#(#<directory (guile-user) 7ffff1fd3c80>) (# # …)))
159:9 10 (_ #(#(#<directory (guile-user) 7ffff1fd3c80>) (# # …)))
In ice-9/boot-9.scm:
222:29 9 (map1 ("java-logback-core" "java-slf4j-api" "java-co…" …))
222:29 8 (map1 ("java-slf4j-api" "java-commons-compiler" "ser…" …))
222:29 7 (map1 ("java-commons-compiler" "servlet" "groovy"))
222:17 6 (map1 ("servlet" "groovy"))
In guix/build/utils.scm:
491:10 5 (find-files #f _ #:stat _ #:directories? _ # _)
In ice-9/ftw.scm:
447:23 4 (file-system-fold _ _ _ _ _ #<procedure 7ffff020a3a0 a…> …)
In ice-9/boot-9.scm:
1747:15 3 (with-exception-handler #<procedure 7ffff02a03c0 at ic…> …)
In unknown file:
2 (lstat #f)
In ice-9/boot-9.scm:
1685:16 1 (raise-exception _ #:continuable? _)
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Wrong type (expecting string): #f
builder for `/gnu/store/x2b3pwfmzb3clxnnpnq3ndd9sdzlz4j8-java-logback-classic-1.2.3.drv' failed with exit code 1
Erstellung von /gnu/store/x2b3pwfmzb3clxnnpnq3ndd9sdzlz4j8-java-logback-classic-1.2.3.drv fehlgeschlagen
Das Erstellungsprotokoll kann unter „/var/log/guix/drvs/x2/b3pwfmzb3clxnnpnq3ndd9sdzlz4j8-java-logback-classic-1.2.3.drv.gz“ eingesehen werden.
guix build: Fehler: build of `/gnu/store/x2b3pwfmzb3clxnnpnq3ndd9sdzlz4j8-java-logback-classic-1.2.3.drv' failed
Best wishes,
Arne
[b3pwfmzb3clxnnpnq3ndd9sdzlz4j8-java-logback-classic-1.2.3.drv.gz (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#60946
; Package
guix
.
(Thu, 19 Jan 2023 20:00:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 60946 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
the patch fixes the build of java-logback-classic (needed for maven).
[0001-gnu-java-logback-classic-fix-build-use-correct-input.patch (text/x-patch, inline)]
From 43e16240894bcc7782fe958439aa67001e0d7bda Mon Sep 17 00:00:00 2001
From: Arne Babenhauserheide <arne_bab <at> web.de>
Date: Thu, 19 Jan 2023 20:53:37 +0100
Subject: [PATCH] gnu: java-logback-classic: fix build: use correct input name.
* gnu/packages/java.scm (java-logback-classic)[phases]: use input name java-javaee-servletapi
---
gnu/packages/java.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 15a4e62de1..e55684d2a3 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -13006,7 +13006,7 @@ (define-public java-logback-classic
(find-files (assoc-ref inputs input)
".*.jar"))
'("java-logback-core" "java-slf4j-api"
- "java-commons-compiler" "servlet"
+ "java-commons-compiler" "java-javaee-servletapi"
"groovy")))
":"))
(apply invoke "groovyc" "-d" "build/classes" "-j"
--
2.39.1
[0001-gnu-java-logback-classic-fix-build-use-correct-input.patch (text/x-patch, attachment)]
[Message part 4 (text/plain, inline)]
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
You have taken responsibility.
(Fri, 20 Jan 2023 08:43:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
"Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
:
bug acknowledged by developer.
(Fri, 20 Jan 2023 08:43:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 60946-done <at> debbugs.gnu.org (full text, mbox):
Hi,
I applied the patch and pushed commit
0d169401cbc9e1a418290d4d6cb03dac8babcde3.
--
Ricardo
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 17 Feb 2023 12:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 62 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.