[R17.0] Can't compile : "RELEASES" missing

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[R17.0] Can't compile : "RELEASES" missing

PAILLEAU Eric-2
Hi,
I tried to compile 17.0 on Ubuntu 13.04, doing './otp_build all' .

---8<--------------------------------------------
[...]
make[2]: entrant dans le r?pertoire ?
/home/eric/T?l?chargements/otp_src_17.0/erts/start_scripts ?
  GEN
/home/eric/T?l?chargements/otp_src_17.0/erts/start_scripts/start_clean.rel
  GEN
/home/eric/T?l?chargements/otp_src_17.0/erts/start_scripts/start_sasl.rel
  GEN
/home/eric/T?l?chargements/otp_src_17.0/erts/start_scripts/start_all_example.rel
  GEN
/home/eric/T?l?chargements/otp_src_17.0/erts/start_scripts/no_dot_erlang.rel
  GEN
/home/eric/T?l?chargements/otp_src_17.0/erts/start_scripts/start_clean.script
  GEN
/home/eric/T?l?chargements/otp_src_17.0/erts/start_scripts/start_sasl.boot
  GEN
/home/eric/T?l?chargements/otp_src_17.0/erts/start_scripts/no_dot_erlang.boot
  GEN    RELEASES.src
mv: impossible d'?valuer ?RELEASES?: Aucun fichier ou dossier de ce type
---8<--------------------------------------------

in erts/start_scripts/Makefile, fails in target RELEASES.src,
file 'RELEASES' is not created and then 'mv' fails.

---8<--------------------------------------------
RELEASES.src:
         $(gen_verbose)$(INSTALL_DIR) $(SS_TMP)
         $(V_at)( cd $(SS_TMP) && \
         $(ERL) -noinput +B -eval
'release_handler:create_RELEASES("%ERL_ROOT%", "$(SS_ROOT)",
"$(SS_ROOT)/start_sasl.rel", []), halt()')
         $(V_at)mv RELEASES RELEASES.src
---8<--------------------------------------------

Any idea ?
regards

Reply | Threaded
Open this post in threaded view
|

[R17.0] Can't compile : "RELEASES" missing

PAILLEAU Eric-2
Le 10/04/2014 21:43, PAILLEAU Eric a ?crit :
> Hi,
> I tried to compile 17.0 on Ubuntu 13.04, doing './otp_build all' .
>
> ---8<--------------------------------------------
> [...]
> make[2]: entrant dans le r?pertoire ?
> /home/eric/T?l?chargements/otp_src_17.0/erts/start_scripts ?

Hello,
I probably found the problem :

Doing compilation in another directory without "?" in path works...
But "T?l?chargements" is UTF-8 encoded, not Latin1 because
when setting ISO-8859-1 in my shell profile, name is not displayed
properly : "T??l??chargements".

I suppose an UTF-8 path with non ascii characters does trouble somewhere ...

Not blocking, but a pity with a full UTF-8 release, I suppose :) ...
regards


Reply | Threaded
Open this post in threaded view
|

[R17.0] Can't compile : "RELEASES" missing

Björn Gustavsson-3
On Thu, Apr 10, 2014 at 10:25 PM, PAILLEAU Eric
<eric.pailleau> wrote:
> Le 10/04/2014 21:43, PAILLEAU Eric a ?crit :
> I suppose an UTF-8 path with non ascii characters does trouble somewhere ...

Yes, UTF-8 characters given in an -eval option
are not properly handled. We will fix that in 17.1.

/Bjorn

--
Bj?rn Gustavsson, Erlang/OTP, Ericsson AB