Excerpts from Ray Rashif's message of 2010-08-17 13:52:11 +0200:
On 17 August 2010 19:32, Philipp Überbacher <hollunder@lavabit.com> wrote:
Excerpts from Loui Chang's message of 2010-08-17 13:14:44 +0200:
On Tue 17 Aug 2010 13:01 +0200, Philipp Überbacher wrote:
Excerpts from Loui Chang's message of 2010-08-17 12:35:41 +0200:
On Tue 17 Aug 2010 12:09 +0200, Heiko Baums wrote:
Am Tue, 17 Aug 2010 19:15:34 +1000 schrieb Allan McRae <allan@archlinux.org>:
> grep your files in your package for $srcdir (the actual value...). > If it is not in a config file or RPATH or the like, you can probably > ignore it.
I'm not quite sure if this is not a bug in makepkg, because I have this problem with almost all of my packages in AUR since the latest update to pacman 3.4.0. I never got this message before and I haven't changed such elementary parts of the packages. And if I'm right this problem appears with almost every package which I install from AUR.
But I need to watch it more narrowly.
You'll get that with any package that contains debugging symbols.
So it isn't about the usual 'cd $srcdir/${pkgname}-${pkgver}' ?
No, it's about build directories being referenced in the finished package, not the PKGBUILD.
Oh.. I assumed it was some random annoyance and ignored it. I've seen it a number of times already. So 'grep -R $somedistinctpartofthepathtoPKGBUILDS $pkg' should find the offending file? And then some nasty patching to fix it?
It's not much of a big deal, and there's rarely need for any "nasty patching". It serves as a reminder to check for accidental inclusion of build paths in important runtime/system files, which often is an upstream build issue or user-specific mistake. Cases where this can be ignored and is usually the most prevalent is, for example, documentation-related files.
Just run this from the makepkg build dir:
grep -R "$(pwd)/src" pkg/
Thanks Ray, I noted that so I can check what's going on next time. The upstream issue is what I guessed would be the case and would require nasty patching, unless upstream fixes it in a timely fashion. At least I know what it's about now, thanks. -- Philipp -- "Wir stehen selbst enttäuscht und sehn betroffen / Den Vorhang zu und alle Fragen offen." Bertolt Brecht, Der gute Mensch von Sezuan