News:

Want to praise Simutrans?
Your feedback is important for us ;D.

Can't compile makeobj anymore

Started by Flemmbrav, September 05, 2020, 03:55:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Flemmbrav

Hey everyone,

the pak192.comic github automaticly generates makeobj on every commit. (Github Actions on Ubuntu)
This has been working until september 2nd.
Both commits i pushed today failed to compile makeobj.

Code to compile is this:


jobs:
  compile_pak192-comic:

    runs-on: ubuntu-latest
   
    steps:
    - uses: actions/checkout@v1

    - name: install_dependencies
      run: |
        sudo apt-get -y update
        sudo apt-get -ym install libpng-dev
        sudo apt-get -ym install libsdl2-dev
        sudo apt-get -ym install libbz2-dev
        sudo apt-get -ym install autoconf
        svn checkout svn://servers.simutrans.org/simutrans simutrans
    - name: setup
      run: |
        cd simutrans/trunk
        autoconf
        ./configure
        cat config.default >>/dev/stderr
    - name: make makeobj
      run: |
          cd simutrans/trunk/makeobj
          make
          mv makeobj ../../..
          cd ../../..
          rm -rf simutrans

    - name: make pak192
      run: |
        bash COMPILE.sh
    - name: Rename result
      run: |
        mv compiled pak192.comic-nightly
        zip -r pak192-nightly.zip pak192.comic-nightly

    - name: Update binaries of Nightly Release
      uses: svenstaro/upload-release-action@v1-release
      with:
        repo_token: ${{ secrets.GITHUB_TOKEN }}
        file: ./pak192-nightly.zip
        asset_name: pak192-nightly.zip
        tag: Nightly
        overwrite: true


The code failes at "make makeobj" with the following in the command line:
https://pipelines.actions.githubusercontent.com/WV8lknmbYSKMkjpXH2QBH2zxLLlVLHUme5xKN6zds9VeAnwLqk/_apis/pipelines/1/runs/366/signedlogcontent/6?urlExpires=2020-09-05T15%3A54%3A35.8141902Z&urlSigningMethod=HMACV1&urlSignature=JNxyzWrNfISqQnJ1%2F50KbGWPPgUtPLNJCVzzdtzCdD4%3D

Dwachs

I can compile it. The link does not work anymore.

Edit: my repo was not up-to-date.
Parsley, sage, rosemary, and maggikraut.

Flemmbrav

Does this link work for you?
The interesting part starts at line 4340.

https://pastebin.com/MyYKPjWv

Andarix

compile logs

hashtable_tpl.h works for windows

not works for Linux/MacOS.

Dwachs

I tried to fix this with r9215. Please test.
Parsley, sage, rosemary, and maggikraut.

Flemmbrav

Works fine, thanks a lot for the help!