We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I thought it would be as simple as
diff --git a/.github/workflows/weekly_flatpak.yml b/.github/workflows/weekly_flatpak.yml index 076969cc..f40d153f 100644 --- a/.github/workflows/weekly_flatpak.yml +++ b/.github/workflows/weekly_flatpak.yml @@ -12,7 +12,7 @@ jobs: # again runs-on: ubuntu-24.04 container: - image: bilelmoussaoui/flatpak-github-actions:gnome-46 + image: bilelmoussaoui/flatpak-github-actions:gnome-47 options: --privileged steps: - uses: actions/checkout@v4 diff --git a/build-aux/org.gnome.GTG.Devel.json b/build-aux/org.gnome.GTG.Devel.json index 5b2bcd9e..d9f74301 100644 --- a/build-aux/org.gnome.GTG.Devel.json +++ b/build-aux/org.gnome.GTG.Devel.json @@ -1,7 +1,7 @@ { "app-id": "org.gnome.GTG.Devel", "runtime": "org.gnome.Platform", - "runtime-version": "46", + "runtime-version": "47", "sdk": "org.gnome.Sdk", "command": "gtg", "tags": ["devel", "development", "nightly"],
but it runs into problems building lxml:
2024-11-09T18:54:08.2304003Z building 'lxml.etree' extension 2024-11-09T18:54:08.2306480Z creating build/temp.linux-x86_64-cpython-312/src/lxml 2024-11-09T18:54:08.2315548Z x86_64-unknown-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.12 -I/usr/include/x86_64-linux-gnu/python3.12 -c src/lxml/etree.c -o build/temp.linux-x86_64-cpython-312/src/lxml/etree.o -w 2024-11-09T18:54:11.8684661Z src/lxml/etree.c: In function ‘__pyx_pf_4lxml_5etree_11TreeBuilder_4data’: 2024-11-09T18:54:11.9149013Z src/lxml/etree.c:155971:66: error: passing argument 1 of ‘__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxData’ from incompatible pointer type [-Wincompatible-pointer-types] 2024-11-09T18:54:11.9156013Z 155971 | __pyx_t_1 = __pyx_f_4lxml_5etree_11TreeBuilder__handleSaxData(((struct __pyx_obj_4lxml_5etree__SaxParserTarget *)__pyx_v_self), __pyx_v_data); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(3, 846, __pyx_L1_error) 2024-11-09T18:54:11.9157958Z | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2024-11-09T18:54:11.9161287Z | | 2024-11-09T18:54:11.9162418Z | struct __pyx_obj_4lxml_5etree__SaxParserTarget * 2024-11-09T18:54:11.9663069Z src/lxml/etree.c:155248:105: note: expected ‘struct __pyx_obj_4lxml_5etree_TreeBuilder *’ but argument is of type ‘struct __pyx_obj_4lxml_5etree__SaxParserTarget *’ 2024-11-09T18:54:11.9665447Z 155248 | static int __pyx_f_4lxml_5etree_11TreeBuilder__handleSaxData(struct __pyx_obj_4lxml_5etree_TreeBuilder *__pyx_v_self, PyObject *__pyx_v_data) { 2024-11-09T18:54:11.9667296Z | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2024-11-09T18:54:11.9972769Z src/lxml/etree.c: In function ‘__pyx_pf_4lxml_5etree_11TreeBuilder_6start’: 2024-11-09T18:54:12.0443313Z src/lxml/etree.c:156177:67: error: passing argument 1 of ‘__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxStart’ from incompatible pointer type [-Wincompatible-pointer-types] 2024-11-09T18:54:12.0446319Z 156177 | __pyx_t_2 = __pyx_f_4lxml_5etree_11TreeBuilder__handleSaxStart(((struct __pyx_obj_4lxml_5etree__SaxParserTarget *)__pyx_v_self), __pyx_v_tag, __pyx_v_attrs, __pyx_v_nsmap); if (unlikely(!__pyx_t_2)) __PYX_ERR(3, 855, __pyx_L1_error) 2024-11-09T18:54:12.0450107Z | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2024-11-09T18:54:12.0451089Z | | 2024-11-09T18:54:12.0452031Z | struct __pyx_obj_4lxml_5etree__SaxParserTarget * 2024-11-09T18:54:12.0958722Z src/lxml/etree.c:154867:112: note: expected ‘struct __pyx_obj_4lxml_5etree_TreeBuilder *’ but argument is of type ‘struct __pyx_obj_4lxml_5etree__SaxParserTarget *’ 2024-11-09T18:54:12.0962739Z 154867 | static PyObject *__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxStart(struct __pyx_obj_4lxml_5etree_TreeBuilder *__pyx_v_self, PyObject *__pyx_v_tag, PyObject *__pyx_v_attrib, PyObject *__pyx_v_nsmap) { 2024-11-09T18:54:12.0964955Z | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2024-11-09T18:54:12.1068810Z src/lxml/etree.c: In function ‘__pyx_pf_4lxml_5etree_11TreeBuilder_8end’: 2024-11-09T18:54:12.1537994Z src/lxml/etree.c:156330:65: error: passing argument 1 of ‘__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxEnd’ from incompatible pointer type [-Wincompatible-pointer-types] 2024-11-09T18:54:12.1543524Z 156330 | __pyx_t_1 = __pyx_f_4lxml_5etree_11TreeBuilder__handleSaxEnd(((struct __pyx_obj_4lxml_5etree__SaxParserTarget *)__pyx_v_self), __pyx_v_tag); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 862, __pyx_L1_error) 2024-11-09T18:54:12.1545455Z | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2024-11-09T18:54:12.1546344Z | | 2024-11-09T18:54:12.1547456Z | struct __pyx_obj_4lxml_5etree__SaxParserTarget * 2024-11-09T18:54:12.2039170Z src/lxml/etree.c:155140:110: note: expected ‘struct __pyx_obj_4lxml_5etree_TreeBuilder *’ but argument is of type ‘struct __pyx_obj_4lxml_5etree__SaxParserTarget *’ 2024-11-09T18:54:12.2043101Z 155140 | static PyObject *__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxEnd(struct __pyx_obj_4lxml_5etree_TreeBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_tag) { 2024-11-09T18:54:12.2046952Z | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2024-11-09T18:54:12.2263640Z src/lxml/etree.c: In function ‘__pyx_pf_4lxml_5etree_11TreeBuilder_10pi’: 2024-11-09T18:54:12.2724149Z src/lxml/etree.c:156576:64: error: passing argument 1 of ‘__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxPi’ from incompatible pointer type [-Wincompatible-pointer-types] 2024-11-09T18:54:12.2729810Z 156576 | __pyx_t_1 = __pyx_f_4lxml_5etree_11TreeBuilder__handleSaxPi(((struct __pyx_obj_4lxml_5etree__SaxParserTarget *)__pyx_v_self), __pyx_v_target, __pyx_v_data); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 873, __pyx_L1_error) 2024-11-09T18:54:12.2733737Z | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2024-11-09T18:54:12.2734353Z | | 2024-11-09T18:54:12.2735002Z | struct __pyx_obj_4lxml_5etree__SaxParserTarget * 2024-11-09T18:54:12.3230061Z src/lxml/etree.c:155294:109: note: expected ‘struct __pyx_obj_4lxml_5etree_TreeBuilder *’ but argument is of type ‘struct __pyx_obj_4lxml_5etree__SaxParserTarget *’ 2024-11-09T18:54:12.3236511Z 155294 | static PyObject *__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxPi(struct __pyx_obj_4lxml_5etree_TreeBuilder *__pyx_v_self, PyObject *__pyx_v_target, PyObject *__pyx_v_data) { 2024-11-09T18:54:12.3238550Z | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2024-11-09T18:54:12.3343096Z src/lxml/etree.c: In function ‘__pyx_pf_4lxml_5etree_11TreeBuilder_12comment’: 2024-11-09T18:54:12.3803615Z src/lxml/etree.c:156721:69: error: passing argument 1 of ‘__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxComment’ from incompatible pointer type [-Wincompatible-pointer-types] 2024-11-09T18:54:12.3809261Z 156721 | __pyx_t_1 = __pyx_f_4lxml_5etree_11TreeBuilder__handleSaxComment(((struct __pyx_obj_4lxml_5etree__SaxParserTarget *)__pyx_v_self), __pyx_v_comment); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 881, __pyx_L1_error) 2024-11-09T18:54:12.3811308Z | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2024-11-09T18:54:12.3812265Z | | 2024-11-09T18:54:12.3814149Z | struct __pyx_obj_4lxml_5etree__SaxParserTarget * 2024-11-09T18:54:12.4312990Z src/lxml/etree.c:155474:114: note: expected ‘struct __pyx_obj_4lxml_5etree_TreeBuilder *’ but argument is of type ‘struct __pyx_obj_4lxml_5etree__SaxParserTarget *’ 2024-11-09T18:54:12.4317189Z 155474 | static PyObject *__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxComment(struct __pyx_obj_4lxml_5etree_TreeBuilder *__pyx_v_self, PyObject *__pyx_v_comment) { 2024-11-09T18:54:12.4319321Z | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2024-11-09T18:54:16.8964784Z src/lxml/etree.c: In function ‘__pyx_pf_4lxml_5etree_4XSLT_16__call__’: 2024-11-09T18:54:16.9636944Z src/lxml/etree.c:225370:73: error: passing argument 1 of ‘__pyx_f_4lxml_5etree_12_XSLTContext__copy’ from incompatible pointer type [-Wincompatible-pointer-types] 2024-11-09T18:54:16.9640824Z 225370 | __pyx_t_2 = ((PyObject *)__pyx_f_4lxml_5etree_12_XSLTContext__copy(((struct __pyx_obj_4lxml_5etree__BaseContext *)__pyx_v_self->_context))); if (unlikely(!__pyx_t_2)) __PYX_ERR(4, 543, __pyx_L9_error) 2024-11-09T18:54:16.9643326Z | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2024-11-09T18:54:16.9644800Z | | 2024-11-09T18:54:16.9646004Z | struct __pyx_obj_4lxml_5etree__BaseContext * 2024-11-09T18:54:17.0362005Z src/lxml/etree.c:222824:138: note: expected ‘struct __pyx_obj_4lxml_5etree__XSLTContext *’ but argument is of type ‘struct __pyx_obj_4lxml_5etree__BaseContext *’ 2024-11-09T18:54:17.0365764Z 222824 | static struct __pyx_obj_4lxml_5etree__BaseContext *__pyx_f_4lxml_5etree_12_XSLTContext__copy(struct __pyx_obj_4lxml_5etree__XSLTContext *__pyx_v_self) { 2024-11-09T18:54:17.0367780Z | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2024-11-09T18:54:17.0860343Z src/lxml/etree.c: In function ‘__pyx_f_4lxml_5etree__copyXSLT’: 2024-11-09T18:54:17.1523005Z src/lxml/etree.c:227187:71: error: passing argument 1 of ‘__pyx_f_4lxml_5etree_12_XSLTContext__copy’ from incompatible pointer type [-Wincompatible-pointer-types] 2024-11-09T18:54:17.1527212Z 227187 | __pyx_t_2 = ((PyObject *)__pyx_f_4lxml_5etree_12_XSLTContext__copy(((struct __pyx_obj_4lxml_5etree__BaseContext *)__pyx_v_stylesheet->_context))); if (unlikely(!__pyx_t_2)) __PYX_ERR(4, 684, __pyx_L1_error) 2024-11-09T18:54:17.1529566Z | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2024-11-09T18:54:17.1530446Z | | 2024-11-09T18:54:17.1531594Z | struct __pyx_obj_4lxml_5etree__BaseContext * 2024-11-09T18:54:17.2243850Z src/lxml/etree.c:222824:138: note: expected ‘struct __pyx_obj_4lxml_5etree__XSLTContext *’ but argument is of type ‘struct __pyx_obj_4lxml_5etree__BaseContext *’ 2024-11-09T18:54:17.2247592Z 222824 | static struct __pyx_obj_4lxml_5etree__BaseContext *__pyx_f_4lxml_5etree_12_XSLTContext__copy(struct __pyx_obj_4lxml_5etree__XSLTContext *__pyx_v_self) { 2024-11-09T18:54:17.2251970Z | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2024-11-09T18:54:30.5028815Z Compile failed: command '/usr/bin/x86_64-unknown-linux-gnu-gcc' failed with exit code 1 2024-11-09T18:54:30.5029902Z creating tmp 2024-11-09T18:54:30.5032565Z cc -I/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInitwp5xhtgb.c -o tmp/xmlXPathInitwp5xhtgb.o 2024-11-09T18:54:30.5571047Z /tmp/xmlXPathInitwp5xhtgb.c: In function ‘main’: 2024-11-09T18:54:30.5575057Z /tmp/xmlXPathInitwp5xhtgb.c:3:5: warning: ‘xmlXPathInit’ is deprecated [-Wdeprecated-declarations] 2024-11-09T18:54:30.5577286Z 3 | xmlXPathInit(); 2024-11-09T18:54:30.5578328Z | ^~~~~~~~~~~~ 2024-11-09T18:54:30.5581365Z In file included from /tmp/xmlXPathInitwp5xhtgb.c:1: 2024-11-09T18:54:30.5584430Z /usr/include/libxml2/libxml/xpath.h:568:21: note: declared here 2024-11-09T18:54:30.5587376Z 568 | xmlXPathInit (void); 2024-11-09T18:54:30.5589994Z | ^~~~~~~~~~~~ 2024-11-09T18:54:30.5593291Z cc tmp/xmlXPathInitwp5xhtgb.o -lxml2 -o a.out 2024-11-09T18:54:30.6146417Z error: command '/usr/bin/x86_64-unknown-linux-gnu-gcc' failed with exit code 1 2024-11-09T18:54:30.6515487Z error: subprocess-exited-with-error 2024-11-09T18:54:30.6516165Z 2024-11-09T18:54:30.6517313Z × Building wheel for lxml (pyproject.toml) did not run successfully. 2024-11-09T18:54:30.6518271Z │ exit code: 1 2024-11-09T18:54:30.6518829Z ╰─> See above for output. 2024-11-09T18:54:30.6519356Z 2024-11-09T18:54:30.6520113Z note: This error originates from a subprocess, and is likely not a problem with pip. 2024-11-09T18:54:30.6522292Z full command: /usr/bin/python /usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpk7dva3kj 2024-11-09T18:54:30.6524095Z cwd: /tmp/pip-install-rrwwofdp/lxml_318bf9e9242d430e9f0fc4083ae4d1f9 2024-11-09T18:54:30.6525404Z Building wheel for lxml (pyproject.toml): finished with status 'error' 2024-11-09T18:54:30.6529744Z ERROR: Failed building wheel for lxml 2024-11-09T18:54:30.6534065Z Failed to build lxml 2024-11-09T18:54:30.6538005Z ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (lxml) 2024-11-09T18:54:30.7038899Z Error: module python3-lxml: Child process exited with code 1 2024-11-09T18:54:30.7127028Z ##[error]Build failed: Error: The process '/usr/bin/xvfb-run' failed with exit code 1
https://github.com/SqAtx/gtg/actions/runs/11758685143/job/32757322867
Same thing happening locally with
sudo flatpak-builder --force-clean --install-deps-from=flathub --repo=repo --install builddir build-aux/org.gnome.GTG.Devel.json
Will look more into it.
The text was updated successfully, but these errors were encountered:
Bump GNOME runtime to 47
484e473
Fixes #1155
fce78a9
Successfully merging a pull request may close this issue.
I thought it would be as simple as
but it runs into problems building lxml:
https://github.com/SqAtx/gtg/actions/runs/11758685143/job/32757322867
Same thing happening locally with
Will look more into it.
The text was updated successfully, but these errors were encountered: