Samuel Thibault, le Wed 15 Feb 2012 01:41:10 +0100, a écrit : > Jiri Hladky, le Wed 15 Feb 2012 01:38:44 +0100, a écrit : > > I have found one minor issue - file hwloc-assembler-remote does not have > > executable bit set. I had to add following to the RPM SPEC file to fix it: > > > > %{__chmod} 0755 %{buildroot}%{_bindir}/hwloc-assembler-remote > > That's odd: we already explicitly set the +x bit at ./configure time, > see config/hwloc_internal.m4: > > AC_CONFIG_COMMANDS([chmoding-scripts], [chmod +x > ]hwloc_config_prefix[tests/linux/test-topology.sh > ]hwloc_config_prefix[tests/xml/test-topology.sh > ]hwloc_config_prefix[tests/linux/hwloc-gather-topology > ]hwloc_config_prefix[tests/linux/gather/test-gather-topology.sh > ]hwloc_config_prefix[utils/hwloc-assembler-remote > ]hwloc_config_prefix[utils/test-hwloc-assembler.sh > ]hwloc_config_prefix[utils/test-hwloc-calc.sh > ]hwloc_config_prefix[utils/test-hwloc-distances.sh > ]hwloc_config_prefix[utils/test-hwloc-distrib.sh > ]hwloc_config_prefix[utils/test-hwloc-ls.sh])
Mmm, but at installation the script's content is patched, and +x is not applied there. Needs more automake magic... Samuel