Skip to content

Commit 0801643

Browse files
committed
Bug#33791880 Debian builds make nondeterministic changes to test cases
In Debian builds, a debian helper called dh_strip_nondeterminism is executed as part of the build. This tool attempts to normalize archives Change-Id: I8f1339da538e27ac4c165d35a9edd57875101da1
1 parent 163f881 commit 0801643

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packaging/deb-in/rules.in

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/make -f
22

3-
# Copyright (c) 2015, 2024, Oracle and/or its affiliates.
3+
# Copyright (c) 2015, 2025, Oracle and/or its affiliates.
44
#
55
# This program is free software; you can redistribute it and/or modify
66
# it under the terms of the GNU General Public License, version 2.0,
@@ -125,6 +125,11 @@ override_dh_install:
125125
override_dh_strip:
126126
dh_strip -Xlibprotobuf-lite -Xlibmysqlclient.a
127127

128+
# dh_strip_nondeterminism makes changes to archive files that actually makes
129+
# the build less deterministic because we can't verify them against what's in git
130+
override_dh_strip_nondeterminism:
131+
dh_strip_nondeterminism -X.zip -X.gzip
132+
128133
# Debug plugins use libprotobuf-lite from the server package.
129134
override_dh_shlibdeps:
130135
dh_shlibdeps -Lmysql-@DEB_PRODUCT@-server-core -l/usr/lib/mysql/private

0 commit comments

Comments
 (0)