Code Monkey home page Code Monkey logo

bitrot's People

Contributors

grejppi avatar marcan avatar pdesaulniers avatar tu500 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bitrot's Issues

error when configuring for Windows

When I do ./waf configure --platform win64 on Ubuntu, this happens:
Traceback (most recent call last): File "/home/someone64/Downloads/bitrot/.waf-2.0.12-6cd57ca9068ebdd4dc6caef5723653c7/waflib/Scripting.py", line 119, in waf_entry_point run_commands() File "/home/someone64/Downloads/bitrot/.waf-2.0.12-6cd57ca9068ebdd4dc6caef5723653c7/waflib/Scripting.py", line 179, in run_commands ctx=run_command(cmd_name) File "/home/someone64/Downloads/bitrot/.waf-2.0.12-6cd57ca9068ebdd4dc6caef5723653c7/waflib/Scripting.py", line 170, in run_command ctx.execute() File "/home/someone64/Downloads/bitrot/.waf-2.0.12-6cd57ca9068ebdd4dc6caef5723653c7/waflib/Configure.py", line 85, in execute super(ConfigurationContext,self).execute() File "/home/someone64/Downloads/bitrot/.waf-2.0.12-6cd57ca9068ebdd4dc6caef5723653c7/waflib/Context.py", line 85, in execute self.recurse([os.path.dirname(g_module.root_path)]) File "/home/someone64/Downloads/bitrot/.waf-2.0.12-6cd57ca9068ebdd4dc6caef5723653c7/waflib/Context.py", line 126, in recurse user_function(self) File "/home/someone64/Downloads/bitrot/wscript", line 88, in configure conf.env.AR = which(toolchain + 'ar') File "/home/someone64/Downloads/bitrot/wscript", line 22, in which if os.access(path, mode): TypeError: coercing to Unicode: need string or buffer, NoneType found

Happens for both win64 and win32 but works fine for Linux.

DPF submodule not found

greetings

Cannot compile in UbuntuStudio 20.04 as ./waf configure returns DPF submodule not found! Please run the following commands and try again: git submodule init git submodule update
I found this refering to a similar problem but I do not know if its relevant here.

best

GUI design

I think these are awesome plug-ins, and they need some awesome graphical user interface designs to reinforce the experience.

I'd like to try and come up with some skeuomorphic designs.

Build failure with waf on Python 3.11

Related issue in audio-overlay: gentoo-audio/audio-overlay#531

During package testing for the Gentoo audio overlay I've experienced a build failure when using Python 3.11 to run waf:

'PYTHONHASHSEED=1' 'CCFLAGS=-march=native -O2 -pipe -Wodr -frecord-gcc-switches' 'LINKFLAGS=-march=native -O2 -pipe -Wodr -frecord-gcc-switches -march=native -O2 -pipe -Wodr -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0' 'PKGCONFIG=x86_64-pc-linux-gnu-pkg-config' '/var/tmp/portage/media-plugins/bitrot-9999/work/bitrot-9999/waf' '--jobs=1' '--prefix=/usr' 'configure'
Waf: The wscript in '/var/tmp/portage/media-plugins/bitrot-9999/work/bitrot-9999' is unreadable
Traceback (most recent call last):
  File "/var/tmp/portage/media-plugins/bitrot-9999/work/bitrot-9999/.waf3-2.0.12-6cd57ca9068ebdd4dc6caef5723653c7/waflib/Scripting.py", line 102, in waf_entry_point
    set_main_module(wscript)
  File "/var/tmp/portage/media-plugins/bitrot-9999/work/bitrot-9999/.waf3-2.0.12-6cd57ca9068ebdd4dc6caef5723653c7/waflib/Scripting.py", line 142, in set_main_module
    Context.g_module=Context.load_module(file_path)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/media-plugins/bitrot-9999/work/bitrot-9999/.waf3-2.0.12-6cd57ca9068ebdd4dc6caef5723653c7/waflib/Context.py", line 349, in load_module
    code=Utils.readf(path,m='rU',encoding=encoding)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/media-plugins/bitrot-9999/work/bitrot-9999/.waf3-2.0.12-6cd57ca9068ebdd4dc6caef5723653c7/waflib/Utils.py", line 141, in readf
    with open(fname,m)as f:
         ^^^^^^^^^^^^^
ValueError: invalid mode: 'rUb'

I get the same issue when running waf outside of the packaging environment:

[nex@laptop bitrot]$ python3.11 waf configure
Waf: The wscript in '/home/nex/projects/bitrot' is unreadable
Traceback (most recent call last):
  File "/home/nex/projects/bitrot/.waf3-2.0.12-6cd57ca9068ebdd4dc6caef5723653c7/waflib/Scripting.py", line 102, in waf_entry_point
    set_main_module(wscript)
  File "/home/nex/projects/bitrot/.waf3-2.0.12-6cd57ca9068ebdd4dc6caef5723653c7/waflib/Scripting.py", line 142, in set_main_module
    Context.g_module=Context.load_module(file_path)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nex/projects/bitrot/.waf3-2.0.12-6cd57ca9068ebdd4dc6caef5723653c7/waflib/Context.py", line 349, in load_module
    code=Utils.readf(path,m='rU',encoding=encoding)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nex/projects/bitrot/.waf3-2.0.12-6cd57ca9068ebdd4dc6caef5723653c7/waflib/Utils.py", line 141, in readf
    with open(fname,m)as f:
         ^^^^^^^^^^^^^
ValueError: invalid mode: 'rUb'

I assume this might require either a waf update or adjustments in the wscript.

Global symbols - crash when loading LADSPA plugins

The plugins export all their symbols (see http://paste.debian.net/1005001/ ) e.g. DISTRHO::Plugin::Plugin in available the global namespace for each plugin. When loading multiple plugins into the same address-space those symbols will conflict and produce crashes.

At the very least add -fvisibility=hidden to CXXFLAGS which solves this issue or alternatively place each plugin into its own unique C++ namespace.

Please consider using the DPF build system or rather the compiler flags, which would be (on Linux for gcc):

 CXXFLAGS="-fvisibility=hidden -fdata-sections -ffunction-sections" \
 LDFLAGS="-fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-O1 -Wl,--as-needed -Wl,--strip-all" \
 ./waf configure

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.