skrawcz commented on PR #1371: URL: https://github.com/apache/hamilton/pull/1371#issuecomment-3217850238
@cswartzvi github copilot suggests: The job failed because the build process for pyreadstat==1.3.1 could not find the required iconv shared library on the runner. The error message recommends installing libiconv-dev for Linux systems. Solution: Update the workflow to ensure the correct library is installed. In your workflow file, the step for installing iconv uses: ``` sudo apt-get update && sudo apt-get install -y build-essential libc6-dev libiconv-hook-dev zlib1g-dev ``` You should replace libiconv-hook-dev with the actual libiconv-dev package: ``` sudo apt-get update && sudo apt-get install -y build-essential libc6-dev libiconv-dev zlib1g-dev ``` This will provide the missing iconv library required by pyreadstat. Code Suggestion: Edit the relevant step in [.github/workflows/hamilton-main.yml](https://github.com/apache/hamilton/blob/38c28849b548453ee157b3cd510f308f47ba8114/.github/workflows/hamilton-main.yml) to: ``` - name: Install libiconv on Linux if: runner.os == 'Linux' run: sudo apt-get update && sudo apt-get install -y build-essential libc6-dev libiconv-dev zlib1g-dev ``` This should resolve the build error for pyreadstat. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
