Package: libpetsc3.20-dev-common
Version: 3.20.6+dfsg1-3
Severity: minor
X-Debbugs-Cc: c...@slerp.xyz

Dear Maintainer,

When installing petsc, I noticed the following warnings printed:

Setting up libpetsc3.20-dev-common (3.20.6+dfsg1-3) ...
/usr/share/petsc/3.20/lib/petsc/bin/petsc_tas_analysis.py:792: SyntaxWarning: 
invalid escape sequence '\l'
  axMeshConv.set(xlabel='Problem Size $\log N$',
/usr/share/petsc/3.20/lib/petsc/bin/petsc_tas_analysis.py:793: SyntaxWarning: 
invalid escape sequence '\l'
  ylabel='Error $\log |x - x^*|$', title='Mesh Convergence')
/usr/share/petsc/3.20/lib/petsc/bin/petsclogformat.py:253: SyntaxWarning: 
invalid escape sequence '\d'
  print("\documentclass{article}")
/usr/share/petsc/3.20/lib/petsc/bin/petsclogformat.py:256: SyntaxWarning: 
invalid escape sequence '\c'
  print("\centering")
/usr/share/petsc/3.20/lib/petsc/bin/petsclogformat.py:259: SyntaxWarning: 
invalid escape sequence '\m'
  print(" &  & \multicolumn{4}{c}{--------------- Percent of -------------} &  
\\\\")
/usr/share/petsc/3.20/lib/petsc/bin/petsclogformat.py:261: SyntaxWarning: 
invalid escape sequence '\h'
  print("\hline")
/usr/share/petsc/3.20/lib/petsc/bin/petsclogformat.py:321: SyntaxWarning: 
invalid escape sequence '\e'
  print("\end{tabular}")
/usr/share/petsc/3.20/lib/petsc/bin/petsclogformat.py:322: SyntaxWarning: 
invalid escape sequence '\e'
  print("\end{table}")
/usr/share/petsc/3.20/lib/petsc/bin/petsclogformat.py:323: SyntaxWarning: 
invalid escape sequence '\e'
  print("\end{document}")

It looks like these should perhaps be raw strings or the backslashes
should be escaped. This also makes me wonder if there might be other
cases where the use of the backslash just happened to match an actual
escape sequence and therefore would result in incorrect behaviour
without a warning.

Sincerely,
Cory Bloor

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

Kernel: Linux 6.10.11-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages libpetsc3.20-dev-common depends on:
ii  libblas-dev [libblas.so]         3.12.0-3
ii  libfftw3-dev                     3.3.10-1+b3
ii  libfftw3-mpi-dev                 3.3.10-1+b3
ii  libhdf5-mpi-dev                  1.10.10+repack-4
ii  libjs-jquery                     3.6.1+dfsg+~3.5.14-1
ii  libjs-jquery-ui                  1.13.2+dfsg-1
ii  libjs-mathjax                    2.7.9+dfsg-1
ii  liblapack-dev [liblapack.so]     3.12.0-3
ii  libptscotch-dev                  7.0.5-1
ii  libscalapack-mpi-dev             2.2.1-5
ii  libssl-dev                       3.3.2-1
ii  libsuitesparse-dev               1:7.8.2+dfsg-2
ii  libsuperlu-dev                   6.0.1+dfsg1-1+b1
ii  libsuperlu-dist-dev              8.2.1+dfsg1-2
ii  libx11-dev                       2:1.8.7-1+b1
ii  libyaml-dev                      0.2.5-1+b1
ii  ocl-icd-opencl-dev [opencl-dev]  2.3.2-1+b1
ii  python3                          3.12.6-1

Versions of packages libpetsc3.20-dev-common recommends:
ii  libpetsc-real3.20-dev  3.20.6+dfsg1-3

libpetsc3.20-dev-common suggests no packages.

-- no debconf information

Reply via email to