You are not logged in.

#1 2023-08-28 23:03:36

technicap
Member
Registered: 2022-10-14
Posts: 54

[SOLVED] pixman.h isn't in /usr/include folder

So recently I got interested in testing out Hyprland on my computer. When I try too compile a Hyprland with nvidia patch, or normal hyprland from source for that matter, it complains about lack of pixman.h and from what I understand that header should be in /usr/include folder, but it is in /usr/include/pixman-1.
Thanks for help in advance

Last edited by technicap (2023-08-29 01:07:11)

Offline

#2 2023-08-28 23:25:53

loqs
Member
Registered: 2014-03-06
Posts: 18,930

Re: [SOLVED] pixman.h isn't in /usr/include folder

Please provide the exact steps you are taking to build hyprland and the full output from the failed build.

Offline

#3 2023-08-28 23:54:07

technicap
Member
Registered: 2022-10-14
Posts: 54

Re: [SOLVED] pixman.h isn't in /usr/include folder

I can't seem to indentify the log for this. It should be in yay's cache folder in the folder of package I'm trying to install. Any ideas where it might be or what it might be called. The package uses cmake. And I only use one comand 'yay -S hyprland-nvidia'. I tried also running makepkg directly in the folder in cache of yay, but I gave the same result.

Last edited by technicap (2023-08-28 23:59:29)

Offline

#4 2023-08-29 00:06:50

mpan
Member
Registered: 2012-08-01
Posts: 1,600
Website

Re: [SOLVED] pixman.h isn't in /usr/include folder

I will skip the yay part and assume makepkg is used. makepkg prints all the output. It can be redirected in the shell or using the `--log` option in makepkg. Please make sure to use the C locale. So something like this:

LANG=C makepkg --log --other --options

Paperclips in avatars? | Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#5 2023-08-29 00:11:28

technicap
Member
Registered: 2022-10-14
Posts: 54

Re: [SOLVED] pixman.h isn't in /usr/include folder

Here is a log  from makepkg
http://ix.io/4ENn

Offline

#6 2023-08-29 00:50:16

mpan
Member
Registered: 2012-08-01
Posts: 1,600
Website

Re: [SOLVED] pixman.h isn't in /usr/include folder

Judging by the output, it vendors its own pixman header (see line 566) and does not make an attempt to use the system one (see line 675). But it fails to add the vendored version path to the inlclude search paths. I would say this is either a bug in PKGBUILD or an upstream error.


Paperclips in avatars? | Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#7 2023-08-29 01:06:21

technicap
Member
Registered: 2022-10-14
Posts: 54

Re: [SOLVED] pixman.h isn't in /usr/include folder

Thanks, I thought I was had something wrong with my system.

Offline

#8 2023-08-29 02:39:21

mpan
Member
Registered: 2012-08-01
Posts: 1,600
Website

Re: [SOLVED] pixman.h isn't in /usr/include folder

Let me stress “judging by the output”. That was an educated guess based on what I see in the log only.

The maintainer updated the PKGBUILD a hour ago. It builds fine in a clean chroot (build log) here. This indicates both PKGBUILD and upstream are now likely ok.

---edit:
NOT SOLVED

It seems that the previous (0.28.0-1) version also builds in a clean chroot. So it seems there is indeed some issue.

I do not use/know hyprland, so this is all I can help with for now. If your system is fully updated, including your own packages, and the error persists while not using AUR helpers, I would not expect this to be “something wrong with the system”. My guess would be some incompatibility/omission in either the PKGBUILD or upstream build files.

For the record: half a year ago wlroots had a pixman.h problem. It may not be related, but your error is in the same place, so I am mentioning it.

Last edited by mpan (2023-08-29 03:02:05)


Paperclips in avatars? | Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

Board footer

Powered by FluxBB