Giter Site home page Giter Site logo

Comments (11)

jeremyp3 avatar jeremyp3 commented on August 23, 2024 1

I confirm that it works!

thanks !

from smuxi.

meebey avatar meebey commented on August 23, 2024

Thank you for reporting this build issue. The CI builds are not catching this problem.

./Frontend.cs(192,69): error CS0234: The type or namespace name `RuntimeInformation' does not exist in the namespace `System.Runtime.InteropServices'. Are you missing an assembly reference?

Looks like a build regression that was introduced by the .NET runtime detection in f4f37c7

Please upload the output of a ./configure run so I can add appropriate Mono version checks before using RuntimeInformation.

from smuxi.

jeremyp3 avatar jeremyp3 commented on August 23, 2024

I don't know if I understood what you want
configure.txt

from smuxi.

jeremyp3 avatar jeremyp3 commented on August 23, 2024

I take this opportunity to add the mono packages that are installed
dpkg-mono.txt

from smuxi.

meebey avatar meebey commented on August 23, 2024

These 2 output files were exactly what I needed to triage the problem.

So Mono 6.8 doesn't provide the RuntimeInformation type. The CI build with Mono 6.12 works, so the fix will be to only call RuntimeInformation if Mono >= 6.12. I will make a patch for this.

If you don't want to wait you can just comment the line 199 and 200 in src/Frontend-GNOME/Frontend.cs and you should get Smuxi 1.2.1 compiled on your Debian system.

from smuxi.

jeremyp3 avatar jeremyp3 commented on August 23, 2024

on the other hand, what makes me question, as I said in my first post, is that if I don't try to make a debian package, I can compile smuxi 1.2.1. it's just with the debian package that I have this error.
since my English is not great, I just wanted to make sure I explained my issue well :)

from smuxi.

meebey avatar meebey commented on August 23, 2024

Thanks for clarifying that. I thought it always failed on Debian Bookworm, regardless of how trying to build it.
So dpkg-buildpackage fails while ./configure && make works.

In that case, please upload the full output of a dpkg-buildpackage run. Your output-build-smuxi.txt file seem to be only the output of a "make" run, so I focused on that.

from smuxi.

jeremyp3 avatar jeremyp3 commented on August 23, 2024

I'm sorry I sent the wrong thing
to clean everything, I did a make clean && make distclean.
then I made a dpkg-buildpackage -b -us -uc and here is the output
dpkg-buildpackage-smuxi.txt

from smuxi.

meebey avatar meebey commented on August 23, 2024

I pushed a commit that should fix the problem. Please try dpkg-buildpackage from this branch: https://github.com/meebey/smuxi/tree/debian_fix

from smuxi.

jeremyp3 avatar jeremyp3 commented on August 23, 2024

it still doesn't work, but it seems to go further
make clean && make distclean
dpkg-buildpackage -b -us -uc
dpkg-buildpackage-branch-debian_fix.txt

from smuxi.

meebey avatar meebey commented on August 23, 2024

@jeremyp3 I could reproduce your build error on Debian. If you try the https://github.com/meebey/smuxi/tree/debian_ci branch it should now build for you.

from smuxi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.