Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
!!! Found 2 make.conf files, using both ???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4019
Location: india

PostPosted: Sun Jan 20, 2013 5:14 am    Post subject: !!! Found 2 make.conf files, using both ??? Reply with quote

Code:
localhost ramaswamy # emerge googleearth
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sci-geosciences/googleearth-6.2.2.6613
>>> Downloading 'http://dl.google.com/dl/earth/client/current/google-earth-stable_current_i386.deb'
--2013-01-20 10:41:50--  http://dl.google.com/dl/earth/client/current/google-earth-stable_current_i386.deb
Resolving dl.google.com... 74.125.236.32, 74.125.236.33, 74.125.236.34, ...
Connecting to dl.google.com|74.125.236.32|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 30809718 (29M) [application/x-debian-package]
Saving to: ‘/usr/portage/distfiles/GoogleEarthLnux-6.2.2.6613_i386.deb’


how suddenly it finds 2 make.conf
till this time such a line was not present
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sun Jan 20, 2013 5:55 am    Post subject: Reply with quote

padoor,

make.conf should only be in /etc/portage. If you have two of them, one overrides the other - I forget which one actually takes precedence.

It appears that a check was added to emerge to warn for that condition.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4150

PostPosted: Sun Jan 20, 2013 10:07 am    Post subject: Reply with quote

/etc/portage/make.conf override /etc/make.conf, i use this because /etc/make.conf keep local settings and /etc/portage/make.conf is a symlink to a shared make.conf with my other hosts.

I'm sad to see this might be considered an error, even it's just a warning for now.
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4019
Location: india

PostPosted: Sun Jan 20, 2013 11:26 am    Post subject: Reply with quote

i see that now after that emerge the /etc/make.conf is not seen anymore.
it has been removed or merged with the portage/make.conf.
i cold not find a make.conf in /etc
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4150

PostPosted: Sun Jan 20, 2013 11:35 am    Post subject: Reply with quote

Please provide your portage version, i would like see if it really remove the /etc/make.conf
Back to top
View user's profile Send private message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4004

PostPosted: Sun Jan 20, 2013 12:28 pm    Post subject: Reply with quote

This is just a reaction to a bug (I forgot the number) which suggests that portage should warn if the old locations are found so that user do not get confused if one gets overridden by the other. I doubt that portage will stop to support the old locations.
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4019
Location: india

PostPosted: Sun Jan 20, 2013 12:43 pm    Post subject: Reply with quote

Code:
[I] sys-apps/portage
     Available versions:  [M]2.1.6.7_p1 2.1.11.9 2.1.11.31 ~2.1.11.33 ~2.1.11.36 ~*2.2.0_alpha142 ~*2.2.0_alpha144 ~*2.2.0_alpha147 **9999 {{build doc epydoc +ipc less linguas_pl pypy1_9 python2 python3 selinux xattr}}
     Installed versions:  2.1.11.31(12:00:54 12/23/12)(ipc -build -doc -epydoc -linguas_pl -pypy2_0 -python2 -python3 -selinux -xattr)
     Homepage:            http://www.gentoo.org/proj/en/portage/index.xml
     Description:         Portage is the package management and distribution system for Gentoo



Code:
tux ramaswamy # dir /etc
ConsoleKit         fstab           lsb-release    revdep-rebuild
DIR_COLORS         fuse.conf           lvm       rmt
ImageMagick         gai.conf           lxdm       rpc
NetworkManager         gconf           machine-id     rsyncd.conf
OpenCL            gentoo-release        mail       runlevels
UPower            ggz.modules        mailcap       sandbox.conf
X11            gnome-settings-daemon  man.conf       sandbox.d
acpi            gnome-vfs-2.0        mime.types     securetty
adobe            gnome-vfs-mime-magic   mke2fs.conf    security
ati            gpm           modprobe.d     sensors.d
bash            group           mplayer       sensors3.conf
bonobo-activation     group-           mtab       services
ca-certificates       gshadow           mtools       sgml
ca-certificates.conf  gshadow-           nanorc       shadow
conf.d            gtk-2.0           networks       shadow-
cpufreqd.conf         gtk-3.0           nscd.conf       shells
cron.daily         gxine           nsswitch.conf  skel
csh.env            host.conf           ntp.conf       sound
cups            hosts           pam.d       ssh
cupshelpers         hotplug           pango       ssl
dbus-1            hotplug.d           papersize       ssmtp
default            init.d           passwd       sudoers
dhcpcd.conf         inittab           passwd-       sudoers.d
dispatch-conf.conf    inputrc           pki       sysctl.conf
dmtab            issue           pm          sysctl.d
drirc            issue.logo        polkit-1       syslog-ng
e2fsck.conf         kernel           portage       terminfo
eclean            ld.so.cache        ppp       timezone
eixrc            ld.so.conf        prelink.conf   udev
env.d            ld.so.conf.d        profile       vmware
environment         libnl           profile.d       wgetrc
etc-update.conf       local.d           profile.env    whois.conf
filesystems         locale.gen        protocols       wpa_supplicant
fltk            localtime           qt4       xdg
fonts            login.defs        rc.conf       xinetd.d
foomatic         logrotate.d        resolv.conf    xml
tux ramaswamy # eix portage


the 2 make.conf message came up first time and then /etc/make.conf is missing
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum