build error for 'etld_dafsa' generator

NEW
Unassigned

Status

()

Core
Build Config
12 days ago
8 days ago

People

(Reporter: junior, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 days ago
IIRC it happened twice in my computer for the following error message:
/netwerk/dns/nsEffectiveTLDService.cpp:42:24: error: no member named 'kDafsa' in namespace 'etld_dafsa'

STR:
1. pop all my local queue
2. hg pull -u
3. mach build


build success after:
1. mach configure && mach clobber
or
2. touch netwerk/dns/prepare_tlds.py
The STR involving touching prepare_tlds.py are much more interesting.

But I can't reproduce this failure. Could you please confirm it reproduces with:

$ ./mach clobber
$ ./mach build
$ touch netwerk/dns/prepare_tlds.py
$ ./mach build -v netwerk/dns

If so, please upload the output of that.

Updated

9 days ago
Flags: needinfo?(juhsu)
(Reporter)

Comment 2

8 days ago
(In reply to Gregory Szorc [:gps] from comment #1)
> The STR involving touching prepare_tlds.py are much more interesting.
> 
> But I can't reproduce this failure. Could you please confirm it reproduces
> with:
> 
> $ ./mach clobber
> $ ./mach build
> $ touch netwerk/dns/prepare_tlds.py
> $ ./mach build -v netwerk/dns
> 
> If so, please upload the output of that.

It's not reproducible to me. Only occur twice here.

Moreover, |touch| is not in the reproducing step.
It's for generating |__GENERATED__/netwerk/dns/etld_data.inc| and avoid the build error.

Last time I encounter the build failure, 
I found that |__GENERATED__/netwerk/dns/etld_data.inc| is an empty file.
thus suggesting me to touch |netwerk/dns/prepare_tlds.py|

To confirm, when I see the build failure several months ago,
build success after |mach configure && mach clobber && mach build|.
Flags: needinfo?(juhsu)
You need to log in before you can comment on or make changes to this bug.