* bug#60946: java-logback-classic fails to build
@ 2023-01-19 14:31 Dr. Arne Babenhauserheide
[not found] ` <handler.60946.B.167413876914791.ack@debbugs.gnu.org>
2023-01-20 8:41 ` bug#60946: java-logback-classic fails to build Ricardo Wurmus
0 siblings, 2 replies; 3+ messages in thread
From: Dr. Arne Babenhauserheide @ 2023-01-19 14:31 UTC (permalink / raw)
To: 60946
[-- Attachment #1.1: Type: text/plain, Size: 2551 bytes --]
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
[-- Attachment #1.2: b3pwfmzb3clxnnpnq3ndd9sdzlz4j8-java-logback-classic-1.2.3.drv.gz --]
[-- Type: application/octet-stream, Size: 25296 bytes --]
[-- Attachment #1.3: Type: text/plain, Size: 81 bytes --]
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#60946: [patch] use correct input in classpath phase
[not found] ` <handler.60946.B.167413876914791.ack@debbugs.gnu.org>
@ 2023-01-19 19:57 ` Dr. Arne Babenhauserheide
0 siblings, 0 replies; 3+ messages in thread
From: Dr. Arne Babenhauserheide @ 2023-01-19 19:57 UTC (permalink / raw)
To: 60946
[-- Attachment #1.1: Type: text/plain, Size: 76 bytes --]
Hi,
the patch fixes the build of java-logback-classic (needed for maven).
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-java-logback-classic-fix-build-use-correct-input.patch --]
[-- Type: text/x-patch, Size: 1216 bytes --]
From 43e16240894bcc7782fe958439aa67001e0d7bda Mon Sep 17 00:00:00 2001
From: Arne Babenhauserheide <arne_bab@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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.3: 0001-gnu-java-logback-classic-fix-build-use-correct-input.patch --]
[-- Type: text/x-patch, Size: 1216 bytes --]
From 43e16240894bcc7782fe958439aa67001e0d7bda Mon Sep 17 00:00:00 2001
From: Arne Babenhauserheide <arne_bab@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
[-- Attachment #1.4: Type: text/plain, Size: 103 bytes --]
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#60946: java-logback-classic fails to build
2023-01-19 14:31 bug#60946: java-logback-classic fails to build Dr. Arne Babenhauserheide
[not found] ` <handler.60946.B.167413876914791.ack@debbugs.gnu.org>
@ 2023-01-20 8:41 ` Ricardo Wurmus
1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2023-01-20 8:41 UTC (permalink / raw)
To: 60946-done
Hi,
I applied the patch and pushed commit
0d169401cbc9e1a418290d4d6cb03dac8babcde3.
--
Ricardo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-20 8:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-19 14:31 bug#60946: java-logback-classic fails to build Dr. Arne Babenhauserheide
[not found] ` <handler.60946.B.167413876914791.ack@debbugs.gnu.org>
2023-01-19 19:57 ` bug#60946: [patch] use correct input in classpath phase Dr. Arne Babenhauserheide
2023-01-20 8:41 ` bug#60946: java-logback-classic fails to build Ricardo Wurmus
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).