os icon indicating copy to clipboard operation
os copied to clipboard

freerdp-3/3.8.0 package update

Open octo-sts[bot] opened this issue 1 year ago • 14 comments

octo-sts[bot] avatar Aug 30 '24 07:08 octo-sts[bot]

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-3508240014
INFO   guest dir: /temp/melange-guest-185793923
ERRO failed to build package: unable to run package freerdp-3 pipeline: unable to run pipeline: exit status 1
make[1]: *** [Makefile:111: packages/aarch64/freerdp-3-3.8.0-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/freerdp-3] Error 2
##[error]Process completed with exit code 2."

1. Verify dependencies for freerdp-3 are installed.
2. Check for errors in the Makefile at lines 101 and 111.
3. Ensure the build environment is correctly configured.
4. Run `make clean` to clear previous builds.
5. Re-run the build process and check logs for specific errors.

octo-sts[bot] avatar Aug 30 '24 07:08 octo-sts[bot]

Adding libsdl2-dev will progress, but it now complains about webkit2gtk which is not in the repo:

2024/08/30 12:29:39 INFO -- Checking for module 'webkit2gtk-4.1'
2024/08/30 12:29:39 INFO --   Package 'webkit2gtk-4.1' not found
2024/08/30 12:29:39 INFO -- Checking for module 'webkit2gtk-4.0'
2024/08/30 12:29:39 INFO --   Package 'webkit2gtk-4.0' not found
2024/08/30 12:29:39 WARN CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:619 (message):
2024/08/30 12:29:39 WARN   The following required packages were not found:
2024/08/30 12:29:39 WARN
2024/08/30 12:29:39 WARN    - webkit2gtk-4.0
2024/08/30 12:29:39 WARN
2024/08/30 12:29:39 WARN Call Stack (most recent call first):
2024/08/30 12:29:39 WARN   /usr/share/cmake/Modules/FindPkgConfig.cmake:847 (_pkg_check_modules_internal)
2024/08/30 12:29:39 WARN   client/SDL/common/aad/CMakeLists.txt:61 (pkg_check_modules)
2024/08/30 12:29:39 WARN
2024/08/30 12:29:39 WARN
2024/08/30 12:29:39 INFO -- Configuring incomplete, errors occurred!
2024/08/30 12:29:39 INFO pod e1d6742735d2ca3873d3fef339fad1f7ae374cdb14bd14bbf585cbbfaebd6829 terminated
2024/08/30 12:29:39 ERRO ERROR: failed to build package. the build environment has been preserved:
2024/08/30 12:29:39 INFO   workspace dir: /var/folders/xw/4dqq_sk57xsgdpqrhx9hlvrc0000gn/T/melange-workspace-89892513
2024/08/30 12:29:39 INFO   guest dir: /var/folders/xw/4dqq_sk57xsgdpqrhx9hlvrc0000gn/T/melange-guest-1121422103
2024/08/30 12:29:39 ERRO failed to build package: unable to run package freerdp-3 pipeline: unable to run pipeline: task exited with code 1

https://github.com/FreeRDP/FreeRDP/commit/8b0f4ca106bf786f78db2afbee9ddccff8be274a

And if sdl2 is added, it want sdl2-ttf.

I've tried to work this, but, I don't use FreeRDP on Wolfi, so not sure how much work I should do.

MindTooth avatar Aug 30 '24 11:08 MindTooth

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-3418716826
INFO   guest dir: /temp/melange-guest-32403629
ERRO failed to build package: unable to run package freerdp-3 pipeline: unable to run pipeline: exit status 1
make[1]: *** [Makefile:111: packages/aarch64/freerdp-3-3.8.0-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/freerdp-3] Error 2
##[error]Process completed with exit code 2."

1. Verify dependencies for freerdp-3 are installed.
2. Check for errors in the Makefile at lines 101 and 111.
3. Ensure the build environment is correctly configured.
4. Run the build command manually to identify specific issues.
5. Review logs in /temp/melange-workspace-3418716826 for more details.

octo-sts[bot] avatar Aug 30 '24 12:08 octo-sts[bot]

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-1122298778
INFO   guest dir: /temp/melange-guest-3370645177
ERRO failed to build package: unable to run package freerdp-3 pipeline: unable to run pipeline: exit status 1
make[1]: *** [Makefile:111: packages/aarch64/freerdp-3-3.8.0-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/freerdp-3] Error 2
##[error]Process completed with exit code 2."

1. Ensure all dependencies like `cJSON`, `uriparser`, `Opus`, and `webkit2gtk-4.0` are installed.
2. Add their paths to `CMAKE_PREFIX_PATH`.
3. Re-run the build process.

octo-sts[bot] avatar Sep 20 '24 17:09 octo-sts[bot]

Need https://github.com/wolfi-dev/os/pull/26129 webkit2gtk

debasishbsws avatar Oct 07 '24 10:10 debasishbsws

Unassigning myself

debasishbsws avatar Oct 07 '24 19:10 debasishbsws

also removing me to focus in issues with more priority

cpanato avatar Oct 09 '24 09:10 cpanato

Open AI suggestions to solve the build error:

The error message indicates a failure in building the package `freerdp-3`. The build environment has been preserved, and you can check the detailed error messages in the workspace directory `/temp/melange-workspace-2758387079`. Here are some steps you can take:

1. **Check the Build Logs**: Look into the logs in the workspace directory for more detailed error messages.
2. **Verify Dependencies**: Ensure that all dependencies and environment configurations for `freerdp-3` are correct.
3. **Install Required Tools**: Make sure all necessary tools and libraries are installed.
4. **Increase Verbosity**: Re-run the build process with increased verbosity to gain more insights into the issue.
5. **Address Specific Errors**: Focus on any specific errors found in the logs to resolve the issue.

octo-sts[bot] avatar Oct 10 '24 04:10 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message indicates a failure in building the package due to an issue with the `freerdp-3` pipeline, resulting in an exit status 1. Here are some steps you can take to resolve the issue:

1. **Check the Build Logs**: Look into the build logs located in the workspace directory for more detailed error messages.
2. **Dependencies**: Ensure that all dependencies required for `freerdp-3` are properly installed.
3. **Build Script**: Verify the build script for any syntax errors or misconfigurations.
4. **Disk Space and Permissions**: Make sure there is sufficient disk space and that you have the necessary permissions to perform the build.
5. **Re-run the Build**: After addressing any issues, try re-running the build process.

octo-sts[bot] avatar Oct 10 '24 04:10 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message indicates a failure in building the package due to an issue with the "freerdp-3" pipeline, resulting in an exit status 1. Here are some steps to address the issue:

1. **Check Build Logs**: Look into the build logs located in the workspace directory for more detailed error messages.
2. **Verify Dependencies**: Ensure that all required dependencies and packages are installed.
3. **Confirm Build Script**: Make sure the build script is correct and compatible with the current environment.
4. **Test in Clean Environment**: Try the build process in a clean environment to help isolate the problem.
5. **Update Components**: Update or patch any outdated or incompatible components that might be causing the issue.

octo-sts[bot] avatar Oct 10 '24 04:10 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message indicates a failure in building the package with the following details:

"ERROR: failed to build package. the build environment has been preserved: unable to run package freerdp-3 pipeline: unable to run pipeline: exit status 1"

To address this error, consider the following steps:
1. Review the build logs for specific error messages.
2. Ensure all dependencies for the `freerdp-3` package are installed.
3. Verify the build configuration and environment settings.
4. Update the `freerdp-3` package to the latest version.
5. Re-run the build process with verbose logging for more detailed information.
6. If the issue persists, check the freerdp GitHub issues for similar problems and potential solutions.

octo-sts[bot] avatar Oct 10 '24 04:10 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message indicates a failure to build the package due to an issue with the "freerdp-3" pipeline, resulting in an exit status 1. Here are some suggestions to fix the error:

1. Check the build logs in the workspace directory for detailed error messages.
2. Ensure all dependencies for "freerdp-3" are installed.
3. Verify the build script for any syntax errors.
4. Check for sufficient disk space and permissions.
5. Re-run the build process.

octo-sts[bot] avatar Oct 10 '24 14:10 octo-sts[bot]

Escalating from lifecycle to foundations as @xnox is working on this.

philroche avatar Oct 10 '24 15:10 philroche

Next todo - figure out how our libsdl2 and libsdl3 builds are incomplete and what are the _ttf (truetype font?) variant builds of it which freerdp wants and we don't have (or packaged as symlinks?)

xnox avatar Oct 10 '24 22:10 xnox

superseded by https://github.com/wolfi-dev/os/pull/31386

octo-sts[bot] avatar Oct 21 '24 23:10 octo-sts[bot]