Bug#1051153: sagemath: crash on startup due to a python error

2023-09-03 Thread Amaury Pouly
Package: sagemath
Version: 9.5-6
Severity: important

Dear Maintainer,

I cannot start sage on my computer. Simply running 'sage' in console leads to
the following errors:

┌┐
│ SageMath version 9.5, Release Date: 2022-01-30 │
│ Using Python 3.11.5. Type "help()" for help.   │
└┘
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3.11/pathlib.py", line 1251, in is_dir
return S_ISDIR(self.stat().st_mode)
   ^
AttributeError: 'str' object has no attribute 'stat'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/sage-ipython", line 15, in 
app.initialize()
  File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 
110, in inner
return method(app, *args, **kwargs)
   
  File "/usr/lib/python3/dist-packages/IPython/terminal/ipapp.py", line 279, in 
initialize
self.init_shell()
  File "/usr/lib/python3/dist-packages/sage/repl/interpreter.py", line 789, in 
init_shell
self.shell.extension_manager.load_extension(SAGE_EXTENSION)
  File "/usr/lib/python3/dist-packages/IPython/core/extensions.py", line 76, in 
load_extension
return self._load_extension(module_str)
   
  File "/usr/lib/python3/dist-packages/IPython/core/extensions.py", line 93, in 
_load_extension
if self._call_load_ipython_extension(mod):
   ^^
  File "/usr/lib/python3/dist-packages/IPython/core/extensions.py", line 145, 
in _call_load_ipython_extension
mod.load_ipython_extension(self.shell)
  File "/usr/lib/python3/dist-packages/sage/repl/__init__.py", line 5, in 
load_ipython_extension
sage.repl.ipython_extension.load_ipython_extension(*args)
  File "/usr/lib/python3/dist-packages/sage/repl/ipython_extension.py", line 
617, in wrapper
result = func(*args, **kwargs)
 ^
  File "/usr/lib/python3/dist-packages/sage/repl/ipython_extension.py", line 
630, in load_ipython_extension
SageCustomizations(shell=ip)
  File "/usr/lib/python3/dist-packages/sage/repl/ipython_extension.py", line 
434, in __init__
import sage.all # until sage's import hell is fixed
^^^
  File "/usr/lib/python3/dist-packages/sage/all.py", line 169, in 
from sage.rings.all  import *
  File "/usr/lib/python3/dist-packages/sage/rings/all.py", line 87, in 
from .qqbar import (AlgebraicRealField, AA,
  File "/usr/lib/python3/dist-packages/sage/rings/qqbar.py", line 2810, in 

QQxy = QQ['x', 'y']
   ~~^^
  File "sage/structure/parent.pyx", line 1276, in 
sage.structure.parent.Parent.__getitem__ 
(build/cythonized/sage/structure/parent.c:11543)
  File "/usr/lib/python3/dist-packages/sage/categories/rings.py", line 1177, in 
__getitem__
return PolynomialRing(self, elts)
   ^^
  File 
"/usr/lib/python3/dist-packages/sage/rings/polynomial/polynomial_ring_constructor.py",
 line 647, in PolynomialRing
return _multi_variate(base_ring, names, **kwds)
   
  File 
"/usr/lib/python3/dist-packages/sage/rings/polynomial/polynomial_ring_constructor.py",
 line 775, in _multi_variate
from sage.rings.polynomial.multi_polynomial_libsingular import 
MPolynomialRing_libsingular
ImportError: libsingular-Singular-4.3.1.so: cannot open shared object file: No 
such file or directory

It used to work and I am not sure what I updated since the last time I tried (a 
few weeks ago I think).


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages sagemath depends on:
ii  python3   3.11.4-5+b1
ii  python3-sage  9.5-6

Versions of packages sagemath recommends:
pn  sagemath-doc
ii  sagemath-jupyter9.5-6
pn  sagetex 
ii  texlive-latex-base  2023.20230613-3

Versions of packages sagemath suggests:
ii  dot2tex  2.11.3-3
pn  gap-design   
ii  gap-factint  1.6.3+ds-2
pn  gap-grape
pn  gap-guava
ii  gap-laguna   3.9.5+ds-2
pn  gap-sonata   
pn  gap-toric

-- no debconf information


Bug#1018922: kbibtex crashes on startup

2022-11-30 Thread Amaury Pouly
I ran into this problem and I was able to fix the problem by compiling
kbibtex from upstream. I believe that the problem was fixed by this merge:
  https://invent.kde.org/office/kbibtex/-/merge_requests/11
which indeed works around a bug/changed behavior of recent versions of Qt.

Unfortunately, it seems that this fix did not make it into debian because
the project has not made a release since then I believe (I am a bit
confused by the tags in the repository).

I believe that this could be fixed either by taking the last version of the
0.9 branch of upstream or asking upstream to do a release.

Amaury


Bug#995120: linux-image-5.14.0-1-amd64: Raven Ridge cannot boot with secure memory encryption

2021-09-26 Thread Amaury Pouly
Package: src:linux
Version: 5.14.6-2
Severity: critical
Justification: breaks the whole system

Dear Maintainer,

* What led up to the situation?

Booting an AMD Raven Bridge computer with this kernel renders the system 
unusable because the amdgpu driver
cannot initialize. This happens because the kernel config enables secure memory 
encryption (SME) which
is not compatible with RAVEN [1]. In this case, the kernel will contain:

  amdgpu: SME is not compatible with RAVEN

* What exactly did you do (or not do) that was effective (or
 ineffective)?

Disabling SME is the only option, passing mem_encrypt=off to the kernel solves 
the problem

Since disabling SME on all systems is clearly overkill, I think the best option 
would be for the GRUB
scripts to probe for Raven Bridge and add "mem_encrypt=off". Based on [1], this 
should probably be done
by looking at the PCI devices.

[1] https://lore.kernel.org/linux-iommu/20200907104431.gh16...@8bytes.org/

-- Package-specific info:
** Version:
Linux version 5.14.0-1-amd64 (debian-ker...@lists.debian.org) (gcc-10 (Debian 
10.3.0-10) 10.3.0, GNU ld (GNU Binutils for Debian) 2.37) #1 SMP Debian 
5.14.6-2 (2021-09-19)

** Command line:
BOOT_IMAGE=/vmlinuz-5.14.0-1-amd64 root=/dev/mapper/debian--vg-root ro quiet 
iommu=pt amd_iommu_dump=1 acpi_osi=Linux mem_encrypt=off

** Tainted: OE (12288)
 * externally-built ("out-of-tree") module was loaded
 * unsigned module was loaded

** Kernel log:
[   10.586405] hid-multitouch 0018:044E:121F.0001: input,hidraw0: I2C HID v1.00 
Mouse [DELL0814:01 044E:121F] on i2c-DELL0814:01
[   10.594029] EXT4-fs (sda3): mounted filesystem without journal. Opts: 
(null). Quota mode: none.
[   10.594040] ext2 filesystem being mounted at /boot supports timestamps until 
2038 (0x7fff)
[   10.653242] input: HD-Audio Generic HDMI/DP,pcm=3 as 
/devices/pci:00/:00:08.1/:04:00.1/sound/card0/input17
[   10.653341] input: HD-Audio Generic HDMI/DP,pcm=7 as 
/devices/pci:00/:00:08.1/:04:00.1/sound/card0/input18
[   10.653426] input: HD-Audio Generic HDMI/DP,pcm=8 as 
/devices/pci:00/:00:08.1/:04:00.1/sound/card0/input19
[   10.663692] kvm: Nested Virtualization enabled
[   10.663696] SVM: kvm: Nested Paging enabled
[   10.663698] SEV supported: 16 ASIDs
[   10.663699] SEV-ES supported: 4294967295 ASIDs
[   10.663728] SVM: Virtual VMLOAD VMSAVE supported
[   10.663729] SVM: Virtual GIF supported
[   10.679112] dell_laptop: Using i8042 filter function for receiving events
[   10.685779] ath10k_pci :01:00.0: enabling device ( -> 0002)
[   10.686432] ath10k_pci :01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 
reset_mode 0
[   10.692311] MCE: In-kernel MCE decoding enabled.
[   10.721343] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC3246: 
line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   10.721355] snd_hda_codec_realtek hdaudioC1D0:speaker_outs=0 
(0x0/0x0/0x0/0x0/0x0)
[   10.721358] snd_hda_codec_realtek hdaudioC1D0:hp_outs=1 
(0x21/0x0/0x0/0x0/0x0)
[   10.721360] snd_hda_codec_realtek hdaudioC1D0:mono: mono_out=0x0
[   10.721362] snd_hda_codec_realtek hdaudioC1D0:inputs:
[   10.721363] snd_hda_codec_realtek hdaudioC1D0:  Headset Mic=0x19
[   10.721365] snd_hda_codec_realtek hdaudioC1D0:  Headphone Mic=0x1a
[   10.721367] snd_hda_codec_realtek hdaudioC1D0:  Internal Mic=0x12
[   10.768989] intel_rapl_common: Found RAPL domain package
[   10.768994] intel_rapl_common: Found RAPL domain core
[   10.780103] audit: type=1400 audit(1632665699.799:2): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="firejail-default" pid=740 
comm="apparmor_parser"
[   10.780768] audit: type=1400 audit(1632665699.803:3): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="lsb_release" pid=741 
comm="apparmor_parser"
[   10.781872] audit: type=1400 audit(1632665699.803:4): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=744 
comm="apparmor_parser"
[   10.781878] audit: type=1400 audit(1632665699.803:5): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" 
pid=744 comm="apparmor_parser"
[   10.785010] audit: type=1400 audit(1632665699.807:6): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="mysqld_akonadi" pid=743 
comm="apparmor_parser"
[   10.785848] audit: type=1400 audit(1632665699.807:7): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="postgresql_akonadi" pid=745 
comm="apparmor_parser"
[   10.787391] audit: type=1400 audit(1632665699.807:8): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="/usr/bin/akonadiserver" 
pid=747 comm="apparmor_parser"
[   10.788804] audit: type=1400 audit(1632665699.811:9): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=770 
comm="apparmor_parser"
[   10.788810] audit: type=1400 audit(1632665699.811:10): apparmor="STATUS" 

Bug#949446: python3-ipython: Prevents sage fro starting, fails to import _baseclass_reprs

2020-01-20 Thread Amaury Pouly
Package: python3-ipython
Version: 7.11.1-1
Severity: important

Dear Maintainer,

Sagemath is not usable on my system because of an import error. I am not sure 
if the issue
lies with sage or with ipython. Here is the backtrace:

Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/sage/repl/ipython_kernel/__main__.py", 
line 3, in 
IPKernelApp.launch_instance(kernel_class=SageKernel)
  File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 
663, in launch_instance
app.initialize(argv)
  File "", line 2, in initialize
  File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 
87, in catch_config_error
return method(app, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/ipykernel/kernelapp.py", line 542, in 
initialize
self.init_kernel()
  File "/usr/lib/python3/dist-packages/ipykernel/kernelapp.py", line 447, in 
init_kernel
user_ns=self.user_ns,
  File "/usr/lib/python3/dist-packages/traitlets/config/configurable.py", line 
412, in instance
inst = cls(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/sage/repl/ipython_kernel/kernel.py", 
line 51, in __init__
super(SageKernel, self).__init__(**kwds)
  File "/usr/lib/python3/dist-packages/ipykernel/ipkernel.py", line 68, in 
__init__
kernel  = self,
  File "/usr/lib/python3/dist-packages/traitlets/config/configurable.py", line 
412, in instance
inst = cls(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/IPython/core/interactiveshell.py", line 
683, in __init__
self.init_display_formatter()
  File "/usr/lib/python3/dist-packages/sage/repl/interpreter.py", line 231, in 
init_display_formatter
backend.get_display_manager().switch_backend(backend, shell=self)
  File 
"/usr/lib/python3/dist-packages/sage/repl/rich_output/display_manager.py", line 
322, in switch_backend
self._backend.install(**kwds)
  File 
"/usr/lib/python3/dist-packages/sage/repl/rich_output/backend_ipython.py", line 
59, in install
from sage.repl.display.formatter import SageDisplayFormatter
  File "/usr/lib/python3/dist-packages/sage/repl/display/formatter.py", line 
66, in 
from sage.repl.display.pretty_print import SagePrettyPrinter
  File "/usr/lib/python3/dist-packages/sage/repl/display/pretty_print.py", line 
29, in 
from sage.repl.display.fancy_repr import *
  File "/usr/lib/python3/dist-packages/sage/repl/display/fancy_repr.py", line 
17, in 
from IPython.lib.pretty import (
ImportError: cannot import name '_baseclass_reprs' from 'IPython.lib.pretty' 
(/usr/lib/python3/dist-packages/IPython/lib/pretty.py)

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.2-amdmp2 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-ipython depends on:
ii  python3 3.7.5-3
ii  python3-backcall0.1.0-2
ii  python3-decorator   4.3.0-1.1
ii  python3-jedi0.15.2-1
ii  python3-pexpect 4.6.0-1
ii  python3-pickleshare 0.7.5-1
ii  python3-pkg-resources   44.0.0-1
ii  python3-prompt-toolkit  2.0.10-2
ii  python3-pygments2.3.1+dfsg-1
ii  python3-traitlets   4.3.3-2

python3-ipython recommends no packages.

python3-ipython suggests no packages.

-- no debconf information



Bug#949287: sagemath-common: Fail to start because of missing unicode_to_str from IPython.utils.py3compat

2020-01-19 Thread Amaury Pouly
Package: sagemath-common
Version: 8.9-3
Severity: important

Dear Maintainer,

Sagemath is unusable (both in command line or through jupyter) because of an 
import error.
Specifically, trying to run sage or load a notebook throws the following 
backtrace:

Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/sage/repl/ipython_kernel/__main__.py", 
line 3, in 
IPKernelApp.launch_instance(kernel_class=SageKernel)
  File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 
663, in launch_instance
app.initialize(argv)
  File "", line 2, in initialize
  File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 
87, in catch_config_error
return method(app, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/ipykernel/kernelapp.py", line 542, in 
initialize
self.init_kernel()
  File "/usr/lib/python3/dist-packages/ipykernel/kernelapp.py", line 447, in 
init_kernel
user_ns=self.user_ns,
  File "/usr/lib/python3/dist-packages/traitlets/config/configurable.py", line 
412, in instance
inst = cls(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/sage/repl/ipython_kernel/kernel.py", 
line 51, in __init__
super(SageKernel, self).__init__(**kwds)
  File "/usr/lib/python3/dist-packages/ipykernel/ipkernel.py", line 68, in 
__init__
kernel  = self,
  File "/usr/lib/python3/dist-packages/traitlets/config/configurable.py", line 
412, in instance
inst = cls(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/IPython/core/interactiveshell.py", line 
683, in __init__
self.init_display_formatter()
  File "/usr/lib/python3/dist-packages/sage/repl/interpreter.py", line 231, in 
init_display_formatter
backend.get_display_manager().switch_backend(backend, shell=self)
  File 
"/usr/lib/python3/dist-packages/sage/repl/rich_output/display_manager.py", line 
322, in switch_backend
self._backend.install(**kwds)
  File 
"/usr/lib/python3/dist-packages/sage/repl/rich_output/backend_ipython.py", line 
59, in install
from sage.repl.display.formatter import SageDisplayFormatter
  File "/usr/lib/python3/dist-packages/sage/repl/display/formatter.py", line 
64, in 
from IPython.utils.py3compat import unicode_to_str
ImportError: cannot import name 'unicode_to_str' from 'IPython.utils.py3compat' 
(/usr/lib/python3/dist-packages/IPython/utils/py3compat.py)

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.2-amdmp2 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sagemath-common depends on:
ii  python3  3.7.5-3

sagemath-common recommends no packages.

sagemath-common suggests no packages.

-- no debconf information



Bug#943921: linux-image-5.3.0-1-amd64: Touchpad driver for recent AMD laptops not included

2019-10-31 Thread Amaury Pouly
Package: src:linux
Version: 5.3.7-1
Severity: normal

Dear Maintainer,

The linux kernel currently included in Debian/unstable does not include a 
driver for
the recent touchpads used on AMD (Ryzen) laptops, for instance the Latitude 
5495.

A driver for this was added in Linux 5.3 but is not enabled in the config file 
in
Debian yet.

Please consider including the "i2c_amd_mp2" driver (config CONFIG_I2C_AMD_MP2),
otherwise many advanced features of the touchpad are unavailable.

I have verified that including this driver (by setting CONFIG_I2C_AMD_MP2=m)
works on my laptop.

-- Package-specific info:
** Kernel log: boot messages should be attached

** Model information
sys_vendor: Dell Inc.
product_name: Latitude 5495
product_version: 
chassis_vendor: Dell Inc.
chassis_version: 
bios_vendor: Dell Inc.
bios_version: 1.2.14
board_vendor: Dell Inc.
board_name: 0G9F45
board_version: A00

** PCI devices:
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 
Root Complex [1022:15d0]
Subsystem: Dell Raven/Raven2 Root Complex [1028:0814]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- 

00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe 
GPP Bridge [6:0] [1022:15d3] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:01.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe 
GPP Bridge [6:0] [1022:15d3] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:08.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 
Internal PCIe GPP Bridge 0 to Bus B [1022:15dc] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller 
[1022:790b] (rev 61)
Subsystem: Dell FCH SMBus Controller [1028:0814]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- TAbort- 
SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- 
Kernel driver in use: ath10k_pci
Kernel modules: ath10k_pci

02:00.0 Ethernet controller [0200]: Broadcom Inc. and subsidiaries NetXtreme 
BCM5762 Gigabit Ethernet PCIe [14e4:1687] (rev 10)
Subsystem: Dell NetXtreme BCM5762 Gigabit Ethernet PCIe [1028:0814]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Kernel driver in use: tg3
Kernel modules: tg3

03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI 
Express Card Reader [10ec:525a] (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card 
Reader [10ec:525a]
Control: I/O- Mem+ BusMaster+ SpecCycle- 

Bug#932367: sagemath: Sage does not start because of a missing symbol in GAP wrapper

2019-07-18 Thread Amaury Pouly
Package: sagemath
Version: 8.6-6
Severity: important

Dear Maintainer,

running sagemath (either directly with 'sage' or running a notebook with 
jupyter)
does not work because the kernel crashes. The final error reported by Python is

ImportError: 
/usr/lib/python2.7/dist-packages/sage/libs/gap/element.x86_64-linux-gnu.so: 
undefined symbol: _GAP_SetEnterStackCount

This renders sage unusable because the kernel will not start. Let me know how 
if I can help
by providing more information. I copy the full backtrace below:

Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
  File "/usr/lib/python2.7/dist-packages/sage/repl/ipython_kernel/__main__.py", 
line 3, in 
IPKernelApp.launch_instance(kernel_class=SageKernel)
  File "/usr/lib/python2.7/dist-packages/traitlets/config/application.py", line 
657, in launch_instance
app.initialize(argv)
  File "", line 2, in initialize
  File "/usr/lib/python2.7/dist-packages/traitlets/config/application.py", line 
87, in catch_config_error
return method(app, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/ipykernel/kernelapp.py", line 476, in 
initialize
self.init_kernel()
  File "/usr/lib/python2.7/dist-packages/ipykernel/kernelapp.py", line 387, in 
init_kernel
user_ns=self.user_ns,
  File "/usr/lib/python2.7/dist-packages/traitlets/config/configurable.py", 
line 412, in instance
inst = cls(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/sage/repl/ipython_kernel/kernel.py", 
line 52, in __init__
SageJupyterCustomizations(self.shell)
  File "/usr/lib/python2.7/dist-packages/sage/repl/ipython_extension.py", line 
433, in __init__
import sage.all # until sage's import hell is fixed
  File "/usr/lib/python2.7/dist-packages/sage/all.py", line 102, in 
from sage.modular.allimport *
  File "/usr/lib/python2.7/dist-packages/sage/modular/all.py", line 4, in 

from .quatalg.all import *
  File "/usr/lib/python2.7/dist-packages/sage/modular/quatalg/__init__.py", 
line 4, in 
from . import all
  File "/usr/lib/python2.7/dist-packages/sage/modular/quatalg/all.py", line 3, 
in 
from .brandt import BrandtModule
  File "/usr/lib/python2.7/dist-packages/sage/modular/quatalg/brandt.py", line 
206, in 
from sage.modular.hecke.all import (AmbientHeckeModule, HeckeSubmodule, 
HeckeModuleElement)
  File "/usr/lib/python2.7/dist-packages/sage/modular/hecke/all.py", line 20, 
in 
from .ambient_module import AmbientHeckeModule, is_AmbientHeckeModule
  File "/usr/lib/python2.7/dist-packages/sage/modular/hecke/ambient_module.py", 
line 38, in 
from sage.modular.arithgroup.all import Gamma0 # for Sturm bound
  File "/usr/lib/python2.7/dist-packages/sage/modular/arithgroup/__init__.py", 
line 4, in 
from . import all
  File "/usr/lib/python2.7/dist-packages/sage/modular/arithgroup/all.py", line 
6, in 
from .congroup_generic import is_CongruenceSubgroup, 
CongruenceSubgroup_constructor as CongruenceSubgroup
  File 
"/usr/lib/python2.7/dist-packages/sage/modular/arithgroup/congroup_generic.py", 
line 28, in 
from sage.groups.matrix_gps.all import MatrixGroup
  File "/usr/lib/python2.7/dist-packages/sage/groups/matrix_gps/all.py", line 
13, in 
import sage.groups.matrix_gps.pickling_overrides
  File 
"/usr/lib/python2.7/dist-packages/sage/groups/matrix_gps/pickling_overrides.py",
 line 7, in 
from sage.groups.matrix_gps.finitely_generated import 
FinitelyGeneratedMatrixGroup_gap
  File 
"/usr/lib/python2.7/dist-packages/sage/groups/matrix_gps/finitely_generated.py",
 line 81, in 
from sage.groups.matrix_gps.matrix_group import (
  File 
"/usr/lib/python2.7/dist-packages/sage/groups/matrix_gps/matrix_group.py", line 
61, in 
from sage.groups.libgap_wrapper import ParentLibGAP
  File "sage/libs/gap/element.pxd", line 32, in init sage.groups.libgap_wrapper 
(build/cythonized/sage/groups/libgap_wrapper.c:9846)
cdef class GapElement(RingElement):
ImportError: 
/usr/lib/python2.7/dist-packages/sage/libs/gap/element.x86_64-linux-gnu.so: 
undefined symbol: _GAP_SetEnterStackCount


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sagemath depends on:
ii  cysignals-tools   1.8.1+ds-2
ii  cython0.29.2-2
ii  ecl   16.1.3+ds-2
ii  eclib-tools   20190226-2
ii  fflas-ffpack

Bug#920286: gcc-8: Missing conflict/break with binutils-x86-64-linux-gnu:i386 can lead to broken compiler

2019-01-23 Thread Amaury Pouly
Package: gcc-8
Version: 8.2.0-14
Severity: important

Dear Maintainer,

Probably gcc-8 should be in conflict with binutils-x86-64-linux-gnu:i386 because
of the following chain of events:
- install an unstable amd64 system
- enable multiarch i386
- install gcc-8
- install binutils-x86-64-linux-gnu:i386
  => This will (because of a conflict) uninstall binutils-x86-64-linux-gnu
Now the compiler is broken with this message:
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so: error loading plugin: 
/usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so: mauvaise classe ELF : 
ELFCLASS64

This is because the plugin /usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so
is installed by gcc-8 (it is an amd64 executable) but is loaded by ld. Since
we can independently install the 32-bit version of the binutils, now we
have a 32-bit executable loading a 64-bit library. I am not sure what is the
proper fix but clearly it should be impossible to install the 32-bit version
of binutils with the 64-bit version of gcc-8 because of this plugin.
This probably explains bug #916603 (with gcc-6 instead of gcc-8).

Note that it may be strange to install binutils-x86-64-linux-gnu:i386 but
somehow APT decided to do it on its own at some point and I did not notice
so this can happen automatically.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gcc-8 depends on:
ii  binutils  2.31.1-11
ii  cpp-8 8.2.0-14
ii  gcc-8-base8.2.0-14
ii  libc6 2.28-5
ii  libcc1-0  8.2.0-14
ii  libgcc-8-dev  8.2.0-14
ii  libgcc1   1:8.2.0-14
ii  libgmp10  2:6.1.2+dfsg-4
ii  libisl19  0.20-2
ii  libmpc3   1.1.0-1
ii  libmpfr6  4.0.2~rc1-1
ii  libstdc++68.2.0-14
ii  zlib1g1:1.2.11.dfsg-1

Versions of packages gcc-8 recommends:
ii  libc6-dev  2.28-5

Versions of packages gcc-8 suggests:
pn  gcc-8-doc 
pn  gcc-8-locales 
ii  gcc-8-multilib8.2.0-14
pn  libasan5-dbg  
pn  libatomic1-dbg
pn  libgcc1-dbg   
pn  libgomp1-dbg  
pn  libitm1-dbg   
pn  liblsan0-dbg  
pn  libmpx2-dbg   
pn  libquadmath0-dbg  
pn  libtsan0-dbg  
pn  libubsan1-dbg 

-- no debconf information



Bug#918993: sagemath-jupyter: Invalid path to sage kernel makes notebook unusable

2019-01-11 Thread Amaury Pouly
Package: sagemath-jupyter
Version: 8.4-4
Severity: important

Dear Maintainer,

the jupyter notebook with sage is unusable because the kernel config is invalid,
in /usr/share/jupyter/kernels/sagemath/kernel.json there is:

{"display_name": "SageMath 8.6.rc0", 
 "argv": ["/build/sagemath-FTVAsu/sagemath-8.6~rc0/debian/build/usr/bin/sage",
  "--python", "-m", "sage.repl.ipython_kernel", "-f", "{connection_file}"]}

The hardcoded path contains what looks like a temporary build path, which
does not exists on my system. This makes the sage kernel unusable with jupyuter.
I tried to manually replace the path with /usr/bin/sage and it works.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sagemath-jupyter depends on:
ii  jupyter-client  5.2.3-1
ii  jupyter-core4.4.0-2
ii  jupyter-nbextension-jupyter-js-widgets  6.0.0-2
ii  python-ipykernel4.9.0-1
ii  python-ipywidgets   6.0.0-2
ii  python-nbconvert5.4-1
ii  python-nbformat 4.4.0-1
ii  python-notebook 5.4.1-1
ii  sagemath8.4-4

sagemath-jupyter recommends no packages.

sagemath-jupyter suggests no packages.

-- no debconf information



Bug#918990: sagemath-common: Invalid hardcoded path in sage-env-config

2019-01-11 Thread Amaury Pouly
Package: sagemath-common
Version: 8.4-4
Severity: normal

Dear Maintainer,

the file /usr/share/sagemath/bin/sage-env-config contains the following:

export SAGE_LOCAL="/build/sagemath-FTVAsu/sagemath-8.6~rc0/debian/build/usr"

(or a variant of it). This path does not exists since it is specific
to the build client. Any package or file depending on the value of SAGE_LOCAL
to find sage will break. This might be related to a bug I have with the
jupyter notebook that calls this path and fails.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sagemath-common depends on:
ii  python  2.7.15-3

sagemath-common recommends no packages.

sagemath-common suggests no packages.

-- no debconf information



Bug#913240: geoclue-2.0: Unreasonably high memory usage (memory leak?)

2018-11-08 Thread Amaury Pouly
Package: geoclue-2.0
Version: 2.5.1-1
Severity: important

Dear Maintainer,
the geoclue daemon randomly starts using a lot of memory. It frequently uses
more than 1Gio of memory, and does not seem to free any memory when it starts
doing so which suggest a memory leak.
This can introduce serious problems because the memory increase can be
relatively quick and eventually lead to heavy swapping and/or OOM.
I have no been able to pinpoint under which circumstances it happens,
the system log does not condition any information related to geoclue that
could help debug the issue.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages geoclue-2.0 depends on:
ii  adduser 3.118
ii  libavahi-client30.7-4+b1
ii  libavahi-common30.7-4+b1
ii  libavahi-glib1  0.7-4+b1
ii  libc6   2.27-8
ii  libglib2.0-02.58.1-2
ii  libjson-glib-1.0-0  1.4.4-1
ii  libmm-glib0 1.8.2-1
ii  libnotify4  0.7.7-3
ii  libsoup2.4-12.64.1-3

Versions of packages geoclue-2.0 recommends:
ii  avahi-daemon  0.7-4+b1
ii  iio-sensor-proxy  2.4-2
ii  modemmanager  1.8.2-1
ii  wpasupplicant 2:2.6-18

geoclue-2.0 suggests no packages.

-- no debconf information



Bug#910940: sagemath-common: fails to start with error /usr/bin/env: ‘sage-python23’: No such file or directory

2018-10-13 Thread Amaury Pouly
Package: sagemath-common
Version: 8.3-3
Severity: important
Tags: upstream

Dear Maintainer,
the sage notebook fails to start because there is no sage-python23 installed
on my system. Can be reproduced by running
  sage --notebook
A similar issue was raised for other binaries (bug #902545) but for some reason
the notebook was not patched, maybe it was forgotten or it requires a special
treatement. The upstream version of this file also uses sage-python23

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sagemath-common depends on:
ii  python 2.7.15-3
ii  python2.7  2.7.15-4

sagemath-common recommends no packages.

sagemath-common suggests no packages.

-- no debconf information



Bug#895549: cups-browsed: Legacy CUPS (1.5.x and before) broadcasted queues are ignored

2018-04-12 Thread Amaury Pouly
Package: cups-browsed
Version: 1.20.2-1
Severity: important

Dear Maintainer,

CUPS filters recently changed the way it detects CUPS raw queues [1]
by only relying on TXT fields of DNS-SD, which totally breaks legacy
CUPS (<=1.5.x) setup because those do not have a TXT record. This was
later fixed upstream [2,3] but leaves the current version in a broken
state because upstream has not made any point release for this fix. In
short, legacy CUPS printers are completely ignored by cups-browsed
1.20.2 and this is problematic because it is a common setup in
entreprise.

One possibility is to include [2] as a debian patch (it's very short)
or wait for a cups-filters upstream release 1.20.3.

[1] https://github.com/OpenPrinting/cups-filters/commit/d6323a81a00d8bf
90a636c9bbe9a177ced560d9a
[2] https://github.com/OpenPrinting/cups-filters/commit/9766ea347b351ae
403237f076ad085902eab6b85
[3] https://github.com/OpenPrinting/cups-filters/issues/34

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cups-browsed depends on:
ii  cups-daemon   2.2.7-2
ii  libavahi-client3  0.7-3.1
ii  libavahi-common3  0.7-3.1
ii  libavahi-glib10.7-3.1
ii  libc6 2.27-3
ii  libcups2  2.2.7-2
ii  libcupsfilters1   1.20.2-1
ii  libglib2.0-0  2.56.1-1
ii  libldap-2.4-2 2.4.45+dfsg-1
ii  lsb-base  9.20170808

Versions of packages cups-browsed recommends:
ii  avahi-daemon  0.7-3.1

cups-browsed suggests no packages.

-- Configuration Files:
/etc/cups/cups-browsed.conf changed [not included]

-- no debconf information



Bug#873634: missing module files libbd_*.so

2017-08-29 Thread Amaury Pouly


> apt install libblockdev-crypto2 libblockdev-mdraid2 libblockdev-part2
> libblockdev-fs2 libblockdev-loop2 libblockdev-swap2
>
I missed the fact that I also needed to install 'gdisk', otherwise it 
fails with

Cannot load the part plugin: The 'sgdisk' utility is not available

This is odd because https://tracker.debian.org/news/866785 mentions 
gdisks is no longer recommended by the package but is still needed?




Bug#873634: missing module files libbd_*.so

2017-08-29 Thread Amaury Pouly
Same problem here. Tracking down the missing files, I found that 
installing the following packages solves the problem:


apt install libblockdev-crypto2 libblockdev-mdraid2 libblockdev-part2 
libblockdev-fs2 libblockdev-loop2 libblockdev-swap2