Bug#1081303: rocdbgapi: FTBFS on ppc64el

2024-09-10 Thread Hector Oron Martinez
Source: rocdbgapi
Version: 5.7.1-1
Severity: important
Tags: ftbfs patch
X-Debbugs-Cc: zu...@debian.org

Hello,

Package fails to build from source on ppc64el architecture:
https://buildd.debian.org/status/fetch.php?pkg=rocdbgapi&arch=ppc64el&ver=5.7.1-1&stamp=1719421340&raw=0

I have submitted upstream a fix for the build:
https://github.com/ROCm/ROCdbgapi/pull/15

Description: Fix build for ppc64el
Author: Héctor Orón Martínez
Forwarded: https://github.com/ROCm/ROCdbgapi/pull/15
Last-Update: 2024-09-10

Index: rocdbgapi-5.7.1/src/os_driver.cpp
===
--- rocdbgapi-5.7.1.orig/src/os_driver.cpp
+++ rocdbgapi-5.7.1/src/os_driver.cpp
@@ -1332,7 +1332,7 @@ to_string (os_runtime_info_t runtime_inf
 {
   return string_printf (
 "{ .r_debug=%#llx, .runtime_state=%s, .ttmp_setup=%d }",
-runtime_info.r_debug,
+(unsigned long long) runtime_info.r_debug,
 to_cstring (static_cast (runtime_info.runtime_state)),
 runtime_info.ttmp_setup);
 }
@@ -1368,9 +1368,12 @@ to_string (os_queue_snapshot_entry_t sna
 ".write_pointer_address=%#llx, .read_pointer_address=%#llx, "
 ".ctx_save_restore_address=%#llx, .queue_id=%d, .gpu_id=%d, "
 ".ring_size=%d, .queue_type=%d }",
-snapshot.exception_status, snapshot.ring_base_address,
-snapshot.write_pointer_address, snapshot.read_pointer_address,
-snapshot.ctx_save_restore_address, snapshot.queue_id, snapshot.gpu_id,
+(unsigned long long) snapshot.exception_status,
+(unsigned long long) snapshot.ring_base_address,
+(unsigned long long) snapshot.write_pointer_address,
+(unsigned long long) snapshot.read_pointer_address,
+(unsigned long long) snapshot.ctx_save_restore_address,
+snapshot.queue_id, snapshot.gpu_id,
 snapshot.ring_size, snapshot.queue_type);
 }
 
Index: rocdbgapi-5.7.1/src/queue.cpp
===
--- rocdbgapi-5.7.1.orig/src/queue.cpp
+++ rocdbgapi-5.7.1/src/queue.cpp
@@ -788,8 +788,11 @@ aql_queue_t::update_waves ()
 {
   log_info ("decoding %s's context save area: "
 "ctrl_stk:[0x%llx..0x%llx[, wave_area:[0x%llx..0x%llx[",
-to_cstring (id ()), control_stack_begin, control_stack_end,
-wave_area_begin, wave_area_end);
+to_cstring (id ()),
+(unsigned long long) control_stack_begin,
+(unsigned long long) control_stack_end,
+(unsigned long long) wave_area_begin,
+(unsigned long long) wave_area_end);
 
   /* Read the entire control stack from the inferior in one go.  */
   amd_dbgapi_size_t size = control_stack_end - control_stack_begin;


Regards


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.10.7-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=ca_ES:ca
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


Bug#1037186: debian-installer: bookworm d-i graphics are not shown on Raptor system

2023-06-07 Thread Hector Oron Martinez
Source: debian-installer
Version: 20230526
Severity: important
X-Debbugs-Cc: tpear...@raptorcs.com, zu...@debian.org

Hello,

We found latest installer for bookworm is missing ast DRM kernel module, 
causing graphical failure on ppc64el Raptor machines. Could you please consider 
the following change or similar for the debian-installer bookworm release.

  https://salsa.debian.org/installer-team/debian-installer/-/merge_requests/34

Regards

-- System Information:
Debian Release: 12.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8), 
LANGUAGE=ca_ES:ca
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



Bug#1036623: libclang-common-16-dev: missing LLVM_VERSION_FULL in include path

2023-05-23 Thread Hector Oron Martinez
Package: libclang-common-16-dev
Version: 1:16.0.4-1~exp1
Severity: normal
X-Debbugs-Cc: zu...@debian.org

Hello,

  On clang 16 the include files are broken links:

$ ls -l /usr/include/clang/16*/include
lrwxrwxrwx 1 root root 45 17 de maig  09:25 /usr/include/clang/16.0.4/include 
-> ../../../lib/llvm-16/lib/clang/16.0.4/include
lrwxrwxrwx 1 root root 45 17 de maig  09:25 /usr/include/clang/16/include -> 
../../../lib/llvm-16/lib/clang/16.0.4/include

  Since /usr/lib/llvm-16/lib/clang/16 exists but not the
  /usr/lib/llvm-16/lib/clang/16.0.4 path.

$ LANG=C ls -l /usr/lib/llvm-16/lib/clang/16.0.4/
ls: cannot access '/usr/lib/llvm-16/lib/clang/16.0.4/': No such file or 
directory

Regards

-- System Information:
Debian Release: 12.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8), 
LANGUAGE=ca_ES:ca
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libclang-common-16-dev depends on:
ii  libllvm16  1:16.0.4-1~exp1

Versions of packages libclang-common-16-dev recommends:
ii  libclang-rt-16-dev  1:16.0.4-1~exp1

libclang-common-16-dev suggests no packages.

-- no debconf information



Bug#950898: ansible/buster: flatpak_remote: IndexError: list index out of range

2020-02-07 Thread Hector Oron Martinez
Package: ansible
Version: 2.7.7+dfsg-1
Severity: important
Tags: patch

Hello,

Note this issue only happens in stable, Buster 10.2 with ansible 2.7.7

When using ansible with flatpak_remote, it breaks. The following snippet:
```
- name: Add the flathub flatpak repository remote to the user 
installation
  flatpak_remote:
name: flathub
state: present
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
method: user
```

causes:

```
TASK [Add the flathub flatpak repository remote to the user installation] 
*
fatal: [127.0.0.1]: FAILED! => {"changed": false, "module_stderr": 
"/home/zumbi/.ansible/tmp/ansible-tmp-1581109559.271161-112064566806002/AnsiballZ_flatpak_remote.py:17:
 DeprecationWarning: the imp module is deprecated in favour of importlib; see 
the module's documentation for alternative uses\n  import imp\nTraceback (most 
recent call last):\n  File 
\"/home/zumbi/.ansible/tmp/ansible-tmp-1581109559.271161-112064566806002/AnsiballZ_flatpak_remote.py\",
 line 113, in \n_ansiballz_main()\n  File 
\"/home/zumbi/.ansible/tmp/ansible-tmp-1581109559.271161-112064566806002/AnsiballZ_flatpak_remote.py\",
 line 105, in _ansiballz_main\ninvoke_module(zipped_mod, temp_path, 
ANSIBALLZ_PARAMS)\n  File 
\"/home/zumbi/.ansible/tmp/ansible-tmp-1581109559.271161-112064566806002/AnsiballZ_flatpak_remote.py\",
 line 48, in invoke_module\nimp.load_module('__main__', mod, module, 
MOD_DESC)\n  File \"/usr/lib/python3.7/imp.py\", line 234, in load_module\n
return load_source(name, filename, file)\n  File \"/usr/lib/python3.7/imp.py\", 
line 169, in load_source\nmodule = _exec(spec, sys.modules[name])\n  File 
\"\", line 630, in _exec\n  File \"\", line 728, in exec_module\n  File \"\", line 219, in _call_with_frames_removed\n  File 
\"/tmp/ansible_flatpak_remote_payload_3i68y3ku/__main__.py\", line 241, in 
\n  File \"/tmp/ansible_flatpak_remote_payload_3i68y3ku/__main__.py\", 
line 230, in main\n  File 
\"/tmp/ansible_flatpak_remote_payload_3i68y3ku/__main__.py\", line 172, in 
remote_exists\nIndexError: list index out of range\n", "module_stdout": "", 
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
to retry, use: --limit 
@/home/zumbi/SCM/GITAuth/local/ansible/playbook.retry
```

The issue has been reported upstream at:
https://github.com/ansible/ansible/issues/51481

And a pull request has been merged:
https://github.com/ansible/ansible/pull/54103

I am attaching a debdiff I have tested and fixes the issue above.
Please, consider fixing this issue in Buster, via stable-updates. If you
need help, please let me know, I am willing to proceed with the upload
if you wish.

Regards

-- System Information:
Debian Release: 10.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_USER
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8), 
LANGUAGE=ca_ES:ca (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ansible depends on:
ii  python33.7.3-1
ii  python3-crypto 2.6.1-9+b1
ii  python3-cryptography   2.6.1-3+deb10u2
ii  python3-httplib2   0.11.3-2
ii  python3-jinja2 2.10-2
ii  python3-netaddr0.7.19-1
ii  python3-paramiko   2.4.2-0.1
ii  python3-pkg-resources  40.8.0-1
ii  python3-yaml   3.13-2

Versions of packages ansible recommends:
ii  python3-jmespath   0.9.4-1
ii  python3-kerberos   1.1.14-2
ii  python3-libcloud   2.4.0-1
ii  python3-selinux2.8-1+b1
ii  python3-winrm  0.3.0-2
ii  python3-xmltodict  0.11.0-2

Versions of packages ansible suggests:
pn  cowsay   
pn  sshpass  

-- no debconf information
diff -Nru ansible-2.7.7+dfsg/debian/changelog 
ansible-2.7.7+dfsg/debian/changelog
--- ansible-2.7.7+dfsg/debian/changelog 2019-02-21 08:44:57.0 +0100
+++ ansible-2.7.7+dfsg/debian/changelog 2020-02-07 22:07:29.0 +0100
@@ -1,3 +1,12 @@
+ansible (2.7.7+dfsg-1local1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Local test of upstream patch to fix flatpak module:
+https://github.com/ansible/ansible/issues/51481
+https://github.com/ansible/ansible/pull/54103
+
+ -- Hector   Fri, 07 Feb 2020 22:07:29 +0100
+
 ansible (2.7.7+dfsg-1) unstable; urgency=high
 
   * New upstream release
diff -Nru 
ansible-2.7.7+dfsg/debian/patches/d78b3424dd9e72132df9b52ee4e5422cd3094bd6.patch
 
ansible-2.7.7+dfsg/debian/patches/d78b3424dd9e72132df9b52ee4e5422cd3094bd6.patch
--- 
ansible-2.7.7+dfsg/debian/patches/d78b3424dd9e72132df9b52ee4e5422cd3094bd6.patch
1970-01-01 01:00:00.0 +0100
+++ 
ansible-2.7.7+dfsg/debian/patches/d78b3424dd9e72132df9b52ee4e5422cd3094bd6.patch
2020-02-07 22:07:29.0 +0100
@@ -0,0 +1,25