Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 11561 Details for
Bug 3141
AutoRdependencies in ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Small update
ebuild.sh.patch (text/plain), 1.43 KB, created by
Wout Mertens (RETIRED)
on 2003-05-06 08:12:17 UTC
(
hide
)
Description:
Small update
Filename:
MIME Type:
Creator:
Wout Mertens (RETIRED)
Created:
2003-05-06 08:12:17 UTC
Size:
1.43 KB
patch
obsolete
>--- ebuild.sh 2003-05-06 13:48:05.000000000 +0200 >+++ ebuild.sh.orig 2003-05-04 23:59:47.000000000 +0200 >@@ -650,46 +650,8 @@ > #scripts, so set it to $T. > export TMP="${T}" > export TMPDIR="${T}" >- local strace_pid=0 olog=${T}/openedfiles.log olst=${T}/openedfiles.lst >- local opgk=${T}/openedpkgs.lst >- if [ "$FINDDEPS" ]; then >- if [ -x /usr/bin/strace ]; then >- strace -qf -e signal=\!all -e open,execve -o "$olog" -p $$ & >- strace_pid=$! >- # Wait for strace to start >- local count=20 >- while [ ! -f "$olog" ] && [ $count -gt 0 ]; do >- LC_NUMERIC=C sleep 0.1 >- set count-- >- done >- if [ $count -eq 0 ]; then >- ewarn Couldn\'t start strace \!\!\! >- kill $strace_pid >- strace_pid=0 >- fi >- else >- ewarn You need to emerge dev-util/strace for finding dependencies. >- fi >- fi >- src_compile >+ src_compile > #|| abort_compile "fail" >- if [ $strace_pid -gt 0 ]; then >- kill $strace_pid >- ewarn Packages needed for compilation: >- awk -F\" '$2~/^\// && !/ENOENT/ && $2!~/\/tmp\// && !/^'$$'/{ >- files[$2]++ >- } >- END{ >- for(f in files){ >- print "^obj " f " " >- } >- }' "$olog" > "$olst" >- grep -l -f "$olst" /var/db/pkg/*/*/CONTENTS | \ >- awk -F/ '{print "\t" $(NF-2) "/" $(NF-1)}' > "$opkg" >- cat "$opkg" >- ewarn To know which files in a certain package were used, run >- ewarn "grep -f \"$olst\" /var/db/pkg/<group>/<name>/CONTENTS" >- fi > cd ${BUILDDIR} > touch .compiled > if [ ! -e "build-info" ]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 3141
:
11510
| 11561 |
11872
|
11873