Page MenuHomePhabricator

error when installing c++ header
Closed, ResolvedPublic

Description

here is the error :

/usr/bin/mkdir -p '/opt/efl_64/include/eldbus_cxx-1'
/usr/bin/install -c -m 644 lib/eldbus/eldbus_model_connection.eo.hh lib/eldbus/eldbus_model_object.eo.hh lib/eldbus/eldbus_model_proxy.eo.hh lib/eldbus/eldbus_model_method.eo.hh lib/eldbus/eldbus_model_arguments.eo.hh lib/eldbus/eldbus_model_signal.eo.hh lib/eldbus/eldbus_model.eo.hh lib/eldbus/eldbus_model_connection.eo.impl.hh lib/eldbus/eldbus_model_object.eo.impl.hh lib/eldbus/eldbus_model_proxy.eo.impl.hh lib/eldbus/eldbus_model_method.eo.impl.hh lib/eldbus/eldbus_model_arguments.eo.impl.hh lib/eldbus/eldbus_model_signal.eo.impl.hh lib/eldbus/eldbus_model.eo.impl.hh lib/eldbus/Eldbus_Model.eo.hh '/opt/efl_64/include/eldbus_cxx-1'
/usr/bin/install: n'écrasera pas '/opt/efl_64/include/eldbus_cxx-1/Eldbus_Model.eo.hh' qui vient d'être créé par 'lib/eldbus/Eldbus_Model.eo.hh'

in english (more or less) : /usr/bin/install: will not overwrite '/opt/efl_64/include/eldbus_cxx-1/Eldbus_Model.eo.hh' which has just been created by 'lib/eldbus/Eldbus_Model.eo.hh'

no idea what happens here

vtorri created this task.Sat, Apr 13, 10:52 AM
vtorri triaged this task as High priority.

$ git grep eldbus_eolian_cxx_hh
src/Makefile_Cxx.am:nodist_installed_eldbuscxxmainheaders_DATA = $(eldbus_eolian_cxx_hh) $(eldbus_eolian_cxx_impl_hh) lib/eldbus/Eldbus_Model.eo.hh

but in Makefile_Eldbus.am, eldbus_eolian_files contains lib/eldbus/eldbus_model.eo (line 14) and the rule to create .hh files (line 119) already creates lib/eldbus/eldbus_model.eo.hh

Note that on Windows, the case is not taken into account (hence lib/eldbus/Eldbus_Model.eo.hh and lib/eldbus/eldbus_model.eo.hh are the same files)

q66 reassigned this task from q66 to lauromoura.Sun, Apr 14, 8:15 AM
q66 added a subscriber: q66.

the fix should be backported to 1.22