[pacman-dev] [PATCH] Fix pactest when scriptlet shell is specified

2012-05-02 Thread Allan McRae
If --with-scriptlet-shell is specified, sylimk the shell to /bin/sh in order for the "make check" to pass. Signed-off-by: Allan McRae --- This at least works with --with-scriptlet-shell=/bin/bash... test/pacman/Makefile.am |9 + test/pacman/{pmtest.py => pmtest.py.i

Re: [pacman-dev] [PATCH] Fix pactest when scriptlet shell is specified

2012-05-02 Thread Allan McRae
On 02/05/12 20:25, Allan McRae wrote: > If --with-scriptlet-shell is specified, sylimk the shell to /bin/sh > in order for the "make check" to pass. > The missing .gitignore addition is added on my working branch. > Signed-off-by: Allan McRae > --- > > This at least works with --with-scriptle

Re: [pacman-dev] [PATCH] Fix pactest when scriptlet shell is specified

2012-05-02 Thread Dan McGee
On Wed, May 2, 2012 at 5:25 AM, Allan McRae wrote: > If --with-scriptlet-shell is specified, sylimk the shell to /bin/sh > in order for the "make check" to pass. > > Signed-off-by: Allan McRae Hmm. I'm not a fan of doing this in the sed/.in style at all; namely because pactest can be used to tes

Re: [pacman-dev] [PATCH] Fix pactest when scriptlet shell is specified

2012-05-02 Thread Allan McRae
On 02/05/12 22:17, Dan McGee wrote: > On Wed, May 2, 2012 at 5:25 AM, Allan McRae wrote: >> If --with-scriptlet-shell is specified, sylimk the shell to /bin/sh >> in order for the "make check" to pass. >> >> Signed-off-by: Allan McRae > > Hmm. I'm not a fan of doing this in the sed/.in style at

[pacman-dev] [PATCH 1/3] diskspace: dedupe code for loading FS usage

2012-05-02 Thread Dave Reisner
add mount_point_load_fsinfo() for platforms using getmntent(). Signed-off-by: Dave Reisner --- This is just code movement for the following patches. lib/libalpm/diskspace.c | 52 --- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/li

[pacman-dev] [PATCH 2/3] diskspace: only load filesystem info on demand

2012-05-02 Thread Dave Reisner
Only load filesystem details for the mount points that we're actually going to write to. This reduces our syscall count considerably. In the case of installation, we would actually stat every mountpoint twice (an extra round for download diskspace) which means (on my system) a total of 60 syscalls

[pacman-dev] [PATCH 3/3] diskspace: canonicalize path to download dir

2012-05-02 Thread Dave Reisner
With lazy loading in place, it's now quite obvious that we aren't necessarily checking the right mountpoint for necessary download space. Signed-off-by: Dave Reisner --- lib/libalpm/diskspace.c |8 1 file changed, 8 insertions(+) diff --git a/lib/libalpm/diskspace.c b/lib/libalpm/d

[pacman-dev] Broken readline after pacman -Su

2012-05-02 Thread Philippe LUC
Hello, I did an upgrade today, which completed correctly (according to the log), but the readline library seems wrongly installed. I am posting here as it might be a pacman issue, that might worth reporting. If you prefer me to open a proper bug report in flyspray, let me know. If the root cause h

Re: [pacman-dev] Broken readline after pacman -Su

2012-05-02 Thread Allan McRae
On 03/05/12 07:57, Philippe LUC wrote: > - in /lib, I only have: > /lib/libreadline.so.6 which is linked to > /lib/libreadline.so.5 That is stupid... 1) Don't symlink libraries 2) The current readline package has no files in /lib 3) This has nothing to do with pacman development so you are on t

Re: [pacman-dev] Broken readline after pacman -Su

2012-05-02 Thread Dan McGee
On Wed, May 2, 2012 at 4:57 PM, Philippe LUC wrote: > Hello, > > I did an upgrade today, which completed correctly (according to the > log), but the readline library seems wrongly installed. I am posting > here as it might be a pacman issue, that might worth reporting. If you > prefer me to open a

[pacman-dev] [PATCH] Allow makepkg to use busybox find

2012-05-02 Thread jhuntwork
From: Jeremy Huntwork Allow makepkg to work correctly when used with find from busybox. The switches -empty, -samefile and -lname are not available. It is easy to work around -empty with rmdir, and -lname with readlink. However, -samefile functionality requires tracking and storing inodes to ensu