Comments (16)
Ok. I submitted #375.
from homebrew-xorg.
mesa
doesn't build at all. It's missing several dependencies. Currently, I've added
diff --git a/Formula/mesa.rb b/Formula/mesa.rb
index c0e705b..62543f6 100644
--- a/Formula/mesa.rb
+++ b/Formula/mesa.rb
@@ -18,6 +18,9 @@ class Mesa < Formula
depends_on "bison" => :build
depends_on "libtool" => :build
+ depends_on "linuxbrew/xorg/damageproto"
+ depends_on "linuxbrew/xorg/dri2proto"
+ depends_on "linuxbrew/xorg/glproto"
depends_on "linuxbrew/xorg/libdrm"
depends_on "systemd" # provides libudev <= needed by "gbm"
depends_on "linuxbrew/xorg/libsha1"
but the build still fails with
Last 15 lines from /home/mgi.polymtl.ca/doorba/.cache/Homebrew/Logs/mesa/03.make:
libtool: link: ranlib .libs/libgalliumvl.a
libtool: link: ( cd ".libs" && rm -f "libgalliumvl.la" && ln -s "../libgalliumvl.la" "libgalliumvl.la" )
gallivm/lp_bld_misc.cpp: In function 'LLVMOpaqueBuilder* lp_create_builder(LLVMContextRef, lp_float_mode)':
gallivm/lp_bld_misc.cpp:833:13: error: 'class llvm::FastMathFlags' has no member named 'setUnsafeAlgebra'
flags.setUnsafeAlgebra();
^
make[4]: *** [gallivm/lp_bld_misc.lo] Error 1
make[4]: Leaving directory `/tmp/mesa-20180605-9622-1m28ai0/mesa-17.2.3/src/gallium/auxiliary'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/mesa-20180605-9622-1m28ai0/mesa-17.2.3/src/gallium'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/mesa-20180605-9622-1m28ai0/mesa-17.2.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/mesa-20180605-9622-1m28ai0/mesa-17.2.3/src'
make: *** [all-recursive] Error 1
#351 makes some updates but it seems to have been abandoned.
from homebrew-xorg.
My build of mesa
in Ubuntu fails with a different message:
ImportError: No module named setuptools
https://gist.github.com/1a74473593d7c0bd6d675c43f0cd9822
from homebrew-xorg.
@nir-krakauer Did you try to install setuptools
using brewed pip
?
pip install setuptools
from homebrew-xorg.
pip3 install setuptools
returns:
Requirement already satisfied: setuptools in ./.linuxbrew/lib/python3.6/site-packages (39.2.0)
from homebrew-xorg.
@nir-krakauer Could you please run not pip3
but pip2
?
from homebrew-xorg.
Thanks, brew reinstall python@2
did fix the problem.
from homebrew-xorg.
Now I also get
configure: error: Package requirements (glproto >= 1.4.14) were not met: No package 'glproto' found
https://gist.github.com/d9620a94307e088d8a93642ba2b4b573
from homebrew-xorg.
@nir-krakauer Yes. As a recommendation from @dpo,
brew edit mesa
adding to mesa.rb
depends_on "linuxbrew/xorg/damageproto"
depends_on "linuxbrew/xorg/dri2proto"
depends_on "linuxbrew/xorg/glproto"
. Then you would meet the error message we met.
from homebrew-xorg.
I found setUnsafeAlgebra()
as member function of class llvm::FastMathFlags
in llvm-3.9
. And this is not member function in llvm-6.0
. So this seems to be a problem of llvm
version.
from homebrew-xorg.
If that's the case, you should be able to declare something like
depends_on "[email protected]"
from homebrew-xorg.
good catch @Gwang-Jin!
from homebrew-xorg.
In [email protected]
, llvm@4
, and llvm@5
, setUnsafeAlgebra()
is defined as a member function of class llvm::FastMathFlags
. Only in llvm@6
it is deleted.
Now brew install [email protected]
seems to have an issue:
Undefined reference to __cxa_guard_acquire and __cxa_guard_release
from homebrew-xorg.
I succeeded with llvm@4
at installing mesa
.
from homebrew-xorg.
Could you please post your diff (or submit a PR)?
from homebrew-xorg.
This issue has been resolved in #375
from homebrew-xorg.
Related Issues (20)
- MESA: libEGL.so conflicts with libglvnd HOT 1
- MESA: "Error: Operation already in progress for mesa.formula" HOT 8
- Repeated 'xorgproto'-related warnings triggered by core brew commands (doctor, leaves, etc) HOT 48
- libx11 Xtranscl.c includes missing sys/stropts.h HOT 9
- libxt: fatal error: glib.h: No such file or directory HOT 33
- Update packages #2 HOT 2
- cannot install libX11 clang: error: no input files (xcode 10 issue?) HOT 1
- Install linuxbrew/xorg/libdrm failed for Cairo tests HOT 42
- Cant build/install libx11 HOT 9
- Making formulae linuxbrew/core-ready HOT 1
- No package 'xf86miscproto' found HOT 6
- build stopped: subcommand failed HOT 2
- Rebuild bottles after first xorg migration to core HOT 1
- brew command return warning messages about xorg packages HOT 5
- Problems installing Deno in Netlify HOT 4
- configure: error: Secure RPC requested, but required functions not found HOT 3
- Migrate to maxim-belkin HOT 1
- The tap no longer works with Homebrew (3.4.2) HOT 8
- Bottle unbottled formulae
- GitHub Actions issues HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-xorg.