View previous topic :: View next topic |
Author |
Message |
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
Posted: Sat Mar 24, 2018 7:47 pm Post subject: Ebuild file collisions, not sure why [SOLVED] |
|
|
Rescuing a pro-audio overlay ebuild:
media-sound/zita-ajbridge-0.7.0.ebuild:
Code: |
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit base toolchain-funcs
DESCRIPTION="Bridge ALSA devices to Jack clients, to provide additional capture (a2j) or playba$
HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/"
SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="media-libs/alsa-lib
>=media-libs/zita-alsa-pcmi-0.2.0
>=media-libs/zita-resampler-1.3.0
virtual/jack"
S=${WORKDIR}/${P}/source
RESTRICT="mirror"
src_compile() {
CXX="$(tc-getCXX)" base_src_make
}
src_install() {
base_src_install PREFIX="${EPREFIX}/usr"
}
|
Emerging this pkg results in:
Code: |
* dev-libs/sord-0.16.0-r1:0::gentoo
* /usr/bin
* /usr/share/man/man1
*
* app-misc/c_rehash-1.7-r1:0::gentoo
* /usr/bin
*
* x11-libs/pango-1.40.14:0::gentoo
* /usr/bin
* /usr/share/man/man1
*
* app-admin/eselect-1.4.11:0::gentoo
* /usr/bin
* /usr/share/man/man1
*
* dev-libs/libevdev-1.5.7:0::gentoo
* /usr/bin
*
* dev-libs/nss-3.29.5:0::gentoo
* /usr/bin
*
* net-libs/libproxy-0.4.13-r2:0::gentoo
* /usr/bin
* /usr/share/man/man1
*
* Package 'media-sound/zita-ajbridge-0.7.0' NOT merged due to file
* collisions. If necessary, refer to your elog messages for the whole
* content of the above message.
|
It goes on like that way past my scroll buffer.
What's happening and how do I address it? _________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Last edited by audiodef on Sun Mar 25, 2018 1:04 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54665 Location: 56N 3W
|
Posted: Sat Mar 24, 2018 8:17 pm Post subject: |
|
|
audiodef,
Pick a few colliding filenames.
Make a note of the name of the package that wants to install them.
Use Code: | equery b <colliding filename> | to see what owns the file. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22918
|
Posted: Sat Mar 24, 2018 8:47 pm Post subject: |
|
|
Those are odd collisions. What files is this package installing? List the contents of $D/ to see them (or the image/ directory after src_install runs). |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Sat Mar 24, 2018 11:02 pm Post subject: |
|
|
Agree with Hu, collision about /usr/bin seriously?
Looks like your package is not installing a file and try create /usr/bin which is of course own as anyone installing anything in /usr/bin will be mark as owner. |
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6780
|
Posted: Sun Mar 25, 2018 5:46 am Post subject: |
|
|
Just a conjecture: It might be that the build system of the package is broken and installs e.g. the binary as ${ED}/usr/bin instread as ${ED}/usr/bin/some_binary_name.
Usually, this happens because the author of the build system forgot to create the parent directories.
So it might help to add Code: | dodir /usr/bin
dodir /usr/share/man/man1 | to src_install (before calling base_src_install ....). If this is the case, the issue should also be reported upstream |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
|
Back to top |
|
|
|