when emerging libgtop-2.26.1, it fails with the following error : [...] checking whether it is possible to resort to fread on /etc/mnttab... no configure: error: could not determine how to read list of mounted filesystems !!! Please attach the following file when seeking support: [...] Reproducible: Always Steps to Reproduce: emerge libgtop
Created attachment 207435 [details] build.log
Created attachment 207437 [details] config.log
Created attachment 207439 [details] ebuild environment file
--> CFLAGS='-O3 -march=pentium-m -pipe' <-- Please have a look at this link http://www.gentoo.org/doc/en/gcc-optimization.xml especially this line "Using -O3 is not recommended for gcc 4.x." so please re-try with standard and stable CFLAGS, by replacing -O3 with -O2
emerge --info please
Created attachment 207466 [details] output of emerge --info I didn't notice yesterday the configure message "configure: WARNING: sys/bitypes.h: present but cannot be compiled" I use a custom kernel and modify my linux-headers for some reason, it may be related.
sounds likely.
after emerging sys-kernel/linux-headers, the error disappeared. No other problem to report. Thank you for your time :)
reopening per provided information.
closing invalid per comment #6 and comment #8. Thanks for reporting.