Bug#844865: nco: FTBFS: ncap_lex.l:60:60: fatal error: ncap_yacc.h: No such file or directory

2016-11-19 Thread Sebastiaan Couwenberg
Control: tags -1 - unreproducible
Control: tags -1 + pending

On 11/19/2016 11:05 AM, Sebastiaan Couwenberg wrote:
> On 11/19/2016 07:47 AM, Lucas Nussbaum wrote:
>> During a rebuild of all packages in sid, your package failed to build on
>> amd64.
>>
>>> ncap_lex.l:60:60: fatal error: ncap_yacc.h: No such file or directory
>>>  #include "ncap_yacc.h" /* Symbol definitions from parser */
>>> ^
>>> compilation terminated.
> 
> This looks like a missing dependency in the Makefile triggered by the
> massively parallel build. I cannot build with parallel=64 without
> melting my CPU, and cannot reproduce the issue with parallel=3 I
> normally use.
> 
> I'll see if I can provide a theoretical fix.

I was able to reproduce this issue without melting my CPU, and limiting
the parallel build to max 32 processes fixed the issue for me.

I've also forwarded this issue upstream to get the dependencies fixed to
make the max-parallel workaround obsolete.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#844865: nco: FTBFS: ncap_lex.l:60:60: fatal error: ncap_yacc.h: No such file or directory

2016-11-19 Thread Sebastiaan Couwenberg
Control: tags -1 unreproducible

On 11/19/2016 07:47 AM, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
>> ncap_lex.l:60:60: fatal error: ncap_yacc.h: No such file or directory
>>  #include "ncap_yacc.h" /* Symbol definitions from parser */
>> ^
>> compilation terminated.

This looks like a missing dependency in the Makefile triggered by the
massively parallel build. I cannot build with parallel=64 without
melting my CPU, and cannot reproduce the issue with parallel=3 I
normally use.

I'll see if I can provide a theoretical fix.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#844865: nco: FTBFS: ncap_lex.l:60:60: fatal error: ncap_yacc.h: No such file or directory

2016-11-18 Thread Lucas Nussbaum
Source: nco
Version: 4.6.2-1
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20161118 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/include -I/usr/include/hdf5/serial 
> -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include  -g -O2 
> -fdebug-prefix-map=/<>=. 
> -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
> -Werror=format-security -fopenmp -std=c99 -D_BSD_SOURCE -D_POSIX_SOURCE -c -o 
> ncap_lex.o ncap_lex.c
> In file included from /usr/include/stdio.h:27:0,
>  from ncap_lex.c:38:
> /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and 
> _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
>^~~
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include 
> -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include 
> -I/usr/include -g -O2 -fdebug-prefix-map=/<>=. 
> -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
> -Werror=format-security -fopenmp -std=c99 -D_BSD_SOURCE -D_POSIX_SOURCE -c 
> nco_cnf_typ.c  -fPIC -DPIC -o .libs/nco_cnf_typ.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include 
> -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include 
> -I/usr/include -g -O2 -fdebug-prefix-map=/<>=. 
> -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
> -Werror=format-security -fopenmp -std=c99 -D_BSD_SOURCE -D_POSIX_SOURCE -c 
> nco_cln_utl.c  -fPIC -DPIC -o .libs/nco_cln_utl.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include 
> -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include 
> -I/usr/include -g -O2 -fdebug-prefix-map=/<>=. 
> -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
> -Werror=format-security -fopenmp -std=c99 -D_BSD_SOURCE -D_POSIX_SOURCE -c 
> nco_att_utl.c  -fPIC -DPIC -o .libs/nco_att_utl.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include 
> -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include 
> -I/usr/include -g -O2 -fdebug-prefix-map=/<>=. 
> -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
> -Werror=format-security -fopenmp -std=c99 -D_BSD_SOURCE -D_POSIX_SOURCE -c 
> nco_rgr.c  -fPIC -DPIC -o .libs/nco_rgr.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include 
> -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include 
> -I/usr/include -g -O2 -fdebug-prefix-map=/<>=. 
> -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
> -Werror=format-security -fopenmp -std=c99 -D_BSD_SOURCE -D_POSIX_SOURCE -c 
> nco_mta.c  -fPIC -DPIC -o .libs/nco_mta.o
> In file included from /usr/include/math.h:26:0,
>  from nco_att_utl.h:21,
>  from nco_att_utl.c:10:
> /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and 
> _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
>^~~
> In file included from /usr/include/math.h:26:0,
>  from nco_cnf_typ.h:17,
>  from nco_cnf_typ.c:10:
> /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and 
> _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
>^~~
> In file included from /usr/include/limits.h:25:0,
>  from 
> /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/limits.h:168,
>  from 
> /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/syslimits.h:7,
>  from 
> /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/limits.h:34,
>  from nco_rgr.h:17,
>  from nco_rgr.c:10:
> /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and 
> _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
>^~~
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include 
> -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include 
> -I/usr/include -g -O2 -fdebug-prefix-map=/<>=. 
> -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
> -Werror=format-security -fopenmp -std=c99 -D_BSD_SOURCE -D_POSIX_SOURCE -c 
> nco_cnk.c  -fPIC -DPIC -o .libs/nco_cnk.o
> In file included from /usr/include/ctype.h:25:0,
>  from nco_cln_utl.h:21,
>  from nco_cln_utl.c:10:
> /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and 
> _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>  # warning "_BSD_SOURCE and