GitXplorerGitXplorer
j

travis-lein-s390x

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
d1006c817da7863cdd05cb71c9f321e1d9524e98

[EMPTY] trigger build 6

jjonathan-albrecht-ibm committed 2 years ago
Unverified
2f7d70fb2d7052b9d560595c5a14fcc1a966b677

[EMPTY] trigger build 5

jjonathan-albrecht-ibm committed 2 years ago
Unverified
1de9afa5f486757330755edf187d8bcf76045ce6

Test env and allow_failures

jjonathan-albrecht-ibm committed 2 years ago
Unverified
6d7632e89392317a7045570f566261d6bf48a90b

[EMPTY] trigger build 4

jjonathan-albrecht-ibm committed 2 years ago
Unverified
cdd8e156b7d29bd4877d6059318431be8ddc7bb8

[EMPTY] trigger build 3

jjonathan-albrecht-ibm committed 2 years ago
Unverified
40fb0af33bb84e1a52ba835bd98bd10be439db54

[EMPTY] trigger build 2

jjonathan-albrecht-ibm committed 2 years ago

README

The README file for this repository.

travis-lein-s390x

Reproduce not able to install lein at a specified version on s390x

Email Trail

Hi, I’m trying to port a clojure project to s390x and I’m running into a bug when travis is updating lein to a newer version. I create a github repo and travis build to show the error:

https://github.com/jonathan-albrecht-ibm/travis-lein-s390x
https://app.travis-ci.com/github/jonathan-albrecht-ibm/travis-lein-s390x/builds/254202191

The error looks like:

---
Updating leiningen to 2.9.1
$ sudo env LEIN_ROOT=true curl -L -o /usr/local/bin/lein https://raw.githubusercontent.com/technomancy/leiningen/2.9.1/bin/lein
######################################################################## 100.0%
$ lein self-install
/home/travis/.travis/functions: line 109: /usr/local/bin/lein: Permission denied
The command "lein self-install" failed and exited with 126 during .

I think its just a executable permissions problem and maybe something like the following would fix it:

---
diff --git a/lib/travis/build/script/clojure.rb b/lib/travis/build/script/clojure.rb
index df8e1d8d..b1f5c081 100644
--- a/lib/travis/build/script/clojure.rb
+++ b/lib/travis/build/script/clojure.rb
@@ -54,6 +54,7 @@ module Travis
                 sh.echo "Updating leiningen to #{version}", ansi: :yellow
                 sh.cmd "env LEIN_ROOT=true curl -L -o /usr/local/bin/lein https://raw.githubusercontent.com/technomancy/leiningen/#{version}/bin/lein", echo: true, assert: true, sudo: true
                 sh.cmd "rm -rf ${TRAVIS_HOME}/.lein", echo: false
+                sh.chmod "+x", "/usr/local/bin/lein", sudo: true
                 sh.cmd "lein self-install", echo: true, assert: true
               end
             end
--- 

Would be great if this could be fixed as I’m currently blocked on it.

Thanks,

Jonathan Albrecht
Advisory Software Developer
Linux on IBM Z Open Source Ecosystem
1 905 413 3577 Office
jonathan.albrecht@ibm.com

IBM

##- Please type your reply above this line -##
Hello, 
Thank you for reaching out to Travis-CI Support. This is an automated message to notify you that we have received your ticket (40106) and one of our support agent will get back to you to assist with this matter. In case you are seeing a bug and haven't shared this information already, please reply to this email by sharing the steps to reproduce along with expected and actual results and your system (environment) information to supplement the troubleshoot process. 
Thank you for your patience while one of the support agent gets in touch with you!
Cheers,
Your Friends @Travis-CI
This email is a service from Travis CI. Delivered by Zendesk 
Qasim (Travis CI) 
Oct 7, 2022, 12:47 GMT-3 
Hey Jonathan,
 
Thanks for the update. We are happy to hear that you were able to resolve the issue.
 
Let us know if we can be of further assistance in the future.
 
Best,
Jonathan Albrecht 
Oct 7, 2022, 12:03 GMT-3 
Hi Qasim, I can confirm this issue is fixed now. I am no longer blocked. Thanks for the fix!
Jon