The following message is displayed and fails to install on Gentoo/FBSD. >>> Install htop-0.8.3 into /var/tmp/portage/sys-process/htop-0.8.3/image/ category sys-process gmake -j3 DESTDIR=/var/tmp/portage/sys-process/htop-0.8.3/image/ install gmake install-recursive gmake[1]: Entering directory `/var/tmp/portage/sys-process/htop-0.8.3/work/htop-0.8.3' gmake[2]: Entering directory `/var/tmp/portage/sys-process/htop-0.8.3/work/htop-0.8.3' gmake[3]: Entering directory `/var/tmp/portage/sys-process/htop-0.8.3/work/htop-0.8.3' test -z "/usr/bin" || ./install-sh -c -d "/var/tmp/portage/sys-process/htop-0.8.3/image//usr/bin" test -z "/usr/share/applications" || ./install-sh -c -d "/var/tmp/portage/sys-process/htop-0.8.3/image//usr/share/applications" test -z "/usr/share/man/man1" || ./install-sh -c -d "/var/tmp/portage/sys-process/htop-0.8.3/image//usr/share/man/man1" /usr/bin/install -c -m 644 'htop.desktop' '/var/tmp/portage/sys-process/htop-0.8.3/image//usr/share/applications/htop.desktop' test -z "/usr/share/pixmaps" || ./install-sh -c -d "/var/tmp/portage/sys-process/htop-0.8.3/image//usr/share/pixmaps" /bin/bash ./libtool --mode=install /usr/bin/install -c 'htop' '/var/tmp/portage/sys-process/htop-0.8.3/image//usr/bin/htop' /usr/bin/install -c -m 644 './htop.1' '/var/tmp/portage/sys-process/htop-0.8.3/image//usr/share/man/man1/htop.1' /usr/bin/install -c -m 644 'htop.png' '/var/tmp/portage/sys-process/htop-0.8.3/image//usr/share/pixmaps/htop.png' /usr/bin/install -c htop /var/tmp/portage/sys-process/htop-0.8.3/image//usr/bin/htop gmake[3]: Leaving directory `/var/tmp/portage/sys-process/htop-0.8.3/work/htop-0.8.3' gmake[2]: Leaving directory `/var/tmp/portage/sys-process/htop-0.8.3/work/htop-0.8.3' gmake[1]: Leaving directory `/var/tmp/portage/sys-process/htop-0.8.3/work/htop-0.8.3' rmdir: /var/tmp/portage/sys-process/htop-0.8.3/image//usr/include: No such file or directory rmdir: /var/tmp/portage/sys-process/htop-0.8.3/image//usr/lib64: No such file or directory * ERROR: sys-process/htop-0.8.3 failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_install * environment, line 2543: Called die * The specific snippet of code: * rmdir "${ED}"/usr/{include,$(get_libdir)} || die * * If you need support, post the output of 'emerge --info =sys-process/htop-0.8.3', * the complete build log and the output of 'emerge -pqv =sys-process/htop-0.8.3'. * The complete build log is located at '/var/tmp/portage/sys-process/htop-0.8.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-process/htop-0.8.3/temp/environment'. * S: '/var/tmp/portage/sys-process/htop-0.8.3/work/htop-0.8.3' >>> Failed to emerge sys-process/htop-0.8.3, Log file: >>> '/var/tmp/portage/sys-process/htop-0.8.3/temp/build.log' * Messages for package sys-process/htop-0.8.3: * To use lsof features in htop(what processes are accessing * what files), you must have sys-process/lsof installed. * ERROR: sys-process/htop-0.8.3 failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_install * environment, line 2543: Called die * The specific snippet of code: * rmdir "${ED}"/usr/{include,$(get_libdir)} || die * * If you need support, post the output of 'emerge --info =sys-process/htop-0.8.3', * the complete build log and the output of 'emerge -pqv =sys-process/htop-0.8.3'. * The complete build log is located at '/var/tmp/portage/sys-process/htop-0.8.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-process/htop-0.8.3/temp/environment'. * S: '/var/tmp/portage/sys-process/htop-0.8.3/work/htop-0.8.3' Reproducible: Always Steps to Reproduce: 1. emerge '=sys-process/htop-0.8.3'
Created attachment 279219 [details, diff] patch for htop-0.8.3.ebuild plpa-1.1 is compiled on Linux. However, it is not compiled on FreeBSD. plpa-1.1 makes directory libdir and include. Because this compile is not done as for FreeBSD, the directory is not made. here is an investigation method of the cause. cd /var/tmp/portage/sys-process/htop-0.8.3/work/htop-0.8.3 grep -r 'test -z' * | grep lib grep -r 'test -z' * | grep include I think that both are found in plpa-1.1/src/Makefile*.
We really need to check the rmdir return code? I don't think it's so fatal.
Please try 0.9-r1.
No problem with 0.9-r1. Close.