Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165342 - installsources should filter <built-in> out of rsync list
Summary: installsources should filter <built-in> out of rsync list
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 167107
  Show dependency tree
 
Reported: 2007-02-04 21:26 UTC by Simon Stelling (RETIRED)
Modified: 2007-02-24 04:14 UTC (History)
1 user (show)

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


Attachments
patch to fix the issue (installsources-errors.patch,505 bytes, patch)
2007-02-04 21:26 UTC, Simon Stelling (RETIRED)
Details | Diff
installsources-grep-out-built-in.patch (installsources-grep-out-built-in.patch,509 bytes, patch)
2007-02-16 01:42 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Stelling (RETIRED) gentoo-dev 2007-02-04 21:26:22 UTC
when using installsources, i see lots of errors like the following:

rsync: link_stat "/var/tmp/portage/kde-base/kdelibs-3.5.5-r5/work/kdelibs-3.5.5/pics/<built-in>" failed: No such file or directory (2)

they are harmless, but annoying nevertheless, especially with very large packages like kdelibs, where you get spammed with thousands of lines like this.
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2007-02-04 21:26:56 UTC
Created attachment 109164 [details, diff]
patch to fix the issue
Comment 2 Zac Medico gentoo-dev 2007-02-05 07:31:32 UTC
The patch doesn't work for me because ${T}/debug.sources uses null bytes to delimit path names.  I tried the -Z/--null option for grep but that didn't seem to help.
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2007-02-05 12:11:09 UTC
Comment on attachment 109164 [details, diff]
patch to fix the issue

hmpf
Comment 4 Ed Catmur 2007-02-16 01:41:52 UTC
(In reply to comment #2)
> The patch doesn't work for me because ${T}/debug.sources uses null bytes to
> delimit path names.  I tried the -Z/--null option for grep but that didn't seem
> to help.
That's cos you want -z/--null-data.  It's in --help output but not the manpage.
Comment 5 Ed Catmur 2007-02-16 01:42:34 UTC
Created attachment 110353 [details, diff]
installsources-grep-out-built-in.patch
Comment 6 Ed Catmur 2007-02-16 01:50:32 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > The patch doesn't work for me because ${T}/debug.sources uses null bytes to
> > delimit path names.  I tried the -Z/--null option for grep but that didn't seem
> > to help.
> That's cos you want -z/--null-data.  It's in --help output but not the manpage.

Documenting --null-data in grep(1): bug 167143.

Comment 7 Zac Medico gentoo-dev 2007-02-23 23:22:02 UTC
Thanks, this is in svn r6060.
Comment 8 Zac Medico gentoo-dev 2007-02-24 04:14:34 UTC
This has been released in 2.1.2-r11.