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#10294 - makepkg - "Stripping debugging symbols[..]" can't cope with whitespaces in filenames

Attached to Project: Pacman
Opened by Florian (hightower) - Saturday, 26 April 2008, 21:57 GMT
Last edited by Xavier (shining) - Wednesday, 30 April 2008, 19:26 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version 3.1.4
Due in Version 3.2.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Read here: http://bbs.archlinux.org/viewtopic.php?pid=360608#p360608


Workaround:

if [ "$(check_option strip)" = "y" ]; then
msg2 "$(gettext "Stripping debugging symbols from binaries and libraries...")"
export IFS=$'\n';

for file in $(find {,usr/{,local/},opt/*/}{bin,lib,sbin} -type f 2> /dev/null || true); do
file -biz "$file" >> /home/flo/huhi.log ;
case "$(file -biz "$file")" in
*application/x-sharedlib*) # Libraries
/usr/bin/strip --strip-debug "$file";;
*application/x-executable*) # Binaries
/usr/bin/strip "$file";;
esac
done
export IFS=$'\t\n';
fi



Additional info:
makepkg (pacman) 3.1.4
This task depends upon

Closed by  Xavier (shining)
Wednesday, 30 April 2008, 19:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed by commit 27943a04d6
Comment by Gavin Bisesi (Daenyth) - Sunday, 27 April 2008, 11:50 GMT
file -biz "$file" >> /home/flo/huhi.log ;

What is the purpose of this line? I can't seem to find any other mention of it.
Did you intend to << huhi.log to the done?
Comment by Gavin Bisesi (Daenyth) - Sunday, 27 April 2008, 12:16 GMT
Here's my attempt at fixing this bug.
Comment by Gavin Bisesi (Daenyth) - Sunday, 27 April 2008, 12:32 GMT
So many problems with that patch... lemme try again
Comment by Gavin Bisesi (Daenyth) - Sunday, 27 April 2008, 12:48 GMT
I can't figure out how to get a working version here.. I tried cloning the git repo, but if I call the makepkg.sh.in file directly it doesn't run correctly, and I can't "make" as there is no makefile and no configure script. Any advice?
Comment by Florian (hightower) - Sunday, 27 April 2008, 14:36 GMT
file -biz "$file" >> /home/flo/huhi.log

has no meaning at all - it was meant for "debugging" purposes

>> I can't figure out how to get a working version here..
>>I tried cloning the git repo, but if I call the makepkg.sh.in
>>file directly it doesn't run correctly, and I can't "make" as
>>there is no makefile and no configure script. Any advice?

What do you try to build. If it's the io package you have to use the version of 30.03.2008 (use my PKGBUILD in the forums)
Comment by Gavin Bisesi (Daenyth) - Sunday, 27 April 2008, 15:09 GMT
I'm using the pkgbuild from your forum post.

==> Entering fakeroot environment...
/usr/bin/fakeroot: line 164: /home/Daenyth/code/pacman/pacman/scripts/makepkg.sh.in: Permission denied
Comment by Gavin Bisesi (Daenyth) - Sunday, 27 April 2008, 15:40 GMT
OK, hopefully this patch should work. Thanks Dan!
Comment by Gavin Bisesi (Daenyth) - Sunday, 27 April 2008, 16:48 GMT
Alright.. last one, I promise. Thanks Dan for the help once again.
Comment by Xavier (shining) - Wednesday, 30 April 2008, 17:09 GMT

Loading...