- Jan 05, 2023
-
-
Guillem Jover authored
It does not make much sense to ship the upstream «git log» changelog which contains lots of fluff and metadata. At the same time the recent debhelper trimming is not ideal as there's no easy way to fetch old entries anymore. So stop shipping the upstream changelog in favor of not trimming the debian/changelog one, which acts as a proper user readable changelog. Closes: #1027716
-
Guillem Jover authored
When bootstrapping a cross-compiler, it might not have some of the required parts available, such as a libc. Catch the error, emit it as a warning and return undef, like with the other conditions where we skip the test. Because in the end this is just a tainting flag, and it is not worth it failing the entire build due to that. Closes: #1027966
-
Guillem Jover authored
Changelog: internal
-
- Jan 04, 2023
-
-
Guillem Jover authored
-
Guillem Jover authored
-
Guillem Jover authored
-
Guillem Jover authored
The $file argument should be part of the error() arguments not the g_() arguments.
-
- Jan 03, 2023
-
-
Guillem Jover authored
The new version fixes the remaining issue that allows the code to use it as a backend. Add it as a preferred implementation if available.
-
Guillem Jover authored
The handling for deb 0.x formats that relocates files around once extracted was using a buffer with a hardcoded size, not taking into account the length of the directory which would overflow it. Switch to use a dynamically allocated buffer to handle any destination directory length. Reported-by:
Georgy Yakovlev <gyakovlev@gentoo.org>
-
Helge Kreutzmann authored
-
- Jan 02, 2023
-
-
Guillem Jover authored
When xz does not have enough memory given the requested threads, it might end up adjusting the memory usage and number of threads, while emitting a warning, and then exiting with non-zero. Both of which we do not want from the library.
-
Guillem Jover authored
If xz cannot meet the memory usage limit on multi-threaded mode, then it can end up falling back to single-threaded mode, which would then generate different output, making it non-reproducible. This has the drawback that it can then error out.
-
Guillem Jover authored
When xz does not have enough memory given the requested threads, it might end up adjusting the memory usage and number of threads, while emitting a warning, and then exiting with non-zero. Both of which we do not want from the library.
-
Helge Kreutzmann authored
-
Guillem Jover authored
-
Guillem Jover authored
-
Guillem Jover authored
-
Guillem Jover authored
These are causing test suite breakage on other projects, which will block migration for dpkg. Silence them for now.
-
Guillem Jover authored
We are distinguishing the feature being undef to cover the builtin case, and use_feature() coerces it to a bool values which makes it lose the undef and causes the flags to include PIE flags. Reported-by:
Helmut Grohne <helmut@subdivi.de>
-
Guillem Jover authored
This is relevant with builtin features where use_feature() will coerce the returned value into true or false, and where undef is a valid ternary state we use to track the default the compiler might have.
-
Sven Joachim authored
Update to 1178t.
-
- Jan 01, 2023
-
-
Guillem Jover authored
The unit tests did not make it clear that we are testing how the system patch(1) works, and not local code. This has caused bugs reported in the past on systems with unsafe patch(1) implementations.
-
Guillem Jover authored
-
Guillem Jover authored
-
Guillem Jover authored
-
Guillem Jover authored
The new module gets rid of the deprecated functions and follows the same naming convention as used by the other Dpkg::BuildSomething modules. Keep the old module for backwards compatibility until users have switched over.
-
Guillem Jover authored
This makes this module use the current prevalent convention for the other Dpkg::BuildSomething modules.
-
Guillem Jover authored
This makes this module use the current prevalent convention for the other Dpkg::BuildSomething modules.
-
Guillem Jover authored
-
Guillem Jover authored
-
Guillem Jover authored
We have already normalize the arch name, so we can compare against the well known constant string we want, and there is no need to use the comparison function which is intended to compare arch names with different tuple formats.
-
Guillem Jover authored
Split setting the build features to use, from acting on them to set the build flags based on these. This makes it possible to override these feature defaults by vendors inheriting from a parent, so that they do not have to mangle the generated build flags, or need to modify the parent vendor module to be able to change those defaults.
-
Guillem Jover authored
This will make it possible track the state of these option values across initialization and usage, and to preset for example the optimization level to specific values, and be overridden by other vendors.
-
Guillem Jover authored
-
Guillem Jover authored
These denote build flags that might be handled as builtin defaults by the compiler (even if only on a subset of architectures). The current example of such case would be PIE on gcc in Debian.
-
Guillem Jover authored
-
Guillem Jover authored
This will be used to track the values for some options, so that they can be overridden (such as the optimization level). They are private for now as it's not clear whether this interface is general enough for other uses.
-
Guillem Jover authored
This abstracts the feature state with this getter so that we can query it from code that needs to act on the features to set actual build flags.
-
Guillem Jover authored
In some cases we might want to set features, then apply the vendor defaults.
-
Frans Spiesschaert authored
Closes: #1027312, #1027313 Signed-off-by:
Guillem Jover <guillem@debian.org>
-