[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/phosh][debian/latest] 2 commits: tests: Skip symbol check on some architectures

Guido Günther (@agx) gitlab at salsa.debian.org
Sun Apr 21 13:10:02 BST 2024



Guido Günther pushed to branch debian/latest at Debian On Mobile / phosh


Commits:
4aa47c93 by Guido Günther at 2024-04-21T12:47:50+02:00
tests: Skip symbol check on some architectures

Closes: #1068916

- - - - -
dc455b8e by Guido Günther at 2024-04-21T12:48:25+02:00
Document changes and release 0.38.0-2

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/series
- + debian/patches/tests-Skip-symbol-check-on-some-architectures.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+phosh (0.38.0-2) experimental; urgency=medium
+
+  * tests: Skip symbol check on some architectures
+   (Closes: #1068916)
+
+ -- Guido Günther <agx at sigxcpu.org>  Sun, 21 Apr 2024 12:48:09 +0200
+
 phosh (0.38.0-1) experimental; urgency=medium
 
   * Upload to experimental to stay clear of the 6 ongoing transitions


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+tests-Skip-symbol-check-on-some-architectures.patch


=====================================
debian/patches/tests-Skip-symbol-check-on-some-architectures.patch
=====================================
@@ -0,0 +1,30 @@
+From: =?utf-8?q?Guido_G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Sun, 21 Apr 2024 12:47:07 +0200
+Subject: tests: Skip symbol check on some architectures
+
+These architectures have too many exported symbols
+---
+ tools/check-exported-symbols | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/tools/check-exported-symbols b/tools/check-exported-symbols
+index 18b5b73..34dc826 100755
+--- a/tools/check-exported-symbols
++++ b/tools/check-exported-symbols
+@@ -6,6 +6,16 @@ BIN=${1:-"_build/src/phosh"}
+ 
+ PHOSH_SYMBOL_PREFIXES='phosh_(shell|quick_setting|status_icon|session_manager)_'
+ 
++arch=$(uname -m)
++
++case $arch in
++  mips64*|riscv64|s390*)
++      echo "Skipping symbol check on $arch"
++      exit 77
++      ;;
++esac
++
++
+ if objdump -T  $BIN | grep 'g    DF .text' \
+ 	| grep -v -E " (main$|${PHOSH_SYMBOL_PREFIXES}|gtk_(filter|sort)_list_model_)"; then
+     echo "Found symbols that shouldn't be exported"



View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phosh/-/compare/563b21e99d533f7d0fd6f7f18b2b707b7932e1fc...dc455b8eca349e21e10a8e93952ec1719dafe979

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phosh/-/compare/563b21e99d533f7d0fd6f7f18b2b707b7932e1fc...dc455b8eca349e21e10a8e93952ec1719dafe979
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-on-mobile-maintainers/attachments/20240421/58783b11/attachment-0001.htm>


More information about the Debian-on-mobile-maintainers mailing list