Bug#897383: proftpd-mod-tar: FTBFS on hurd-i386

2018-05-01 Thread James Clarke
On 1 May 2018, at 22:15, Hilmar Preuße  wrote:
> 
> On 01.05.2018 20:22, Hilmar Preusse wrote:
> 
> Hi,
> 
>> We fail to build from source on Hurd:
>> 
>> https://buildd.debian.org/status/fetch.php?pkg=proftpd-mod-tar=hurd-i386=0.3.3-2=1525171751=0
>> 
> I noticed that there is v0.4 available from upstream. I pushed it to our
> repo. My impression is that it solves the bug.
> 
> https://salsa.debian.org/debian-proftpd-team/proftpd-mod-tar.git
> 
> @Hurd-Porters: could you confirm this. Thanks!

Yep, 51b160e builds fine on exodar.debian.net, the hurd-i386 porterbox.

James



Bug#897383: proftpd-mod-tar: FTBFS on hurd-i386

2018-05-01 Thread Hilmar Preuße
On 01.05.2018 20:22, Hilmar Preusse wrote:

Hi,

> We fail to build from source on Hurd:
> 
> https://buildd.debian.org/status/fetch.php?pkg=proftpd-mod-tar=hurd-i386=0.3.3-2=1525171751=0
> 
I noticed that there is v0.4 available from upstream. I pushed it to our
repo. My impression is that it solves the bug.

https://salsa.debian.org/debian-proftpd-team/proftpd-mod-tar.git

@Hurd-Porters: could you confirm this. Thanks!

Hilmar
-- 
#206401 http://counter.li.org



Bug#897383: proftpd-mod-tar: FTBFS on hurd-i386

2018-05-01 Thread Hilmar Preusse
Package: proftpd-mod-tar
Version: 0.3.3-2
Severity: important
Tags: upstream

We fail to build from source on Hurd:

https://buildd.debian.org/status/fetch.php?pkg=proftpd-mod-tar=hurd-i386=0.3.3-2=1525171751=0

libtool: compile:  gcc -DGNU -g2 -g -O2 
-fdebug-prefix-map=/build/proftpd-dfsg-8B2tAe/proftpd-dfsg-1.3.6=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall 
-fno-omit-frame-pointer -Werror=implicit-function-declaration 
-DPR_SHARED_MODULE -I. -I/usr/include/proftpd -c mod_tar.c  -fPIC -DPIC -o 
.libs/mod_tar.o
mod_tar.c:69:16: error: 'MAXPATHLEN' undeclared here (not in a function); did 
you mean 'T_MAXPATHLEN'?
   char ti_name[MAXPATHLEN];
^~
T_MAXPATHLEN
mod_tar.c: In function 'tar_log_retr':
mod_tar.c:788:8: warning: assignment discards 'const' qualifier from pointer 
target type [-Wdiscarded-qualifiers]
   path = pr_table_get(cmd->notes, "mod_tar.tar-file", NULL);
^
mod_tar.c:801:8: warning: assignment discards 'const' qualifier from pointer 
target type [-Wdiscarded-qualifiers]
   path = pr_table_get(cmd->notes, "mod_tar.orig-path", NULL);
^
prxs: error executing command (1)

Hilmar

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

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

Versions of packages proftpd-mod-tar depends on:
ii  libbz2-1.0 1.0.6-8.1
ii  libc6  2.27-3
pn  libtar0
ii  proftpd-basic [proftpd-abi-1.3.6]  1.3.6-2
ii  zlib1g 1:1.2.11.dfsg-1

proftpd-mod-tar recommends no packages.

proftpd-mod-tar suggests no packages.