Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile libepoxy #4

Closed
rodrgz opened this issue Sep 25, 2021 · 21 comments
Closed

Failed to compile libepoxy #4

rodrgz opened this issue Sep 25, 2021 · 21 comments

Comments

@rodrgz
Copy link

rodrgz commented Sep 25, 2021

I was trying to compile libepoxy. The option has-dlvsym was considered as an unknown option, and the error message was
2021-09-25T13:08:40,985224598-03:00

I don't know how to circumventing it...

@echawk
Copy link
Owner

echawk commented Sep 25, 2021

I'm not sure what could be causing this; I can compile it fine on a fresh chroot. Can you post the log file?

@jason123santa
Copy link

I have the same issue when I try to compile xorg

@echawk
Copy link
Owner

echawk commented Sep 28, 2021

@erikrodrgz @jason123santa Can you both post a log when you run the following:

sh -x /usr/bin/kiss build libepoxy or sh -x /usr/bin/kiss build xorg-server respectively? I haven't been able to reproduce.

@rodrgz
Copy link
Author

rodrgz commented Sep 28, 2021

@erikrodrgz @jason123santa Can you both post a log when you run the following:

sh -x /usr/bin/kiss build libepoxy or sh -x /usr/bin/kiss build xorg-server respectively? I haven't been able to reproduce.

https://pastebin.com/52PFfcvB

@echawk
Copy link
Owner

echawk commented Sep 28, 2021

Thank you for the log, I think the issue you are running into is on line 52: That the Run-time dependency of gl wasn't found. Are you using a forked version of mesa? If not, try rebuilding mesa then trying again. And if you are, try using the upstream version.

Also I have the same warning when I compile libepoxy, where is says that the option is unknown. I'll drop this from the build script

@rodrgz
Copy link
Author

rodrgz commented Sep 29, 2021

Thank you for the log, I think the issue you are running into is on line 52: That the Run-time dependency of gl wasn't found. Are you using a forked version of mesa? If not, try rebuilding mesa then trying again. And if you are, try using the upstream version.

Also I have the same warning when I compile libepoxy, where is says that the option is unknown. I'll drop this from the build script

So, I made a mistake, I tried to compile libepoxy with mesa from kisslinux/repo and not ehawkvu/kiss-xorg. After compile mesa from ehawkvu/kiss-xorg, I compiled libepoxy successfully. I couldn't find a way to keep two repositories with packages with the same names, like mesa. What is your recommendation for this kind of issue? If you know a way to point out what directory is "kiss build mesa" is using, please tell me.

@echawk
Copy link
Owner

echawk commented Sep 29, 2021

KISS_PATH works how your system path works; it searches for packages in the first entry, then the second, etc.

To get the mesa package from the kiss-xorg repo, you need to be sure the xorg repos come before upstreams. It should look like this:

KISS_PATH=/path/to/repo/core
KISS_PATH=$KISS_PATH:/path/to/kiss-xorg/extra
KISS_PATH=$KISS_PATH:/path/to/kiss-xorg/xorg
KISS_PATH=$KISS_PATH:/path/to/repo/extra

I personally do this in /etc/profile.d/kiss_path.sh, as it gets sourced on login. If you want to validate that it works, run kiss s mesa and if the first result is from kiss-xorg, then you're set.

@jason123santa
Copy link

It compiles fine if I set this repo to be used first.

@echawk echawk closed this as completed Oct 6, 2021
@alnmy
Copy link

alnmy commented Oct 9, 2021

I’m having this issue and I have everything setup as it should be
Here’s my /etc/profile
https://termbin.com/iccz
Logs from trying to install libepoxy
https://termbin.com/3icca
Logs from kiss search mesa and libepoxy
https://termbin.com/0xmvk
Any help appreciated

@jason123santa
Copy link

@Alanxyz You have to put the core repo before everything else. Then the xorg repo next. That is what worked for me.

@alnmy
Copy link

alnmy commented Oct 10, 2021

did that and rebuilt mesa
new profile:
https://termbin.com/p2bi
kiss s mesa:
https://termbin.com/z7vm
libepoxy logs:
https://termbin.com/htr1

Tried recompiling system too, but nothing seems to help. Could me using gkisslinux be related? https://github.com/gkisslinux/grepo

@NoSequel
Copy link

I seem to be running into the same issue with grepo, not sure whether it's related to grepo or not.

@echawk
Copy link
Owner

echawk commented Nov 25, 2021

@NoSequel Can you post logs? I don't know why this would fail on glibc, since there are no musl specific fixes in either mesa or libepoxy.

@NoSequel
Copy link

@NoSequel Can you post logs? I don't know why this would fail on glibc, since there are no musl specific fixes in either mesa or libepoxy.

Yeah, I'll reply with the logs in just a second.

@NoSequel
Copy link

@NoSequel Can you post logs? I don't know why this would fail on glibc, since there are no musl specific fixes in either mesa or libepoxy.

kiss b libepoxy: https://termbin.com/t672

@NoSequel
Copy link

@NoSequel Can you post logs? I don't know why this would fail on glibc, since there are no musl specific fixes in either mesa or libepoxy.

kiss b libepoxy: https://termbin.com/t672

Removing libglvnd seems to have fixed the compilation errors with libepoxy, everything compiled perfectly fine after doing so.

@NoSequel
Copy link

@NoSequel Can you post logs? I don't know why this would fail on glibc, since there are no musl specific fixes in either mesa or libepoxy.

kiss b libepoxy: https://termbin.com/t672

Removing libglvnd seems to have fixed the compilation errors with libepoxy, everything compiled perfectly fine after doing so.

Sorry for yet another reply, but seemingly NVIDIA proprietary drivers depend on libglvnd. I can't boot into xorg, due to the following error:
https://termbin.com/hr5q

@echawk
Copy link
Owner

echawk commented Nov 26, 2021

Are the nvidia packages wayland specific? The arch mesa package has libglvnd as a dep so it may just be a config option in the libglvnd package.

@NoSequel
Copy link

Are the nvidia packages wayland specific? The arch mesa package has libglvnd as a dep so it may just be a config option in the libglvnd package.

It seems like I had to remove -Dx11=disabled from the libglvnd build file, mesa and libepoxy seem to be compiling now. However, my Xorg error persists - lsmod | grep nvidia returns https://termbin.com/vrnd.

Is this output correct? Could there be something I'm doing wrong?

@NoSequel
Copy link

Are the nvidia packages wayland specific? The arch mesa package has libglvnd as a dep so it may just be a config option in the libglvnd package.

It seems like I had to remove -Dx11=disabled from the libglvnd build file, mesa and libepoxy seem to be compiling now. However, my Xorg error persists - lsmod | grep nvidia returns https://termbin.com/vrnd.

Is this output correct? Could there be something I'm doing wrong?

Issue was related to gkiss' NVIDIA build. The issue should be resolved on the newest commit.

kiss-community/grepo#27

@alnmy
Copy link

alnmy commented Nov 26, 2021

great to hear, might try again gkiss+kiss-xorg again soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants