Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374221 - sys-process/htop-0.8.3 install fails on g/fbsd
Summary: sys-process/htop-0.8.3 install fails on g/fbsd
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 12:19 UTC by Yuta SATOH
Modified: 2011-08-05 10:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for htop-0.8.3.ebuild (htop-0.8.3.ebuild.patch,357 bytes, patch)
2011-07-06 12:21 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2011-07-06 12:19:54 UTC
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'
Comment 1 Yuta SATOH 2011-07-06 12:21:16 UTC
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*.
Comment 2 Naohiro Aota gentoo-dev 2011-07-25 10:17:11 UTC
We really need to check the rmdir return code? I don't think it's so fatal.
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2011-07-26 21:41:17 UTC
Please try 0.9-r1.
Comment 4 Naohiro Aota gentoo-dev 2011-08-05 10:37:22 UTC
No problem with 0.9-r1. Close.