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

mosquitto pkg-config files missing when creating sdk #118

Closed
BlackZork opened this issue Feb 7, 2019 · 2 comments
Closed

mosquitto pkg-config files missing when creating sdk #118

BlackZork opened this issue Feb 7, 2019 · 2 comments
Labels
feedback waiting response from submitter

Comments

@BlackZork
Copy link

I am on thud branch.
I copied mosquitto_1.5.1.bb file to my layer and when creating SDK /usr/lib/pkgconfig/libmosquitto.*.pc files are not copied to sysroot.

I tried to add pkgconfig to 'inherits' but it did not help.

@kraj
Copy link
Contributor

kraj commented Feb 15, 2019

You need to add mosquitto to IMAGE_INSTALL and then create the SDK using -cpopulate_sdk otherwise it wont entertain it. Other option might be to add mosquitto-dev to TOOLCHAIN_TARGET_TASK

@kraj kraj added the feedback waiting response from submitter label Feb 25, 2019
@BlackZork
Copy link
Author

Finally I found some time to look closer into this problem.

I am using meta-qt5 and I create SDK with bitbake meta-toolchain-qt5 (cpopulate_sdk does not create a functional SDK in this case)

To add library to SDK I had to create bbappend file in my layer for meta-qt5/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb and add mosquitto-dev to RDEPENDS_$(PN) this way:

RDEPENDS_${PN} += " \
    mosquitto-dev \
"

texierp added a commit to texierp/meta-openembedded that referenced this issue Nov 14, 2020
 - Drop patch (already in version)

This includes the following changes:

98e8dfa inotify-tools 3.20.11.0
583492a Allow produce NULL-delimited output (openembedded#118)
e38d78e Resolves Issue openembedded#72 (openembedded#113)
8672a5e User $(id -u) over $USER
e5f4ec6 Create FUNDING.yml
8967735 Add integration test to test if chown is tracked successfully
e114a35 Only call git clean -fdx if specified
933dea5 Update issue templates
6644476 Create CODE_OF_CONDUCT.md
c03dcfc Added -P/--no-dereference to watch a symlink (openembedded#46)
aa125f5 Use localtime_r over localtime
d222aa9 Fix some issues pointed out by lgtm
69829a8 cirrus-ci: disable the FreeBSD 13 builds
c164cfd Add status for FreeBSD
1b06e96 Stop running unit tests on FreeBSD
7ddf451 Makefile.am: add build rule for README (openembedded#111)
67b6e71 Add arm64 build

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Nov 14, 2020
- Drop patch (already in version)

This includes the following changes:

98e8dfa inotify-tools 3.20.11.0
583492a Allow produce NULL-delimited output (openembedded#118)
e38d78e Resolves Issue openembedded#72 (openembedded#113)
8672a5e User $(id -u) over $USER
e5f4ec6 Create FUNDING.yml
8967735 Add integration test to test if chown is tracked successfully
e114a35 Only call git clean -fdx if specified
933dea5 Update issue templates
6644476 Create CODE_OF_CONDUCT.md
c03dcfc Added -P/--no-dereference to watch a symlink (openembedded#46)
aa125f5 Use localtime_r over localtime
d222aa9 Fix some issues pointed out by lgtm
69829a8 cirrus-ci: disable the FreeBSD 13 builds
c164cfd Add status for FreeBSD
1b06e96 Stop running unit tests on FreeBSD
7ddf451 Makefile.am: add build rule for README (openembedded#111)
67b6e71 Add arm64 build

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Nov 15, 2020
- Drop patch (already in version)

This includes the following changes:

98e8dfa inotify-tools 3.20.11.0
583492a Allow produce NULL-delimited output (openembedded#118)
e38d78e Resolves Issue openembedded#72 (openembedded#113)
8672a5e User $(id -u) over $USER
e5f4ec6 Create FUNDING.yml
8967735 Add integration test to test if chown is tracked successfully
e114a35 Only call git clean -fdx if specified
933dea5 Update issue templates
6644476 Create CODE_OF_CONDUCT.md
c03dcfc Added -P/--no-dereference to watch a symlink (openembedded#46)
aa125f5 Use localtime_r over localtime
d222aa9 Fix some issues pointed out by lgtm
69829a8 cirrus-ci: disable the FreeBSD 13 builds
c164cfd Add status for FreeBSD
1b06e96 Stop running unit tests on FreeBSD
7ddf451 Makefile.am: add build rule for README (openembedded#111)
67b6e71 Add arm64 build

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
schnitzeltony added a commit to schnitzeltony/meta-openembedded that referenced this issue May 18, 2021
* add PACKAGECONFIG for gspell - disabled by default

Release notes for 0.5.5
=======================
- New Features:
  - Add a `.desktop` file to make Mousepad appear in Xfce settings
    (!94)
  - Add a command line option to open the prefs dialog (!94)
  - Plugin support (!92)
  - Add gspell plugin (openembedded#1, !92)
  - Disable and wipe recent history if recent-menu-items is set to 0
    (openembedded#112, !89)
  - Support -ve line and column values for "Go to" location
    (openembedded#113, !84)

- Appearance Changes:
  - Switch to client-side decorations (!97)

- Code Refactoring:
  - Remove Xfconf dependency (openembedded#60, openembedded#122, !98)
  - A general review of sanity checks
  - A review of window lifetime management
  - A review of document lifetime management
  - Automate and sanitize memory management of sources
  - A small review of GSettings use
  - Do not use `== (TRUE|FALSE)` for boolean conditions

- Bug Fixes:
  - Fix actions to show/hide bars in fullscreen mode (openembedded#129)
  - Fix broken "Revert" action
  - Fix and extend "Move Lines" action (openembedded#87, openembedded#116, !96)
  - Support for drag and drop of tabs when search is active
  - Do a silent search when changing tabs with the search bar enabled
  - Use get/set_real_line_offset () functions for "Paste as Column"
    (openembedded#114, !91)
  - Restore cursor position after transpose (openembedded#115, !88)
  - Fix "Delete Line" action (openembedded#117, !86)
  - Fix recent_sort function (!90)
  - Reset line and column number if not given on command line
    (openembedded#121, !87)
  - menu: "Spaces to Tabs" converter converts leading spaces
    (openembedded#118, !85)
  - Make window require attention when opening new tabs (2) (openembedded#119)

- Translation Updates

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue May 18, 2021
* add PACKAGECONFIG for gspell - disabled by default

Release notes for 0.5.5
=======================
- New Features:
  - Add a `.desktop` file to make Mousepad appear in Xfce settings
    (!94)
  - Add a command line option to open the prefs dialog (!94)
  - Plugin support (!92)
  - Add gspell plugin (openembedded#1, !92)
  - Disable and wipe recent history if recent-menu-items is set to 0
    (openembedded#112, !89)
  - Support -ve line and column values for "Go to" location
    (openembedded#113, !84)

- Appearance Changes:
  - Switch to client-side decorations (!97)

- Code Refactoring:
  - Remove Xfconf dependency (openembedded#60, openembedded#122, !98)
  - A general review of sanity checks
  - A review of window lifetime management
  - A review of document lifetime management
  - Automate and sanitize memory management of sources
  - A small review of GSettings use
  - Do not use `== (TRUE|FALSE)` for boolean conditions

- Bug Fixes:
  - Fix actions to show/hide bars in fullscreen mode (openembedded#129)
  - Fix broken "Revert" action
  - Fix and extend "Move Lines" action (openembedded#87, openembedded#116, !96)
  - Support for drag and drop of tabs when search is active
  - Do a silent search when changing tabs with the search bar enabled
  - Use get/set_real_line_offset () functions for "Paste as Column"
    (openembedded#114, !91)
  - Restore cursor position after transpose (openembedded#115, !88)
  - Fix "Delete Line" action (openembedded#117, !86)
  - Fix recent_sort function (!90)
  - Reset line and column number if not given on command line
    (openembedded#121, !87)
  - menu: "Spaces to Tabs" converter converts leading spaces
    (openembedded#118, !85)
  - Make window require attention when opening new tabs (2) (openembedded#119)

- Translation Updates

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
halstead pushed a commit that referenced this issue May 19, 2021
* add PACKAGECONFIG for gspell - disabled by default

Release notes for 0.5.5
=======================
- New Features:
  - Add a `.desktop` file to make Mousepad appear in Xfce settings
    (!94)
  - Add a command line option to open the prefs dialog (!94)
  - Plugin support (!92)
  - Add gspell plugin (#1, !92)
  - Disable and wipe recent history if recent-menu-items is set to 0
    (#112, !89)
  - Support -ve line and column values for "Go to" location
    (#113, !84)

- Appearance Changes:
  - Switch to client-side decorations (!97)

- Code Refactoring:
  - Remove Xfconf dependency (#60, #122, !98)
  - A general review of sanity checks
  - A review of window lifetime management
  - A review of document lifetime management
  - Automate and sanitize memory management of sources
  - A small review of GSettings use
  - Do not use `== (TRUE|FALSE)` for boolean conditions

- Bug Fixes:
  - Fix actions to show/hide bars in fullscreen mode (#129)
  - Fix broken "Revert" action
  - Fix and extend "Move Lines" action (#87, #116, !96)
  - Support for drag and drop of tabs when search is active
  - Do a silent search when changing tabs with the search bar enabled
  - Use get/set_real_line_offset () functions for "Paste as Column"
    (#114, !91)
  - Restore cursor position after transpose (#115, !88)
  - Fix "Delete Line" action (#117, !86)
  - Fix recent_sort function (!90)
  - Reset line and column number if not given on command line
    (#121, !87)
  - menu: "Spaces to Tabs" converter converts leading spaces
    (#118, !85)
  - Make window require attention when opening new tabs (2) (#119)

- Translation Updates

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Jan 17, 2022
Changelog:
=========
  * Fixed: [CVE-2021-46141]
      Fix a bug affecting both uriNormalizeSyntax* and uriMakeOwner*
      functions where the text range in .hostText would not be duped using
      malloc but remain unchanged (and hence "not owned") for URIs with
      an IPv4 or IPv6 address hostname; depending on how an application
      uses uriparser, this could lead the application into a use-after-free
      situation.
      As the second half, fix uriFreeUriMembers* functions that would not
      free .hostText memory for URIs with an IPv4 or IPv6 address host;
      also, calling uriFreeUriMembers* multiple times on a URI of this
      very nature would result in trying to free pointers to stack
      (rather than heap) memory (GitHub openembedded#121, GitHub openembedded#124)
      Commit 987b046e41f407d17c622e580fc82a5e834b4329
      Commit b1a34743bc1472e055d886e29e9b53f670eb3282
  * Fixed: [CVE-2021-46142]
      Fix functions uriNormalizeSyntax* for out-of-memory situations
      (i.e. malloc returning NULL) for URIs containing empty segments
      (any of user info, host text, query, or fragment) where previously
      pointers to stack (rather than heap) memory were freed (GitHub openembedded#122,
      GitHub openembedded#124)
      Commit c0483990e6b5b454f7c8752b36760cfcb0d093f5
  * Fixed: CMake: Call "enable_language(CXX)" prior to tinkering with
      CMAKE_CXX_* variables (GitHub openembedded#110)
  * Fixed: CMake: Support absolute paths for both CMAKE_INSTALL_LIBDIR
      and CMAKE_INSTALL_INCLUDEDIR (GitHub openembedded#114)
  * Fixed: Windows: Address MSVC compiler warnings (GitHub openembedded#111, GitHub openembedded#113)
  * Fixed: Documentation: Space requirements for uriUriStringToUnixFilename
      did not take into account short form "file:/bin/bash" of RFC 8089 of 2017
      (with prefix "file:/" rather than "file:///") that uriparser supports
      since release 0.8.6 in 2018 (GitHub openembedded#118, GitHub openembedded#119)
  * Fixed: Compile error with MinGW GCC 9 related to a mismatched prototype
      for function inet_ntop (GitHub openembedded#117, GitHub openembedded#120)
  * Fixed: Compile warnings in test suite code (GitHub openembedded#120)
  * Improved: Respect variable ${CPP} in doc/preprocess.sh (GitHub openembedded#115)
  * Added: Test suite invocation for MinGW using Wine (GitHub openembedded#120)
  * Soname: 1:29:0 - see https://verbump.de/ for what these numbers do

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
halstead pushed a commit that referenced this issue Jan 18, 2022
Changelog:
=========
  * Fixed: [CVE-2021-46141]
      Fix a bug affecting both uriNormalizeSyntax* and uriMakeOwner*
      functions where the text range in .hostText would not be duped using
      malloc but remain unchanged (and hence "not owned") for URIs with
      an IPv4 or IPv6 address hostname; depending on how an application
      uses uriparser, this could lead the application into a use-after-free
      situation.
      As the second half, fix uriFreeUriMembers* functions that would not
      free .hostText memory for URIs with an IPv4 or IPv6 address host;
      also, calling uriFreeUriMembers* multiple times on a URI of this
      very nature would result in trying to free pointers to stack
      (rather than heap) memory (GitHub #121, GitHub #124)
      Commit 987b046e41f407d17c622e580fc82a5e834b4329
      Commit b1a34743bc1472e055d886e29e9b53f670eb3282
  * Fixed: [CVE-2021-46142]
      Fix functions uriNormalizeSyntax* for out-of-memory situations
      (i.e. malloc returning NULL) for URIs containing empty segments
      (any of user info, host text, query, or fragment) where previously
      pointers to stack (rather than heap) memory were freed (GitHub #122,
      GitHub #124)
      Commit c0483990e6b5b454f7c8752b36760cfcb0d093f5
  * Fixed: CMake: Call "enable_language(CXX)" prior to tinkering with
      CMAKE_CXX_* variables (GitHub #110)
  * Fixed: CMake: Support absolute paths for both CMAKE_INSTALL_LIBDIR
      and CMAKE_INSTALL_INCLUDEDIR (GitHub #114)
  * Fixed: Windows: Address MSVC compiler warnings (GitHub #111, GitHub #113)
  * Fixed: Documentation: Space requirements for uriUriStringToUnixFilename
      did not take into account short form "file:/bin/bash" of RFC 8089 of 2017
      (with prefix "file:/" rather than "file:///") that uriparser supports
      since release 0.8.6 in 2018 (GitHub #118, GitHub #119)
  * Fixed: Compile error with MinGW GCC 9 related to a mismatched prototype
      for function inet_ntop (GitHub #117, GitHub #120)
  * Fixed: Compile warnings in test suite code (GitHub #120)
  * Improved: Respect variable ${CPP} in doc/preprocess.sh (GitHub #115)
  * Added: Test suite invocation for MinGW using Wine (GitHub #120)
  * Soname: 1:29:0 - see https://verbump.de/ for what these numbers do

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedback waiting response from submitter
Projects
None yet
Development

No branches or pull requests

2 participants