Bug#1069659: ITP: rust-lifeguard -- An object pool manager in Rust

2024-04-22 Thread Loren M. Lang
Package: wnpp
Severity: wishlist
Owner: "Loren M. Lang" 
X-Debbugs-Cc: debian-de...@lists.debian.org, lor...@north-winds.org

* Package name: rust-lifeguard
  Version : 0.6.1
  Upstream Contact: Zack Slayton 
* URL : https://crates.io/crates/lifeguard
* License : MIT
  Programming Lang: Rust
  Description : An object pool manager in Rust

Allows values to be stored in a pool and retrieved when needed to access
or mutate their contents. Values can be unwrapped and detached from the
pool when needed and later returned to the pool or new values added in
efficiently.

This is needed for rust-adblock

-- 
Loren M. Lang
lor...@north-winds.org
http://www.north-winds.org/


Public Key: http://www.north-winds.org/lorenl_pubkey.asc
Fingerprint: 7896 E099 9FC7 9F6C E0ED  E103 222D F356 A57A 98FA


signature.asc
Description: PGP signature


Bug#1065590: debmake: Debmake produces warnings about invalid escape sequence on Python 3.12

2024-03-06 Thread Loren M. Lang
Package: debmake
Version: 4.4.0-3
Severity: minor

Dear Maintainer,

Using debmake on unstable with Python 3.12 installed. While installing
debmake with apt-get, a long series of warnings were produced similar to
this:

Setting up debmake (4.4.0-3) ...
/usr/lib/python3/dist-packages/debmake/__main__.py:304: SyntaxWarning: invalid 
escape sequence '\/'
  + ' -type f 2>&1 | sed -e "s/^debian\/'
/usr/lib/python3/dist-packages/debmake/__main__.py:306: SyntaxWarning: invalid 
escape sequence '\/'
  + '\///" | sort >../{0}.install.log'.format(para["package"])

The package should install cleanly without warnings. These warnings do
not seem to affect the functionality as Python 3.12 simply falls back to
3.11 behavior after producing the warning.


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

Kernel: Linux 6.5.0-21-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
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 debmake depends on:
ii  devscripts  2.23.7
ii  dpkg-dev1.22.4
ii  python3 3.11.8-1
ii  python3-debian  0.1.49
ii  rsync   3.2.7-1+b1

Versions of packages debmake recommends:
ii  build-essential  12.10
ii  curl 8.6.0-3
ii  strace   6.5-0.1
ii  wget 1.21.4-1+b1

Versions of packages debmake suggests:
ii  autotools-dev 20220109.1
pn  ccache
pn  cmake 
pn  debmake-doc   
pn  dgit  
ii  dh-autoreconf 20
ii  dh-python 6.20231223
ii  eatmydata 131-1
pn  gem2deb   
ii  git   1:2.43.0-1
ii  git-buildpackage  0.9.33
pn  gitk  
pn  javahelper
ii  lintian   2.117.0
pn  mc
ii  quilt 0.67+really0.67-4
pn  rpm2cpio  
ii  sbuild0.85.5

-- no debconf information



Bug#1064567: dh-make-golang: Creates zero-length tarball and dies when using unsupported hoster

2024-02-24 Thread Loren M. Lang
Package: dh-make-golang
Version: 0.6.0-2+b5
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

Attempting to use dh-make-golang to create a package from a release on a
non-supported hosting provider. In this case, the package was already in
Debian, but I don't think that is required to trigger this behavior.
This repo was third-party hosted (not GitHub/Gitlab) with release tags.

I would like to see a better error message or directions to the user to
download/create the appropriate orig tarball. If the package is already
in Debian, maybe it makes sense to download it, but I don't know why
they would need to use make in that case.

Here is the reproducible failure for this bug reports:

$ dh-make-golang make -type library -upstream_git_history 
git.sr.ht/~rjarry/go-opt
2024/02/24 08:54:22 Starting "dh-make-golang v0.6.0 linux/amd64"
2024/02/24 08:54:28 Downloading "git.sr.ht/~rjarry/go-opt/..."
2024/02/24 08:54:35 Determining upstream version number
2024/02/24 08:54:35 Found latest tag "v1.4.0"
2024/02/24 08:54:35 Latest tag "v1.4.0" matches master
2024/02/24 08:54:35 Package version is "1.4.0"
2024/02/24 08:54:35 Determining dependencies
2024/02/24 08:54:35 INFO: Hoster does not provide release tarball
2024/02/24 08:54:49 WARNING: A package called 
"golang-sourcehut-rjarry-go-opt-dev" is already in Debian! See 
https://tracker.debian.org/pkg/golang-sourcehut-rjarry-go-opt-dev
2024/02/24 08:54:49 Moving tempfile to 
"golang-sourcehut-rjarry-go-opt_1.4.0.orig.tar.gz"
2024/02/24 08:54:49 Adding remote "origin" with URL 
"g...@salsa.debian.org:go-team/packages/golang-sourcehut-rjarry-go-opt.git"
2024/02/24 08:54:49 Adding remote "sourcehut" with URL 
"https://git.sr.ht/~rjarry/go-opt;
2024/02/24 08:54:50 Running "git fetch sourcehut"
remote: Enumerating objects: 102, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 102 (delta 0), reused 4 (delta 0), pack-reused 98
Receiving objects: 100% (102/102), 32.06 KiB | 10.69 MiB/s, done.
Resolving deltas: 100% (59/59), done.
From https://git.sr.ht/~rjarry/go-opt
 * [new branch]  main   -> sourcehut/main
 * [new tag] v1.4.0 -> v1.4.0
 * [new tag] v1.0.0 -> v1.0.0
 * [new tag] v1.1.0 -> v1.1.0
 * [new tag] v1.2.0 -> v1.2.0
 * [new tag] v1.3.0 -> v1.3.0
tar: This does not look like a tar archive

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
gbp:error: Couldn't unpack 
'/srv/build/golang-sourcehut-rjarry-go-opt_1.4.0.orig.tar.gz': it exited with 2
2024/02/24 08:54:56 Could not create git repository: import-orig: exit status 1


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

Kernel: Linux 6.5.0-21-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
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 dh-make-golang depends on:
ii  git   1:2.43.0-1
ii  git-buildpackage  0.9.33
ii  golang-any2:1.21~3
ii  libc6 2.37-15
ii  pristine-tar  1.50

Versions of packages dh-make-golang recommends:
ii  exim4-daemon-light [mail-transport-agent]  4.97-5
ii  golang-golang-x-tools  1:0.17.0+ds-1

dh-make-golang suggests no packages.

-- no debconf information

-- 
Loren M. Lang
lor...@north-winds.org
http://www.north-winds.org/


Public Key: http://www.north-winds.org/lorenl_pubkey.asc
Fingerprint: 7896 E099 9FC7 9F6C E0ED  E103 222D F356 A57A 98FA


signature.asc
Description: PGP signature


Bug#1064082: ITP: golang-github-cheggaaa-pb -- Console progress bar for Golang

2024-02-16 Thread Loren M. Lang
Package: wnpp
Severity: wishlist
Owner: Loren M. Lang 

* Package name: golang-github-cheggaaa-pb
  Version : 3.1.5-1
  Upstream Author : Sergey Cherepanov
* URL : https://github.com/cheggaaa/pb
* License : BSD-3-clause
  Programming Lang: Go
  Description : Console progress bar for Golang

 Terminal progress bar for Go
 .
 Coverage Status (https://coveralls.io/github/cheggaaa/pb)
 .
 Installation
 .
   go get github.com/cheggaaa/pb/v3
 .
 Documentation for v1 bar available here (/README_V1.md).
 .
 Quick start
 .
   package main
 .
   import (
"time"
 .
"github.com/cheggaaa/pb/v3"
   )
 .
   func main() {
count := 10
 .
// create and start new bar
bar := pb.StartNew(count)
 .
// start bar from 'default' template
// bar := pb.Default.Start(count)
 .
// start bar from 'simple' template
// bar := pb.Simple.Start(count)
 .
// start bar from 'full' template
// bar := pb.Full.Start(count)
 .
for i := 0; i < count; i++ {
bar.Increment()
time.Sleep(time.Millisecond)
}
 .
// finish bar
bar.Finish()
   }
 .
 Result will be like this:
 .
   > go run test.go
   37158 / 10 [>___] 37.16% 916 
p/s
 .
 Settings
 .
   // create bar
   bar := pb.New(count)
 .
   // refresh info every second (default 200ms)
   bar.SetRefreshRate(time.Second)
 .
   // force set io.Writer, by default it's os.Stderr
   bar.SetWriter(os.Stdout)
 .
   // bar will format numbers as bytes (B, KiB, MiB, etc)
   bar.Set(pb.Bytes, true)
 .
   // bar use SI bytes prefix names (B, kB) instead of IEC (B, KiB)
   bar.Set(pb.SIBytesPrefix, true)
 .
   // set custom bar template
   bar.SetTemplateString(myTemplate)
 .
   // check for error after template set
   if err := bar.Err(); err != nil {
   return
   }
 .
   // start bar
   bar.Start()
 .
 Progress bar for IO Operations
 .
   package main
 .
   import (
"crypto/rand"
"io"
"io/ioutil"
 .
"github.com/cheggaaa/pb/v3"
   )
 .
   func main() {
var limit int64 = 1024 * 1024 * 500
 .
// we will copy 500 MiB from /dev/rand to /dev/null
reader := io.LimitReader(rand.Reader, limit)
writer := ioutil.Discard
 .
// start new bar
bar := pb.Full.Start64(limit)
 .
// create proxy reader
barReader := bar.NewProxyReader(reader)
 .
// copy from proxy reader
io.Copy(writer, barReader)
 .
// finish bar
bar.Finish()
   }
 .
 Custom Progress Bar templates
 .
 Rendering based on builtin text/template
 (https://pkg.go.dev/text/template) package. You can use existing pb's
 elements or create you own.
 .
 All available elements are described in the element.go (/v3/element.go)
 file.
 .
 All in one example:
 .
   tmpl := `{{ red "With funcs:" }} {{ bar . "<" "-" (cycle . "↖" "↗" "↘"
 "↙" ) "." ">"}} {{speed . | rndcolor }} {{percent .}} {{string .
 "my_green_string" | green}} {{string . "my_blue_string" | blue}}`
 .
   // start bar based on our template
   bar := pb.ProgressBarTemplate(tmpl).Start64(limit)
 .
   // set values for string elements
   bar.Set("my_green_string", "green").Set("my_blue_string", "blue")


This is a dependency for pwru which is in RFP and I plan to complete packaging
shortly. pwru is an eBPF-based Linux kernel networking debugger.



Bug#1064081: ITP: golang-github-cloudflare-cbpfc -- cBPF to C or eBPF compiler

2024-02-16 Thread Loren M. Lang
Package: wnpp
Severity: wishlist
Owner: Loren M. Lang 

* Package name: golang-github-cloudflare-cbpfc
  Version : 0.0~git20231012.992ed75-1
  Upstream Author : Cloudflare
* URL : https://github.com/cloudflare/cbpfc
* License : BSD-3-clause
  Programming Lang: Go
  Description : cBPF to C or eBPF compiler

 cbpfc
 .
 GoDoc (https://godoc.org/github.com/cloudflare/cbpfc)
 .
 cbpfc is a classic BPF (cBPF) to extended BPF (eBPF) compiler. It can
 compile cBPF to eBPF, or to C, and the generated code should be accepted
 by the kernel verifier.
 .
 cbpfc/clang (https://godoc.org/github.com/cloudflare/cbpfc/clang) is a
 simple clang wrapper for compiling C to eBPF.
 .
 Tests
 .
 Dependencies
 .
  * clang
* Path can be set via environment variable $CLANG
 .
 .
 Unprivileged
 .
  * go test -short
 .
 Full
 .
  * Requires:
* root or CAP_SYS_ADMIN to load XDP programs
* Recent (4.14+) Linux kernel
  * sudo go test


This is a dependency for pwru which is in RFP and I plan to complete packaging
shortly. pwru is an eBPF-based Linux kernel networking debugger.



Bug#1063929: ITP: golang-github-go-quicktest-qt -- Quick helpers for testing Go applications using generics.

2024-02-14 Thread Loren M. Lang
Package: wnpp
Severity: wishlist
Owner: Loren M. Lang 

* Package name: golang-github-go-quicktest-qt
  Version : 1.101.0-1
  Upstream Author : 
* URL : https://github.com/go-quicktest/qt
* License : Expat
  Programming Lang: Go
  Description : Quick helpers for testing Go applications using generics.

 qt: quicker Go tests
 .
 go get github.com/go-quicktest/qt
 .
 Package qt provides a collection of Go helpers for writing tests. It
 uses generics, so requires Go 1.18 at least.
 .
 For a complete API reference, see the package documentation
 (https://pkg.go.dev/github.com/go-quicktest/qt).
 .
 Quicktest helpers can be easily integrated inside regular Go tests, for
 instance:
 .
   import "github.com/go-quicktest/qt"
 .
   func TestFoo(t *testing.T) {
   t.Run("numbers", func(t *testing.T) {
   numbers, err := somepackage.Numbers()
   qt.Assert(t, qt.DeepEquals(numbers, []int{42, 47})
   qt.Assert(t, qt.ErrorMatches(err, "bad wolf"))
   })
   t.Run("nil", func(t *testing.T) {
   got := somepackage.MaybeNil()
   qt.Assert(t, qt.IsNil(got), qt.Commentf("value: %v",
 somepackage.Value))
   })
   }
 .
 Assertions
 .
 An assertion looks like this, where qt.Equals could be replaced by any
 available checker. If the assertion fails, the underlying t.Fatal method
 is called to describe the error and abort the test.
 .
   qt.Assert(t, qt.Equals(someValue, wantValue))
 .
 If you don’t want to abort on failure, use Check instead, which calls
 Error instead of Fatal:
 .
   qt.Check(t, qt.Equals(someValue, wantValue))
 .
 The library provides some base checkers like Equals, DeepEquals,
 Matches, ErrorMatches, IsNil and others. More can be added by
 implementing the Checker interface.
 .
 Other helpers
 .
 The Patch helper makes it a little more convenient to change a global or
 other variable for the duration of a test.


This package is being added to support cilium/pwru which is RFP in BTS
#1063031.



Bug#1062534: RFS: tiv/1.2.1+dfsg-1 [ITP] -- high-resolution command-line image viewer

2024-02-01 Thread Loren M. Lang
Package: sponsorship-requests
Severity: wishlist

Dear mentors,

I am looking for a sponsor for my package "tiv":

 * Package name : tiv
   Version  : 1.2.1+dfsg-1
   Upstream contact : Stefan Haustein 
 * URL  : https://github.com/stefanhaustein/TerminalImageViewer
 * License  : GPL-3+ or Apache-2.0
 * Vcs  : https://salsa.debian.org/penguin359/tiv
   Section  : graphics

The source builds the following binary packages:

  tiv - high-resolution command-line image viewer

To access further information about this package, please visit the following 
URL:

  https://mentors.debian.net/package/tiv/

Alternatively, you can download the package with 'dget' using this command:

  dget -x https://mentors.debian.net/debian/pool/main/t/tiv/tiv_1.2.1+dfsg-1.dsc

Changes for the initial release:

 tiv (1.2.1+dfsg-1) unstable; urgency=low
 .
   * Initial release. Closes: #1062455

Regards,
-- 
Loren M. Lang
lor...@north-winds.org
http://www.north-winds.org/


Public Key: http://www.north-winds.org/lorenl_pubkey.asc
Fingerprint: 7896 E099 9FC7 9F6C E0ED  E103 222D F356 A57A 98FA


signature.asc
Description: PGP signature


Bug#1062455: ITP: tiv -- Small command-line image viewer using RGB ANSI colors and Unicode block characters to render image

2024-02-01 Thread Loren M. Lang
Package: wnpp
Severity: wishlist
Owner: "Loren M. Lang" 
X-Debbugs-Cc: debian-de...@lists.debian.org

* Package name: tiv
  Version : 1.2.1
  Upstream Author : Aaron Liu , Stefan Haustein 

* URL : https://github.com/stefanhaustein/TerminalImageViewer
* License : GPL3, ASL
  Programming Lang: C++
  Description : Small command-line viewer using RGB colors and Unicode 
block characters to render image

Small command-line image viewer using 24-bit RGB ANSI colors and Unicode
block characters which create a 4x8 pixel cell for each character. With
the use of these Unicode block characters, this can provide a higher
resolution image for the same screen real estate.

It was compared with timg and catimg and can get out finer detail than
those tools and make a sharper presentation. The mail_new.png icon seems
to have a lot of fine detail with the text on the page. Here is my
comparision case:

catimg -H 32 /usr/share/icons/mate/256x256/actions/mail_new.png
timg -g 32x32 /usr/share/icons/mate/256x256/actions/mail_new.png
./tiv -h 32 -w 32 /usr/share/icons/mate/256x256/actions/mail_new.png

I am currently planning on maintaining it myself, but I am open if there
is a team that is more appropriate to help with it. The package itself
is very lightweight and should not require much maintenance. I will need
a sponsor to get this package into Debian.

-- 
Loren M. Lang
lor...@north-winds.org
http://www.north-winds.org/


Public Key: http://www.north-winds.org/lorenl_pubkey.asc
Fingerprint: 7896 E099 9FC7 9F6C E0ED  E103 222D F356 A57A 98FA


signature.asc
Description: PGP signature


Bug#1062045: Acknowledgement (pandoc: generates documentation with invalid fonts in groff output)

2024-01-31 Thread Loren M. Lang
On Wed, Jan 31, 2024 at 09:16:38AM +0100, Jonas Smedegaard wrote:
> Control: reassign -1 libghc-pandoc-dev
> Control: force-merge 1053777 -1
> Control: affects 1053777 pandoc
> 
> Hi Loren,
> 
> Quoting Loren M. Lang (2024-01-31 08:35:12)
> > I left the detail description out of the original report. Current
> > version of pandoc will create *roff output during man page generation
> > that refers to invalid fonts C, CI, and possibly others. This will
> > trigger lintian warnings such as the following for packages using pandoc
> > to build their man pages:
> > 
> > groff-message troff::89: warning: cannot select font 'C'
> > 
> > This is a known issue and has been fixed upstream in pandoc 3.1.7 as
> > documented in this issue:
> > 
> > https://github.com/jgm/pandoc/issues/9020
> > 
> > Updating pandoc to 3.1.7 or newer should resolve this issue.
> 
> Thanks for the bugreport.
> 
> Most of pandoc functionality is handled by a Haskell library which is
> packaged separately.  This issue is already reported there, but the
> bugreport is not tagged as affecting this package. With this message
> will (if I cast the runes correctly) reassign and merge this bugreport
> with bug#1053777 and mark it as affecting the pandoc package.

Yes, I just discovered this after attempting to update the pandoc debian
repo. I was able to import-orig --uscan the 3.1.7 release and rebuild
the package without any issues, but then couldn't install it to test
because it didn't match the version of pandoc-data I had installed.
Trying to figure out how to best update that, but the DHG_packages repo
is a bit more sophisticated in it's set-up and I'm not yet sure how it
tracks original tarballs. I'll keep digging into this if that's helpful,
but this is certainly turning into a bigger project than it originally
looked like.

> 
> Kind regards,
> 
>  - Jonas
> 
> -- 
>  * Jonas Smedegaard - idealist & Internet-arkitekt
>  * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>  * Sponsorship: https://ko-fi.com/drjones
> 
>  [x] quote me freely  [ ] ask before reusing  [ ] keep private



-- 
Loren M. Lang
lor...@north-winds.org
http://www.north-winds.org/


Public Key: http://www.north-winds.org/lorenl_pubkey.asc
Fingerprint: 7896 E099 9FC7 9F6C E0ED  E103 222D F356 A57A 98FA


signature.asc
Description: PGP signature


Bug#1062045: Acknowledgement (pandoc: generates documentation with invalid fonts in groff output)

2024-01-30 Thread Loren M. Lang
I left the detail description out of the original report. Current
version of pandoc will create *roff output during man page generation
that refers to invalid fonts C, CI, and possibly others. This will
trigger lintian warnings such as the following for packages using pandoc
to build their man pages:

groff-message troff::89: warning: cannot select font 'C'

This is a known issue and has been fixed upstream in pandoc 3.1.7 as
documented in this issue:

https://github.com/jgm/pandoc/issues/9020

Updating pandoc to 3.1.7 or newer should resolve this issue.

-- 
Loren M. Lang
lor...@north-winds.org
http://www.north-winds.org/


Public Key: http://www.north-winds.org/lorenl_pubkey.asc
Fingerprint: 7896 E099 9FC7 9F6C E0ED  E103 222D F356 A57A 98FA


signature.asc
Description: PGP signature


Bug#1062045: pandoc: generates documentation with invalid fonts in groff output

2024-01-30 Thread Loren M. Lang
Package: pandoc
Version: 3.1.3+ds-2
Severity: normal
X-Debbugs-Cc: penguin...@gmail.com




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

Kernel: Linux 6.5.0-15-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
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 pandoc depends on:
ii  libc62.37-15
ii  libffi8  3.4.4-2
ii  libgmp10 2:6.3.0+dfsg-2
ii  liblua5.4-0  5.4.6-2
ii  libyaml-0-2  0.2.5-1
ii  pandoc-data  3.1.3-1
ii  zlib1g   1:1.3.dfsg-3+b1

pandoc recommends no packages.

Versions of packages pandoc suggests:
pn  citation-style-language-styles  
pn  context 
ii  ghc 9.4.7-2
pn  groff   1.23.0-3
pn  libjs-katex 
pn  libjs-mathjax   
pn  librsvg2-bin
pn  nodejs  
pn  pandoc-citeproc 
ii  perl5.38.2-3
pn  php 
pn  python  
pn  r-base-core 
ii  ruby1:3.1
pn  texlive-latex-extra 
pn  texlive-latex-recommended   
pn  texlive-luatex  
pn  texlive-xetex   
pn  wkhtmltopdf 

-- no debconf information

-- 
Loren M. Lang
lor...@north-winds.org
http://www.north-winds.org/


Public Key: http://www.north-winds.org/lorenl_pubkey.asc
Fingerprint: 7896 E099 9FC7 9F6C E0ED  E103 222D F356 A57A 98FA


signature.asc
Description: PGP signature