Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 52129: /trunk/asn1/ /trunk/asn1/p22/
From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Tue, 17 Sep 2013 21:10:24 -0400
I discovered the dependency failure for p7, p22 and x509ce with nmake on Windows 7 64-bit.  Output is attached.

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Joerg Mayer
Sent: Tuesday, September 17, 2013 6:47 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] [Wireshark-commits] rev 52129: /trunk/asn1/ /trunk/asn1/p22/: CMakeLists.txt Makefile.common /trunk/asn1/p7/: CMakeLists.txt Makefile.common /trunk/asn1/x509ce/: CMakeLists.txt Makefile.common

On Tue, Sep 17, 2013 at 05:01:34PM -0400, Maynard, Chris wrote:
> I'm still seeing dependency problems for all 3.

Can you reproduce this with cmake or is this autotools only?
How to reproduce and can you provide a log of this?

> BTW, some asn files have non-ASCII characters in them.  Do we care?  Those characters may only be in comments, but should they be removed anyway?  A nice little command I dug up somewhere to locate the characters:  

If the files are copied verbatim from their sources, then these should remain, otherwise they need to go.

Ciao
      Jörg
-- 












CONFIDENTIALITY NOTICE: The information contained in this email message is intended only for use of the intended recipient. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately delete it from your system and notify the sender by replying to this email.  Thank you.
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

	cd x509ce
	"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64\nmake.exe" /                   -f Makefile.nmake all

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

	"C:\Python27\python.exe" "../../tools/asn2wrs.py"  -E -b  -p x509ce  -c ./x509ce.cnf  -D .   CertificateExtensions.asn  CertificateExtensionsCiplus.asn 
ASN.1 to Wireshark dissector compiler
./x509ce.cnf:18: UserWarning: Non-empty line in empty context
  ##.CLASS ATTRIBUTE
./x509ce.cnf:29: UserWarning: Non-empty line in empty context
  ##.END
Traceback (most recent call last):
  File "../../tools/asn2wrs.py", line 8002, in <module>
    eth_main()
  File "../../tools/asn2wrs.py", line 7933, in eth_main
    ast.extend(yacc.parse(f.read(), lexer=lexer, debug=pd))
  File "C:\wireshark\trunk\tools\yacc.py", line 265, in parse
    return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
  File "C:\wireshark\trunk\tools\yacc.py", line 1047, in parseopt_notrack
    tok = self.errorfunc(errtoken)
  File "../../tools/asn2wrs.py", line 7781, in p_error
    raise ParseError(t, input_file)
__main__.ParseError: CertificateExtensions.asn:30: Unexpected token SYNTAX('SYNTAX')
NMAKE : fatal error U1077: 'C:\Python27\python.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64\nmake.exe"' : return code '0x2'
Stop.
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

	cd p7
	"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64\nmake.exe" /                   -f Makefile.nmake all

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

	"C:\Python27\python.exe" "../../tools/asn2wrs.py"  -E -b -L -C  -p p7  -c ./p7.cnf  -D .   MSAbstractService.asn  MSGeneralAttributeTypes.asn  MSAccessProtocol.asn  MSUpperBounds.asn 
ASN.1 to Wireshark dissector compiler
Traceback (most recent call last):
  File "../../tools/asn2wrs.py", line 8002, in <module>
    eth_main()
  File "../../tools/asn2wrs.py", line 7933, in eth_main
    ast.extend(yacc.parse(f.read(), lexer=lexer, debug=pd))
  File "C:\wireshark\trunk\tools\yacc.py", line 265, in parse
    return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
  File "C:\wireshark\trunk\tools\yacc.py", line 1047, in parseopt_notrack
    tok = self.errorfunc(errtoken)
  File "../../tools/asn2wrs.py", line 7781, in p_error
    raise ParseError(t, input_file)
__main__.ParseError: MSAbstractService.asn:861: Unexpected token UCASE_IDENT('SequenceNumber')
NMAKE : fatal error U1077: 'C:\Python27\python.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64\nmake.exe"' : return code '0x2'
Stop.
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

	cd p22
	"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64\nmake.exe" /                   -f Makefile.nmake all

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

	"C:\Python27\python.exe" "../../tools/asn2wrs.py"  -E -b -C  -p p22  -c ./p22.cnf  -D .   IPMSInformationObjects.asn  IPMSHeadingExtensions.asn  IPMSExtendedBodyPartTypes2.asn  IPMSFileTransferBodyPartType.asn  IPMSExtendedVoiceBodyPartType.asn  IPMSForwardedContentBodyPartType.asn  IPMSMessageStoreAttributes.asn  IPMSSecurityExtensions.asn  IPMSObjectIdentifiers.asn  IPMSUpperBounds.asn 
ASN.1 to Wireshark dissector compiler
Traceback (most recent call last):
  File "../../tools/asn2wrs.py", line 8002, in <module>
    eth_main()
  File "../../tools/asn2wrs.py", line 7933, in eth_main
    ast.extend(yacc.parse(f.read(), lexer=lexer, debug=pd))
  File "C:\wireshark\trunk\tools\yacc.py", line 265, in parse
    return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
  File "C:\wireshark\trunk\tools\yacc.py", line 1047, in parseopt_notrack
    tok = self.errorfunc(errtoken)
  File "../../tools/asn2wrs.py", line 7781, in p_error
    raise ParseError(t, input_file)
__main__.ParseError: IPMSInformationObjects.asn:220: Unexpected token UCASE_IDENT('BlindCopyRecipientsField')
NMAKE : fatal error U1077: 'C:\Python27\python.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64\nmake.exe"' : return code '0x2'
Stop.