You are not logged in.
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
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
"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
Just use 'multilib-build' to set up the chroot.
Offline
…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
…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
Offline
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
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?
"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
That's the point, though, it isn't letting him install that because of a circular dep.
sl1pkn07, once again, just use multilib-build.
Offline
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…
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
Offline
Read the whole line, not a single word:
So customize the $CHROOT/root/etc/makepkg.conf && pacman.conf accordingly and install the necessary dependencies manually.
…and yet another one:
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
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
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