You are not logged in.

#1 2018-12-11 08:44:44

rasskazov
Member
Registered: 2018-10-29
Posts: 4

The problem with the dependence on gcc-multilib.

I'm trying to build a wine-starcraft-git package. However, gcc-multilib>=4.5.0-2 is required during dependency checking.
The package has an old version. How can I downgrade to the version I need?

[rasskazov@archik wine-starcraft]$ makepkg
==> Making package: wine-starcraft-git 2.6-1 (Tue 11 Dec 2018 10:34:06 AM EET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
  -> gcc-multilib>=4.5.0-2
==> ERROR: Could not resolve all dependencies.

Last edited by rasskazov (2018-12-13 12:51:23)

Offline

#2 2018-12-11 08:57:53

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,396
Website

Re: The problem with the dependence on gcc-multilib.

You don't need to downgrade.   Just delete the version in the PKGBUILD.

Offline

#3 2018-12-11 09:13:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,743

Re: The problem with the dependence on gcc-multilib.

Before you do that, you should also read the comments on the AUR  page. That version is ancient and the included patches have long since been included in normal wine.

Why do you think you need that version?

Edit: Even if you'd think you need that version, that package is currently a no op because the git repo has removed any references to wine, only contains a readme to warn to not use it anymore.

Last edited by V1del (2018-12-11 09:19:33)

Offline

#4 2018-12-11 15:37:22

rasskazov
Member
Registered: 2018-10-29
Posts: 4

Re: The problem with the dependence on gcc-multilib.

Allan wrote:

You don't need to downgrade.   Just delete the version in the PKGBUILD.

I changed in PKGBUILD

'gcc>=4.5.0-2' 'gcc-multilib>=4.5.0-2'

on

'gcc' 'gcc-multilib'

and ran the makepkg command.
The result is again unsuccessful:

[rasskazov@archik wine-starcraft-git]$ makepkg
==> Making package: wine-starcraft-git 2.6-1 (Tue 11 Dec 2018 05:21:50 PM EET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating wine-starcraft-git git repo...
Fetching origin
==> Validating source files with sha256sums...
    wine-starcraft-git ... Skipped
==> Extracting sources...
  -> Creating working copy of wine-starcraft-git git repo...
Switched to a new branch 'makepkg'
==> Removing existing $pkgdir/ directory...
==> Starting build()...
  -> Building Wine-Starcraft-git-64...
/home/rasskazov/install/BuildPackets/wine-starcraft/wine-starcraft-git/PKGBUILD: line 117: ../wine-starcraft-git/configure: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
V1del wrote:

Before you do that, you should also read the comments on the AUR  page. That version is ancient and the included patches have long since been included in normal wine.

Why do you think you need that version?

Edit: Even if you'd think you need that version, that package is currently a no op because the git repo has removed any references to wine, only contains a readme to warn to not use it anymore.

There is very little information on the Aur wiki.
https://aur.archlinux.org/packages/wine-starcraft-git/
and no patches. The last update was (2017-08-06).

Last edited by rasskazov (2018-12-13 12:53:40)

Offline

#5 2018-12-11 15:41:07

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: The problem with the dependence on gcc-multilib.

That change to the PKGBUILD did solve the problem you started with.  There are just many other problems as V1del already indicated.  Further, he was directing you to the aur page for the package you are trying to build, not the general aur wiki:
https://aur.archlinux.org/packages/wine-starcraft-git/

On a side note, please use [ code ] tags for commands and output on the forums.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2018-12-11 17:42:54

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: The problem with the dependence on gcc-multilib.

It is wrong to list gcc or gcc-multilib in the package makedepends. Users are expected to install the base-devel group, and for multilib packages, they must enable the multilib repository and install the multilib-devel group.

gcc-multilib is anyways provided by gcc itself, which optdepends on lib32-gcc-libs in order to support 32-bit compilation. So depending on gcc-multilib will not get you a working 32-bit gcc compiler either way.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#7 2018-12-11 18:22:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,743

Re: The problem with the dependence on gcc-multilib.

Again, the package you are trying to install can not possibly do anything anymore, why are you trying to install it?  What is your actual, real issue? If you have any problems with starcraft and the current version of wine on the repos, I suggest you open up a new thread detailing those problems and mark this one as [SOLVED] as the original issue has been solved, though in a misguided premise which will not lead to anything with that specific version of wine you are trying to install.

Offline

Board footer

Powered by FluxBB