-
Notifications
You must be signed in to change notification settings - Fork 721
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
Dunfell build failure mpv-0.32.0-r0 do_configure #304
Comments
seems it has to do with waf and python2 somehow, there are some fixes to address this in master oe-core and meta-oe I believe. |
I did look quick look @ master but nothing jumped out. I run through it again |
Hmm. this meta-oe backport seems to have introduced the failure. |
I think there was a corresponding commit in oe-core to waf class. |
ok, found waf.bbclass changes that fix this issue. sending patches core for Dunfell |
Waf typically uses `python` as the intepretter but inside a task this does not exist. Typically this is solved by patching waf (see the glmark2 recipe) but not all versionf of Waf support Python 3 so we can't assume a specific interpretter. Instead, create a new variable WAF_PYTHON for the correct interpretter, and default this to `python3`. If the user has a recipe that needs Python 2 then this can be changed in the recipe. (From OE-Core rev: 802e80d) Signed-off-by: Ross Burton <[email protected]> Signed-off-by: Richard Purdie <[email protected]> (cherry picked from commit 85b6301) [Fixes build issue on Ubuntu 20 with mvp openembedded/meta-openembedded#304 ] Signed-off-by: Armin Kuster <[email protected]> Signed-off-by: Steve Sakoman <[email protected]>
Waf typically uses `python` as the intepretter but inside a task this does not exist. Typically this is solved by patching waf (see the glmark2 recipe) but not all versionf of Waf support Python 3 so we can't assume a specific interpretter. Instead, create a new variable WAF_PYTHON for the correct interpretter, and default this to `python3`. If the user has a recipe that needs Python 2 then this can be changed in the recipe. (From OE-Core rev: 802e80d35e6374b9b80f89068d00b84fe2d04ca1) (From OE-Core rev: 3ad272ba25c4eba063f372f3bf8c1d3e94e2a966) Signed-off-by: Ross Burton <[email protected]> Signed-off-by: Richard Purdie <[email protected]> (cherry picked from commit 85b6301) [Fixes build issue on Ubuntu 20 with mvp openembedded/meta-openembedded#304 ] Signed-off-by: Armin Kuster <[email protected]> Signed-off-by: Steve Sakoman <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
Source: poky MR: 108245 Type: Integration Disposition: Merged from poky ChangeID: 6b78a1734318fce8ee13c28c1454d3d76f52bae8 Description: Waf typically uses `python` as the intepretter but inside a task this does not exist. Typically this is solved by patching waf (see the glmark2 recipe) but not all versionf of Waf support Python 3 so we can't assume a specific interpretter. Instead, create a new variable WAF_PYTHON for the correct interpretter, and default this to `python3`. If the user has a recipe that needs Python 2 then this can be changed in the recipe. (From OE-Core rev: 802e80d35e6374b9b80f89068d00b84fe2d04ca1) (From OE-Core rev: 3ad272ba25c4eba063f372f3bf8c1d3e94e2a966) Signed-off-by: Ross Burton <[email protected]> Signed-off-by: Richard Purdie <[email protected]> (cherry picked from commit 85b6301) [Fixes build issue on Ubuntu 20 with mvp openembedded/meta-openembedded#304 ] Signed-off-by: Armin Kuster <[email protected]> Signed-off-by: Steve Sakoman <[email protected]> Signed-off-by: Richard Purdie <[email protected]> Signed-off-by: Jeremy Puhlman <[email protected]>
- `universal`: Enable `application/vnd.cups-postscript` as input There are filters which produce this MIME type (such as `hpps` of HPLIP), and if someone uses such driver on a client and the server has an IPP Everywhere/driverless printer, the job fails (Pull request openembedded#534). - beh backend: Use `execv()` instead of `system()` - CVE-2023-24805 With `execv()` command line arguments are passed as separate strings and not the full command line in a single string. This prevents arbitrary command execution by escaping the quoting of the arguments in a job with forged job title. - beh backend: Extra checks against odd/forged input - CVE-2023-24805 * Do not allow `/` in the scheme of the URI (= backend executable name), to assure that only backends inside `/usr/lib/cups/backend/` are used. * Pre-define scheme buffer to empty string, to be defined for case of URI being NULL. * URI must have `:`, to split off scheme, otherwise error. * Check return value of `snprintf()` to create call path for backend, to error out on truncation of a too long scheme or on complete failure due to a completely odd scheme. - beh backend: Further improvements - CVE-2023-24805 * Use `strncat()` instead of `strncpy()` for getting scheme from URI, the latter does not require setting terminating zero byte in case of truncation. * Also exclude `.` or `..` as scheme, as directories are not valid CUPS backends. * Do not use `fprintf()` in `sigterm_handler()`, to not interfere with a `fprintf()` which could be running in the main process when `sigterm_handler()` is triggered. * Use `static volatile int` for global variable job_canceled. - `parallel` backend: Added missing `#include` lines - foomatic-rip: Fix a SIGPIPE error when calling gs (Pull request openembedded#517) [Ubuntu's autopkgtest for foo2zjs](https://autopkgtest.ubuntu.com/packages/f/foo2zjs/lunar/ppc64el) shows foo2zjs's testsuite failing with cups-filters 2.0beta3 on ppc64el. This is cause by a timing issue in foomatic-rip which is fixed now. - Coverity check done by Zdenek Dohnal for the inclusion of cups-filters in Fedora and Red Hat. Zdenek has fixed all the issues: Missing `free()`, files not closed, potential string overflows, ... Thanks a lot! (Pull request openembedded#510). - Dropped all C++ references and obsolete C standards (Pull requests openembedded#504 and openembedded#513) With no C++ compiler needed, there is no need for any checks or setting for C++ in configure.ac. - configure.ac: Change deprecated AC_PROG_LIBTOOL for LT_INIT (Pull request openembedded#508) - texttopdf: Do not include fontconfig.h in the CUPS filter wrapper - Build system: Do not explicitly check for libpoppler-cpp The cups-filters package does not contain any code using libpoppler-cpp, therefore we let ./configure not check for it. - COPYING, NOTICE: Simplification for autotools-generated files autotools-generated files can be included under the license of the upstream code, and FSF copyright added to upstream copyright list. Simplified COPYING appropriately. - Makefile.am: Include LICENSE in distribution tarball - Add templates for issue reports on GitHub. This makes a selection screen appear when clicking "New Issue" in the web UI, to selct whether the issue is a regular bug, a feature request, or a security vulnerability. - Corrected installation path for *.h files of *.drv files. The ppdc (and underlying functions) of libppd searches for include files in /usr/share/ppdc and not in /usr/share/cups/ppdc any more. - configure.ac: Remove unnecessary "AVAHI_GLIB_..." definitions. - Makefile.am: Include NOTICE in distribution tarball - configure.ac: Added "foreign" to to AM_INIT_AUTOMAKE() call. Makes automake not require a file named README. - Cleaned up .gitignore - Tons of fixes in the source code documentation: README.md, INSTALL, DEVELOPING.md, CONTRIBUTING.md, COPYING, NOTICE, ... Adapted to the cups-filters component, added links. - Converted nearly all filters to filter functions, only exceptions are `rastertoescpx`, `rastertopclx`, `commandtoescpx`, `commandtopclx`, and `foomatic-rip`. The latter is deeply involved with Foomatic PPDs and the others are legacy printer drivers. The filter functions are mainly in libcupsfilters, the ones which generate PostScript are in libppd. - Replaced all the filters converted to filter functions by simple wrapper executables using `ppdFilterCUPSWrapper()` of libppd for backward compatibility with CUPS 2.x. - Added new streaming mode triggered by the boolean "filter-streaming-mode" option. In this mode a filter (function) is supposed to avoid everything which prevents the job data from streaming, as loading the whole job (or good part of it) into a temporary file or into memory, interpreting PDF, pre-checking input file type or zero-page jobs, ... This is mainly to be used by Printer Applications when they do raster printing in streaming mode, to run with lowest resources possible. Currently `foomatic-rip`, `ghostscript`, and `pdftopdf` got a streaming mode. For the former two PostScript (not PDF) is assumed as input and no zero-page-job check is done, in the latter all QPDF processing (page management, page size adjustment, ...) is skipped and only JCL according to the PPD added. - The CUPS filter `imagetops` uses the `ppdFilterImageToPS()` filter function of libppd now. - `driverless`, `driverless-fax`: Added IPP Fax Out support. Now printer setup tools list an additional fax "driver". A fax queue is created by selecting this driver. Jobs have to be sent with "-o phone=12345" to supply the destination phone number (Pull request openembedded#280, openembedded#293, openembedded#296, openembedded#302, openembedded#304, openembedded#305, openembedded#306, openembedded#309, Issue openembedded#298, openembedded#308). - `sys5ippprinter`: Removed `sys5ippprinter`, as CUPS does not support System V interface scripts any more. This first approach of PPD-less printing was also not actually made use of. - `urftopdf`: Removed as we require CUPS 2.2.2+ now which supports Apple Raster by itself. - Build system, `README.md`: Require CUPS 2.2.2+. Removed now unneeded `./configure` switches for use of the `urftopdf` filter for old CUPS versions. - Sample PPDs: Renamed source directory from `ppd/` to `ppdfiles/`. - Build system: Remove '-D_PPD_DEPRECATED=""' from the compiling command lines of the source files which use libcups. The flag is not supported any more for longer times already and all the PPD-related functions deprecated by CUPS have moved into libppd now. - Build system: Add files in `.gitignore` that are generated by "autogen.sh", "configure", and "make" (Pull request openembedded#336). Signed-off-by: Markus Volk <[email protected]> Signed-off-by: Khem Raj <[email protected]>
License-Update: Rename LICENSE to LICENSE.txt and update copyright year * Ptest and library example tested on qemux86-64 and qemuarm64 * Add ptest into PTESTS_FAST_META_PYTHON qemux86-64: Testsuite summary TOTAL: 599 PASS: 599 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 19 END: /usr/lib/python3-validators/ptest 2024-03-30T05:07 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemuarm64: Testsuite summary TOTAL: 599 PASS: 599 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 18 END: /usr/lib/python3-validators/ptest 2024-03-30T05:10 STOP: ptest-runner TOTAL: 1 FAIL: 0 Changelog: 0.24.0 =========== Features feat: conditionally raises ValidationError; bump version by @yozachar in openembedded#343 Maintenance patch: domain & url modules by @yozachar in openembedded#339 fix: domain name not confirming to rfc_2782 by @yozachar in openembedded#341 maint: update dev dependencies; adds favicon to docs by @yozachar in openembedded#342 0.23.2 =========== Maintenance maint: rectifies changelog by @yozachar in openembedded#336 fix: packaging as well as rST & md document generation by @yozachar in openembedded#337 0.23.1 =========== Maintenance maint: fix between & length validators by @yozachar in openembedded#334 fix: manual nav reference for mkdocs; bumps version by @yozachar in openembedded#335 0.23.0 =========== Features feat: add french i18n validation by @imperosol in openembedded#308 Maintenance fix: Valid URLs failing validation - query and fragment parts by @danherbriley in openembedded#297 fix: bug in between module by @yozachar in openembedded#301 chore: update dependencies, improve packaging by @yozachar in openembedded#304 Fix fragment check by @darkdragon-001 in openembedded#305 build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package by @dependabot in openembedded#310 fix: allow pct-encoded entities in fragments by @conitrade-as in openembedded#317 chore: update dev dependencies by @yozachar in openembedded#318 build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package by @dependabot in openembedded#321 build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package by @dependabot in openembedded#322 chore: monthly updates for Jan'24 by @yozachar in openembedded#324 maint: adds versiond docs; update copyright year by @yozachar in openembedded#329 chore: update dev dependencies by @yozachar in openembedded#330 build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package by @dependabot in openembedded#331 build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package by @dependabot in openembedded#332 build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package by @dependabot in openembedded#319 Signed-off-by: alperak <[email protected]> Signed-off-by: Khem Raj <[email protected]>
License-Update: Rename LICENSE to LICENSE.txt and update copyright year * Ptest and library example tested on qemux86-64 and qemuarm64 * Add ptest into PTESTS_FAST_META_PYTHON qemux86-64: Testsuite summary TOTAL: 599 PASS: 599 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 19 END: /usr/lib/python3-validators/ptest 2024-03-30T05:07 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemuarm64: Testsuite summary TOTAL: 599 PASS: 599 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 18 END: /usr/lib/python3-validators/ptest 2024-03-30T05:10 STOP: ptest-runner TOTAL: 1 FAIL: 0 Changelog: 0.24.0 =========== Features feat: conditionally raises ValidationError; bump version by @yozachar in #343 Maintenance patch: domain & url modules by @yozachar in #339 fix: domain name not confirming to rfc_2782 by @yozachar in #341 maint: update dev dependencies; adds favicon to docs by @yozachar in #342 0.23.2 =========== Maintenance maint: rectifies changelog by @yozachar in #336 fix: packaging as well as rST & md document generation by @yozachar in #337 0.23.1 =========== Maintenance maint: fix between & length validators by @yozachar in #334 fix: manual nav reference for mkdocs; bumps version by @yozachar in #335 0.23.0 =========== Features feat: add french i18n validation by @imperosol in #308 Maintenance fix: Valid URLs failing validation - query and fragment parts by @danherbriley in #297 fix: bug in between module by @yozachar in #301 chore: update dependencies, improve packaging by @yozachar in #304 Fix fragment check by @darkdragon-001 in #305 build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package by @dependabot in #310 fix: allow pct-encoded entities in fragments by @conitrade-as in #317 chore: update dev dependencies by @yozachar in #318 build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package by @dependabot in #321 build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package by @dependabot in #322 chore: monthly updates for Jan'24 by @yozachar in #324 maint: adds versiond docs; update copyright year by @yozachar in #329 chore: update dev dependencies by @yozachar in #330 build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package by @dependabot in #331 build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package by @dependabot in #332 build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package by @dependabot in #319 Signed-off-by: alperak <[email protected]> Signed-off-by: Khem Raj <[email protected]>
- switch to meson build system Changelog [1]: $ git --no-pager log --oneline v1.0.4..v1.0.5 098d985 (tag: v1.0.5) Merge pull request openembedded#312 from cgwalters/release 0fae8a8 Release 1.0.5 9bdc377 Merge pull request openembedded#310 from cgwalters/symlink-limit b06ea9b Verify payload length early on 3beb011 Merge pull request openembedded#308 from cgwalters/minor-rust-lints a695ad4 Merge pull request openembedded#309 from giuseppe/libcomposefs-drop-ro 0a0d50f libcomposefs: drop using "ro" option b35dc83 dumpfile: Fix clippy lint a919ab8 rust: Drop unused cfg 3a87868 Merge pull request openembedded#307 from giuseppe/not-override-errno bb94687 Merge pull request openembedded#306 from giuseppe/mkcomposefs-report-close-errors 76b4da5 mkcompose: report close() errors 502bc27 libcomposefs: do not override errno 2d2c09d Merge pull request openembedded#304 from jluebbe/meson 0260856 meson.build: Allow use as a meson subproject 5f512ac Merge pull request openembedded#303 from cgwalters/mount-source 91a3047 mount: Consistently use `composefs` as source 45e6179 Merge pull request openembedded#302 from cgwalters/info-term f64022f info: Add missing terminator for `longopts` d81cb87 Merge pull request openembedded#300 from jluebbe/meson 04c8a8e ci: Add GitHub Actions workflow which uses meson 64709f6 ci: Install meson package b6f2b75 Add meson as an alternative to autotools 942cd73 Merge pull request openembedded#299 from giuseppe/composefs-info-set-locale 5072fd7 composefs-info: specify locale to isgraph/isprint 4f19d00 Merge pull request openembedded#298 from cgwalters/rust-misc 43a1d28 rust: Add README.md files, link to crates.io a8bc747 rust: Clarify that "composefs-core" is really "composefs" 483356c Merge pull request openembedded#297 from cgwalters/rust-include 02213c0 composefs-core: Drop incorrect `include` dce84ff Merge pull request openembedded#295 from cgwalters/rust-descr 3d2af03 Merge pull request openembedded#296 from Kiskae/upstream-tmpdir-fix 6928fcf test: remove hardcoded /tmp e21be07 rust: Add mandatory `description` field, other misc changes 28dc491 Merge pull request openembedded#292 from cgwalters/rust-ci-dual 59c5a27 Merge pull request openembedded#293 from cgwalters/rust-minor 689ccc6 rust: Some doc and misc tweaks 426b65d ci: Test Rust code against current C code 32b3f6e Merge pull request openembedded#291 from Kiskae/patch-1 f7465b3 use correct `composefs-info` binary [1] containers/composefs@v1.0.4...v1.0.5 Signed-off-by: Jose Quaresma <[email protected]> Signed-off-by: Khem Raj <[email protected]>
- switch to meson build system Changelog [1]: $ git --no-pager log --oneline v1.0.4..v1.0.5 098d985 (tag: v1.0.5) Merge pull request openembedded#312 from cgwalters/release 0fae8a8 Release 1.0.5 9bdc377 Merge pull request openembedded#310 from cgwalters/symlink-limit b06ea9b Verify payload length early on 3beb011 Merge pull request openembedded#308 from cgwalters/minor-rust-lints a695ad4 Merge pull request openembedded#309 from giuseppe/libcomposefs-drop-ro 0a0d50f libcomposefs: drop using "ro" option b35dc83 dumpfile: Fix clippy lint a919ab8 rust: Drop unused cfg 3a87868 Merge pull request openembedded#307 from giuseppe/not-override-errno bb94687 Merge pull request openembedded#306 from giuseppe/mkcomposefs-report-close-errors 76b4da5 mkcompose: report close() errors 502bc27 libcomposefs: do not override errno 2d2c09d Merge pull request openembedded#304 from jluebbe/meson 0260856 meson.build: Allow use as a meson subproject 5f512ac Merge pull request openembedded#303 from cgwalters/mount-source 91a3047 mount: Consistently use `composefs` as source 45e6179 Merge pull request openembedded#302 from cgwalters/info-term f64022f info: Add missing terminator for `longopts` d81cb87 Merge pull request openembedded#300 from jluebbe/meson 04c8a8e ci: Add GitHub Actions workflow which uses meson 64709f6 ci: Install meson package b6f2b75 Add meson as an alternative to autotools 942cd73 Merge pull request openembedded#299 from giuseppe/composefs-info-set-locale 5072fd7 composefs-info: specify locale to isgraph/isprint 4f19d00 Merge pull request openembedded#298 from cgwalters/rust-misc 43a1d28 rust: Add README.md files, link to crates.io a8bc747 rust: Clarify that "composefs-core" is really "composefs" 483356c Merge pull request openembedded#297 from cgwalters/rust-include 02213c0 composefs-core: Drop incorrect `include` dce84ff Merge pull request openembedded#295 from cgwalters/rust-descr 3d2af03 Merge pull request openembedded#296 from Kiskae/upstream-tmpdir-fix 6928fcf test: remove hardcoded /tmp e21be07 rust: Add mandatory `description` field, other misc changes 28dc491 Merge pull request openembedded#292 from cgwalters/rust-ci-dual 59c5a27 Merge pull request openembedded#293 from cgwalters/rust-minor 689ccc6 rust: Some doc and misc tweaks 426b65d ci: Test Rust code against current C code 32b3f6e Merge pull request openembedded#291 from Kiskae/patch-1 f7465b3 use correct `composefs-info` binary [1] containers/composefs@v1.0.4...v1.0.5 Signed-off-by: Jose Quaresma <[email protected]> Signed-off-by: Khem Raj <[email protected]>
https://errors.yoctoproject.org/Errors/Details/539929/
Seen on all arch builds. Whats new is building on Ubuntu 20
The text was updated successfully, but these errors were encountered: