mguessan / davmail

DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange and Office 365 Gateway - Synced with main subversion repository at
http://davmail.sourceforge.net
GNU General Public License v2.0
558 stars 82 forks source link

davmail build on linux: Cannot run program "dist/jdk/bin/jlink.exe" #346

Closed jborme closed 2 months ago

jborme commented 2 months ago

Commit 3c6670f15965187fdedc2fb0fcfb01adef805780 causes the following on linux:

dist:
      [zip] Building zip: /tmp/dv/davmail/dist/davmail-6.2.1-trunk.zip
      [jar] Building jar: /tmp/dv/davmail/dist/davmail-6.2.1-trunk.war
      [zip] Building zip: /tmp/dv/davmail/dist/davmail-6.2.1-trunk-windows-noinstall.zip

download-build-jre:
      [get] Getting: https://api.azul.com/zulu/download/community/v1.0/bundles/latest/binary/?jdk_version=15&ext=zip&os=windows&arch=x86&hw_bitness=64&bundle_type=jdk&features=fx
      [get] To: /tmp/dv/davmail/dist/jdkfx.zip
      [get] https://api.azul.com/zulu/download/community/v1.0/bundles/latest/binary/?jdk_version=15&ext=zip&os=windows&arch=x86&hw_bitness=64&bundle_type=jdk&features=fx moved to https://cdn.azul.com/zulu/bin/zulu15.46.17-ca-fx-jdk15.0.10-win_x64.zip
    [unzip] Expanding: /tmp/dv/davmail/dist/jdkfx.zip into /tmp/dv/davmail/dist/jdk
   [delete] Deleting: /tmp/dv/davmail/dist/jdkfx.zip
     [echo] Create custom jre

BUILD FAILED
/tmp/dv/davmail/build.xml:427: The following error occurred while executing this line:
/tmp/dv/davmail/build.xml:584: Execute failed: java.io.IOException: Cannot run program "dist/jdk/bin/jlink.exe" (in directory "/tmp/dv/davmail"): error=13, Permission non accordée
mguessan commented 2 months ago

Tried to fix this regression, of course jlink.exe cannot run on linux.