Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556514 - app-portage/gentoolkit: euse can't source files from make.conf directory
Summary: app-portage/gentoolkit: euse can't source files from make.conf directory
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 346443
  Show dependency tree
 
Reported: 2015-08-02 16:41 UTC by hexum
Modified: 2021-07-18 19:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
make.conf (conf,5.62 KB, application/x-shellscript)
2015-08-06 20:18 UTC, hexum
Details
emerge --info (emerge.info,8.51 KB, text/plain)
2015-08-06 20:21 UTC, hexum
Details
build.log.gz (build.log.gz,81.27 KB, application/gzip)
2016-09-22 12:47 UTC, hexum
Details

Note You need to log in before you can comment on or make changes to this bug.
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]
make.conf

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

File obtained this way
emerge --info > 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]
build.log.gz

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