Skip to content

Commit cfab27d

Browse files
committed
debian/rules: reduce log spam from asn1 target
There are 3694 warnings for one of the following two messages: UserWarning: The same field names for different types. Explicit field renaming is recommended. UserWarning: The same type names for different types. Explicit type renaming is recommended. Both warnings are accompanied by some context. Since the packager is unlikely going to address these issues, and CI systems struggle with the size of the generated logs, disable this subset of warnings. The output of `ninja asn1` shrinks from 28191 lines (2.4MiB) to 483 lines (32KiB). Change-Id: I44e9e1ab40f2255136fb1440e3bde2ccc9e55295 Reviewed-on: https://code.wireshark.org/review/34098 Petri-Dish: Peter Wu <[email protected]> Tested-by: Petri Dish Buildbot Reviewed-by: Balint Reczey <[email protected]>
1 parent ede4ecb commit cfab27d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

debian/rules

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ override_dh_auto_configure:
2727
dh_auto_configure -- -DBUILD_xxx2deb=ON
2828

2929
override_dh_auto_build:
30+
# Ignore warnings from asn2wrs.py about duplicate field names.
31+
PYTHONWARNINGS='ignore:The same:UserWarning::0' \
3032
$(MAKE) -C $(CURDIR)/obj-* asn1
3133
dh_auto_build
3234
$(MAKE) -C $(CURDIR)/obj-* user_guide_html developer_guide_html

0 commit comments

Comments
 (0)