Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469800 - media-sound/mpd : does not respect AR
Summary: media-sound/mpd : does not respect AR
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2013-05-14 09:00 UTC by Agostino Sarubbo
Modified: 2013-09-12 12:23 UTC (History)
3 users (show)

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


Attachments
build.log (mpd-0.17.4-r2:20130514-142915.log,124.98 KB, text/plain)
2013-05-14 14:31 UTC, Agostino Sarubbo
Details
patch against latest ebuild (mpd-0.17.4-r2.patch,326 bytes, patch)
2013-05-25 12:29 UTC, Michael Mair-Keimberger (iamnr3)
Details | Diff
mpd-0.17.4-ar.patch (mpd-0.17.4-ar.patch,654 bytes, patch)
2013-05-25 12:29 UTC, Michael Mair-Keimberger (iamnr3)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-05-14 09:00:10 UTC
You receive this bug because this package does not respect my system's AR (x86_64-pc-linux-gnu-ar) and calls directly /usr/bin/ar
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can;
2)inherit toolchain-funcs and use tc-export AR
3)inherit toolchain-funcs and use emake AR="$(tc-getAR)"


From the build log:

ar cru libutil.a src/util/list_sort.o src/util/byte_reverse.o src/util/bit_reverse.o
Comment 1 Christoph Mende (RETIRED) gentoo-dev 2013-05-14 14:18:37 UTC
build.log please
Comment 2 Agostino Sarubbo gentoo-dev 2013-05-14 14:31:59 UTC
Created attachment 348316 [details]
build.log

(In reply to comment #1)
> build.log please

The build log is really useful in issues like compile failure. This bug is reproducible everywhere.
Comment 3 Michael Mair-Keimberger (iamnr3) 2013-05-25 12:29:03 UTC
Created attachment 349126 [details, diff]
patch against latest ebuild

I've patched makefile/configure.ac and added an AC_PROG_AR macro. This should fix the ar issue. please review.
Comment 4 Michael Mair-Keimberger (iamnr3) 2013-05-25 12:29:21 UTC
Created attachment 349128 [details, diff]
mpd-0.17.4-ar.patch
Comment 5 Christoph Mende (RETIRED) gentoo-dev 2013-05-25 12:34:38 UTC
(In reply to comment #3)
> Created attachment 349126 [details, diff] [details, diff]
> patch against latest ebuild
> 
> I've patched makefile/configure.ac and added an AC_PROG_AR macro. This
> should fix the ar issue. please review.

Can you please take this patch upstream? Also please use unified diffs (diff -u) next time.
Comment 6 Michael Mair-Keimberger (iamnr3) 2013-05-30 10:11:07 UTC
(In reply to Christoph Mende from comment #5)
> (In reply to comment #3)
> > Created attachment 349126 [details, diff] [details, diff] [details, diff]
> > patch against latest ebuild
> > 
> > I've patched makefile/configure.ac and added an AC_PROG_AR macro. This
> > should fix the ar issue. please review.
> 
> Can you please take this patch upstream? Also please use unified diffs (diff
> -u) next time.

Upstream bug: http://bugs.musicpd.org/view.php?id=3779
Comment 7 Christoph Mende (RETIRED) gentoo-dev 2013-09-12 12:23:38 UTC
Fixed in 0.17.5 afaict