/
105dc16.bug
117 lines (117 loc) · 3.84 KB
/
105dc16.bug
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
%YAML 1.1
---
id: 105dc16
title: Missing dependencies to gencpp, which is important for ROS messages and services
description: >
CMakeList is essential for every ROS package and it contains the
information of the packages, which is needed for the buildsystem.
If you have a target which depends on some other target you need
to add an explicit dependency so that they are built in the
correct order.
In the example the node "output_publisher" depends on
"cob_srvsgencpp", but the dependency was missing. Gencpp is
apparently a helper when adding some msgs as dependencies to a
target node. This could be solved by naming the dependency
"cob_srvs_gencpp". Even better would be to name it
"${PROJECT_NAME}_gencpp". The "PROJECT_NAME" corresponds to the
package name and thus, one can have a generic name, which is
independent of the package name.
classification: Missing Dependency (no CWE)
keywords: ['missing', 'dependencies', 'gencpp', 'project_name', 'CMakeLists']
system: care-o-bot
severity: error
links: ['http://wiki.ros.org/catkin/CMakeLists.txt', 'http://wiki.ros.org/gencpp']
bug:
phase: build
specificity: ROS-specific
architectural-location: application-specific
application: null
task: null
subsystem: specific application component
package: cob_twist_controller
languages: null
detected-by: developer
reported-by: developer
issue: https://github.com/ipa320/cob_control/issues/6
time-reported: 2014-07-22 (15:37)
reproducibility: always
trace: null
fix:
pull-request: https://github.com/ipa320/cob_control/pull/16
fix-in:
- cob_control/cob_twist_controller/CMakeLists.txt
languages:
- CMake
time: 2014-11-14T08:16:00Z
commits:
- repo: https://github.com/ipa320/cob_control
hash: 105dc16ffe0b9dba294aabea0c18052cd281bde0
stats:
total:
insertions: 106
deletions: 166
lines: 272
files: 14
files:
cob_model_identifier/config/params.yaml:
insertions: 6
deletions: 7
lines: 13
cob_model_identifier/include/cob_model_identifier/output_recorder.h:
insertions: 2
deletions: 1
lines: 3
cob_model_identifier/src/input_generator.cpp:
insertions: 3
deletions: 73
lines: 76
cob_model_identifier/src/output_recorder.cpp:
insertions: 18
deletions: 10
lines: 28
cob_path_broadcaster/include/cob_path_broadcaster/cob_articulation.h:
insertions: 2
deletions: 3
lines: 5
cob_path_broadcaster/launch/articulation.launch:
insertions: 3
deletions: 8
lines: 11
cob_path_broadcaster/movement/move.prog:
insertions: 13
deletions: 12
lines: 25
cob_path_broadcaster/src/cob_articulation.cpp:
insertions: 39
deletions: 36
lines: 75
cob_twist_controller/CMakeLists.txt:
insertions: 3
deletions: 4
lines: 7
cob_twist_controller/include/cob_twist_controller/cob_twist_controller.h:
insertions: 0
deletions: 1
lines: 1
cob_twist_controller/include/cob_twist_controller/output_publisher.h:
insertions: 2
deletions: 1
lines: 3
cob_twist_controller/package.xml:
insertions: 0
deletions: 3
lines: 3
cob_twist_controller/src/cob_twist_controller.cpp:
insertions: 6
deletions: 3
lines: 9
cob_twist_controller/src/output_publisher.cpp:
insertions: 9
deletions: 4
lines: 13
fault-codes:
- BDO:BUILD
- BDO:DEPENDENCY
failure-codes:
- SOFTWARE:BUILD
- SYSTEM:NONE