Hi,

Santiago Vila <sanv...@debian.org> (2019-01-06):
> This happens because the "find path | xargs clojure" construction
> which was common in many clojure packages is prone to error as its
> success or not depends critically on the output order of the find
> command.
> 
> Cyril Brulebois has already fixed several similar packages so I'm
> just Cc:ing him.

I don't seem to have received a copy but I was chased down on IRC
anyway. Pushed a commit to fix this but I'm now hitting issues with
jh_classpath that I'm not sure how to fix:
|    jh_classpath
| error: Can't rename /usr/share/java/ring-core-1.6.2.jar as 
/usr/share/java/ring-core-1.6.2.zbk Permission denied 
|  at /usr/share/perl5/Archive/Zip/Archive.pm line 471.
|       
Archive::Zip::Archive::overwriteAs(Archive::Zip::Archive=HASH(0x563056bf7140), 
"/usr/share/java/ring-core-1.6.2.jar") called at 
/usr/share/perl5/Archive/Zip/Archive.pm line 439
|       
Archive::Zip::Archive::overwrite(Archive::Zip::Archive=HASH(0x563056bf7140)) 
called at /usr/bin/jh_manifest line 342
|       main::update_jar("/usr/share/java/ring-core-1.6.2.jar", undef) called 
at /usr/bin/jh_manifest line 147
| jh_manifest: Writing modified jar (/usr/share/java/ring-core-1.6.2.jar) 
failed: Permission denied
| jh_classpath: jh_manifest -plibring-core-clojure 
"--classpath=/usr/share/java/clojure.jar /usr/share/java/tools.reader.jar 
/usr/share/java/ring-codec.jar /usr/share/java/commons-io.jar 
/usr/share/java/commons-fileupload.jar /usr/share/java/clj-time.jar 
/usr/share/java/crypto-random.jar /usr/share/java/crypto-equality.jar" 
/usr/share/java/ring-core.jar returned exit code 13
| make: *** [debian/rules:10: binary] Error 13

Trying to remove the leading slash in debian/*.classpath makes this
issue (EPERM) go away but I'm seeing this now which doesn't seem very
reassuring:
| jh_classpath: Cannot find usr/share/java/ring-servlet.jar: skipping
| jh_classpath: Cannot find /usr/share/java/ring-jetty-adapter.jar: skipping

so I'll leave that to someone else to fix. :/


Cheers,
-- 
Cyril Brulebois (k...@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature

Reply via email to