Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#57078 - [wine-staging] Package fails to build due to outdated dependency

Attached to Project: Community Packages
Opened by Kyle (TheKoopaKingdom) - Friday, 12 January 2018, 22:37 GMT
Last edited by Felix Yan (felixonmars) - Wednesday, 30 January 2019, 20:28 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The PKGBUILD for Wine Staging includes the 'gcc-multilib' package as a dependency, but I'm hearing that this package has been merged with 'gcc'. Because the former no longer exist, makepkg will fail to sync the dependencies when building.

Additional info:
* Wine Staging 2.21, package release 1.
* Relevant PKGBUILD line: https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/wine-staging&id=69c68ddb04cbceebc488e050b6fb97bb3621a6d5#n46

Steps to reproduce:
- Clone Wine Staging from the ABS.
- Run 'makepkg -si'. The package build will fail with this message:

error: target not found: gcc-multilib>=4.5.0-2
==> ERROR: 'pacman' failed to install missing dependencies

To get around this, 'gcc-multilib>=4.5.0-2' can be removed from the make dependencies altogther, seeing as the succeeder for it is already included. Although I have not tested it myself, the Wine Stable package seems to be fine.
This task depends upon

Closed by  Felix Yan (felixonmars)
Wednesday, 30 January 2019, 20:28 GMT
Reason for closing:  Fixed
Comment by Bartłomiej Piotrowski (Barthalion) - Sunday, 14 January 2018, 11:56 GMT
core/gcc provides gcc-multilib, so no such error should happen with up-to-date system.
Comment by Doug Newgard (Scimmia) - Sunday, 14 January 2018, 15:32 GMT
It provides gcc-multilib without a version, and wine-staging has a version requirement.
Comment by Bartłomiej Piotrowski (Barthalion) - Sunday, 14 January 2018, 16:48 GMT
Sounds like a bug on pacman side? I'd assume that no version specifier satisfies everything, with or without one.
Comment by Doug Newgard (Scimmia) - Sunday, 14 January 2018, 17:08 GMT
No version is no version, so it can't satisfy a versioned dependency at all. $pkgver can't be assumed, either, so the provides needs to specify it if it needs to satisfy versioned deps. The flip side of this is that versioned deps are rarely used in Arch, so using the version in the dep here was probably wrong to begin with.
Comment by Felix Yan (felixonmars) - Wednesday, 30 January 2019, 20:28 GMT
Closing as I believe this was fixed long ago. The gcc makedepend will be dropped some time later.

Loading...