Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 556514

Summary: app-portage/gentoolkit: euse can't source files from make.conf directory
Product: Portage Development Reporter: hexum <hexumg>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: CONFIRMED ---    
Severity: normal CC: esigra, redwolfe
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 346443    
Attachments: make.conf
emerge --info

Description hexum 2015-08-02 16:41:50 UTC
After convertion make.conf file to a directory euse doesn't source files from it but just tries source dirrectory as file.

Reproducible: Always

Steps to Reproduce:
1. convert make.conf to dirrectory (create directory /etc/portage/make.conf and move old make.conf to it)
2. start euse
Actual Results:  
/usr/bin/euse: line 286: source: /etc/portage/make.conf: is a directory
Comment 1 Pacho Ramos gentoo-dev 2015-08-06 13:16:00 UTC
Please attach your make.conf file and show emerge --info output
Comment 2 hexum 2015-08-06 20:18:43 UTC
Created attachment 408426 [details]

I've placed this file by this file and portage works fine.
Comment 3 hexum 2015-08-06 20:21:01 UTC
Created attachment 408428 [details]
emerge --info

File obtained this way
emerge --info >
Comment 4 Paul Varner (RETIRED) gentoo-dev 2015-10-16 18:13:50 UTC
I'm not sure how quickly, I'll be able to fix this. The euse code was written with the assumption the make.conf would always be a file. It's going to take some time to go through the code to fix that assumption and making sure that it doesn't break something else.
Comment 5 hexum 2016-09-22 12:47:43 UTC
Created attachment 447314 [details]

Original build log with error
Comment 6 hexum 2016-09-22 12:47:59 UTC
CFLAGS="-O2 -pipe -march=native" emerge glibc
compilation ended without any errors.
Comment 7 G.Wolfe Woodbury 2021-07-18 19:17:30 UTC
Here it is 2021-07-18 and gentoolkit/euse sttill cannot simply source the contents of /etc/portage/make.conf/* to detect what USE flags are present.

I'd like to bump this up in priority and make an RFE