Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thingsboard fails to build on amd64 #37344

Open
murraybd opened this issue Dec 17, 2024 · 1 comment
Open

thingsboard fails to build on amd64 #37344

murraybd opened this issue Dec 17, 2024 · 1 comment
Labels
bug Something isn't working service:ftbfs Failed to Build From Source

Comments

@murraybd
Copy link
Member

The package thingsboard fails to build from source with the following error:

[ERROR]   symbol:   variable RequestMethod
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[229,14] cannot find symbol
[ERROR]   symbol:   class PathVariable
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[230,14] cannot find symbol
[ERROR]   symbol:   class RequestBody
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[226,6] cannot find symbol
[ERROR]   symbol:   class RequestMapping
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[226,62] cannot find symbol
[ERROR]   symbol:   variable RequestMethod
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[250,14] cannot find symbol
[ERROR]   symbol:   class PathVariable
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[252,14] cannot find symbol
[ERROR]   symbol:   class RequestParam
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[247,6] cannot find symbol
[ERROR]   symbol:   class RequestMapping
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[247,60] cannot find symbol
[ERROR]   symbol:   variable RequestMethod
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[247,90] cannot find symbol
[ERROR]   symbol:   variable MediaType
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[278,14] cannot find symbol
[ERROR]   symbol:   class PathVariable
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[280,14] cannot find symbol
[ERROR]   symbol:   class PathVariable
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[282,14] cannot find symbol
[ERROR]   symbol:   class RequestBody
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[275,6] cannot find symbol
[ERROR]   symbol:   class RequestMapping
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[275,72] cannot find symbol
[ERROR]   symbol:   variable RequestMethod
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[310,14] cannot find symbol
[ERROR]   symbol:   class PathVariable
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[312,14] cannot find symbol
[ERROR]   symbol:   class RequestBody
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[307,6] cannot find symbol
[ERROR]   symbol:   class RequestMapping
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[307,60] cannot find symbol
[ERROR]   symbol:   variable RequestMethod
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[337,14] cannot find symbol
[ERROR]   symbol:   class PathVariable
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[339,14] cannot find symbol
[ERROR]   symbol:   class RequestParam
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[334,6] cannot find symbol
[ERROR]   symbol:   class RequestMapping
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[334,75] cannot find symbol
[ERROR]   symbol:   variable RequestMethod
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[334,105] cannot find symbol
[ERROR]   symbol:   variable MediaType
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[368,14] cannot find symbol
[ERROR]   symbol:   class PathVariable
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[370,14] cannot find symbol
[ERROR]   symbol:   class RequestParam
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[372,14] cannot find symbol
[ERROR]   symbol:   class RequestParam
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[374,14] cannot find symbol
[ERROR]   symbol:   class RequestParam
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] /home/build/common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java:[376,14] cannot find symbol
[ERROR]   symbol:   class RequestParam
[ERROR]   location: class org.thingsboard.server.transport.http.DeviceApiController
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf org.thingsboard.common.transport:http
deleting guest dir /tmp/melange-guest-2305248878
deleting workspace dir /tmp/melange-workspace-1212306679
removing image path /tmp/melange-guest-3933636444
failed to build package: unable to run package thingsboard pipeline: unable to run pipeline: exit status 1
@murraybd murraybd added bug Something isn't working service:ftbfs Failed to Build From Source labels Dec 17, 2024
@murraybd
Copy link
Member Author

murraybd commented Jan 2, 2025

This built for me locally but cg build log is not producing a passing log for me so let's keep this open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working service:ftbfs Failed to Build From Source
Projects
None yet
Development

No branches or pull requests

1 participant