You are not logged in.

#1 2016-05-10 07:52:57

Axon
Member
From: Saint Petersburg
Registered: 2012-02-19
Posts: 22

Pacman ignores the dependency provided by the AUR package

I have the patched freetype2 package installed from AUR (freetype2-ubuntu). The recent harfbuzz update came with the added freetype2 dependency which somehow is not satisfied by the AUR package despite freetype2 being specified in "provides". Is it the pacman or PKGBUID issue, and if the latter, which one?

UPD: If I build the harfbuzz package using makepkg without changing the PKGBUILD, there are no issuies with dependencies. But after that the same problem  occurs with libbluray. I'm thinking this a problem with pacman.

Last edited by Axon (2016-05-10 07:56:22)

Offline

#2 2016-05-10 10:08:23

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Pacman ignores the dependency provided by the AUR package

I see that freetype2-ubuntu has this in the provides field: freetype2=2.6. The freetype package in the official repos is at 2.6.3, so perhaps that is the issue?

Moving to AUR issues.

Offline

#3 2016-05-10 10:11:59

Axon
Member
From: Saint Petersburg
Registered: 2012-02-19
Posts: 22

Re: Pacman ignores the dependency provided by the AUR package

But the version is not specified in the "depends" of the problematic packages. Anyway, I've rebuilt the freetype2-ubuntu adding the "freetype2" without version in "provides", and it didn't help.

Last edited by Axon (2016-05-10 10:12:17)

Offline

#4 2016-05-10 10:24:27

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: Pacman ignores the dependency provided by the AUR package

The recent harfbuzz update came with the added freetype2 dependency

No it didn't, it was already included, and has been since 0.9.4.

Why do you think there is a problem? Presumably pacman is complaining? Post the full output.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2016-05-10 10:28:30

Axon
Member
From: Saint Petersburg
Registered: 2012-02-19
Posts: 22

Re: Pacman ignores the dependency provided by the AUR package

The problem is, pacman tries to install freetype2 as a dependency despite the fact that I have freetype2-ubuntu already installed. So, it is either replace the patched version with the vanilla one, or stop the update.

==> Package upgrade only (new release):
extra/libbluray        0.9.2-1   1 -> 2

==> New package :
extra/freetype2        2.6.3-1   (required by libbluray)

==> Continue upgrade ? [Y/n]
==> [V]iew package detail   [M]anually select packages
==> --------------------------------------------------
==> y
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: freetype2 and freetype2-ubuntu are in conflict. Remove freetype2-ubuntu? [y/N]

Offline

#6 2016-05-10 11:03:15

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: Pacman ignores the dependency provided by the AUR package

Okay, that one is pacman working as normal -- libbluray 0.9.2-2 now depends on libfreetype.so, which is "provided" by freetype2. freetype2-ubuntu needs to "provide" this library too in order to fulfil the dependency. See the comments on the AUR page.

I'm still not sure what the problem with harfbuzz was though.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2016-05-10 11:05:10

Axon
Member
From: Saint Petersburg
Registered: 2012-02-19
Posts: 22

Re: Pacman ignores the dependency provided by the AUR package

freetype2-ubuntu needs to "provide" this library too in order to fulfil the dependency.

Oh, thanks, that did help.

Offline

#8 2016-05-16 03:32:44

lightbeam
Member
Registered: 2016-05-15
Posts: 3

Re: Pacman ignores the dependency provided by the AUR package

The temporary workaround I found to this problem - or part of the problem - was to remove libbluray and install libbluray-git.  Not ideal, but doing so allowed me to forego installing freetype2 and keep freetype2-ubuntu and fontconfig-ubuntu installed. Hopefully, freetype2-ubuntu will be brought up to date soon.

Last edited by lightbeam (2016-05-16 03:35:15)

Offline

#9 2016-05-16 08:07:49

Axon
Member
From: Saint Petersburg
Registered: 2012-02-19
Posts: 22

Re: Pacman ignores the dependency provided by the AUR package

lightbeam wrote:

The temporary workaround I found to this problem - or part of the problem - was to remove libbluray and install libbluray-git.  Not ideal, but doing so allowed me to forego installing freetype2 and keep freetype2-ubuntu and fontconfig-ubuntu installed. Hopefully, freetype2-ubuntu will be brought up to date soon.

You just need to add the "libfreetype.so" to the "provides" in freetype2-ubuntu PKGBUILD and rebuild the package. This solves the problem with libbluray and probably some other packages.

Offline

Board footer

Powered by FluxBB