The International Simutrans Forum

 

Author Topic: Can't compile makeobj anymore  (Read 182 times)

0 Members and 1 Guest are viewing this topic.

Offline Flemmbrav

  • Devotee
  • *
  • Posts: 211
  • PAK-DEV P192C
  • Languages: DE, EN
Can't compile makeobj anymore
« on: September 05, 2020, 03:55:47 PM »
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:

Code: [Select]
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

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4753
  • Languages: EN, DE, AT
Re: Can't compile makeobj anymore
« Reply #1 on: September 05, 2020, 05:02:51 PM »
I can compile it. The link does not work anymore.

Edit: my repo was not up-to-date.

Offline Flemmbrav

  • Devotee
  • *
  • Posts: 211
  • PAK-DEV P192C
  • Languages: DE, EN
Re: Can't compile makeobj anymore
« Reply #2 on: September 05, 2020, 05:11:32 PM »
Does this link work for you?
The interesting part starts at line 4340.

https://pastebin.com/MyYKPjWv

Offline Andarix

  • *
  • Posts: 167
  • Languages: de
Re: Can't compile makeobj anymore
« Reply #3 on: September 05, 2020, 05:31:20 PM »
compile logs

hashtable_tpl.h works for windows

not works for Linux/MacOS.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4753
  • Languages: EN, DE, AT
Re: Can't compile makeobj anymore
« Reply #4 on: September 05, 2020, 05:33:00 PM »
I tried to fix this with r9215. Please test.

Offline Flemmbrav

  • Devotee
  • *
  • Posts: 211
  • PAK-DEV P192C
  • Languages: DE, EN
Re: Can't compile makeobj anymore
« Reply #5 on: September 05, 2020, 05:54:08 PM »
Works fine, thanks a lot for the help!

Offline Andarix

  • *
  • Posts: 167
  • Languages: de
Re: Can't compile makeobj anymore
« Reply #6 on: September 05, 2020, 05:57:21 PM »