Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#332 - makepkg: patch to suppress 'find' errors

Attached to Project: Pacman
Opened by Eric Johnson (eric) - Friday, 26 December 2003, 19:32 GMT
Last edited by Judd Vinet (judd) - Sunday, 04 January 2004, 01:27 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Judd Vinet (judd)
Architecture All
Severity Very Low
Priority Normal
Reported Version 0.6 Widget
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

This isn't a bug as much as an annoyance. When using makepkg, 'find' errors are written to stdout during the 'strip' process.

Here's a patch to 'makepkg' to suppress the errors from 'find'.

--- makepkg 2003-12-26 14:28:44.000000000 -0500
+++ makepkg.new 2003-12-26 14:27:19.000000000 -0500
@@ -573,9 +573,22 @@
# strip binaries
if [ "$NOSTRIP" = "0" ]; then
msg "Stripping debugging symbols from libraries..."
- find pkg/{,usr,usr/local,opt/*}/lib -type f -exec /usr/bin/strip --strip-debug '{}' \; 2>&1
+ for libdir in pkg/lib pkg/usr/lib pkg/usr/local/lib pkg/opt/*/lib
+ do
+ if [ -d $libdir ]; then
+ find $libdir -type f -exec /usr/bin/strip --strip-debug '{}' \; 2>&1
+ fi
+ done
+ unset libdir
msg "Stripping symbols from binaries..."
- find pkg/{,usr,usr/local,opt/*}/{bin,sbin} -type f -exec /usr/bin/strip '{}' \; 2>&1
+ for bindir in pkg/bin pkg/sbin pkg/usr/bin pkg/usr/sbin \
+ pkg/usr/local/bin pkg/usr/local/sbin pkg/opt/*/bin
+ do
+ if [ -d $bindir ]; then
+ find $bindir -type f -exec /usr/bin/strip '{}' \; 2>&1
+ fi
+ done
+ unset bindir
fi
(application/octet-stream)    makepkg.diff (0.9 KiB)
This task depends upon

Closed by  Anonymous Submitter
Sunday, 04 January 2004, 01:27 GMT
Reason for closing:  Fixed
Comment by Eric Johnson (eric) - Friday, 26 December 2003, 19:36 GMT
The diff file has been uploaded/attached.
Comment by Judd Vinet (judd) - Sunday, 04 January 2004, 01:27 GMT
  • Task details edited
This will be fixed in 2.7.2

Loading...