[med-svn] [Git][med-team/mia][master] 2 commits: Use another approach to reduce the log size for Salsa CI's sake.

Yavor Doganov (@yavor-guest) gitlab at salsa.debian.org
Sat Oct 18 11:06:30 BST 2025



Yavor Doganov pushed to branch master at Debian Med / mia


Commits:
76947733 by Yavor Doganov at 2025-10-18T13:03:15+03:00
Use another approach to reduce the log size for Salsa CI's sake.

- - - - -
4c49abb3 by Yavor Doganov at 2025-10-18T13:04:27+03:00
(libmia-2.4-4): Mark as Multi-Arch: same.

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/rules
- debian/salsa-ci.yml


Changes:

=====================================
debian/changelog
=====================================
@@ -7,10 +7,13 @@ mia (2.4.7-14) UNRELEASED; urgency=medium
   [ Yavor Doganov ]
   * debian/patches/gcc-14.patch: New; fix FTBFS with GCC 14 and 15
     (Closes: #1075270).
-  * debian/rules (override_dh_auto_configure):
-    Pass -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with CMake 4
-    (Closes: #1113285).
+  * debian/rules (DEB_CXXFLAGS_MAINT_APPEND): Define conditionally to
+    reduce the log size for the Salsa CI build only.
+    (override_dh_auto_configure): Pass -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+    to fix FTBFS with CMake 4 (Closes: #1113285).
   * debian/salsa-ci.yml (build): Forcefully delete .buildinfo/.changes.
+    Change build command to reduce the log and obtain something useful.
+  * debian/control (libmia-2.4-4): Mark as Multi-Arch: same.
 
  -- ikeadeoyin <ikeadeoyin at gmail.com>  Wed, 18 Oct 2023 21:43:53 -0400
 


=====================================
debian/control
=====================================
@@ -40,6 +40,7 @@ Rules-Requires-Root: no
 
 Package: libmia-2.4-4
 Architecture: any
+Multi-Arch: same
 Section: libs
 Depends: ${shlibs:Depends},
          ${misc:Depends}


=====================================
debian/rules
=====================================
@@ -9,6 +9,12 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_LDFLAGS_MAINT_APPEND = -fvisibility=hidden
 export DEB_CPPFLAGS_MAINT_APPEND = -DH5Oget_info_by_name_vers=1 -DH5O_info_t_vers=1
 
+# Reduce log due to size limit on Salsa CI.
+ifdef SALSA_BUILD
+export DEB_CXXFLAGS_MAINT_APPEND = -Wno-deprecated-declarations \
+                                     -Wno-unused-result -Wno-attributes
+endif
+
 # reduce debug info to fix FTBFS on archs with low address space
 ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
   export DEB_CFLAGS_MAINT_APPEND = -g1


=====================================
debian/salsa-ci.yml
=====================================
@@ -12,5 +12,5 @@ build:
     - git checkout master 
     - git pull 
     # silence build to not exceed build log size of gitlab-ci
-    - gbp buildpackage -uc -us 2>&1 >../build.log; if [ $? == 1 ]; then tail -n 100 ../build.log; exit 1; fi
+    - SALSA_BUILD=1 DEB_BUILD_OPTIONS=terse gbp buildpackage --git-builder="debuild --preserve-envvar SALSA_BUILD -i -I -us -uc"
 



View it on GitLab: https://salsa.debian.org/med-team/mia/-/compare/59dbdc7d381c0994a435e0006ab77bf7a2473821...4c49abb366a538f789efa66540429da4f8d96a3a

-- 
View it on GitLab: https://salsa.debian.org/med-team/mia/-/compare/59dbdc7d381c0994a435e0006ab77bf7a2473821...4c49abb366a538f789efa66540429da4f8d96a3a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20251018/8e11dc64/attachment-0001.htm>


More information about the debian-med-commit mailing list