Package: dupload
Version: 2.9.6
Severity: normal

Dear Maintainer,

I did: dupload -f --mailonly --to blabla tmp/blabla_4.0.0-2_amd64.changes

I got:
announcing to  bla...@blabla.org
Unknown open() mode '|' at /usr/bin/dupload line 953.

---------

I tried to change line 953 to: 
open $fh_mail, "|-", $sendmail_cmd or fatal("Cannot pipe to $sendmail $!");

I got:
announcing to  bla...@blabla.org
GLOB(0x561bcad694a8)GLOB(0x561bcad694a8)GLOB(0x561bcad694a8)GLOB(0x561bcad694a8)
GLOB(0x561bcad694a8)GLOB(0x561bcad694a8)GLOB(0x561bcad694a8)GLOB(0x561bcad694a8)
GLOB(0x561bcad694a8)GLOB(0x561bcad694a8)GLOB(0x561bcad694a8)GLOB(0x561bcad694a8)
GLOB(0x561bcad694a8)GLOB(0x561bcad694a8)GLOB(0x561bcad694a8)GLOB(0x561bcad694a8)
GLOB(0x561bcad694a8)GLOB(0x561bcad694a8)GLOB(0x561bcad694a8)...
, ok
+ log announcement

I received an email, but with an empty content.

---------

I tried to change line 953 to: 
open $fh_mail, "| $sendmail_cmd " or fatal("Cannot pipe to $sendmail $!");

It was the same than with '|-'

---------

To get rid of the GLOB and getting something in the mail, I changed line
992 to print {$fh_mail} $_;

Regards,


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

Kernel: Linux 5.10.0-9-cloud-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dupload depends on:
ii  libdpkg-perl  1.20.9
ii  perl          5.32.1-4+deb11u2

Versions of packages dupload recommends:
ii  openssh-client  1:8.4p1-5

Versions of packages dupload suggests:
ii  lintian                         2.104.0
ii  postfix [mail-transport-agent]  3.5.6-1+b1

-- no debconf information

Reply via email to