Notes for gprbuild - reproducible builds result

Version annotated: 2022.0.0-4
Identified issues:
Identifier: cflags_recorded_in_ada_ali_files
Description The GCC Ada compiler writes build flags into
/usr/lib/*/ada/adalib/*.ali, including *-prefix-map and hence the
build path.
.
This is similar to build_path_captured_in_assembly_objects.
Until BUILD_PATH_PREFIX_MAP is a reality,
sed -i '/^A -f[a-z]\+-prefix-map=/d' debian/tmp/usr/lib/*/ada/adalib/*/*.ali
Packages using dh-ada-library>=7.7 require no intervention.
.
Parent issue: records_build_flags
Identifier: buildpath_in_binaries_generated_by_ada_compiler
Description Hint: for music123, seems related with captures_build_path_via_assert.
Identifier: unknown_ada_issue
Description Previously part of build_id_variation_requiring_further_investigation
.
Symptoms are similar to random_order_in_static_libraries.
Not to be confused with timestamps_in_ada_library_information_files,
buildpath_in_binaries_generated_by_ada_compiler,
cflags_recorded_in_ada_ali_files.
 

Our notes about issues affecting packages are stored in notes.git and are targeted at packages in Debian in 'unstable/amd64' (unless they say otherwise).