From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G3dWs-0006Vb-0b for garchives@archives.gentoo.org; Thu, 20 Jul 2006 18:45:46 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6KIhIie010577; Thu, 20 Jul 2006 18:43:18 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6KIb0oF002381 for ; Thu, 20 Jul 2006 18:37:01 GMT Received: by nf-out-0910.google.com with SMTP id m19so597297nfc for ; Thu, 20 Jul 2006 11:37:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=MAKXvlCbsv1429d/GuI6xWQ5phmIkocnaOBHMm7JqMo1K+zouyM27LTKM0SkzROwN3MN0VjAd9Qxyfu7rjMqZ5DCUqXyVRzS4TP+tlqp1SNNXiu/VTFe4SzxsFYGR2ya5kj68D4bwEukT0GmSVdmc79TkYV3oS5Yl7Qtb8wLyAY= Received: by 10.78.193.5 with SMTP id q5mr761955huf; Thu, 20 Jul 2006 11:37:00 -0700 (PDT) Received: by 10.78.16.7 with HTTP; Thu, 20 Jul 2006 11:37:00 -0700 (PDT) Message-ID: <7573e9640607201137j1e909045geadee5135b32603d@mail.gmail.com> Date: Thu, 20 Jul 2006 11:37:00 -0700 From: "Richard Fish" Sender: richard.j.fish@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] xorg-x11, $VIDEO_CARDS & binary packages In-Reply-To: <200607202019.25875.alexander.puchmayr@linznet.at> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200607190651.03398.alexander.puchmayr@linznet.at> <200607200744.21927.alexander.puchmayr@linznet.at> <7573e9640607200040s7127d16bxf8e275bb19be9107@mail.gmail.com> <200607202019.25875.alexander.puchmayr@linznet.at> X-Google-Sender-Auth: 32b43c37e1c6f754 X-Archives-Salt: 93dbd2d2-1e5f-42bc-b00b-a1047034611c X-Archives-Hash: 9363270bef1ab2bcd8f5e4b965f8904b On 7/20/06, Alexander Puchmayr wrote: > The problem came when I wanted to INSTALL the packages on the target > machine, where portage seems to ignore the VIDEO_CARDS variable > from /etc/make.conf for some reason. Because it uses the VIDEO_CARDS variable from the binary package. In other words, the VIDEO_CARDS variable of your build system does not match the target system. As Randy said, you cannot change the useflags (and VIDEO_CARDS are a kind of useflag) of a binary package. A quick demonstration: My normal xorg-x11 merging: carcharias src # emerge -pv xorg-x11 [ebuild R ] x11-base/xorg-x11-7.0-r1 USE="-3dfx" INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -magictouch -microtouch -mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="fbdev nv nvidia vesa -apm -ark -chips -cirrus -cyrix -dummy -fglrx -glint -i128 -i740 -i810 -imstt -mach64 -mga -neomagic -nsc -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vga -via -vmware -voodoo" 0 kB Since my binary packages were built on this system, using the binary package is the same: carcharias src # emerge -pv -k xorg-x11 [binary R ] x11-base/xorg-x11-7.0-r1 USE="-3dfx" INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -magictouch -microtouch -mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="fbdev nv nvidia vesa -apm -ark -chips -cirrus -cyrix -dummy -fglrx -glint -i128 -i740 -i810 -imstt -mach64 -mga -neomagic -nsc -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vga -via -vmware -voodoo" Now "simulate" a system with different VIDEO_CARDS by adding fglrx: carcharias src # VIDEO_CARDS="fbdev nv nvidia vesa fglrx" emerge -pv xorg-x11 [ebuild N ] x11-drivers/ati-drivers-8.26.18-r1 USE="-acpi -doc -opengl" 23,160 kB [ebuild R ] x11-base/xorg-x11-7.0-r1 USE="-3dfx" INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -magictouch -microtouch -mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="fbdev fglrx* nv nvidia vesa -apm -ark -chips -cirrus -cyrix -dummy -glint -i128 -i740 -i810 -imstt -mach64 -mga -neomagic -nsc -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vga -via -vmware -voodoo" 0 kB So it recognized that I added fglrx,and wants to add x11-drivers/ati-drivers. Now let's try that with the binary package, that now does not match my "target" system: carcharias src # VIDEO_CARDS="fbdev nv nvidia vesa fglrx" emerge -pv --usepkgonly xorg-x11 [binary R ] x11-base/xorg-x11-7.0-r1 USE="-3dfx" INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -magictouch -microtouch -mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="fbdev nv nvidia vesa -apm -ark -chips -cirrus -cyrix -dummy -fglrx -glint -i128 -i740 -i810 -imstt -mach64 -mga -neomagic -nsc -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vga -via -vmware -voodoo" See, no fglrx and no merging of ati-drivers, even though fglrx is in my VIDEO_CARDS. HTH, -Richard -- gentoo-user@gentoo.org mailing list