Skip to content

Conversation

@Yewzir
Copy link
Contributor

@Yewzir Yewzir commented Oct 11, 2025

I wrote a few lines of comments in the Dockerfile.

I wrote a few lines of comments in the Dockerfile.
@github-actions github-actions bot added the conflicts Pull Request has conflicts. label Oct 18, 2025
@Yewzir Yewzir changed the title Build Harbour from (multiple) source(s) on Alpine Build Harbour from source on Alpine Oct 27, 2025
@Yewzir Yewzir marked this pull request as draft October 27, 2025 18:58
This has two problems:

* Neither Alpine nor more recent Debian versions can bypass the
instruction that uses a deprecated system call (`sysctl`).
* The question mark operators representing `QOut` (`?`) and `QQOut`
(`??`) cannot be used because neither symbol is found.

This last problem can be solved by adding `#define` instructions at the
top of the Harbour source file in the runner file, but I'll first
compare some files from the stable version (3.0.0) and the development
version (3.2.0) to see if I can make any sense of it.
@github-actions github-actions bot removed the conflicts Pull Request has conflicts. label Nov 1, 2025
@Yewzir Yewzir marked this pull request as ready for review November 2, 2025 04:50
version = '3.0.0'
website = 'https://harbour.github.io'
size = '6.74 MiB'
version = '53f3d24'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather not jump to a random commit, their latest stable is still 3.0

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather not jump to a random commit, their latest stable is still 3.0

That's understandable. That's also why I initially came up with #1875, because by the time a new commit is compiled, there are already eighty-seven new ones, and compiling only takes a minute or two. I don't feel like doing that right now, you know. What a problematic language.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, I got it working. Well, it's always worked, but whatever. The issue with the outdated system call seems pretty much unavoidable and has since been fixed with a patch. However, I'm afraid the sample code needs to be modified to support this specific version of the project. What do you think? Shouldn't these be mostly tutorial solutions, or mostly hard-coded?

@Yewzir Yewzir marked this pull request as draft November 9, 2025 18:49
@github-actions github-actions bot added the conflicts Pull Request has conflicts. label Nov 12, 2025
@github-actions github-actions bot removed the conflicts Pull Request has conflicts. label Nov 19, 2025
@Yewzir Yewzir marked this pull request as ready for review November 19, 2025 07:25
@Yewzir Yewzir changed the title Build Harbour from source on Alpine Build Harbour on Alpine Linux Dec 9, 2025
@Yewzir Yewzir marked this pull request as draft December 14, 2025 01:43
@Yewzir Yewzir marked this pull request as ready for review December 14, 2025 01:43
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

Successfully merging this pull request may close these issues.

2 participants