[ 
https://issues.apache.org/jira/browse/FLINK-41545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18147499#comment-18147499
 ] 

Martijn Visser commented on FLINK-41545:
----------------------------------------

Found while checking a review nit on #30000. {{NoticeParser}} takes any token 
as the version, so 
{{io.netty:netty-transport-native-epoll:4.1.110.Final:linux-x86_64}} parses 
with version {{linux-x86_64}}. {{Dependency.toString}} prints version before 
classifier, the opposite of the NOTICE format, so the checker's own output 
suggests the wrong order. And dependencies bundled inside a vendored jar 
(Beam's gRPC in {{flink-python}}) are never compared: {{flink-python}} is in 
{{modules-defining-excess-dependencies.modulelist}}, and deleting such a line 
from the NOTICE doesn't change the result.

> Check that jars bundling Netty ship the licences of its embedded code
> ---------------------------------------------------------------------
>
>                 Key: FLINK-41545
>                 URL: https://issues.apache.org/jira/browse/FLINK-41545
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System / CI
>            Reporter: Martijn Visser
>            Priority: Major
>
> Neither JarFileChecker nor NoticeFileChecker looks at code embedded inside a 
> dependency, which is how FLINK-41538 went unnoticed. A check could map marker 
> classes to required licence files (e.g. Utf8Validator to Hoehrmann's MIT 
> licence, Bzip2DivSufSort to libdivsufsort) and fail when the class is present 
> without its licence, or the licence without its class.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to