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

Unable to compile nodejs. #268

Open
josancardenasm opened this issue Aug 13, 2020 · 4 comments
Open

Unable to compile nodejs. #268

josancardenasm opened this issue Aug 13, 2020 · 4 comments

Comments

@josancardenasm
Copy link

josancardenasm commented Aug 13, 2020

Hi all, i'm trying to compile nodejs_12.14.1.bb recipe for yocto dunfell. I'm getting next error output:

output.txt

Looking the output i see the message /bin/sh: gen-regexp-special-case: command not found. I see by the compilation proccess that the builder is trying to run this binary in the host machine that is compiled for arm so this generates an error.

Thanks

@kraj
Copy link
Contributor

kraj commented Aug 14, 2020

This binary should be provided by nodejs-native can you run a search in the build tree of nodejs for gen-regexp-special-case and see if you see it in recipe-sysroot-native dir ?
if you don't see that means its not being provided by nodejs-native or nodejs-native is not in DEPENDS for nodejs recipe

@josancardenasm
Copy link
Author

josancardenasm commented Aug 20, 2020

Hi, sorry the delay response. I have been investigating the problem. You are right. We were using different versions for native version and target version.

Apart of correct the version, i had to do some fixes with a bbappend because i got a error message

ERROR: nodejs-native-12.14.1-r0 do_configure: Execution of '/home/bob/develop/yocto/build/tmp/work/x86_64-linux/nodejs-native/12.14.1-r0/temp/run.do_configure.2158' failed with exit code 1: gyp: /home/bob/develop/yocto/build/tmp/work/x86_64-linux/nodejs-native/12.14.1-r0/node-v12.14.1/deps/openssl/openssl.gyp not found (cwd: /home/bob/develop/yocto/build/tmp/work/x86_64-linux/nodejs-native/12.14.1-r0/node-v12.14.1) while loading dependencies of /home/bob/develop/yocto/build/tmp/work/x86_64-linux/nodejs-native/12.14.1-r0/node-v12.14.1/node.gyp while trying to load /home/bob/develop/yocto/build/tmp/work/x86_64-linux/nodejs-native/12.14.1-r0/node-v12.14.1/node.gyp Error running GYP
I fixed it adding --shared-openssl to configure command.

And finally it seems that there is some type of problem with parallel build because i get the next error that i solve using PARRALLEL_MAKE = "" in the recipe:

| arm-poky-linux-gnueabi-g++ -march=armv7-a -mfpu=neon -mfloat-abi=hard -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/nodejs/12.14.1-r0/recipe-sysroot -o Release/node_mksnapshot -pthread -rdynamic -Wl,-z,noexecstack -Wl,--whole-archive .//Release/obj.target/tools/v8_gypfiles/libv8_nosnapshot.a -Wl,--no-whole-archive -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -Wl,--start-group .//Release/obj.target/node_mksnapshot/src/node_snapshot_stub.o .//Release/obj.target/node_mksnapshot/src/node_code_cache_stub.o .//Release/obj.target/node_mksnapshot/tools/snapshot/node_mksnapshot.o .//Release/obj.target/node_mksnapshot/tools/snapshot/snapshot_builder.o .//Release/obj.target/libnode.a .//Release/obj.target/deps/histogram/libhistogram.a .//Release/obj.target/tools/v8_gypfiles/libv8_libplatform.a .//Release/obj.target/deps/http_parser/libhttp_parser.a .//Release/obj.target/deps/llhttp/libllhttp.a .//Release/obj.target/deps/nghttp2/libnghttp2.a .//Release/obj.target/tools/v8_gypfiles/libv8_base_without_compiler.a .//Release/obj.target/tools/v8_gypfiles/libv8_libbase.a .//Release/obj.target/tools/v8_gypfiles/libv8_libsampler.a .//Release/obj.target/tools/v8_gypfiles/libv8_compiler.a .//Release/obj.target/tools/v8_gypfiles/libv8_init.a .//Release/obj.target/tools/v8_gypfiles/libv8_initializers.a .//Release/obj.target/tools/v8_gypfiles/libv8_nosnapshot.a -lz -luv -lbrotlidec -lbrotlienc -lcares -lcrypto -lssl -licui18n -licuuc -licudata -ldl -Wl,--end-group | collect2: fatal error: ld terminated with signal 9 [Killed] | compilation terminated. | cctest.target.mk:187: recipe for target 'Release/cctest' failed | make[1]: *** [Release/cctest] Error 1 | make[1]: *** Waiting for unfinished jobs.... | rm ff9d63b960f33f2dfbe56c83d47a913fc9728da5.intermediate e4cb76f2c66caadefc3d34a7c7570fcf431c9b3d.intermediate 9fbef89c5abddf874baae8c083c6e74dd7213db7.intermediate | Makefile:101: recipe for target 'node' failed | make: *** [node] Error 2 | WARNING: /home/bob/develop/yocto/build/tmp/work/armv7ahf-neon-poky-linux-gnueabi/nodejs/12.14.1-r0/temp/run.do_compile.2284:1 exit 1 from 'exit 1' | ERROR: Task (/home/bob/develop/yocto/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 1178 tasks of which 1175 didn't need to be rerun and 1 failed.

Regards

@EmergReanimator
Copy link

I faced the same issue on two machines (Fedora 36, Ubuntu 22.04) while linking nodejs 12.21.0-r0 version.
There are 16 GiB and 32 GiB of RAM respectively.

@EmergReanimator
Copy link

With PARALLEL_MAKE = "-j1" I could indeed overcome the OOM problem.

kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Jan 4, 2024
Changelog:

* Update Unicode version 15.1.0
* NEW API: ONIG_OPTION_MATCH_WHOLE_STRING
* Fixed: (?I) option was not enabled for character classes (Issue openembedded#264).
* Changed specification to check for incorrect POSIX bracket (Issue openembedded#253).
* Changed [[:punct:]] in Unicode encodings to be compatible with POSIX definition. (Issue openembedded#268)
* Fixed: ONIG_OPTION_FIND_LONGEST behavior

Signed-off-by: alperak <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
halstead pushed a commit that referenced this issue Jan 4, 2024
Changelog:

* Update Unicode version 15.1.0
* NEW API: ONIG_OPTION_MATCH_WHOLE_STRING
* Fixed: (?I) option was not enabled for character classes (Issue #264).
* Changed specification to check for incorrect POSIX bracket (Issue #253).
* Changed [[:punct:]] in Unicode encodings to be compatible with POSIX definition. (Issue #268)
* Fixed: ONIG_OPTION_FIND_LONGEST behavior

Signed-off-by: alperak <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Jan 5, 2024
Changelog:

* Update Unicode version 15.1.0
* NEW API: ONIG_OPTION_MATCH_WHOLE_STRING
* Fixed: (?I) option was not enabled for character classes (Issue openembedded#264).
* Changed specification to check for incorrect POSIX bracket (Issue openembedded#253).
* Changed [[:punct:]] in Unicode encodings to be compatible with POSIX definition. (Issue openembedded#268)
* Fixed: ONIG_OPTION_FIND_LONGEST behavior

Signed-off-by: alperak <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Feb 20, 2024
* Add all tests/* to be more complete and also to help
  pytest find the tests (previously, no test cases were
  actually being run)
* Sort RDEPENDS alphabetically
* ptest now RDEPENDS on python3-pytest-lazy-fixtures (with the s)
  instead of python3-pytest-lazy-fixture (without the s) because
  of python3-pytest 8.0.0 compatability.
* Rearrange the recipe a bit

https://github.com/jazzband/prettytable/releases/tag/3.10.0

Added
* Add support for Python 3.13 (openembedded#281) @hugovk

Changed
* Speedup: lazy imports and remove import (openembedded#276) @hugovk
* Use GitHub Flavored Markdown for table formatting (openembedded#268) @mumblingMac
* Use flake8-errmsg for friendlier tracebacks (openembedded#254) @hugovk
* Replace Flake8 with Ruff (openembedded#278) @hugovk

Signed-off-by: Tim Orling <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Feb 20, 2024
* Add all tests/* to be more complete and also to help
  pytest find the tests (previously, no test cases were
  actually being run)
* Sort RDEPENDS alphabetically
* ptest now RDEPENDS on python3-pytest-lazy-fixtures (with the s)
  instead of python3-pytest-lazy-fixture (without the s) because
  of python3-pytest 8.0.0 compatability.
* Rearrange the recipe a bit

https://github.com/jazzband/prettytable/releases/tag/3.10.0

Added
* Add support for Python 3.13 (openembedded#281) @hugovk

Changed
* Speedup: lazy imports and remove import (openembedded#276) @hugovk
* Use GitHub Flavored Markdown for table formatting (openembedded#268) @mumblingMac
* Use flake8-errmsg for friendlier tracebacks (openembedded#254) @hugovk
* Replace Flake8 with Ruff (openembedded#278) @hugovk

Signed-off-by: Tim Orling <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Feb 20, 2024
* Add all tests/* to be more complete and also to help
  pytest find the tests (previously, no test cases were
  actually being run)
* Sort RDEPENDS alphabetically
* ptest now RDEPENDS on python3-pytest-lazy-fixtures (with the s)
  instead of python3-pytest-lazy-fixture (without the s) because
  of python3-pytest 8.0.0 compatability.
* Rearrange the recipe a bit

https://github.com/jazzband/prettytable/releases/tag/3.10.0

Added
* Add support for Python 3.13 (openembedded#281) @hugovk

Changed
* Speedup: lazy imports and remove import (openembedded#276) @hugovk
* Use GitHub Flavored Markdown for table formatting (openembedded#268) @mumblingMac
* Use flake8-errmsg for friendlier tracebacks (openembedded#254) @hugovk
* Replace Flake8 with Ruff (openembedded#278) @hugovk

Signed-off-by: Tim Orling <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
quaresmajose added a commit to quaresmajose/meta-openembedded that referenced this issue May 9, 2024
- This is required to add the native target support.

- Drop upstream merged patch:
0001-musl-basename-use-portable-implementation-for-basena.patch
containers/composefs#273

Changelog:

$ git --no-pager log --oneline HEAD...v1.0.3
ecef20c (HEAD -> main, origin/main, origin/HEAD) Merge pull request openembedded#276 from wahtari/copy_file_range
e78c7a4 Merge pull request openembedded#277 from alexlarsson/fix-newline-error
1d82bc1 mkcomposefs: Drop newline from error string
3e38d73 Added copy_file_range for faster file copy.
85a693d Merge pull request openembedded#273 from fboudra/musl-basename
31afa13 musl: basename: use portable implementation for basename API
4776580 Merge pull request openembedded#275 from eriksjolund/fix-spelling-in-error-message
4a68a42 Merge pull request openembedded#269 from wahtari/threading-for-mkcomposefs
7266546 fuse: fix spelling in error message
b49499b added threads in mkcomposefs for digest calculation and file copy
d144db0 refactored lcfs_load_node_from_file to enable multi-threading in mkcomposefs
af69922 Merge pull request openembedded#266 from eriksjolund/erofs-add-missing-free
1eecf38 Merge pull request openembedded#267 from eriksjolund/mkcomposefs-add-missing-free
a880713 mkcomposefs: Add missing free()
456d618 erofs: Add missing free() and lcfs_node_unref()
1179638 Merge pull request openembedded#265 from eriksjolund/handle-empty-basedir-option
301b78f Merge pull request openembedded#268 from eriksjolund/set-errno-for-unknown-format
09ca740 writer: Set errno for unknown format
a96f786 mountcomposefs: Handle empty basedir option
fc9a526 Merge pull request openembedded#260 from eriksjolund/handle-error-from-build-node
9b85011 Merge pull request openembedded#262 from eriksjolund/add-error-check-and-rearrange
2cb505b Merge pull request openembedded#263 from eriksjolund/writer-set-errno
9b417be writer: Set errno
d5ffbeb Merge pull request openembedded#261 from eriksjolund/add-missing-node-unref
9c393a4 Merge pull request openembedded#259 from eriksjolund/handle-error-from-node-set-content
396a3b8 mkcomposefs: Handle NULL from lcfs_node_new()
238a94a lib: Set errno in lcfs_node_new()
c1181fa erofs: Handle error from lcfs_build_node_from_image()
49288d5 erofs, mkcomposefs: Handle error from lcfs_node_set_content()
4e0b147 lib: Add missing lcfs_node_unref()
9bc76dd Merge pull request openembedded#258 from eriksjolund/fix-missing-options
d59dd9b mountcomposefs, mkcomposefs: Add missing options to usage information
418f4f7 Merge pull request openembedded#255 from cgwalters/mount-minor-tweaks
72c602a Merge pull request openembedded#256 from eriksjolund/fix-error-message
770cc36 fuse: Fix filepath argument in error message
465c079 man/mount.composefs: Fix a typo and two markdown lint warnings
8565a8b Merge pull request openembedded#254 from edbaunton/edbaunton/man-mkcomposefs-inline
b99a978 man mkcomposefs: detail inlining logic
47f6949 Merge pull request openembedded#253 from rborn-tx/support-older-linux-headers
453eaef ci: Add build test for Ubuntu Focal
384f306 mount: Allow building when macro LOOP_CONFIGURE is not available
f163eba mount: Allow building when macro MOUNT_ATTR_IDMAP is not available
80e99bd Merge pull request openembedded#250 from cgwalters/doc-verification
f6e8510 README.md: Fix markdownlint warnings
3b7e567 README.md: Drop removed `signed` mount option
091b51f Merge pull request openembedded#247 from cgwalters/readlinkat-overflow
232336d Merge pull request openembedded#248 from cgwalters/more-analyzer
a6904d6 writer: Close mmap leak
e9632ca Merge pull request openembedded#246 from eriksjolund/handle-null-from-strndup
6b2192b writer: Fix (almost certainly unreachable) overflow
bdc2c4c mkcomposefs: Handle NULL from strndup()
e63786d Merge pull request openembedded#245 from giuseppe/run-distcheck-ci
5d3fe92 tests: do not hardcode number of threads
d6e55bf .github: run make distcheck as part of the CI
f6bbf54 Merge pull request openembedded#244 from alexlarsson/mount-api
4e5883b mount.composefs: Add tryverity option
15bdcd6 lib: Add TRY_VERITY mount option
f884f57 mount: Use the new lowerdir+ and datadir+ options
bd6ce95 Merge pull request openembedded#243 from giuseppe/add-fuzzing
171eae0 mkcompose: fix crash if no target for hardlink
7b1518f mkcomposefs: tree_from_dump does not exit(2) on errors
a8ac3d5 mkcomposefs: reject dump without root node
28a9d6b tests: add fuzzing tests for mkcomposefs
932f748 tools: add fuzzing entrypoint for mkcomposefs

Signed-off-by: Jose Quaresma <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue May 9, 2024
- This is required to add the native target support.

- Drop upstream merged patch:
0001-musl-basename-use-portable-implementation-for-basena.patch
containers/composefs#273

Changelog:

$ git --no-pager log --oneline HEAD...v1.0.3
ecef20c (HEAD -> main, origin/main, origin/HEAD) Merge pull request openembedded#276 from wahtari/copy_file_range
e78c7a4 Merge pull request openembedded#277 from alexlarsson/fix-newline-error
1d82bc1 mkcomposefs: Drop newline from error string
3e38d73 Added copy_file_range for faster file copy.
85a693d Merge pull request openembedded#273 from fboudra/musl-basename
31afa13 musl: basename: use portable implementation for basename API
4776580 Merge pull request openembedded#275 from eriksjolund/fix-spelling-in-error-message
4a68a42 Merge pull request openembedded#269 from wahtari/threading-for-mkcomposefs
7266546 fuse: fix spelling in error message
b49499b added threads in mkcomposefs for digest calculation and file copy
d144db0 refactored lcfs_load_node_from_file to enable multi-threading in mkcomposefs
af69922 Merge pull request openembedded#266 from eriksjolund/erofs-add-missing-free
1eecf38 Merge pull request openembedded#267 from eriksjolund/mkcomposefs-add-missing-free
a880713 mkcomposefs: Add missing free()
456d618 erofs: Add missing free() and lcfs_node_unref()
1179638 Merge pull request openembedded#265 from eriksjolund/handle-empty-basedir-option
301b78f Merge pull request openembedded#268 from eriksjolund/set-errno-for-unknown-format
09ca740 writer: Set errno for unknown format
a96f786 mountcomposefs: Handle empty basedir option
fc9a526 Merge pull request openembedded#260 from eriksjolund/handle-error-from-build-node
9b85011 Merge pull request openembedded#262 from eriksjolund/add-error-check-and-rearrange
2cb505b Merge pull request openembedded#263 from eriksjolund/writer-set-errno
9b417be writer: Set errno
d5ffbeb Merge pull request openembedded#261 from eriksjolund/add-missing-node-unref
9c393a4 Merge pull request openembedded#259 from eriksjolund/handle-error-from-node-set-content
396a3b8 mkcomposefs: Handle NULL from lcfs_node_new()
238a94a lib: Set errno in lcfs_node_new()
c1181fa erofs: Handle error from lcfs_build_node_from_image()
49288d5 erofs, mkcomposefs: Handle error from lcfs_node_set_content()
4e0b147 lib: Add missing lcfs_node_unref()
9bc76dd Merge pull request openembedded#258 from eriksjolund/fix-missing-options
d59dd9b mountcomposefs, mkcomposefs: Add missing options to usage information
418f4f7 Merge pull request openembedded#255 from cgwalters/mount-minor-tweaks
72c602a Merge pull request openembedded#256 from eriksjolund/fix-error-message
770cc36 fuse: Fix filepath argument in error message
465c079 man/mount.composefs: Fix a typo and two markdown lint warnings
8565a8b Merge pull request openembedded#254 from edbaunton/edbaunton/man-mkcomposefs-inline
b99a978 man mkcomposefs: detail inlining logic
47f6949 Merge pull request openembedded#253 from rborn-tx/support-older-linux-headers
453eaef ci: Add build test for Ubuntu Focal
384f306 mount: Allow building when macro LOOP_CONFIGURE is not available
f163eba mount: Allow building when macro MOUNT_ATTR_IDMAP is not available
80e99bd Merge pull request openembedded#250 from cgwalters/doc-verification
f6e8510 README.md: Fix markdownlint warnings
3b7e567 README.md: Drop removed `signed` mount option
091b51f Merge pull request openembedded#247 from cgwalters/readlinkat-overflow
232336d Merge pull request openembedded#248 from cgwalters/more-analyzer
a6904d6 writer: Close mmap leak
e9632ca Merge pull request openembedded#246 from eriksjolund/handle-null-from-strndup
6b2192b writer: Fix (almost certainly unreachable) overflow
bdc2c4c mkcomposefs: Handle NULL from strndup()
e63786d Merge pull request openembedded#245 from giuseppe/run-distcheck-ci
5d3fe92 tests: do not hardcode number of threads
d6e55bf .github: run make distcheck as part of the CI
f6bbf54 Merge pull request openembedded#244 from alexlarsson/mount-api
4e5883b mount.composefs: Add tryverity option
15bdcd6 lib: Add TRY_VERITY mount option
f884f57 mount: Use the new lowerdir+ and datadir+ options
bd6ce95 Merge pull request openembedded#243 from giuseppe/add-fuzzing
171eae0 mkcompose: fix crash if no target for hardlink
7b1518f mkcomposefs: tree_from_dump does not exit(2) on errors
a8ac3d5 mkcomposefs: reject dump without root node
28a9d6b tests: add fuzzing tests for mkcomposefs
932f748 tools: add fuzzing entrypoint for mkcomposefs

Signed-off-by: Jose Quaresma <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue May 10, 2024
- This is required to add the native target support.

- Drop upstream merged patch:
0001-musl-basename-use-portable-implementation-for-basena.patch
containers/composefs#273

Changelog:

$ git --no-pager log --oneline HEAD...v1.0.3
ecef20c (HEAD -> main, origin/main, origin/HEAD) Merge pull request openembedded#276 from wahtari/copy_file_range
e78c7a4 Merge pull request openembedded#277 from alexlarsson/fix-newline-error
1d82bc1 mkcomposefs: Drop newline from error string
3e38d73 Added copy_file_range for faster file copy.
85a693d Merge pull request openembedded#273 from fboudra/musl-basename
31afa13 musl: basename: use portable implementation for basename API
4776580 Merge pull request openembedded#275 from eriksjolund/fix-spelling-in-error-message
4a68a42 Merge pull request openembedded#269 from wahtari/threading-for-mkcomposefs
7266546 fuse: fix spelling in error message
b49499b added threads in mkcomposefs for digest calculation and file copy
d144db0 refactored lcfs_load_node_from_file to enable multi-threading in mkcomposefs
af69922 Merge pull request openembedded#266 from eriksjolund/erofs-add-missing-free
1eecf38 Merge pull request openembedded#267 from eriksjolund/mkcomposefs-add-missing-free
a880713 mkcomposefs: Add missing free()
456d618 erofs: Add missing free() and lcfs_node_unref()
1179638 Merge pull request openembedded#265 from eriksjolund/handle-empty-basedir-option
301b78f Merge pull request openembedded#268 from eriksjolund/set-errno-for-unknown-format
09ca740 writer: Set errno for unknown format
a96f786 mountcomposefs: Handle empty basedir option
fc9a526 Merge pull request openembedded#260 from eriksjolund/handle-error-from-build-node
9b85011 Merge pull request openembedded#262 from eriksjolund/add-error-check-and-rearrange
2cb505b Merge pull request openembedded#263 from eriksjolund/writer-set-errno
9b417be writer: Set errno
d5ffbeb Merge pull request openembedded#261 from eriksjolund/add-missing-node-unref
9c393a4 Merge pull request openembedded#259 from eriksjolund/handle-error-from-node-set-content
396a3b8 mkcomposefs: Handle NULL from lcfs_node_new()
238a94a lib: Set errno in lcfs_node_new()
c1181fa erofs: Handle error from lcfs_build_node_from_image()
49288d5 erofs, mkcomposefs: Handle error from lcfs_node_set_content()
4e0b147 lib: Add missing lcfs_node_unref()
9bc76dd Merge pull request openembedded#258 from eriksjolund/fix-missing-options
d59dd9b mountcomposefs, mkcomposefs: Add missing options to usage information
418f4f7 Merge pull request openembedded#255 from cgwalters/mount-minor-tweaks
72c602a Merge pull request openembedded#256 from eriksjolund/fix-error-message
770cc36 fuse: Fix filepath argument in error message
465c079 man/mount.composefs: Fix a typo and two markdown lint warnings
8565a8b Merge pull request openembedded#254 from edbaunton/edbaunton/man-mkcomposefs-inline
b99a978 man mkcomposefs: detail inlining logic
47f6949 Merge pull request openembedded#253 from rborn-tx/support-older-linux-headers
453eaef ci: Add build test for Ubuntu Focal
384f306 mount: Allow building when macro LOOP_CONFIGURE is not available
f163eba mount: Allow building when macro MOUNT_ATTR_IDMAP is not available
80e99bd Merge pull request openembedded#250 from cgwalters/doc-verification
f6e8510 README.md: Fix markdownlint warnings
3b7e567 README.md: Drop removed `signed` mount option
091b51f Merge pull request openembedded#247 from cgwalters/readlinkat-overflow
232336d Merge pull request openembedded#248 from cgwalters/more-analyzer
a6904d6 writer: Close mmap leak
e9632ca Merge pull request openembedded#246 from eriksjolund/handle-null-from-strndup
6b2192b writer: Fix (almost certainly unreachable) overflow
bdc2c4c mkcomposefs: Handle NULL from strndup()
e63786d Merge pull request openembedded#245 from giuseppe/run-distcheck-ci
5d3fe92 tests: do not hardcode number of threads
d6e55bf .github: run make distcheck as part of the CI
f6bbf54 Merge pull request openembedded#244 from alexlarsson/mount-api
4e5883b mount.composefs: Add tryverity option
15bdcd6 lib: Add TRY_VERITY mount option
f884f57 mount: Use the new lowerdir+ and datadir+ options
bd6ce95 Merge pull request openembedded#243 from giuseppe/add-fuzzing
171eae0 mkcompose: fix crash if no target for hardlink
7b1518f mkcomposefs: tree_from_dump does not exit(2) on errors
a8ac3d5 mkcomposefs: reject dump without root node
28a9d6b tests: add fuzzing tests for mkcomposefs
932f748 tools: add fuzzing entrypoint for mkcomposefs

Signed-off-by: Jose Quaresma <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue May 12, 2024
- This is required to add the native target support.

- Drop upstream merged patch:
0001-musl-basename-use-portable-implementation-for-basena.patch
containers/composefs#273

Changelog:

$ git --no-pager log --oneline HEAD...v1.0.3
ecef20c (HEAD -> main, origin/main, origin/HEAD) Merge pull request openembedded#276 from wahtari/copy_file_range
e78c7a4 Merge pull request openembedded#277 from alexlarsson/fix-newline-error
1d82bc1 mkcomposefs: Drop newline from error string
3e38d73 Added copy_file_range for faster file copy.
85a693d Merge pull request openembedded#273 from fboudra/musl-basename
31afa13 musl: basename: use portable implementation for basename API
4776580 Merge pull request openembedded#275 from eriksjolund/fix-spelling-in-error-message
4a68a42 Merge pull request openembedded#269 from wahtari/threading-for-mkcomposefs
7266546 fuse: fix spelling in error message
b49499b added threads in mkcomposefs for digest calculation and file copy
d144db0 refactored lcfs_load_node_from_file to enable multi-threading in mkcomposefs
af69922 Merge pull request openembedded#266 from eriksjolund/erofs-add-missing-free
1eecf38 Merge pull request openembedded#267 from eriksjolund/mkcomposefs-add-missing-free
a880713 mkcomposefs: Add missing free()
456d618 erofs: Add missing free() and lcfs_node_unref()
1179638 Merge pull request openembedded#265 from eriksjolund/handle-empty-basedir-option
301b78f Merge pull request openembedded#268 from eriksjolund/set-errno-for-unknown-format
09ca740 writer: Set errno for unknown format
a96f786 mountcomposefs: Handle empty basedir option
fc9a526 Merge pull request openembedded#260 from eriksjolund/handle-error-from-build-node
9b85011 Merge pull request openembedded#262 from eriksjolund/add-error-check-and-rearrange
2cb505b Merge pull request openembedded#263 from eriksjolund/writer-set-errno
9b417be writer: Set errno
d5ffbeb Merge pull request openembedded#261 from eriksjolund/add-missing-node-unref
9c393a4 Merge pull request openembedded#259 from eriksjolund/handle-error-from-node-set-content
396a3b8 mkcomposefs: Handle NULL from lcfs_node_new()
238a94a lib: Set errno in lcfs_node_new()
c1181fa erofs: Handle error from lcfs_build_node_from_image()
49288d5 erofs, mkcomposefs: Handle error from lcfs_node_set_content()
4e0b147 lib: Add missing lcfs_node_unref()
9bc76dd Merge pull request openembedded#258 from eriksjolund/fix-missing-options
d59dd9b mountcomposefs, mkcomposefs: Add missing options to usage information
418f4f7 Merge pull request openembedded#255 from cgwalters/mount-minor-tweaks
72c602a Merge pull request openembedded#256 from eriksjolund/fix-error-message
770cc36 fuse: Fix filepath argument in error message
465c079 man/mount.composefs: Fix a typo and two markdown lint warnings
8565a8b Merge pull request openembedded#254 from edbaunton/edbaunton/man-mkcomposefs-inline
b99a978 man mkcomposefs: detail inlining logic
47f6949 Merge pull request openembedded#253 from rborn-tx/support-older-linux-headers
453eaef ci: Add build test for Ubuntu Focal
384f306 mount: Allow building when macro LOOP_CONFIGURE is not available
f163eba mount: Allow building when macro MOUNT_ATTR_IDMAP is not available
80e99bd Merge pull request openembedded#250 from cgwalters/doc-verification
f6e8510 README.md: Fix markdownlint warnings
3b7e567 README.md: Drop removed `signed` mount option
091b51f Merge pull request openembedded#247 from cgwalters/readlinkat-overflow
232336d Merge pull request openembedded#248 from cgwalters/more-analyzer
a6904d6 writer: Close mmap leak
e9632ca Merge pull request openembedded#246 from eriksjolund/handle-null-from-strndup
6b2192b writer: Fix (almost certainly unreachable) overflow
bdc2c4c mkcomposefs: Handle NULL from strndup()
e63786d Merge pull request openembedded#245 from giuseppe/run-distcheck-ci
5d3fe92 tests: do not hardcode number of threads
d6e55bf .github: run make distcheck as part of the CI
f6bbf54 Merge pull request openembedded#244 from alexlarsson/mount-api
4e5883b mount.composefs: Add tryverity option
15bdcd6 lib: Add TRY_VERITY mount option
f884f57 mount: Use the new lowerdir+ and datadir+ options
bd6ce95 Merge pull request openembedded#243 from giuseppe/add-fuzzing
171eae0 mkcompose: fix crash if no target for hardlink
7b1518f mkcomposefs: tree_from_dump does not exit(2) on errors
a8ac3d5 mkcomposefs: reject dump without root node
28a9d6b tests: add fuzzing tests for mkcomposefs
932f748 tools: add fuzzing entrypoint for mkcomposefs

Signed-off-by: Jose Quaresma <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
quaresmajose added a commit to quaresmajose/meta-openembedded that referenced this issue May 17, 2024
- This is required to add the native target support.

- Drop upstream merged patch:
0001-musl-basename-use-portable-implementation-for-basena.patch
containers/composefs#273

Changelog:

$ git --no-pager log --oneline HEAD...v1.0.3
ecef20c (HEAD -> main, origin/main, origin/HEAD) Merge pull request openembedded#276 from wahtari/copy_file_range
e78c7a4 Merge pull request openembedded#277 from alexlarsson/fix-newline-error
1d82bc1 mkcomposefs: Drop newline from error string
3e38d73 Added copy_file_range for faster file copy.
85a693d Merge pull request openembedded#273 from fboudra/musl-basename
31afa13 musl: basename: use portable implementation for basename API
4776580 Merge pull request openembedded#275 from eriksjolund/fix-spelling-in-error-message
4a68a42 Merge pull request openembedded#269 from wahtari/threading-for-mkcomposefs
7266546 fuse: fix spelling in error message
b49499b added threads in mkcomposefs for digest calculation and file copy
d144db0 refactored lcfs_load_node_from_file to enable multi-threading in mkcomposefs
af69922 Merge pull request openembedded#266 from eriksjolund/erofs-add-missing-free
1eecf38 Merge pull request openembedded#267 from eriksjolund/mkcomposefs-add-missing-free
a880713 mkcomposefs: Add missing free()
456d618 erofs: Add missing free() and lcfs_node_unref()
1179638 Merge pull request openembedded#265 from eriksjolund/handle-empty-basedir-option
301b78f Merge pull request openembedded#268 from eriksjolund/set-errno-for-unknown-format
09ca740 writer: Set errno for unknown format
a96f786 mountcomposefs: Handle empty basedir option
fc9a526 Merge pull request openembedded#260 from eriksjolund/handle-error-from-build-node
9b85011 Merge pull request openembedded#262 from eriksjolund/add-error-check-and-rearrange
2cb505b Merge pull request openembedded#263 from eriksjolund/writer-set-errno
9b417be writer: Set errno
d5ffbeb Merge pull request openembedded#261 from eriksjolund/add-missing-node-unref
9c393a4 Merge pull request openembedded#259 from eriksjolund/handle-error-from-node-set-content
396a3b8 mkcomposefs: Handle NULL from lcfs_node_new()
238a94a lib: Set errno in lcfs_node_new()
c1181fa erofs: Handle error from lcfs_build_node_from_image()
49288d5 erofs, mkcomposefs: Handle error from lcfs_node_set_content()
4e0b147 lib: Add missing lcfs_node_unref()
9bc76dd Merge pull request openembedded#258 from eriksjolund/fix-missing-options
d59dd9b mountcomposefs, mkcomposefs: Add missing options to usage information
418f4f7 Merge pull request openembedded#255 from cgwalters/mount-minor-tweaks
72c602a Merge pull request openembedded#256 from eriksjolund/fix-error-message
770cc36 fuse: Fix filepath argument in error message
465c079 man/mount.composefs: Fix a typo and two markdown lint warnings
8565a8b Merge pull request openembedded#254 from edbaunton/edbaunton/man-mkcomposefs-inline
b99a978 man mkcomposefs: detail inlining logic
47f6949 Merge pull request openembedded#253 from rborn-tx/support-older-linux-headers
453eaef ci: Add build test for Ubuntu Focal
384f306 mount: Allow building when macro LOOP_CONFIGURE is not available
f163eba mount: Allow building when macro MOUNT_ATTR_IDMAP is not available
80e99bd Merge pull request openembedded#250 from cgwalters/doc-verification
f6e8510 README.md: Fix markdownlint warnings
3b7e567 README.md: Drop removed `signed` mount option
091b51f Merge pull request openembedded#247 from cgwalters/readlinkat-overflow
232336d Merge pull request openembedded#248 from cgwalters/more-analyzer
a6904d6 writer: Close mmap leak
e9632ca Merge pull request openembedded#246 from eriksjolund/handle-null-from-strndup
6b2192b writer: Fix (almost certainly unreachable) overflow
bdc2c4c mkcomposefs: Handle NULL from strndup()
e63786d Merge pull request openembedded#245 from giuseppe/run-distcheck-ci
5d3fe92 tests: do not hardcode number of threads
d6e55bf .github: run make distcheck as part of the CI
f6bbf54 Merge pull request openembedded#244 from alexlarsson/mount-api
4e5883b mount.composefs: Add tryverity option
15bdcd6 lib: Add TRY_VERITY mount option
f884f57 mount: Use the new lowerdir+ and datadir+ options
bd6ce95 Merge pull request openembedded#243 from giuseppe/add-fuzzing
171eae0 mkcompose: fix crash if no target for hardlink
7b1518f mkcomposefs: tree_from_dump does not exit(2) on errors
a8ac3d5 mkcomposefs: reject dump without root node
28a9d6b tests: add fuzzing tests for mkcomposefs
932f748 tools: add fuzzing entrypoint for mkcomposefs

Signed-off-by: Jose Quaresma <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants