You are not logged in.

#1 2013-12-03 18:01:05

POINTS
Member
Registered: 2013-11-29
Posts: 29

libx32-glibc won't install due to gcc-multilib-x32 dependency

I'm trying to install the libx32-glibc package (https://aur.archlinux.org/packages/libx32-glibc/) which does not list any dependencies on the package web page. However, when I try to install it, it shows this message:

==> Making package: libx32-glibc 2.17_5-1 (****)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
[sudo] password for ****: 
error: target not found: gcc-multilib-x32>=4.7
==> ERROR: 'pacman' failed to install missing dependencies.

I need libx32-glibc to install gcc-multilib-x32 which gives this message when trying to install:

$ makepkg -s
==> Making package: gcc-multilib-x32 4.8.0_3-1 (****)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
[sudo] password for ****: 
error: target not found: libx32-glibc>=2.17
==> ERROR: 'pacman' failed to install missing dependencies.

How can I get gcc-multilib-x32 to install? I tried removing the dependency check in the PKGBUILD but that had other issues.

Offline

#2 2013-12-04 10:55:09

Minsc
Member
Registered: 2012-07-16
Posts: 95

Re: libx32-glibc won't install due to gcc-multilib-x32 dependency

Install gcc-multilib from [multilib] ?

$ pacman -sS gcc-multi
multilib/gcc-multilib 4.8.2-5 (multilib-devel)
    The GNU Compiler Collection - C and C++ frontends for multilib

Offline

#3 2013-12-04 14:41:03

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,635

Re: libx32-glibc won't install due to gcc-multilib-x32 dependency

That won't help when they specifically need the x32 versions.

Circular deps are bad, hopefully the PKGBUILD maintainers can figure out another way.

Online

#4 2013-12-08 03:42:16

POINTS
Member
Registered: 2013-11-29
Posts: 29

Re: libx32-glibc won't install due to gcc-multilib-x32 dependency

It turns out that I don't need libx32-glibc for the other package that I needed to install. I left a comment on the package details page. Hopefully, they can resolve this issue in case someone else needs to use this.

Offline

#5 2014-01-13 01:49:55

fantix
Member
Registered: 2012-07-23
Posts: 10

Re: libx32-glibc won't install due to gcc-multilib-x32 dependency

Thanks for pointing this out! I'll take a look asap. In the meantime you may want to try this repo where I've uploaded the prebuilt packages:

https://wiki.archlinux.org/index.php/Un … rchlinuxcn

Offline

#6 2014-01-14 07:31:11

fantix
Member
Registered: 2012-07-23
Posts: 10

Re: libx32-glibc won't install due to gcc-multilib-x32 dependency

The circular dependency was made intentionally, it is actually the same circular dependency you can find in the main repo: gcc -> gcc-libs -> glibc -> gcc (make). Because making glibc requires a valid gcc while gcc requires glibc to be functional.

To build this, you actually need the packages glibc-x32-seed and gcc-x32-seed. Then you can build libx32-glibc to replace glibc-x32-seed, then eventually gcc-multilib-x32 to replace gcc-x32-seed.

There're more information about this in this thread and this blog post in Chinese.

Offline

Board footer

Powered by FluxBB