Bug#923619: coreutils: FTBFS on hppa - Unknown error 252

2019-03-04 Thread Helge Deller
This bug can be closed now.

The fakeroot package was rebuilt against new kernel headers and
installed in the buildd chroots.
With that change, coreutils now built sucessfully:
https://buildd.debian.org/status/logs.php?pkg=coreutils=hppa

Helge



Bug#923619: coreutils: FTBFS on hppa - Unknown error 252

2019-03-03 Thread John David Anglin
On 2019-03-03 3:47 p.m., Helge Deller wrote:
> On 03.03.19 19:53, Helge Deller wrote:
>> On 03.03.19 00:45, John David Anglin wrote:
>>> The error doesn't occur if I do a simple "configure
>>> --prefix=somewhere", make and make install.
> fakeroot is the culprit. 
Makes sense.  I wonder why we didn't see this before.

-- 
John David Anglin  dave.ang...@bell.net



Bug#923619: coreutils: FTBFS on hppa - Unknown error 252

2019-03-03 Thread Helge Deller
On 03.03.19 21:47, Helge Deller wrote:
> fakeroot is the culprit. 
> It uses ENOTSUP and the binary is still old and thus may use 252 for ENOTSUP.

I've just triggered an NMU of fakeroot.
As soon as this finished, building of coreutils should finish without errors.

Helge 



Bug#923619: coreutils: FTBFS on hppa - Unknown error 252

2019-03-03 Thread Helge Deller
On 03.03.19 19:53, Helge Deller wrote:
> On 03.03.19 00:45, John David Anglin wrote:
>> The error doesn't occur if I do a simple "configure
>> --prefix=somewhere", make and make install.

fakeroot is the culprit. 
It uses ENOTSUP and the binary is still old and thus may use 252 for ENOTSUP.
Still need to understand if triggering nmu build of fakeroot is enough to fix 
it.

Helge



Bug#923619: coreutils: FTBFS on hppa - Unknown error 252

2019-03-03 Thread Helge Deller
On 03.03.19 00:45, John David Anglin wrote:
> The error doesn't occur if I do a simple "configure
> --prefix=somewhere", make and make install.

I think it depends on the kernel version you are running.
Kernel 4.19 includes the ENOTSUP change, I assume you build
on an older kernel without this change.
Additionally I triggered a nmu-build of liblinux package
on march-1st, which might have some impact.
Anyway, I just returned from a short weekend-vacation and
started looking into it now again.

Helge



Bug#923619: coreutils: FTBFS on hppa - Unknown error 252

2019-03-02 Thread John David Anglin
On 2019-03-02 4:55 p.m., John David Anglin wrote:
> On 2019-03-02 4:22 p.m., Michael Stone wrote:
>> What happens if you rebuild -1?
> It fails in the same manner as -2 and -3.
The error doesn't occur if I do a simple "configure --prefix=somewhere", make 
and make install.

-- 
John David Anglin  dave.ang...@bell.net



Bug#923619: coreutils: FTBFS on hppa - Unknown error 252

2019-03-02 Thread John David Anglin
On 2019-03-02 4:22 p.m., Michael Stone wrote:
> What happens if you rebuild -1?
It fails in the same manner as -2 and -3.

I've cc'd Helge as he did ENOTSUP change.

-- 
John David Anglin  dave.ang...@bell.net



Bug#923619: coreutils: FTBFS on hppa - Unknown error 252

2019-03-02 Thread Michael Stone
On March 2, 2019 4:09:14 PM EST, John David Anglin  wrote:
>Source: coreutils
>Version: 8.30-3
>Severity: normal
>
>Dear Maintainer,
>
>Since 8.30-2, coreutils fails to build on hppa with following error:
>
>make[5]: Entering directory '/<>'
> /bin/mkdir -p '/<>/debian/coreutils/usr/bin'
>src/ginstall -c src/ginstall
>'/<>/debian/coreutils/usr/bin/./install'
>src/ginstall: setting permissions for
>'/<>/debian/coreutils/usr/bin/./install': Unknown error
>252
>make[5]: *** [Makefile:6524: install-binPROGRAMS] Error 1
>
>Error 252 used to be ENOTSUP but this error number is no longer used on
>hppa-linux.  ENOTSUP is now defined to be EOPNOTSUPP.
>
>I tried to debug the failing command to see if I could find how the
>error
>occurs.  However, src/ginstall doesn't fail when I run the command
>outside
>the build.  So, I'm probably not setting the environment correctly.
>
>Regards,
>Dave Anglin
>
>-- System Information:
>Debian Release: buster/sid
>  APT prefers buildd-unstable
>  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
>Architecture: hppa (parisc64)
>
>Kernel: Linux 4.14.104+ (SMP w/4 CPU cores)
>Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C
>(charmap=UTF-8)
>Shell: /bin/sh linked to /bin/dash
>Init: systemd (via /run/systemd/system)
>
>-- no debconf information

What happens if you rebuild -1?
-- 
Michael Stone
(From phone, please excuse typos)



Bug#923619: coreutils: FTBFS on hppa - Unknown error 252

2019-03-02 Thread John David Anglin
Source: coreutils
Version: 8.30-3
Severity: normal

Dear Maintainer,

Since 8.30-2, coreutils fails to build on hppa with following error:

make[5]: Entering directory '/<>'
 /bin/mkdir -p '/<>/debian/coreutils/usr/bin'
  src/ginstall -c src/ginstall 
'/<>/debian/coreutils/usr/bin/./install'
src/ginstall: setting permissions for 
'/<>/debian/coreutils/usr/bin/./install': Unknown error 252
make[5]: *** [Makefile:6524: install-binPROGRAMS] Error 1

Error 252 used to be ENOTSUP but this error number is no longer used on
hppa-linux.  ENOTSUP is now defined to be EOPNOTSUPP.

I tried to debug the failing command to see if I could find how the error
occurs.  However, src/ginstall doesn't fail when I run the command outside
the build.  So, I'm probably not setting the environment correctly.

Regards,
Dave Anglin

-- System Information:
Debian Release: buster/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 4.14.104+ (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information