First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Why is gitlab CI failing for all packages except for Windows MinGW-w64 Package ?

Hi, I am new to wireshark development. I am trying to upstream my dissector but the gitlab CI is failing. this is the link to the CI -> https://gitlab.com/riyadixitagra/wire...

riya's avatar
1
riya
asked 2023-07-27 19:43:49 +0000
edit flag offensive 0 remove flag close merge delete

Comments

You're following the steps in 3.10.1. Creating Merge Requests and SubmittingPatches?

Chuckc's avatar Chuckc (2023-07-27 21:57:47 +0000) edit

yes, I am.

riya's avatar riya (2023-07-28 03:52:59 +0000) edit
add a comment see more comments

1 Answer

0

If I look at the most recent pipeline for your pull request - which, rather than pipelines on your own repository, are what matter for upstreaming - the commit check job failed with

Checking: /builds/riyadixitagra/wireshark-pldm

License 'UNKNOWN' for 'epan/dissectors/packet-pldm-base.c' is not allowed.
License 'UNKNOWN' for 'epan/dissectors/packet-pldm-base.h' is not allowed.
License 'UNKNOWN' for 'epan/dissectors/packet-pldm.c' is not allowed.

FAILED

This is because you must, at minimum, have a comment header that specifies a license for the code. It should probably also include a copyright notice to go along with the license, plus some other information, e.g.:

/* {file name}
 * {Short summary of what's in the file}
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <[email protected]>
 * Copyright 1998 Gerald Combs
 *
 * {additional information if you want}
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

Try adding that to your source files (all three of them) in your personal GitHub repository; that should trigger a new build of the pull request.

(And ask further questions on your pull request, rather than here, so that the issues can be directly tracked on the pull request.)

Guy Harris's avatar
19.9k
Guy Harris
answered 2023-07-28 07:09:27 +0000
Jaap's avatar
13.7k
Jaap
updated 2023-07-28 09:17:05 +0000
edit flag offensive 0 remove flag delete link

Comments

(Not that 1998 is a requirement; see, for example, epan/epan.h, epan/epan_dissect.h, and epan/epan.c.)

Guy Harris's avatar Guy Harris (2023-07-28 09:31:20 +0000) edit

Thanks. i will try this.

riya's avatar riya (2023-09-08 11:51:44 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer