Wireshark-bugs: [Wireshark-bugs] [Bug 12621] New: asn2wrs.py", line 196, in __init__ "Unexpected

Date: Fri, 15 Jul 2016 08:56:24 +0000
Bug ID 12621
Summary asn2wrs.py", line 196, in __init__ "Unexpected token %s(%r)" % (self.tok.type, self.tok.value)
Product Wireshark
Version 2.1.x (Experimental)
Hardware x86-64
OS Ubuntu
Status UNCONFIRMED
Severity Blocker
Priority Low
Component Build process
Assignee [email protected]
Reporter [email protected]

Created attachment 14734 [details]
Whole log

Build Information:
git sources 2.1.1
--
Compilation error on Ubuntu 16.04 4.4.0

    echo --------
    echo Cleaning
    echo --------
    cd git-wireshark
    git reset --hard
    git clean -fxd :/
    git fetch --progress --prune origin
    git checkout v${release_number}

    echo --------
    echo Building
    echo --------
    dpkg-buildpackage -b -m"Jean-Christophe Manciot
<[email protected]>"

...
[  0%] Generating x509if-exp.cnf
cd
/home/actionmystique/Program-Files/Ubuntu/Wireshark/git-wireshark/obj-x86_64-linux-gnu/epan/dissectors/asn1/x509if
&& /usr/bin/python
/home/actionmystique/Program-Files/Ubuntu/Wireshark/git-wireshark/tools/asn2wrs.py
-E -b -p x509if -c
/home/actionmystique/Program-Files/Ubuntu/Wireshark/git-wireshark/epan/dissectors/asn1/x509if/x509if.cnf
-D
/home/actionmystique/Program-Files/Ubuntu/Wireshark/git-wireshark/epan/dissectors/asn1/x509if
InformationFramework.asn ServiceAdministration.asn
ASN.1 to Wireshark dissector compiler
Traceback (most recent call last):
  File
"/home/actionmystique/Program-Files/Ubuntu/Wireshark/git-wireshark/tools/asn2wrs.py",
line 8038, in <module>
    eth_main()
  File
"/home/actionmystique/Program-Files/Ubuntu/Wireshark/git-wireshark/tools/asn2wrs.py",
line 7970, in eth_main
    ast.extend(yacc.parse(data, lexer=lexer, debug=pd))
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 331, in parse
    return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 1181, in
parseopt_notrack
    tok = call_errorfunc(self.errorfunc, errtoken, self)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 193, in
call_errorfunc
    r = errorfunc(token)
  File
"/home/actionmystique/Program-Files/Ubuntu/Wireshark/git-wireshark/tools/asn2wrs.py",
line 7808, in p_error
    raise ParseError(t, input_file)
  File
"/home/actionmystique/Program-Files/Ubuntu/Wireshark/git-wireshark/tools/asn2wrs.py",
line 196, in __init__
    self.msg =  "Unexpected token %s(%r)" % (self.tok.type, self.tok.value)
AttributeError: 'NoneType' object has no attribute 'type'
epan/dissectors/asn1/x509if/CMakeFiles/generate-x509if-exp.cnf.dir/build.make:68:
recipe for target 'epan/dissectors/asn1/x509if/x509if-exp.cnf' failed
make[5]: *** [epan/dissectors/asn1/x509if/x509if-exp.cnf] Error 1

Whole log is attached


You are receiving this mail because:
  • You are watching all bug changes.