You are not logged in.

#1 2013-05-04 19:06:50

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 312

[SOVED]multilib-devel make depend cycle in chroot build package system

Hello

i try install chroot [1] to test build package, need install multilib-devel by dependencies but fail by this message

==> Installing missing dependencies...
:: There are 4 members in group multilib-devel:
:: Repository multilib
   1) binutils-multilib  2) gcc-multilib  3) lib32-fakeroot  4) libtool-multilib

Enter a selection (default=all): 
resolving dependencies...
warning: dependency cycle detected:
warning: lib32-gcc-libs will be installed before its gcc-libs-multilib dependency
looking for inter-conflicts...
:: gcc-libs-multilib and gcc-libs are in conflict. Remove gcc-libs? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: gcc-libs-multilib and gcc-libs are in conflict
==> ERROR: 'pacman' failed to install missing dependencies.
==> ERROR: Build failed, check /home/sl1pkn07/chroot/sl1pkn07/build

howto fix it?

greetings

[1] https://wiki.archlinux.org/index.php/De … ean_Chroot

Last edited by sl1pkn07 (2013-05-05 04:15:06)

Offline

#2 2013-05-04 19:08:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,423

Re: [SOVED]multilib-devel make depend cycle in chroot build package system

Have you tried removing gcc-libs - answer 'y' when asked.

Edit: You may need to remove them with 'pacman -Rdd gcc-libs' because they're required by a lot of packages.

Edit 2: Or maybe https://bugs.archlinux.org/task/30673 ?

Last edited by karol (2013-05-04 19:16:20)

Offline

#3 2013-05-04 20:51:30

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 312

Re: [SOVED]multilib-devel make depend cycle in chroot build package system

"sudo makechrootpkg -c -r $CHROOT" don't allowed manual intervention, all is automatic

remember: not a normal chroot, its a chroot to build package (see wiki [1] link)

Last edited by sl1pkn07 (2013-05-04 20:53:35)

Offline

#4 2013-05-04 21:35:10

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,788

Re: [SOVED]multilib-devel make depend cycle in chroot build package system

Just use 'multilib-build' to set up the chroot.

Online

#5 2013-05-04 22:00:10

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: [SOVED]multilib-devel make depend cycle in chroot build package system

…or if possible, use devtools.

Edit: …plus a custom pacman.conf for a multilib chroot with architecture set to x86_64 and [multilib] repo enabled. It took me barely 5 minutes to set it up and working this way.

Create the multilib chroot this way:

sudo mkarchroot -C /path/to/pacman-multilib.conf $CHROOT/multilib/root base base-devel sudo <any_package_you_need>

where $CHROOT points to the location of your chroot. Build a package as usual:

sudo makechrootpkg -c -r $CHROOT/multilib

Last edited by bohoomil (2013-05-04 22:09:09)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#6 2013-05-04 22:10:58

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,788

Re: [SOVED]multilib-devel make depend cycle in chroot build package system

bohoomil wrote:

…or if possible, use devtools.

Edit: …plus a custom pacman.conf for a multilib chroot with architecture set to x86_64 and [multilib] repo enabled. It took me barely 5 minutes to set it up and working this way.

1. He's using makechrootpkg, which is part of devtools
2. There's no "...or if possible", multilib-build that I suggested is also part of devtools
3. What you described doesn't install multilib-devel

Online

#7 2013-05-04 23:08:56

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 312

Re: [SOVED]multilib-devel make depend cycle in chroot build package system

yes,

1)  use devtools (like a wiki [1])
2) [multilib] is actived in chrooted pacman.conf,
3) fail install "multilib-devel" group (add explicit in makedepeds array in  pkgbuild for test)  by circular dependency
4) in devtools (makechrootpkg) not allowed manual intervention

greetings

Last edited by sl1pkn07 (2013-05-04 23:12:02)

Offline

#8 2013-05-04 23:46:31

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: [SOVED]multilib-devel make depend cycle in chroot build package system

Scimmia wrote:

3. What you described doesn't install multilib-devel

Maybe I don't get something, but running

sudo mkarchroot -r 'pacman -S multilib-devel' $CHROOT/multilib/root

installed the following:

[~] $ sudo mkarchroot -r 'pacman -Qs multilib-devel' $CHROOT/multilib/root
local/binutils-multilib 2.23.2-2 (multilib-devel)
    A set of programs to assemble and manipulate binary and object files for multilib
local/gcc-multilib 4.8.0-2 (multilib-devel)
    The GNU Compiler Collection - C and C++ frontends for multilib
local/libtool-multilib 2.4.2-8 (multilib-devel)
    A generic library support script for multilib
[~] $

Isn't it what the OP is going to do?

sl1pkn07 wrote:

"sudo makechrootpkg -c -r $CHROOT" don't allowed manual intervention, all is automatic

Really? So customize the $CHROOT/root/etc/makepkg.conf && pacman.conf accordingly and install the necessary dependencies manually.

Last edited by bohoomil (2013-05-04 23:52:07)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#9 2013-05-04 23:52:29

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,788

Re: [SOVED]multilib-devel make depend cycle in chroot build package system

That's the point, though, it isn't letting him install that because of a circular dep.

sl1pkn07, once again, just use multilib-build.

Online

#10 2013-05-04 23:54:37

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: [SOVED]multilib-devel make depend cycle in chroot build package system

Scimmia wrote:

That's the point, though, it isn't letting him install that because of a circular dep.

sl1pkn07, once again, just use multilib-build.

I would start from deleting the current $CHROOT/root and recreating it from scratch while rereading the Wiki at the same time… wink

Last edited by bohoomil (2013-05-05 00:06:11)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#11 2013-05-05 00:10:22

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 312

Re: [SOVED]multilib-devel make depend cycle in chroot build package system

bohoomil wrote:

Really?

sure
http://sl1pkn07.no-ip.com/paste/view/f952d0c6

i don't touch any  Y/N keys

Offline

#12 2013-05-05 00:27:05

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: [SOVED]multilib-devel make depend cycle in chroot build package system

sl1pkn07 wrote:
bohoomil wrote:

Really?

sure
http://sl1pkn07.no-ip.com/paste/view/f952d0c6

i don't touch any  Y/N keys

Read the whole line, not a single word:

bohoomil wrote:

So customize the $CHROOT/root/etc/makepkg.conf && pacman.conf accordingly and install the necessary dependencies manually.

…and yet another one:

bohoomil wrote:

I would start from deleting the current $CHROOT/root and recreating it from scratch while rereading the Wiki at the same time…

I provided a shorthand what you should do to quickly achieve your goal. Try reproducing it first, step by step, with a checklist and the Wiki by your side.

Last edited by bohoomil (2013-05-05 00:39:50)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#13 2013-05-05 00:57:40

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 312

Re: [SOVED]multilib-devel make depend cycle in chroot build package system

then need install multilib-devel before call "sudo makechrootpkg -c -r $CHROOT -I v8-blablablabla"?

then why  add multilib-devel in makedepend PKGBUILD array?

depends=('alsa-lib' 'desktop-file-utils' 'ffmpeg' 'gtk2' 'gpsd' 'hicolor-icon-theme' 'jsoncpp' 'libevent' 'libwebp' 'libxslt' 'libxss'
         'minizip' 'nss' 'protobuf' 'speech-dispatcher' 'ttf-font' 'udev' "v8-dev=${_v8_ver}") # 're2' 'snappy'
makedepends=('elfutils' 'gperf' 'mesa' 'python2-ply' 'python2-simplejson' 'subversion' 'xdg-utils' 'yasm') # 'libsrtp'
[ "$CARCH" = "x86_64" ] && makedepends+=('multilib-devel')

then install multilib-devel when building PKGBUILD (called by makedepends/depends on pkgbuild) not possible?

-----

So customize the $CHROOT/root/etc/makepkg.conf && pacman.conf accordingly and install the necessary dependencies manually.

makepkg.conf -> untouched, no need modifications
pacman.conf -> only comment out [multilib]

I provided a shorthand what you should do to quickly achieve your goal. Try reproducing it first, step by step, with a checklist and the Wiki by your side.

you and think I'm doing?  (plus open google translator web)

greetings

Offline

#14 2013-05-05 04:13:42

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 312

Re: [SOVED]multilib-devel make depend cycle in chroot build package system

oks, tested. need install multilib-devel (in my case only this, no need more multilib libs(all in makedepends)) when build the chroot (before make pakage)

thanks for all patient over me

greetings

Offline

Board footer

Powered by FluxBB