Skip to content

REDasm wants to overwrite system - installed Capstone on Gentoo #31

@Petross404

Description

@Petross404

Hi,

I wrote an ebuild for REDasm so that gentoo users can install it on their systems. REDasm though bundles it's own copy of capstone and creates the following conflict :

>>> Installing (1 of 1) dev-util/redasm-9999::testing
 * checking 16 files for package collisions
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at https://bugs.gentoo.org/ unless you report exactly
 * which two packages install the same file(s). See
 * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how
 * to solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 *      /usr/include/capstone/arm64.h
 *      /usr/include/capstone/arm.h
 *      /usr/include/capstone/capstone.h
 *      /usr/include/capstone/evm.h
 *      /usr/include/capstone/mips.h
 *      /usr/include/capstone/ppc.h
 *      /usr/include/capstone/x86.h
 *      /usr/include/capstone/sparc.h
 *      /usr/include/capstone/systemz.h
 *      /usr/include/capstone/xcore.h
 *      /usr/include/capstone/m68k.h
 *      /usr/include/capstone/tms320c64x.h
 *      /usr/include/capstone/m680x.h
 *      /usr/include/capstone/platform.h
 *      /usr/lib64/libcapstone.a
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * dev-libs/capstone-4.0.1:0::gentoo
 *      /usr/include/capstone/arm.h
 *      /usr/include/capstone/arm64.h
 *      /usr/include/capstone/capstone.h
 *      /usr/include/capstone/evm.h
 *      /usr/include/capstone/m680x.h
 *      /usr/include/capstone/m68k.h
 *      /usr/include/capstone/mips.h
 *      /usr/include/capstone/platform.h
 *      /usr/include/capstone/ppc.h
 *      /usr/include/capstone/sparc.h
 *      /usr/include/capstone/systemz.h
 *      /usr/include/capstone/tms320c64x.h
 *      /usr/include/capstone/x86.h
 *      /usr/include/capstone/xcore.h
 *      /usr/lib64/libcapstone.a
 * 
 * Package 'dev-util/redasm-9999' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

Can capstone be excluded optionally so that system capstone is used as it should on Gentoo?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions