After installing phpsysinfo 2.1 with kernel 2.5 patch applied, the percentage for swapfile usage is not displayed due to a typo in the patch Reproducible: Always Steps to Reproduce:
Created attachment 24337 [details, diff] 2.5/6 kernel patch fixed Fixed patch that should be delivered
Committed to CVS as phpsysinfo-2.1-r2; should be appearing on an rsync mirror near you in an hour or so. This release detects which kernel is installed, and uses that to decide whether to auto-patch phpsysinfo or not. Best regards, Stu
>>> Unpacking phpSysInfo-2.1.tar.gz to /var/tmp/portage/phpsysinfo-2.1-r2/work * Applying phpsysinfo_2.1-1.diff.gz... [ ok ] * Applying urlencoded-security-fix.diff... [ ok ] * /usr/src/linux is a symbolic link * Determining the real directory of the Linux kernel source code * Building for Linux 2.6.4 found in /usr/src/linux * /usr/src/linux is a symbolic link * Determining the real directory of the Linux kernel source code * Building for Linux 2.6.4 found in /usr/src/linux * Applying fix_memory_display_kernel2.5.diff.gz... [ ok ]>>> Source unpacked. make: *** No targets specified and no makefile found. Stop. !!! ERROR: dev-php/phpsysinfo-2.1-r2 failed. !!! Function kernel-mod_src_compile, Line 156, Exitcode 2 !!! (no error message) Looks like there's a problem with the ebuild. And shouldn't this be marked ~x86?
I have this problem with this update: Calculating dependencies ...done! >>> emerge (1 of 1) dev-php/phpsysinfo-2.1-r2 to / >>> md5 src_uri ;-) phpSysInfo-2.1.tar.gz >>> md5 src_uri ;-) phpsysinfo_2.1-1.diff.gz >>> Unpacking source... >>> Unpacking phpSysInfo-2.1.tar.gz to /var/tmp/portage/phpsysinfo-2.1-r2/work * Applying phpsysinfo_2.1-1.diff.gz... [ ok ] * Applying urlencoded-security-fix.diff... [ ok ] * /usr/src/linux is a symbolic link * Determining the real directory of the Linux kernel source code * Building for Linux 2.4.25 found in /usr/src/linux * /usr/src/linux is a symbolic link * Determining the real directory of the Linux kernel source code * Building for Linux 2.4.25 found in /usr/src/linux >>> Source unpacked. make: *** No targets specified and no makefile found. Stop. !!! ERROR: dev-php/phpsysinfo-2.1-r2 failed. !!! Function kernel-mod_src_compile, Line 156, Exitcode 2 !!! (no error message) I have kernel 2.4.25 vanilla
Besides the problems that the other testers reported (which I didn't see with 2.6.4 gentoo-dev r1) the script is missing two '$' signs to test for 2.5 and 2.6. Original lines: kernel-mod_is_2_4_kernel && APPLY_25PATCH=0 [ "$APPLY_25PATCH" = "-1" ] && kernel-mod_is_2_5_kernel && APPLY_25PATCH=1 [ "APPLY_25PATCH" = "-1" ] && kernel-mod_is_2_6_kernel && APPLY_25PATCH=1 [ "APPLY_25PATCH" = "1" ] && epatch ${FILESDIR}/fix_memory_display_kernel2.5.diff.gz Modified lines: kernel-mod_is_2_4_kernel && APPLY_25PATCH=0 [ "$APPLY_25PATCH" = "-1" ] && kernel-mod_is_2_5_kernel && APPLY_25PATCH=1 [ "$APPLY_25PATCH" = "-1" ] && kernel-mod_is_2_6_kernel && APPLY_25PATCH=1 [ "$APPLY_25PATCH" = "1" ] && epatch ${FILESDIR}/fix_memory_display_kernel2.5.diff.gz
Doh ;( My bad. I've committed the fix to CVS - should be showing up on an rsync mirror near you in the hour. Thanks! Stu
Fine for me now
Closing old bug