tisdag 08 januari 2008 skrev Dan McGee:
These are the two issues I can see being important. As Xavier said, the --asroot option probably hasn't been tested much, so maybe we should look into this. If I get a chance I'll be sure to check this out before I release tonight. Of course I'd appreciate anyone else looking into it as well.
One issue got left out by mistake I think. I could not get pacman to work properly building klibc, since it stripped all the symbols from /usr/lib/klibc/lib/libc.so I don't know why the old pacman did not do this, since I could not find anything different in logic. Maybe there is some other mechanism that I did not find? So just check that klibc builds without stripping /usr/lib/klibc/lib/libc.so, or install a patch similar to this. For some reason "file -biz /usr/lib/klibc/lib/libc.so" gives application/x-executable and not application/x-sharedlib, and gets its symbols stripped. That in turn will make build of klibc-* packets fail. @@ -751,7 +765,11 @@ *application/x-sharedlib*) # Libraries /usr/bin/strip --strip-debug "$file";; *application/x-executable*) # Binaries - /usr/bin/strip "$file";; + if [ "${file/.so/}" = "${file}" ]; then + /usr/bin/strip "$file"; + else + /usr/bin/strip --strip-debug "$file"; + fi;; esac done fi