[gentoo-user] Issues with =x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?

2012-05-22 Thread Andrey Moshbear
Lately, I've been having some issues with segfaults when running
startx and it's been pretty persistent.

Xorg.0.log and emerge --info are available at https://gist.github.com/2766926 .
Kernel config is available at https://gist.github.com/276943 .

I've tried downgrading, but =x11-drivers/xf86-video-ati-6.14.2 fails
to compile due to incomplete structs.

Is this more a driver or a hardware issue?

--
001100 m0shbear
010010
00 andrey at moshbear dot net
11 andrey dot vul at gmail
101101
110011



[gentoo-user] Re: Understanding new ruby dependencies

2012-05-22 Thread Hans de Graaff
On Mon, 21 May 2012 20:52:01 -0700, Chris Stankevitz wrote:

 Question: Is is true that the RUBY dependencies listed in the above
 paste link are entirely due to adding documentation support
 (specifically rdoc)?  If so, can I tell portage to not install the rdoc
 stuff?  I have USE=-doc already.

Yes, this is true. We do this because normally ruby contains a copy of 
rdoc. We unbundle that and thus the external rdoc implementation is 
installed. You can control this with the rdoc USE flag on dev-lang/ruby, 
but note that not installing rdoc is probably considered broken by 
upstream.

Kind regards,

Hans




Re: [gentoo-user] Re: Understanding new ruby dependencies

2012-05-22 Thread Chris Stankevitz
On Mon, May 21, 2012 at 11:07 PM, Hans de Graaff gra...@gentoo.org wrote:
 Yes, this is true. We do this because normally ruby contains a copy of
 rdoc. We unbundle that and thus the external rdoc implementation is
 installed.

Hans,

Thank you, I understand.

Apparently I have to add some ruby_targets_ruby19 USE flags to my
system.  I pasted a snippet of my /etc/portage/package.use below.  I
included some other entries for context.

Question 1: Is it true that, except for this new RUBY stuff, every
entry in my package.use file is an attempt by me to enable some
feature I want in a package I want?

Answer 1: Yes

Question 2: Does it seem weird that portage wants me to add USE flags
to enable some feature in a package I never heard of and have no
interest in and to top it off has a very weird name
(ruby_targets_ruby19)?

Answer 2: [your answer here]

The tone of this message might sound obnoxious, but it's just a
trick I am using to better ask my question.  I'm not complaining (I
don't even know enough about this to have a complaint), I'm really
just curious.

Thank you,

Chris

===

From /etc/portage/package.use:

# Give a GUI to cmake
dev-util/cmake qt4

# Enable git-svn, gitk, and git bash completion
dev-vcs/git tk bash-completion subversion
dev-vcs/subversion -dso perl

# Enable nice mounts in gnome
gnome-base/gvfs fuse

# Enable plotting in octave
sci-mathematics/octave gnuplot

# Satisfy Gentoo's desire to have RUBY and rdoc installed
dev-ruby/rubygems ruby_targets_ruby19
dev-ruby/rake ruby_targets_ruby19
dev-ruby/racc ruby_targets_ruby19
dev-ruby/rdoc ruby_targets_ruby19
dev-ruby/json ruby_targets_ruby19



Re: [gentoo-user] Re: Understanding new ruby dependencies

2012-05-22 Thread kwkhui
On Tue, 22 May 2012 11:01:45 -0700
Chris Stankevitz chrisstankev...@gmail.com wrote:

 Apparently I have to add some ruby_targets_ruby19 USE flags to my
 system.

No!  Don't do that!  Instead, you should add a line

RUBY_TARGETS=ruby19

in your make.conf (or RUBY_TARGETS=ruby18 ruby19) and let portage do
the USE_EXPAND to ruby_targets_ruby19 (respectively,
ruby_targets_ruby18 ruby_targets_ruby19) itself for the relevant
packages. See ${PORTDIR}/profiles/desc/ruby_targets.desc for
description.  It is much easier and more intuitive this way, since you
are not doing weird things like building package A for ruby18 but not
package B.

 Question 2: Does it seem weird that portage wants me to add USE flags
 to enable some feature in a package I never heard of and have no
 interest in and to top it off has a very weird name
 (ruby_targets_ruby19)?

The weird name is a result of USE_EXPANDing RUBY_TARGETS, just like
LINGUAS and SANE_BACKENDS, for example.

Kerwin.


signature.asc
Description: PGP signature


[gentoo-user] desktop colors and widgets are weird after update

2012-05-22 Thread Grant
I just updated about a week's worth of stuff including an xfce4
update.  After rebooting, my desktop colors and widgets are all kinda
weird.  I've seen this sort of thing before but I'm not sure what
causes it.  qt stuff acts like this sometimes until I do some sort of
a qt config, but this is just about everything including firefox and
chromium.  Is that enough info to point me in the right direction?

- Grant



Re: [gentoo-user] desktop colors and widgets are weird after update

2012-05-22 Thread Alan McKinnon
On Tue, 22 May 2012 11:59:48 -0700
Grant emailgr...@gmail.com wrote:

 I just updated about a week's worth of stuff including an xfce4
 update.  After rebooting, my desktop colors and widgets are all kinda
 weird.  I've seen this sort of thing before but I'm not sure what
 causes it.  qt stuff acts like this sometimes until I do some sort of
 a qt config, but this is just about everything including firefox and
 chromium.  Is that enough info to point me in the right direction?

No, not enough info.

I suggest posting everything that got updated (using genlop) and a good
description of how stuff on the scrren is weird. Sounds like a
screenshot posting is very justified too.

First gut feel tells me it won't be Qt as firefox doesn't use it.

Drivers maybe? Xorg itself?

Is there anything in your elogs about steps to take with anything
related to X?

Does an X restart (or even a reboot) affect it at all?


-- 
Alan McKinnnon
alan.mckin...@gmail.com




[gentoo-user] OT: mount so that other users can write to mounted dir?

2012-05-22 Thread Walter Dnes
  I'm not really a fan of automount, but I understand that lots of
people are.  I'm trying to get it fully functional under mdev, and then
do a write-up on the wiki page.  A Google search turns up lots of
examples of code.  However, the examples are for embedded devices, and
they assume the only user is root.  I've got the automounting and
autounmounting working.  Everybody can read the mounted USB stick, but
only root can write.  I've tried pmount with the umask option, but it
doesn't help.  Assume the scrpt gets passed MDEV=sdb1

#
# Create the directory in /media
   mkdir -p /media/${MDEV}
#
# Change permissions to allow read+write by all
   chmod 777 /media/${MDEV}
#
# Mount the directory in /media
   pmount  --noatime --umask 000 /dev/${MDEV}

  But after the mount...
user2@aa1 /media $ ll
total 3
drwxr-xr-x  3 root root 1024 May 22 19:02 .
drwxr-xr-x 19 root root 1024 May 21 20:41 ..
drwxr-xr-x  5 root root 1024 May 16 01:42 sdb1

  Every directory and file belongs to user:group root:root.  On the USB
stick all directories are 755 and files are 744.  As a heavy-handed ugly
hack, I could...

chgrp -R users /media/${MDEV}
chmod -R g+w /media/${MDEV}

to a USB stick.  I obviously don't wnt to do that on the external USB
drive that I rsync my system to every few weeks.  Any ideas?  And oh
yes, I do realize I'm trying to re-invent the wheel.  The old one has
a broken udev :(

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] OT: mount so that other users can write to mounted dir?

2012-05-22 Thread Alan McKinnon
On Tue, 22 May 2012 20:26:03 -0400
Walter Dnes waltd...@waltdnes.org wrote:

   I'm not really a fan of automount, but I understand that lots of
 people are.  I'm trying to get it fully functional under mdev, and
 then do a write-up on the wiki page.  A Google search turns up lots of
 examples of code.  However, the examples are for embedded devices, and
 they assume the only user is root.  I've got the automounting and
 autounmounting working.  Everybody can read the mounted USB stick, but
 only root can write.  I've tried pmount with the umask option, but it
 doesn't help.  Assume the scrpt gets passed MDEV=sdb1
 
 #
 # Create the directory in /media
mkdir -p /media/${MDEV}
 #
 # Change permissions to allow read+write by all
chmod 777 /media/${MDEV}
 #
 # Mount the directory in /media
pmount  --noatime --umask 000 /dev/${MDEV}
 
   But after the mount...
 user2@aa1 /media $ ll
 total 3
 drwxr-xr-x  3 root root 1024 May 22 19:02 .
 drwxr-xr-x 19 root root 1024 May 21 20:41 ..
 drwxr-xr-x  5 root root 1024 May 16 01:42 sdb1
 
   Every directory and file belongs to user:group root:root.  On the
 USB stick all directories are 755 and files are 744.  As a
 heavy-handed ugly hack, I could...
 
 chgrp -R users /media/${MDEV}
 chmod -R g+w /media/${MDEV}
 
 to a USB stick.  I obviously don't wnt to do that on the external USB
 drive that I rsync my system to every few weeks.  Any ideas?  And oh
 yes, I do realize I'm trying to re-invent the wheel.  The old one has
 a broken udev :(
 

What filesystem is on that stick?

For vfat and ntfs what you are truing should work.
For Unix file systems (ext*, reiser, etc), it will not work. You cannot
override owners and permissions with the mount command on those.




-- 
Alan McKinnnon
alan.mckin...@gmail.com




Re: [gentoo-user] Re: Understanding new ruby dependencies

2012-05-22 Thread Chris Stankevitz
On Tue, May 22, 2012 at 11:32 AM,  kwk...@hkbn.net wrote:
 No!  Don't do that!  Instead, you should add a line

 RUBY_TARGETS=ruby19

Kerwin,

Thank you for the warning.  I'm embarrassed to say that I had
absolutely no idea the proper way to deal with this change.  Also
embarrassing is that I never heard of USE_EXPAND before (nor have I
ever even heard of RUBY).

How was I supposed to learn the proper way of dealing with this
RUBY-related system change?
a) the gentoo handbook
b) reading ebuild notices
c) reading enews
d) just should have known
e) just follow emerge's USE recommendations and I would have been
blissfully ignoring and all would work
f) [your idea here]

Thank you,

Chris



Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails

2012-05-22 Thread Michael Scherer
On Thu, 17 May 2012 22:59:41 +0200
Alex Schuster wo...@wonkology.org wrote:

 Michael Scherer writes:
 
  1) make output:
  
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALLscripts/checksyscalls.sh
CHK include/generated/compile.h
LD  init/mounts.o
  ls -Al -m elf_x86_64 -r -o init/mounts.o init/do_mounts.o
  init/do_mounts_initrd.o init/mounts.o: No such file or directory
  make[1]: *** [init/mounts.o] Error 1
  make: *** [init] Error 2
  
  There is an LD, the ls line is part of the error message.
 
 But the options look really more like ld options to me. How this could
 possibly happen, I don't know. Some overriding of $(LD) perhaps? Does
 env | egrep -i 'ls|ld' show something weird? Does it also fail as a
 non-root user, after you copied the stuff over to somewhere where this
 user can write? Just grasping at straws here.
 
 
  But without doubt you are right that mounts.o is not built, for
  whatever reason.
 
 Because ld should build it from init/do_mounts.o, but ls is being
 called instead?
 
  The build command
  
  init/.do_mounts.o.cmd:cmd_init/do_mounts.o := gcc
  -Wp,-MD,init/.do_mounts.o.d -nostdinc
  -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include
  -I/usr/src/linux-3.2.12-gentoo/arch/x86/include
  -Iarch/x86/include/generated -Iinclude
  -include /usr/src/linux-3.2.12-gentoo/include/linux/kconfig.h
  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
  -fno-strict-aliasing -fno-common
  -Werror-implicit-function-declaration -Wno-format-security
  -fno-delete-null-pointer-checks -O2 -m64 -march=k8 -mno-red-zone
  -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args
  -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1
  -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe
  -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx
  -mno-sse2 -mno-3dnow -Wframe-larger-than=2048
  -fno-omit-frame-pointer -fno-optimize-sibling-calls
  -fno-inline-functions-called-once -Wdeclaration-after-statement
  -Wno-pointer-sign -fno-strict-overflow -fconserve-stack
  -DCC_HAVE_ASM_GOTO -DKBUILD_STR(s)=\#s
  -DKBUILD_BASENAME=KBUILD_STR(do_mounts)
  -DKBUILD_MODNAME=KBUILD_STR(mounts) -c -o init/do_mounts.o
  init/do_mounts.c
  
  contains a directive to build mounts.o, see second last line, but
  it for some reason this is ignored.
  Maybe there is a flaw in that command, only I can't find it.
 
 Neither can I. Is this command executed at all? If you maybe replace
 the 'gcc' by 'gccXXX', does this give an error? Or put an 'echo' in
 front of the gcc'.
 You can try 'make -d', this will give you LOTS of debug output, but I
 don't think you will see the actual commands then.
 
   Wonko
 

Now at last there is some kind of progress. Last thing I tried was
replacing my current .config with that of my previous kernel (3.2.1-r2)
and at least the make ran all the way up to the point where it should
link everything to build vmlinux, only now it tells me it couldn't
find vmlinux.o.

The last couple of lines from the make output:

  CC  arch/x86/lib/cache-smp.o
  CC  arch/x86/lib/msr.o
  AS  arch/x86/lib/msr-reg.o
  CC  arch/x86/lib/msr-reg-export.o
  AS  arch/x86/lib/iomap_copy_64.o
  LD  arch/x86/lib/built-in.o
ls -Al -m elf_x86_64 -r -o arch/x86/lib/built-in.o
arch/x86/lib/msr-smp.o arch/x86/lib/cache-smp.o arch/x86/lib/msr.o
arch/x86/lib/msr-reg.o arch/x86/lib/msr-reg-export.o
arch/x86/lib/iomap_copy_64.o
  AS  arch/x86/lib/clear_page_64.o
  AS  arch/x86/lib/cmpxchg16b_emu.o
  AS  arch/x86/lib/copy_page_64.o
  AS  arch/x86/lib/copy_user_64.o
  AS  arch/x86/lib/copy_user_nocache_64.o
  AS  arch/x86/lib/csum-copy_64.o
  CC  arch/x86/lib/csum-partial_64.o
  CC  arch/x86/lib/csum-wrappers_64.o
  CC  arch/x86/lib/delay.o
  AS  arch/x86/lib/getuser.o
  GEN arch/x86/lib/inat-tables.c
  CC  arch/x86/lib/inat.o
  CC  arch/x86/lib/insn.o
  AS  arch/x86/lib/memcpy_64.o
  AS  arch/x86/lib/memmove_64.o
  AS  arch/x86/lib/memset_64.o
  AS  arch/x86/lib/putuser.o
  AS  arch/x86/lib/rwlock.o
  AS  arch/x86/lib/rwsem.o
  AS  arch/x86/lib/thunk_64.o
  CC  arch/x86/lib/usercopy.o
  CC  arch/x86/lib/usercopy_64.o
  AR  arch/x86/lib/lib.a
  LD  vmlinux.o
ls -Al -m elf_x86_64 -r -o vmlinux.o arch/x86/kernel/head_64.o
arch/x86/kernel/head64.o arch/x86/kernel/head.o
arch/x86/kernel/init_task.o init/built-in.o --start-group
usr/built-in.o arch/x86/built-in.o kernel/built-in.o mm/built-in.o
fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o
block/built-in.o lib/lib.a arch/x86/lib/lib.a lib/built-in.o
arch/x86/lib/built-in.o drivers/built-in.o sound/built-in.o
firmware/built-in.o arch/x86/pci/built-in.o arch/x86/power/built-in.o
arch/x86/video/built-in.o net/built-in.o --end-group
 MODPOST vmlinux.o
  vmlinux.o: No such file or directory make[1]: ***
  [vmlinux.o] Error 1 make: *** 

Re: [gentoo-user] Re: Understanding new ruby dependencies

2012-05-22 Thread Michael Orlitzky
On 05/22/2012 09:10 PM, Chris Stankevitz wrote:
 
 How was I supposed to learn the proper way of dealing with this
 RUBY-related system change?

The way I learned was by watching the emerge output:

  $ emerge -pv dev-ruby/rails

  These are the packages that would be merged, in order:

  Calculating dependencies... done!
  [ebuild  N ] app-admin/eselect-rails-0.16  2 kB
  [ebuild  N ] dev-ruby/tmail-1.2.7.1-r2  USE=-debug -doc -test
  RUBY_TARGETS=ruby18 -jruby -ree18 436 kB

and wondering, RUBY_TARGETS, what the hell is that?

I'm sure there's a proper way, but that's the way I've discovered all of
the USE_EXPAND variables. LINGUAS was the first, then I noticed
ALSA_CARDS, APACHE2_MODULES, XFCE_PLUGINS...

The default list can be found in,

  /usr/portage/profiles/base/make.defaults



Re: [gentoo-user] desktop colors and widgets are weird after update

2012-05-22 Thread Philip Webb
120522 Grant wrote:
 I just updated about a week's worth of stuff including an xfce4 update.
 my desktop colors and widgets are all kinda weird.
 this is just about everything including firefox chromium.

1st suggestion is to look at Xfce settings :
a lot of changes have been reported in 4.10 .
I use Fluxbox, but have used Xfce4 in the past
 it sb ok once you get the latest version properly configured.
I updated to Qt 4.8.1 recently  haven't had any problems there.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Re: Understanding new ruby dependencies

2012-05-22 Thread kwkhui
On Tue, 22 May 2012 23:16:00 -0400
Michael Orlitzky mich...@orlitzky.com wrote:

 On 05/22/2012 09:10 PM, Chris Stankevitz wrote:
  
  How was I supposed to learn the proper way of dealing with this
  RUBY-related system change?

That change was committed two-and-a-half years ago in the eclass:

http://archives.gentoo.org/gentoo-dev/msg_2305dbeaaf5b02cb74a84c9b06333708.xml

and the Gentoo Ruby project has a section on it

http://www.gentoo.org/proj/en/prog_lang/ruby/index.xml

Actually I learnt the RUBY_TARGETS from flameeyes's blog two years ago

http://blog.flameeyes.eu/2010/02/ruby-ng-package-in-a-bottle-or-learn-how-to-write-a-new-ruby-ebuild

 The way I learned was by watching the emerge output:
 
   $ emerge -pv dev-ruby/rails
 
   These are the packages that would be merged, in order:
 
   Calculating dependencies... done!
   [ebuild  N ] app-admin/eselect-rails-0.16  2 kB
   [ebuild  N ] dev-ruby/tmail-1.2.7.1-r2  USE=-debug -doc -test
   RUBY_TARGETS=ruby18 -jruby -ree18 436 kB
 
 and wondering, RUBY_TARGETS, what the hell is that?
 
 I'm sure there's a proper way, but that's the way I've discovered all
 of the USE_EXPAND variables. LINGUAS was the first, then I noticed
 ALSA_CARDS, APACHE2_MODULES, XFCE_PLUGINS...
 
 The default list can be found in,
 
   /usr/portage/profiles/base/make.defaults

I suggest keeping an eye on ${PORTDIR}/profiles/desc directory too.
This is where every one of the USE_EXPAND variables is explained in
details.

Kerwin.


signature.asc
Description: PGP signature