Drop d/control.in file
wrap-and-sort is used in our build machinery, all throughout Apertis.
When building this package, we get:
$ wrap-and-sort -vvv
debian/control
debian/control.in
Traceback (most recent call last):
File "/usr/bin/wrap-and-sort", line 496, in <module>
main()
File "/usr/bin/wrap-and-sort", line 481, in main
modified_files = wrap_and_sort(args)
^^^^^^^^^^^^^^^^^^^
File "/usr/bin/wrap-and-sort", line 312, in wrap_and_sort
control = WrapAndSortControl(control_file, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/wrap-and-sort", line 99, in __init__
super().__init__(filename, use_rts_parser=args.rts_parser)
File "/usr/lib/python3/dist-packages/devscripts/control.py", line 210, in __init__
self._deb822_file = parse_deb822_file(sequence)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/debian/_deb822_repro/parsing.py", line 3095, in parse_deb822_file
deb822_file = Deb822FileElement(LinkedList(tokens))
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/debian/_util.py", line 159, in __init__
self.extend(values)
File "/usr/lib/python3/dist-packages/debian/_util.py", line 272, in extend
for v in values:
File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 104, in _impl
for token in token_stream:
File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 104, in _impl
for token in token_stream:
File "/usr/lib/python3/dist-packages/debian/_deb822_repro/parsing.py", line 2972, in _build_field_with_value
for token_or_element in buffered_stream:
File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 143, in __next__
return next(self._stream)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 104, in _impl
for token in token_stream:
File "/usr/lib/python3/dist-packages/debian/_deb822_repro/parsing.py", line 2908, in _build_value_line
for token in buffered_stream:
File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 143, in __next__
return next(self._stream)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 104, in _impl
for token in token_stream:
File "/usr/lib/python3/dist-packages/debian/_deb822_repro/parsing.py", line 3031, in _abort_on_error_tokens
raise SyntaxOrParseError(
debian._deb822_repro.types.SyntaxOrParseError: Syntax or Parse error on the line: "babel-helper-evaluate-path\n"
So, we drop the d/control.in file.
Note: d/control.in is important in the upstream build machinery, when a new package needs to be added. d/control.in stands as a template. Details about its behavirous/usage is explained in d/control.generate file
Signed-off-by: Ritesh Raj Sarraf ritesh.sarraf@collabora.com