Created attachment 281017 [details, diff] ntop-4.0.3-gentoo.patch Hi, when /var/lib/ntop/GeoIPASNum.dat is not installed (for example when ntop gets installed for the first time) installation of ntop-4.0.3 fails with the following error: install: cannot stat `3rd_party/GeoIPASNum.dat': No such file or directory !!! doins: 3rd_party/GeoIPASNum.dat does not exist doins failed * ERROR: net-analyzer/ntop-4.0.3 failed (install phase): * failed to install GeoIPASNum.dat * * Call stack: * ebuild.sh, line 56: Called src_install * environment, line 2805: Called die * The specific snippet of code: * [ -f "${ROOT}/var/lib/ntop/${f}" ] || doins "3rd_party/${f}" || die "failed to install ${f}"; * * If you need support, post the output of 'emerge --info =net-analyzer/ntop-4.0.3', * the complete build log and the output of 'emerge -pqv =net-analyzer/ntop-4.0.3'. * The complete build log is located at '/var/tmp/portage/net-analyzer/ntop-4.0.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/ntop-4.0.3/temp/environment'. * S: '/var/tmp/portage/net-analyzer/ntop-4.0.3/work/ntop-4.0.3' * QA Notice: file does not exist: * * doins: 3rd_party/GeoIPASNum.dat does not exist It seems like the ntop-4.0.3-gentoo.patch is missing the gunzip line so the affected file gets unzipped (and thus the .gz ending is removed and the file can be found) before the doins line comes into effect. The attached ntop-4.0.3-gentoo.patch is fixing this problem.
Lars, I only proxied this ebuild until Alin is back. I currently have no free chroot to test your patch. Feel free to commit it or wait until one of my chroots become available ;)
+ 10 Aug 2011; Lars Wendler <polynomial-c@gentoo.org> + files/ntop-4.0.3-gentoo.patch: + non-maintainer commit: Added missing gunzip line for GeoIPASNum.dat file (bug + #376453). Fixed patch committed with kind permission from hwoarang. +