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

libreoffice-24.2/24.2.6.1 package update #26543

Closed
wants to merge 8 commits into from

Conversation

octo-sts[bot]
Copy link
Contributor

@octo-sts octo-sts bot commented Aug 19, 2024

@octo-sts octo-sts bot added request-version-update request for a newer version of a package automated pr P1 This issue is very important and will be addressed within the team planning window. labels Aug 19, 2024
Copy link
Contributor Author

octo-sts bot commented Aug 19, 2024

Open AI suggestions to solve the build error:

The error message is: "ERROR: failed to build package. the build environment has been preserved:
INFO workspace dir: /temp/melange-workspace-1618270930
INFO guest dir: /temp/melange-guest-2467201045
ERRO failed to build package: unable to run package libreoffice-24.2 pipeline: unable to run pipeline: unable to run pipeline: exit status 1
make[1]: *** [Makefile:111: packages/aarch64/libreoffice-24.2-24.2.6.1-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/libreoffice-24.2] Error 2
##[error]Process completed with exit code 2."

1. Check logs in `/temp/melange-workspace-1618270930` and `/temp/melange-guest-2467201045`.
2. Ensure all dependencies are installed.
3. Verify the Makefile for errors.
4. Run `make clean`.
5. Retry the build.

@ritster ritster self-assigned this Aug 19, 2024
Copy link
Contributor Author

octo-sts bot commented Aug 19, 2024

Open AI suggestions to solve the build error:

The error message is: "ERROR: failed to build package. the build environment has been preserved:
INFO   workspace dir: /temp/melange-workspace-2346541504
INFO   guest dir: /temp/melange-guest-3163720246
ERRO failed to build package: unable to run package libreoffice-24.2 pipeline: unable to run pipeline: unable to run pipeline: exit status 1
make[1]: *** [Makefile:111: packages/aarch64/libreoffice-24.2-24.2.6.1-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/libreoffice-24.2] Error 2
##[error]Process completed with exit code 2."

To fix the error:
1. Check the patch file `download.lst.rej` for details on the failed hunk.
2. Manually apply the patch or correct the patch file.
3. Re-run the build process.

Copy link
Contributor Author

octo-sts bot commented Aug 19, 2024

Open AI suggestions to solve the build error:

The error message is: "ERROR: failed to build package. the build environment has been preserved:
INFO   workspace dir: /temp/melange-workspace-2569630840
INFO   guest dir: /temp/melange-guest-3913268458
ERRO failed to build package: unable to run package libreoffice-24.2 pipeline: unable to run pipeline: unable to run pipeline: exit status 1
make[1]: *** [Makefile:111: packages/aarch64/libreoffice-24.2-24.2.6.1-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/libreoffice-24.2] Error 2
##[error]Process completed with exit code 2."

1. Check logs in `/temp/melange-workspace-2569630840` and `/temp/melange-guest-3913268458`.
2. Ensure all dependencies are installed.
3. Verify the Makefile for errors.
4. Run `make clean`.
5. Retry the build.

Copy link
Contributor Author

octo-sts bot commented Aug 20, 2024

Open AI suggestions to solve the build error:

The error message is: "libxml2 and libxslt are both not available
INFO raptor_www_libxml.c: In function 'raptor_www_libxml_init':
INFO raptor_www_libxml.c:43:3: error: implicit declaration of function 'xmlNanoHTTPInit' [-Wimplicit-function-declaration]
INFO    43 |   xmlNanoHTTPInit();
INFO       |   ^~~~~~~~~~~~~~~
INFO raptor_www_libxml.c: In function 'raptor_www_libxml_free':
INFO raptor_www_libxml.c:51:3: error: implicit declaration of function 'xmlNanoHTTPCleanup' [-Wimplicit-function-declaration]
INFO    51 |   xmlNanoHTTPCleanup();
INFO       |   ^~~~~~~~~~~~~~~~~~
INFO raptor_www_libxml.c: In function 'raptor_www_libxml_fetch':
INFO raptor_www_libxml.c:61:5: error: implicit declaration of function 'xmlNanoHTTPScanProxy' [-Wimplicit-function-declaration]
INFO    61 |     xmlNanoHTTPScanProxy(www->proxy);
INFO       |     ^~~~~~~~~~~~~~~~~~~~
INFO raptor_www_libxml.c:113:15: error: implicit declaration of function 'xmlNanoHTTPMethod' [-Wimplicit-function-declaration]
INFO   113 |   www->ctxt = xmlNanoHTTPMethod((const char*)raptor_uri_as_string(www->uri),
INFO       |               ^~~~~~~~~~~~~~~~~
INFO raptor_www_libxml.c:113:13: error: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
INFO   113 |   www->ctxt = xmlNanoHTTPMethod((const char*)raptor_uri_as_string(www->uri),
INFO       |             ^
INFO raptor_www_libxml.c:130:9: error: implicit declaration of function 'xmlNanoHTTPClose' [-Wimplicit-function-declaration]
INFO   130 |         xmlNanoHTTPClose(www->ctxt);
INFO       |         ^~~~~~~~~~~~~~~~
INFO raptor_www_libxml.c:138:22: error: implicit declaration of function 'xmlNanoHTTPReturnCode' [-Wimplicit-function-declaration]
INFO   138 |   www->status_code = xmlNanoHTTPReturnCode(www->ctxt);
INFO       |                      ^~~~~~~~~~~~~~~~~~~~~
INFO raptor_www_libxml.c:141:15: error: implicit declaration of function 'xmlNanoHTTPRead' [-Wimplicit-function-declaration]
INFO   141 |     int len = xmlNanoHTTPRead(www->ctxt, www->buffer, RAPTOR_WWW_BUFFER_SIZE);
INFO       |               ^~~~~~~~~~~~~~~
INFO make[4]: *** [Makefile:676: raptor_www_libxml.lo] Error 1
INFO make[4]: *** Waiting for unfinished jobs....
INFO make[3]: *** [Makefile:510: all] Error 2
INFO make[2]: *** [Makefile:455: all-recursive] Error 1
WARN make: *** [Makefile:289: build] Error 2
ERRO ERROR: failed to build package. the build environment has been preserved:
INFO   workspace dir: /temp/melange-workspace-1935767641
INFO   guest dir: /temp/melange-guest-1078247715
ERRO failed to build package: unable to run package libreoffice-24.2 pipeline: unable to run pipeline: exit status 2
make[1]: *** [Makefile:111: packages/aarch64/libreoffice-24.2-24.2.6.1-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/libreoffice-24.2] Error 2
##[error]Process completed with exit code 2."

To fix this error:
1. Ensure `libxml2` and `libxslt` are installed.
2. Add `#include <libxml/nanohttp.h>` at the top of `raptor_www_libxml.c`.
3. Verify the library paths in your build configuration.
4. Rebuild the project.

@ritster ritster force-pushed the wolfictl-30655acf-9879-4690-a5f0-951b5b9bf35a branch from cc5a360 to 2a55e3e Compare August 21, 2024 20:48
Copy link
Contributor Author

octo-sts bot commented Aug 21, 2024

Open AI suggestions to solve the build error:

No errors were found in the log file.

Copy link
Contributor Author

octo-sts bot commented Aug 21, 2024

Open AI suggestions to solve the build error:

No error message found in the log at `/tmp/script1094037650`. Please ensure the log file path is correct and that the log file contains error messages.

@ritster
Copy link
Contributor

ritster commented Aug 21, 2024

The libreoffice-24.2 package is currently building, but failing the "Check that packages can be installed with apk add" check:

ERROR: unable to select packages:
  python-3.11-3.11.8-r1:
    conflicts: python-3.11-3.11.8-r3
               python-3.11-3.11.8-r3[cmd:pydoc3.11=3.11.8-r1]
               python-3.11-3.11.8-r3[cmd:python3.11=3.11.8-r1]
               python-3.11-3.11.8-r3[so:libpython3.11.so.1.0=1.0]
    satisfies: python-3.11-3.11.8-r1[python3~3.11]
               python-3.11-3.11.8-r3[python3~3.11]
               libreoffice-24.2-24.2.6.1-r0[so:libpython3.11.so.1.0]
  python-3.11-3.11.8-r3:
    conflicts: python-3.11-3.11.8-r1
               python-3.11-3.11.8-r1[cmd:pydoc3.11=3.11.8-r3]
               python-3.11-3.11.8-r1[cmd:python3.11=3.11.8-r3]
               python-3.11-3.11.8-r1[so:libpython3.11.so.1.0=1.0]
    satisfies: libreoffice-24.2-24.2.6.1-r0[so:libpython3.11.so.1.0]```

Copy link
Contributor Author

octo-sts bot commented Aug 23, 2024

Open AI suggestions to solve the build error:

The error message is: "ERROR: failed to build package. the build environment has been preserved:
INFO   workspace dir: /temp/melange-workspace-1212714910
INFO   guest dir: /temp/melange-guest-11122668
ERRO failed to build package: unable to run package libreoffice-24.2 pipeline: unable to run pipeline: exit status 1
make[1]: *** [Makefile:111: packages/aarch64/libreoffice-24.2-24.2.6.1-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/libreoffice-24.2] Error 2
##[error]Process completed with exit code 2."

1. Verify dependencies for libreoffice-24.2 are installed.
2. Check for missing or incorrect paths in the Makefile.
3. Ensure the build environment is correctly set up.
4. Review logs in /temp/melange-workspace-1212714910 for more details.
5. Re-run the build process.

Copy link
Contributor Author

octo-sts bot commented Aug 25, 2024

Open AI suggestions to solve the build error:

The error message is: "ERROR: failed to build package. the build environment has been preserved:
INFO   workspace dir: /temp/melange-workspace-972754906
INFO   guest dir: /temp/melange-guest-2648791585
ERRO failed to build package: unable to run package libreoffice-24.2 pipeline: unable to run pipeline: unable to run pipeline: exit status 128
make[1]: *** [Makefile:111: packages/aarch64/libreoffice-24.2-24.2.6.1-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/libreoffice-24.2] Error 2
##[error]Process completed with exit code 2."

Steps to fix:
1. Check network connection and retry the git clone command.
2. Increase the git buffer size: `git config --global http.postBuffer 524288000`.
3. Ensure the repository URL and branch/tag are correct.
4. Clean the workspace and retry the build.

Copy link
Contributor Author

octo-sts bot commented Aug 25, 2024

Open AI suggestions to solve the build error:

The error message is: "WARN configure: error: libEGL required.
WARN Error running configure at ./autogen.sh line 321.
ERRO ERROR: failed to build package. the build environment has been preserved:
INFO   workspace dir: /temp/melange-workspace-1121570245
INFO   guest dir: /temp/melange-guest-1656613708
ERRO failed to build package: unable to run package libreoffice-24.2 pipeline: unable to run pipeline: exit status 1
make[1]: *** [Makefile:111: packages/aarch64/libreoffice-24.2-24.2.6.1-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/libreoffice-24.2] Error 2
##[error]Process completed with exit code 2."

1. Install libEGL development package: `sudo apt-get install libegl1-mesa-dev`.
2. Clean the build environment: `make clean`.
3. Re-run the configuration script: `./autogen.sh`.
4. Attempt to build the package again: `make`.

@TaylorBloom129 TaylorBloom129 assigned philroche and unassigned ritster Aug 28, 2024
Copy link
Contributor Author

octo-sts bot commented Aug 28, 2024

Open AI suggestions to solve the build error:

The error message is: "WARN configure: error: libEGL required.
ERRO ERROR: failed to build package. the build environment has been preserved:
INFO   workspace dir: /temp/melange-workspace-816308538
INFO   guest dir: /temp/melange-guest-2296370624
ERRO failed to build package: unable to run package libreoffice-24.2 pipeline: unable to run pipeline: exit status 1
make[1]: *** [Makefile:111: packages/aarch64/libreoffice-24.2-24.2.6.1-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/libreoffice-24.2] Error 2
##[error]Process completed with exit code 2."

1. Install libEGL development package: `sudo apt-get install libegl1-mesa-dev`.
2. Verify libEGL installation: `pkg-config --modversion egl`.
3. Clean the build environment: `make clean`.
4. Re-run the build process: `make package/libreoffice-24.2`.

@ericsmalling
Copy link
Contributor

Public issue on this: #25946

Customer ADP also just encountered the same

Copy link
Contributor Author

octo-sts bot commented Sep 6, 2024

superseded by #27736

@octo-sts octo-sts bot closed this Sep 6, 2024
@octo-sts octo-sts bot deleted the wolfictl-30655acf-9879-4690-a5f0-951b5b9bf35a branch September 7, 2024 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated pr P1 This issue is very important and will be addressed within the team planning window. request-version-update request for a newer version of a package squad:foundations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants