DestructHub / ProjectEuler

Polyglot solutions for www.projecteuler.net mathematical challenges
https://destructhub.github.io
MIT License
166 stars 45 forks source link

Fix SBCL Warnings on Docker container #156

Closed ryukinix closed 6 years ago

ryukinix commented 7 years ago

On all solutions:

Built Problem500/Bash/solution_1.sh: Answer: 35407281: 3.38s                         
WARNING:                                                       
Couldn't re-execute SBCL with proper personality flags (/proc isn't mounted? setuid?)
Trying to continue anyway.                                     
Built Problem001/CommonLisp/solution_1.lisp: Answer: 233168: 1.33s                   
WARNING:                                                       
Couldn't re-execute SBCL with proper personality flags (/proc isn't mounted? setuid?)
Trying to continue anyway.                                     
Built Problem002/CommonLisp/solution_1.lisp: Answer: 4613732: 0.06s                  
WARNING:                                                                       
Couldn't re-execute SBCL with proper personality flags (/proc isn't mounted? setuid?)
Trying to continue anyway.                                     
Built Problem003/CommonLisp/solution_1.lisp: Answer: 6857: 0.03s                     
WARNING:                                                       
Couldn't re-execute SBCL with proper personality flags (/proc isn't mounted? setuid?)
Trying to continue anyway.                                     
Built Problem004/CommonLisp/solution_1.lisp: Answer: 906609: 0.26s                   
WARNING:                                                       
Couldn't re-execute SBCL with proper personality flags (/proc isn't mounted? setuid?)
Trying to continue anyway.                                     
Built Problem005/CommonLisp/solution_1.lisp: Answer: 232792560: 0.03s                
WARNING:                                                       
Couldn't re-execute SBCL with proper personality flags (/proc isn't mounted? setuid?)
Trying to continue anyway.                                     
Built Problem006/CommonLisp/solution_1.lisp: Answer: 25164150: 0.02s                 
WARNING:                                                       
Couldn't re-execute SBCL with proper personality flags (/proc isn't mounted? setuid?)
Trying to continue anyway.                                     
Built Problem007/CommonLisp/solution_1.lisp: Answer: 104743: 0.32s                   
WARNING:                                                       
Couldn't re-execute SBCL with proper personality flags (/proc isn't mounted? setuid?)
Trying to continue anyway.                           

How to replicate: docker-compose run sync python3 stats.py -b --commonlisp

a-hilaly commented 7 years ago

Can you show me travis-ci PR that resulted this logs ?

ryukinix commented 7 years ago

Can you show me travis-ci PR that resulted this logs ?

Sorry, I executed on my machine with the command attached on description.

ryukinix commented 6 years ago

Related https://github.com/dimitri/pgloader/wiki/Running-in-Docker-(SBCL-warning)

a-hilaly commented 6 years ago

Adding seccomp: unconfined in docker compose different builds should fix this. I'll try this ASAP