Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431562 - media-sound/lltag 0.14.4 executable contains wrong values
Summary: media-sound/lltag 0.14.4 executable contains wrong values
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-08-15 19:10 UTC by Alexandre Veyrenc
Modified: 2013-10-30 21:24 UTC (History)
0 users

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


Attachments
emerge_info.log (emerge_info.log,5.22 KB, text/plain)
2012-08-15 19:14 UTC, Alexandre Veyrenc
Details
lltag-0.14.4-makefile.patch (lltag-0.14.4-makefile.patch,442 bytes, patch)
2012-08-15 19:15 UTC, Alexandre Veyrenc
Details | Diff
lltag-0.14.4.ebuild (lltag-0.14.4.ebuild,1.09 KB, text/plain)
2012-08-15 19:15 UTC, Alexandre Veyrenc
Details
lltag-0.14.4-r1.ebuild (lltag-0.14.4-r1.ebuild,1.15 KB, application/octet-stream)
2013-10-30 21:22 UTC, Alexandre Veyrenc
Details
lltag-0.14.4-r1.ebuild (lltag-0.14.4-r1.ebuild,1.15 KB, text/plain)
2013-10-30 21:24 UTC, Alexandre Veyrenc
Details

Note You need to log in before you can comment on or make changes to this bug.
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