Calculate Linux use /etc/portage/make.conf as directory by default. flaggie crashes with error: "IsADirectoryError: [Errno 21] Is a directory: '/etc/portage/make.conf'" Reproducible: Always Steps to Reproduce: 1. Operating System - Calculate Linux. 2. flaggie app-misc/mc +sftp Actual Results: LANG=en_US.UTF-8 flaggie calculate-sources +build Traceback (most recent call last): File "/usr/lib/python-exec/python3.5/flaggie", line 25, in <module> sys.exit(main(sys.argv)) File "/usr/lib64/python3.5/site-packages/flaggie/cli.py", line 195, in main porttree, cache) File "/usr/lib64/python3.5/site-packages/flaggie/makeconf.py", line 535, in __init__ mf = self.MakeConfFile(path) File "/usr/lib64/python3.5/site-packages/flaggie/makeconf.py", line 455, in __init__ f = codecs.open(path, 'r', 'utf8') File "/usr/lib64/python3.5/codecs.py", line 895, in open file = builtins.open(filename, mode, buffering) IsADirectoryError: [Errno 21] Is a directory: '/etc/portage/make.conf' > cat make.conf cat: make.conf: Is a directory > ls -l /etc/portage/make.conf total 12 -rw-r--r-- 1 root root 653 Jan 11 11:35 0-base -rw-r--r-- 1 root root 451 Jan 18 12:51 binhost -rw-r--r-- 1 root root 1090 Dec 2 01:52 custom > uname -a Linux calculate 4.9.34-calculate #1 SMP PREEMPT Thu Jun 29 11:17:11 UTC 2017 x86_64 Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz GenuineIntel GNU/Linux
Created attachment 515242 [details] emerge --info flaggie
I have also encountered this on Calculate Linux CCS/20 (lxd container). Can the Status be updated to 'CONFIRMED'? Thank you!