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

[Bug]: error building cairo-git #18900

Open
theamericanaccount opened this issue Jan 5, 2024 · 3 comments · May be fixed by #22744
Open

[Bug]: error building cairo-git #18900

theamericanaccount opened this issue Jan 5, 2024 · 3 comments · May be fixed by #22744
Labels
inactive No activity in a certain period of time pacman question

Comments

@theamericanaccount
Copy link

theamericanaccount commented Jan 5, 2024

Problem description

Hello,
I'm currently having issues building cairo-git from ur, with the general intention of running meld.

I'm cross-posting this on pacman-based termux environment repo
because I suppose the same happens under both.

As a positive sidenote, now
python-cairo-git and
python-gobject-git
build without extra modifications already.

What steps will reproduce the bug?

The PKGBUILD may seem to miss the needed references to terdir but that's because I build it with

reallymakepkg -df

with reallymakepkg being a simple wrapper to build aur packages everywhere without extra modifications.

With xlib=disabled it builds but apparently cairo-xlib.pc is needed to build meld or gtk3 I don't remember.

What is the expected behavior?

To build the package.

System information

termux-info:

Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=pacman
TERMUX_APP_PID=14608
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=pacman
TERMUX_VERSION=0.118.0
TERMUX__USER_ID=0
Packages CPU architecture:
arm
Subscribed repositories:
# /data/data/com.termux/files/usr/etc/pacman.conf
[main]
Usage = All
Server = https://service.termux-pacman.dev/main/arm
Server = https://s3.amazonaws.com/termux-pacman.us/main/arm
[x11]
Usage = All
Server = https://service.termux-pacman.dev/x11/arm
Server = https://s3.amazonaws.com/termux-pacman.us/x11/arm
[root]
Usage = All
Server = https://service.termux-pacman.dev/root/arm
Server = https://s3.amazonaws.com/termux-pacman.us/root/arm
[tur]
Usage = All
Server = https://service.termux-pacman.dev/tur/arm
Server = https://s3.amazonaws.com/termux-pacman.us/tur/arm
[tur-continuous]
Usage = All
Server = https://service.termux-pacman.dev/tur-continuous/arm
Server = https://s3.amazonaws.com/termux-pacman.us/tur-continuous/arm
[tur-multilib]
Usage = All
Server = https://service.termux-pacman.dev/tur-multilib/arm
Server = https://s3.amazonaws.com/termux-pacman.us/tur-multilib/arm
[gpkg]
Usage = All
Server = https://service.termux-pacman.dev/gpkg/arm
Server = https://s3.amazonaws.com/termux-pacman.us/gpkg/arm
Updatable packages:
glib 2.78.3-0 -> 2.78.3-1
glib-bin 2.78.3-0 -> 2.78.3-1
termux-tools version:
1.40.4
Android version:
13
Kernel build information:
Linux localhost 3.4.113-z3DD3r-gc802a74b401-dirty #12 SMP PREEMPT Tue Oct 10 12:45:18 MSK 2023 armv7l Android
Device manufacturer:
LGE
Device model:
Nexus 5
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.window versionCode:15
com.termux.api versionCode:51
com.termux.boot versionCode:7
com.termux.widget versionCode:13
com.termux.styling versionCode:31
@theamericanaccount theamericanaccount added bug report Something is not working properly untriaged labels Jan 5, 2024
@theamericanaccount
Copy link
Author

theamericanaccount commented Jan 6, 2024

I have tried explicitly adding android shmem library as you do
here.

i do wonder if it does make sense to export the flag by default in reallymakepkg.

Built with latest published PKGBUILD.
Here is the new
cairo-git's meson-log.txt

theamericanaccount pushed a commit to themartiancompany/cairo-git-ur that referenced this issue Jan 6, 2024
@theamericanaccount
Copy link
Author

theamericanaccount commented Jan 6, 2024

Ok so exporting linker flags from reallymakepkg before running makepkg made archlinux's cairo package buildable without extra modifications except requiring xlib and disable gtk-doc html documentation generation because of the upstream bug and make it provides libcairo.

Neverthless I parameterized the stable package and published it under cairo-ur for now.

@theamericanaccount
Copy link
Author

I suppose the issue I was having was at last may simply come from being latest git rev.

@truboxl truboxl added question pacman and removed bug report Something is not working properly untriaged labels Jan 15, 2024
@stale stale bot added the inactive No activity in a certain period of time label Mar 30, 2024
robertkirkman added a commit to robertkirkman/termux-packages that referenced this issue Jan 3, 2025
Closes termux#18900

(that bug was described as "with the general intention of running meld", and this is a newer way and a newer version of meld than that)
@robertkirkman robertkirkman linked a pull request Jan 3, 2025 that will close this issue
robertkirkman added a commit to robertkirkman/termux-packages that referenced this issue Jan 3, 2025
Closes termux#18900

(that bug was described as "with the general intention of running meld", and this is a newer way and a newer version of meld than that)
robertkirkman added a commit to robertkirkman/termux-packages that referenced this issue Jan 3, 2025
Closes termux#18900

(that bug was described as "with the general intention of running meld", and this is a newer way and a newer version of meld than that)
robertkirkman added a commit to robertkirkman/termux-packages that referenced this issue Jan 4, 2025
Closes termux#18900

(that bug was described as "with the general intention of running meld", and this is a newer way and a newer version of meld than that)
robertkirkman added a commit to robertkirkman/termux-packages that referenced this issue Jan 4, 2025
Closes termux#18900

(that bug was described as "with the general intention of running meld", and this is a newer way and a newer version of meld than that)
robertkirkman added a commit to robertkirkman/termux-packages that referenced this issue Jan 8, 2025
Closes termux#18900

(that bug was described as "with the general intention of running meld", and this is a newer way and a newer version of meld than that)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive No activity in a certain period of time pacman question
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants