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

Bug 226709

Summary: app-portage/gentoolkit-0.2.3-r1 euse kill CAMERAS="" from make.conf
Product: Gentoo Linux Reporter: toto <toto>
Component: Current packagesAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: minor CC: jer
Priority: High Keywords: InVCS
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description toto 2008-06-14 16:14:11 UTC
When use "euse" from stable version of gentoolkit he revome string with CAMERAS="" from /etc/make.conf


Reproducible: Always

Steps to Reproduce:
1.Write CAMERAS="*" to /etc/make.conf
2.euse -E hal
3.Nothing about CAMERAS in /etc/make.conf
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-14 16:32:50 UTC
I can't reproduce that. Please provide the output of `diff -u /etc/make.conf.euse_backup /etc/make.conf' and `emerge --info'.

Here's mine after adding the foo USE flag (euse -E foo):

--- /etc/make.conf.euse_backup	2008-06-14 18:28:17.204388000 +0200
+++ /etc/make.conf	2008-06-14 18:28:43.854103010 +0200
@@ -17,17 +17,20 @@
 PORTDIR_OVERLAY="/keeps/gentoo/local"
 PORT_LOGDIR="/keeps/gentoo/emergelogs/karsten"
 
-USE="a52 aac aalib acpi aio aoss oss apache2 asf audiofile bash-completion bl
-     bzip2 caps cdda cdparanoia chroot cpudetection cscope curl custom-cflags
-     dga dillo directfb dts dv dvdread dxr3 fbcon ffmpeg flash foomaticdb
-     -startup-notification -libnotify -kerberos -branding -acl freetype gd ggi gimpprint glitz glut gnutls gs gtk2 -guile i8x0 idn
-     imagemagick imap imlib java javascript kdeenablefinal lcms libcaca
-     libsamplerate live lm_sensors logitech-mouse logrotate lzo matroska mmx
-     mng modplug motif mozilla mozsvg mozxmlterm musepack nas network nsplugin
-     offensive pdf physfs pic qt real rtc ruby samba sasl server sftplogging
-     slang sndfile speex sse svg svga sysfs tcl tetex tga theora threads tiff
-     tk usb userlocales v4l v4l2 vcd vidix vlm winbind xanim xcomposite xlm2
-     xosd xvid xvmc zeroconf -arts -esd -ldap"
+USE="a52 aac aalib acpi aio aoss oss apache2 asf audiofile \
+     bash-completion bl bzip2 caps cdda cdparanoia chroot cpudetection cscope \
+     curl custom-cflags dga dillo directfb dts dv dvdread dxr3 fbcon \
+     ffmpeg flash foomaticdb -startup-notification -libnotify \
+     -kerberos -branding -acl freetype gd ggi gimpprint glitz glut \
+     gnutls gs gtk2 -guile i8x0 idn imagemagick imap imlib java \
+     javascript kdeenablefinal lcms libcaca libsamplerate live \
+     lm_sensors logitech-mouse logrotate lzo matroska mmx mng modplug \
+     motif mozilla mozsvg mozxmlterm musepack nas network nsplugin \
+     offensive pdf physfs pic qt real rtc ruby samba sasl server \
+     sftplogging slang sndfile speex sse svg svga sysfs tcl tetex tga \
+     theora threads tiff tk usb userlocales v4l v4l2 vcd vidix \
+     vlm winbind xanim xcomposite xlm2 xosd xvid xvmc zeroconf -arts \
+     -esd -ldap foo"
 
 LINGUAS="en nl fi"
 VIDEO_CARDS="i810 fbdev"

It left the CAMERAS="*" variable at the end of the file intact.
Comment 2 toto 2008-06-15 05:20:23 UTC
Hi Jeroen,
Heh, problem in 'No newline at end of file' =/
If add it, all cool =]

--- /etc/make.conf.euse_backup  2008-06-15 12:17:04.000000000 +0700
+++ /etc/make.conf      2008-06-15 12:17:10.000000000 +0700
@@ -57,4 +57,3 @@
 nv expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negot
 iation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrac
 k vhost_alias"
-CAMERAS="adc65"
\ No newline at end of file

Maybe add check for it ? =]
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-15 23:56:08 UTC
It's probably a good idea to post both files as attachments to this bug report.
Comment 4 Christian Ruppert (idl0r) gentoo-dev 2010-01-29 12:18:37 UTC
Is this issue still persistent with a recent gentoolkit version?
Comment 5 toto 2010-01-29 18:39:13 UTC
nope =]
btw new features/bug? after use "euse"

for example #euse -D mmx && euse -E mmx
add in /etc/make.conf two newline =]

output:
# LANG="" diff /etc/make.conf /etc/make.conf.d
71,72c71
< #source /usr/local/portage/layman/make.conf
<
---
> #source /usr/local/portage/layman/make.conf
\ No newline at end of file
Comment 6 Christian Ruppert (idl0r) gentoo-dev 2010-01-29 19:00:59 UTC
I've killed some "new lines" in euse which should be available in at least gentoolkit-0.3.0_rc8-r1.
So if that still happens in 0.3.0_rc8-r1 file a new bug please.