libmqtt | MQTT v3.1.1/5.0 library in Go | Reactive Programming library
kandi X-RAY | libmqtt Summary
kandi X-RAY | libmqtt Summary
Feature rich modern MQTT library in pure Go, for Go, C/C++, Java.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of libmqtt
libmqtt Key Features
libmqtt Examples and Code Snippets
Community Discussions
Trending Discussions on libmqtt
QUESTION
I add depends packet to a exist .bb
file, such as add DPENDS="AAA"
line to .bb
file, when I compile the .bb
file, it failed for XXX rdepends on AAA-dev [dev-deps]
, and I search google, all the answer almost is add line INSANE_SKIP_${PN} += "dev-deps"
or RDEPENDS_${PN}_remove = "AAA-dev"
to .bb
file.
But my question is why? why one packet depend AAA packet, it should also RDPENDS
AAA-dev, is there any other answer to fix this problem
The bb
source file is:
ANSWER
Answered 2019-Oct-18 at 09:50The sanity check documentation explains this:
dev-deps: Checks that all packages except -dev or -staticdev packages do not depend on -dev packages, which would be a packaging bug.
It's telling you that in your current recipe "XXX" runtime-depends on "AAA-dev" and that this is a normally an error. You need to find out how/why this dependency is added before you can decide what the correct solution is.
Based on the added recipes: The issue seems to be that onenet build produces an unversioned ".so" file. This is typically a mistake (the actual library file should be e.g. "libmqtt.so.1.1" and the unversioned file should just be a symlink to the versioned one). I'm very surprised that you are not getting a fatal error on this issue when you build onenet. Are you suppressing the QA error for this?
Since you've managed to build onenet somehow, you now probably have a onenet-dev package that erroneously contains the actual library: The build system notices this during atfwd-daemon build, adds a runtime dependency to onenet-dev (because that's where the library is) and then the QA error triggers because normal packages should not depend on -dev packages.
Possible fixes:
- Either fix the onenet build system so it produces a versioned library, or
Force the .so file to be packaged into the actual onenet package instead of onenet-dev, like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install libmqtt
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page