Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 431562

Summary: media-sound/lltag 0.14.4 executable contains wrong values
Product: Gentoo Linux Reporter: Alexandre Veyrenc <veyrenc+gentoo>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: UNCONFIRMED ---    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge_info.log
lltag-0.14.4-makefile.patch
lltag-0.14.4.ebuild
lltag-0.14.4-r1.ebuild
lltag-0.14.4-r1.ebuild

Description Alexandre Veyrenc 2012-08-15 19:10:57 UTC
lltag's Makefile generates an lltag executable from lltag.in. It uses sed to modify placeholders with values that contain the DESTDIR variable. This results in a wrong program version and path to the default internal formats.

Here is the problem:
% lltag -V
This is lltag version /var/tmp/portage/media-sound/lltag-0.14.4/image/0.14.4.

% lltag -L
Did not find any format file.
Listing internal parsers:

It tries to open /var/tmp/portage/media-sound/lltag-0.14.4/image//etc/lltag/formats.

Please find a patch to fix this issue and an updated ebuild as attachment.
Comment 1 Alexandre Veyrenc 2012-08-15 19:14:18 UTC
Created attachment 321424 [details]
emerge_info.log

emerge --info
Comment 2 Alexandre Veyrenc 2012-08-15 19:15:21 UTC
Created attachment 321426 [details, diff]
lltag-0.14.4-makefile.patch
Comment 3 Alexandre Veyrenc 2012-08-15 19:15:43 UTC
Created attachment 321428 [details]
lltag-0.14.4.ebuild
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-15 20:02:57 UTC
Comment on attachment 321428 [details]
lltag-0.14.4.ebuild

--- lltag-0.14.4.ebuild 2011-08-06 21:13:59.000000000 +0200
+++ -   2012-08-15 22:02:04.429700231 +0200
@@ -33,6 +33,11 @@
                )
 }
 
+src_unpack() {
+       perl-module_src_unpack
+       epatch "${FILESDIR}"/${P}-makefile.patch
+}
+
 src_compile() {
        emake "${mylltagopts[@]}" || die
 }


Normally you'd use src_prepare for that.
Comment 5 Alexandre Veyrenc 2013-10-30 21:22:50 UTC
Created attachment 362320 [details]
lltag-0.14.4-r1.ebuild

Updated ebuild
Comment 6 Alexandre Veyrenc 2013-10-30 21:24:41 UTC
Created attachment 362322 [details]
lltag-0.14.4-r1.ebuild

Updated ebuild with proper MIME type