This is basc-1.5.7. There are several bugs fixed, three of them were listed here on bugs.gentoo.org. One bug caused basc to exit at the kernel- or x11-configuration detection. There is also one new feature with which someone can help us in enlarging the files-database for the file-search feature on gentoo-stats.org. For more details on the fixes and changes, please read the changelog: http://www.gentoo-stats.org/index.php?c=changelog There were no arch-dependent changes either in the client nor in the ebuild. A few words to the ebuild: It is absolutly the same ebuild as for 1.5.6. The KEYWORDS is empty, there is no draw_line() function and all tabs are correct. Please test it on several arches and mark it with the appropriate KEYWORDs. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 48695 [details] basc-1.5.7
| cp /var/log/emerge* ${D}/etc/basc shouldn't that be done at merge time?
how do you mean this? the command is in src_instal(), so it will be done at merge time, or not? the /var/log/emerge.* can only be copied if the directory /etc/basc exists, which also will be created in src_install().
I think you want the emerge.log file of the machine where you run basc. If you add it in src_install then you add emerge.log of the machine on which you compile. In most cases it is the same but it can be different. I think it should be in pkg_postinst.
really no. It must be the emerge.log on which the packages (also in the future) will be compiled. Because this emerge.log is needed to calculate the GU (mergetime-factor), from which every other mergetime for any package could be calculated. I hope everybody can understand my english... :(
pkg_postinstall is the correct option. I'll have a look at fixing.
ok, it's fixed. Giving it a test and bumping the version in cvs.
one last comment: i had a talk last night with Alexander. if i understood this correctly emerge.log is only used to determine the time it takes to install gcc. This is then only used to estimate the installation time for other packages and doesn't change the statistics on the webpage. Alexander, putting it into pkg_postinst is the right fix. Emerge.log should not be copied earlier. A solution might be: give the user the chance to adjust the time for installing gcc when installing basc (how long does it take in minutes or give a emerge.log file - maybe you find a better solution).
oh, now the last: forget the wrong parts of my second paragraph.