Bug#847478: FTBFS: needs to Build-Depends on gperf

2017-01-29 Thread Ben Hutchings
Control: retitle -1 Locale hash tables are not built from source; rebuilding 
requires gperf
Control: tag -1 - moreinfo
Control: severity -1 normal

On Sun, 18 Dec 2016 22:28:33 +0100 Aurelien Jarno  wrote:
> control: tag -1 + moreinfo
> 
> On 2016-12-08 16:42, Ximin Luo wrote:
> > Package: glibc
> > Version: 2.24-7
> > Severity: serious
> > Tags: patch
> > Justification: fails to build from source (but built successfully in the 
> > past)
> > 
> > Dear Maintainer,
> > 
> > whilst trying to build glibc:
> > 
> > /usr/bin/install -c -m 644 
> > /tmp/debrepro.uGH5xEsmL1/build/source/build-tree/amd64-libc/gnu/lib-names-64.h
> >  
> > /tmp/debrepro.uGH5xEsmL1/build/source/debian/tmp-libc/usr/include/gnu/lib-names-64.h
> > /usr/bin/install -c -m 644 
> > /tmp/debrepro.uGH5xEsmL1/build/source/build-tree/amd64-libc/libBrokenLocale.map
> >  
> > /tmp/debrepro.uGH5xEsmL1/build/source/debian/tmp-libc/usr/lib/x86_64-linux-gnu/libBrokenLocale_pic.map
> > cd programs \
> > && gperf -acCgopt -k1,2,5,9,$ -L ANSI-C -N charmap_hash charmap-kw.gperf > 
> > charmap-kw.h.new
> > /bin/bash: line 1: gperf: command not found
> > Makefile:66: recipe for target 'programs/charmap-kw.h' failed
[...]
> Strange, I am not able to reproduce the problem, the package built fine
> here. Also it built fine on the build daemons for quite some time and
> there hasn't been any recent change besides hurd one.
> 
> Are you doing something special to trigger this bug? Do you have the
> build log?

Looking for gperf in the source, I see:

[locale/Makefile]
programs/%-kw.h: programs/%-kw.gperf
cd programs \
&& $(GPERF) $(GPERFFLAGS) -N $(@F:-kw.h=_hash) $( $(@F).new
mv -f $@.new $@

and there are these files:

-rw-rw 1 ben ben  1553 Aug  2 03:01 locale/programs/charmap-kw.gperf
-rw-rw 1 ben ben  7086 Aug  2 03:01 locale/programs/charmap-kw.h
-rw-rw 1 ben ben 10382 Aug  2 03:01 locale/programs/locfile-kw.gperf
-rw-rw 1 ben ben 25742 Aug  2 03:01 locale/programs/locfile-kw.h

All the timestamps are equal in the upstream tarball, but if the .gperf
files are touched before building it will result in this build failure.

Ben.

-- 
Ben Hutchings
All the simple programs have been written, and all the good names
taken.



signature.asc
Description: This is a digitally signed message part


Processed: Re: Bug#847478: FTBFS: needs to Build-Depends on gperf

2017-01-29 Thread Debian Bug Tracking System
Processing control commands:

> retitle -1 Locale hash tables are not built from source; rebuilding requires 
> gperf
Bug #847478 [glibc] FTBFS: needs to Build-Depends on gperf
Changed Bug title to 'Locale hash tables are not built from source; rebuilding 
requires gperf' from 'FTBFS: needs to Build-Depends on gperf'.
> tag -1 - moreinfo
Bug #847478 [glibc] Locale hash tables are not built from source; rebuilding 
requires gperf
Removed tag(s) moreinfo.
> severity -1 normal
Bug #847478 [glibc] Locale hash tables are not built from source; rebuilding 
requires gperf
Severity set to 'normal' from 'serious'

-- 
847478: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847478
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#847478: FTBFS: needs to Build-Depends on gperf

2016-12-18 Thread Aurelien Jarno
control: tag -1 + moreinfo

On 2016-12-08 16:42, Ximin Luo wrote:
> Package: glibc
> Version: 2.24-7
> Severity: serious
> Tags: patch
> Justification: fails to build from source (but built successfully in the past)
> 
> Dear Maintainer,
> 
> whilst trying to build glibc:
> 
> /usr/bin/install -c -m 644 
> /tmp/debrepro.uGH5xEsmL1/build/source/build-tree/amd64-libc/gnu/lib-names-64.h
>  
> /tmp/debrepro.uGH5xEsmL1/build/source/debian/tmp-libc/usr/include/gnu/lib-names-64.h
> /usr/bin/install -c -m 644 
> /tmp/debrepro.uGH5xEsmL1/build/source/build-tree/amd64-libc/libBrokenLocale.map
>  
> /tmp/debrepro.uGH5xEsmL1/build/source/debian/tmp-libc/usr/lib/x86_64-linux-gnu/libBrokenLocale_pic.map
> cd programs \
> && gperf -acCgopt -k1,2,5,9,$ -L ANSI-C -N charmap_hash charmap-kw.gperf > 
> charmap-kw.h.new
> /bin/bash: line 1: gperf: command not found
> Makefile:66: recipe for target 'programs/charmap-kw.h' failed
> make[3]: *** [programs/charmap-kw.h] Error 127
> make[3]: Leaving directory '/tmp/debrepro.uGH5xEsmL1/build/source/locale'
> Makefile:230: recipe for target 'locale/subdir_install' failed
> make[2]: *** [locale/subdir_install] Error 2
> make[2]: Leaving directory '/tmp/debrepro.uGH5xEsmL1/build/source'
> Makefile:12: recipe for target 'install' failed
> make[1]: *** [install] Error 2
> make[1]: Leaving directory 
> '/tmp/debrepro.uGH5xEsmL1/build/source/build-tree/amd64-libc'
> debian/rules.d/build.mk:162: recipe for target 
> '/tmp/debrepro.uGH5xEsmL1/build/source/stamp-dir/install_libc' failed
> make: *** [/tmp/debrepro.uGH5xEsmL1/build/source/stamp-dir/install_libc] 
> Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 
> 2
> 
> I: artifacts left in /tmp/debrepro.uGH5xEsmL1
> 
> Probably this just needs a Build-Depends: gperf, I am trying the build again 
> now.

Strange, I am not able to reproduce the problem, the package built fine
here. Also it built fine on the build daemons for quite some time and
there hasn't been any recent change besides hurd one.

Are you doing something special to trigger this bug? Do you have the
build log?

Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net



Processed: Re: Bug#847478: FTBFS: needs to Build-Depends on gperf

2016-12-18 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 + moreinfo
Bug #847478 [glibc] FTBFS: needs to Build-Depends on gperf
Added tag(s) moreinfo.

-- 
847478: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847478
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#847478: FTBFS: needs to Build-Depends on gperf

2016-12-08 Thread Ximin Luo
Package: glibc
Version: 2.24-7
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

whilst trying to build glibc:

/usr/bin/install -c -m 644 
/tmp/debrepro.uGH5xEsmL1/build/source/build-tree/amd64-libc/gnu/lib-names-64.h 
/tmp/debrepro.uGH5xEsmL1/build/source/debian/tmp-libc/usr/include/gnu/lib-names-64.h
/usr/bin/install -c -m 644 
/tmp/debrepro.uGH5xEsmL1/build/source/build-tree/amd64-libc/libBrokenLocale.map 
/tmp/debrepro.uGH5xEsmL1/build/source/debian/tmp-libc/usr/lib/x86_64-linux-gnu/libBrokenLocale_pic.map
cd programs \
&& gperf -acCgopt -k1,2,5,9,$ -L ANSI-C -N charmap_hash charmap-kw.gperf > 
charmap-kw.h.new
/bin/bash: line 1: gperf: command not found
Makefile:66: recipe for target 'programs/charmap-kw.h' failed
make[3]: *** [programs/charmap-kw.h] Error 127
make[3]: Leaving directory '/tmp/debrepro.uGH5xEsmL1/build/source/locale'
Makefile:230: recipe for target 'locale/subdir_install' failed
make[2]: *** [locale/subdir_install] Error 2
make[2]: Leaving directory '/tmp/debrepro.uGH5xEsmL1/build/source'
Makefile:12: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory 
'/tmp/debrepro.uGH5xEsmL1/build/source/build-tree/amd64-libc'
debian/rules.d/build.mk:162: recipe for target 
'/tmp/debrepro.uGH5xEsmL1/build/source/stamp-dir/install_libc' failed
make: *** [/tmp/debrepro.uGH5xEsmL1/build/source/stamp-dir/install_libc] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

I: artifacts left in /tmp/debrepro.uGH5xEsmL1

Probably this just needs a Build-Depends: gperf, I am trying the build again 
now.

X

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (300, 'unstable'), (200, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)