<p></p>
<p>Hi all,</p>
<p>I was just trying to build release 5.12 and ran into this issue:</p>
<pre><code>automake: error: cannot open < src/xlat/Makemodule.am: No such file or directory
autoreconf: automake failed with exit status: 1
</code></pre>
<p>Full text (from scratch after <code>git clean -dfx</code>):</p>
<pre><code>$ ./bootstrap
generating ./src/xlat/st_check_enums.m4
generating ./src/xlat/access_modes.h
generating ./src/xlat/addrfams.h
generating ./src/xlat/adjtimex_modes.h
generating ./src/xlat/adjtimex_state.h
generating ./src/xlat/adjtimex_status.h
generating ./src/xlat/advise.h
generating ./src/xlat/af_packet_types.h
generating ./src/xlat/af_packet_versions.h
generating ./src/xlat/aio_cmds.h
generating ./src/xlat/aio_iocb_flags.h
generating ./src/xlat/archvals.h
generating ./src/xlat/arp_hardware_types.h
generating ./src/xlat/at_flags.h
generating ./src/xlat/at_statx_sync_types.h
generating ./src/xlat/atomic_ops.h
generating ./src/xlat/audit_arch.h
generating ./src/xlat/ax25_protocols.h
generating ./src/xlat/baud_options.h
generating ./src/xlat/bdaddr_types.h
generating ./src/xlat/blkpg_ops.h
generating ./src/xlat/bluetooth_l2_cid.h
generating ./src/xlat/bluetooth_l2_psm.h
generating ./src/xlat/bootflags1.h
generating ./src/xlat/bootflags2.h
generating ./src/xlat/bootflags3.h
generating ./src/xlat/bpf_attach_flags.h
generating ./src/xlat/bpf_attach_type.h
generating ./src/xlat/bpf_class.h
generating ./src/xlat/bpf_commands.h
generating ./src/xlat/bpf_file_mode_flags.h
generating ./src/xlat/bpf_map_flags.h
generating ./src/xlat/bpf_map_lookup_elem_flags.h
generating ./src/xlat/bpf_map_types.h
generating ./src/xlat/bpf_map_update_elem_flags.h
generating ./src/xlat/bpf_miscop.h
generating ./src/xlat/bpf_mode.h
generating ./src/xlat/bpf_op_alu.h
generating ./src/xlat/bpf_op_jmp.h
generating ./src/xlat/bpf_prog_flags.h
generating ./src/xlat/bpf_prog_types.h
generating ./src/xlat/bpf_query_flags.h
generating ./src/xlat/bpf_rval.h
generating ./src/xlat/bpf_size.h
generating ./src/xlat/bpf_src.h
generating ./src/xlat/bsg_flags.h
generating ./src/xlat/bpf_task_fd_type.h
generating ./src/xlat/bsg_protocol.h
generating ./src/xlat/bsg_subprotocol.h
generating ./src/xlat/bt_protocols.h
generating ./src/xlat/btrfs_balance_args.h
generating ./src/xlat/btrfs_balance_ctl_cmds.h
generating ./src/xlat/btrfs_balance_flags.h
generating ./src/xlat/btrfs_balance_state.h
generating ./src/xlat/btrfs_cont_reading_from_srcdev_mode.h
generating ./src/xlat/btrfs_dev_replace_cmds.h
generating ./src/xlat/btrfs_dev_replace_results.h
generating ./src/xlat/btrfs_dev_replace_state.h
generating ./src/xlat/btrfs_dev_stats_values.h
generating ./src/xlat/btrfs_dev_stats_flags.h
generating ./src/xlat/btrfs_features_compat.h
generating ./src/xlat/btrfs_features_compat_ro.h
generating ./src/xlat/btrfs_features_incompat.h
generating ./src/xlat/btrfs_compress_types.h
generating ./src/xlat/btrfs_defrag_flags.h
generating ./src/xlat/btrfs_logical_ino_args_flags.h
generating ./src/xlat/btrfs_key_types.h
generating ./src/xlat/btrfs_qgroup_limit_flags.h
generating ./src/xlat/btrfs_qgroup_ctl_cmds.h
generating ./src/xlat/btrfs_qgroup_status_flags.h
generating ./src/xlat/btrfs_scrub_flags.h
generating ./src/xlat/btrfs_send_flags.h
generating ./src/xlat/btrfs_snap_flags_v2.h
generating ./src/xlat/btrfs_space_info_flags.h
generating ./src/xlat/btrfs_tree_objectids.h
generating ./src/xlat/cacheflush_scope.h
generating ./src/xlat/cacheflush_flags.h
generating ./src/xlat/btrfs_qgroup_inherit_flags.h
generating ./src/xlat/caif_protocols.h
generating ./src/xlat/can_protocols.h
generating ./src/xlat/cap.h
generating ./src/xlat/cap_mask0.h
generating ./src/xlat/cap_mask1.h
./src/xlat/gen.sh: line 466: wait: pid 29288 is not a child of this shell
generating ./src/xlat/cap_version.h
configure.ac:296: installing 'build-aux/ar-lib'
configure.ac:27: installing 'build-aux/config.guess'
configure.ac:27: installing 'build-aux/config.sub'
configure.ac:25: installing 'build-aux/install-sh'
configure.ac:25: installing 'build-aux/missing'
automake: error: cannot open < src/xlat/Makemodule.am: No such file or directory
autoreconf: automake failed with exit status: 1
</code></pre>
<p>I couldn't figure out why is line 466 in <code>src/xlat/gen.sh</code> unhappy but this hack seemed to work around the issue (my box has 40 cores):</p>
<pre><code>--- a/src/xlat/gen.sh
+++ b/src/xlat/gen.sh
@@ -440,7 +440,7 @@ main()
local output_m4="${3:-}"
local name
local jobs=0
- local ncpus="$(getconf _NPROCESSORS_ONLN)"
+ local ncpus=0
local pids=
[ "${ncpus}" -ge 1 ] ||
ncpus=1
</code></pre>
<p>After this I was able to continue making and installing with no problem.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/strace/strace/issues/187">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AOVBTR4DR4FK4EIJVEFVAKDTUFM57ANCNFSM47E6PZ5A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AOVBTR2LZJZY3QB7YCJHZZ3TUFM57A5CNFSM47E6PZ5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4N2NV7PA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/strace/strace/issues/187",
"url": "https://github.com/strace/strace/issues/187",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>