Open return42 opened 4 years ago
If I start the script with my default LANG environment (LANG=de_DE.UTF-8) I got the following error message ..
LANG=de_DE.UTF-8
$ LANG=de_DE.UTF-8 make-sqldeveloper-package ../sqldeveloper-19.2.1.247.2212-no-jre.zip make-sqldeveloper-package 0.5.4 Copyright © 2009-2018 Lazarus Long Debian package builder and installer for Oracle SQL Developer Environment variables are: DEBFULLNAME="" DEBEMAIL="user@ubu1904" Active flags are: (none) Creating work directory "/tmp/tmp.bM7rwwjQZm" ... done! Creating build installation directory "/tmp/tmp.bM7rwwjQZm/sqldeveloper/usr/share" ... done! Extracting upstream archive "../sqldeveloper-19.2.1.247.2212-no-jre.zip" to "/tmp/tmp.bM7rwwjQZm/sqldeveloper/usr/share" ... done! Obtaining upstream full version: "19.2.1.247.2212" ... done! Renaming the work directory "/tmp/tmp.bM7rwwjQZm/sqldeveloper" to "/tmp/tmp.bM7rwwjQZm/sqldeveloper-19.2.1.247.2212" ... done! Reorganizing the work directory "/tmp/tmp.bM7rwwjQZm/sqldeveloper-19.2.1.247.2212" to generate FSH compliant package(s) ... \ ln: Die symbolische Verknüpfung '/tmp/tmp.bM7rwwjQZm/sqldeveloper-19.2.1.247.2212/usr/lib/-linux-gnu/sqldeveloper/19.2.1.247.2212/libjnidispatch.so' konnte nicht angelegt werden: Die Datei existiert bereits
My workaround is to use LANG=C when building:
LANG=C
$ LANG=C make-sqldeveloper-package ../sqldeveloper-19.2.1.247.2212-no-jre.zip ... make-sqldeveloper-package 0.5.4 Copyright © 2009-2018 Lazarus Long Debian package builder and installer for Oracle SQL Developer Environment variables are: DEBFULLNAME="" DEBEMAIL="user@ubu1904" Active flags are: (none) Creating work directory "/tmp/tmp.BIx4IAQ1lv" ... done! Creating build installation directory "/tmp/tmp.BIx4IAQ1lv/sqldeveloper/usr/share" ... done! Extracting upstream archive "../sqldeveloper-19.2.1.247.2212-no-jre.zip" to "/tmp/tmp.BIx4IAQ1lv/sqldeveloper/usr/share" ... done! Obtaining upstream full version: "19.2.1.247.2212" ... done! Renaming the work directory "/tmp/tmp.BIx4IAQ1lv/sqldeveloper" to "/tmp/tmp.BIx4IAQ1lv/sqldeveloper-19.2.1.247.2212" ... done! Reorganizing the work directory "/tmp/tmp.BIx4IAQ1lv/sqldeveloper-19.2.1.247.2212" to generate FSH compliant package(s) ... done! ... Building debian package(s) from sqldeveloper v19.2.1.247.2212 in "/media/sf_user/Downloads": sqldeveloper-19.2.1.247.2212_19.2.1.247.2212+0.5.4-1_all.deb ... done! libjnidispatch-19.2.1.247.2212_4.2.2+0.5.4-1_amd64.deb ... done!
FYI: there is already a PR: https://github.com/lazarusllong/sqldeveloper-package/pull/3
If I start the script with my default LANG environment (
LANG=de_DE.UTF-8
) I got the following error message ..My workaround is to use
LANG=C
when building: