Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65787 - xmcd-3.3.2 src_install fails due to previous nonsuccessful compile
Summary: xmcd-3.3.2 src_install fails due to previous nonsuccessful compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-29 02:50 UTC by Johannes Brügmann
Modified: 2004-09-29 18:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Brügmann 2004-09-29 02:50:23 UTC
Due to a bug in xmcd-3.3.2.ebuild a wrong patch is applied by default. Compilation fails with the following message: No rule to make target `../cdda_d/libcdda.a', needed by `cda'.  Stop. The emerge process exits in src_install with the following message: 
>>> Install xmcd-3.3.2 into /var/tmp/portage/xmcd-3.3.2/image/ category media-sound
 * Running install script...

Installing "xmcd" Motif CD Player/Ripper version 3.3.2 by Ti Kan
----------------------------------------------------------------

This is free software and comes with no warranty.
See the GNU General Public License in the COPYING file
for details.

This software contains support for the Gracenote
CDDB(R) Disc Recognition Service.  See the CDDB file
for information.


The following executable binaries are missing:

        xmcd_d/xmcd
        cda_d/cda
        cdda_d/has_alsa

If you have the xmcd source code distribution, make sure
you compile the source code to generate the binaries first.
See the INSTALL file for details.

If you have the xmcd binary distribution, it is probably
corrupt.
Error: Missing binaries: installation aborted by user.

ERROR(s) have occurred in the installation.
See /tmp/xmcd.err for details.

!!! ERROR: media-sound/xmcd-3.3.2 failed.
!!! Function src_install, Line 61, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

The problem is xmcd-3.3.2.ebuild in function 
src_unpack() {
...
        cd ${S}
        epatch ${FILESDIR}/${PN}-3.2.1-gentoo.patch || die
}
Solution: change the above epatch line into 

epatch ${FILESDIR}/${PN}-${PV}-gentoo.patch || die


Reproducible: Always
Steps to Reproduce:
1. emerge =media-sound/xmcd-3.3.2
2.
3.
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-09-29 18:39:44 UTC
fixed in portage.