Re: [gentoo-user] hw problems

2019-07-22 Thread Adam Carter
Also these look nasty;
Jul 15 01:07:25 draken-korin kernel: mce: [Hardware Error]: Machine check
events logged
Jul 15 01:07:25 draken-korin kernel: mce: [Hardware Error]: CPU 0: Machine
Check: 0 Bank 6: ee200040110a
Jul 15 01:07:25 draken-korin kernel: mce: [Hardware Error]: TSC 0 ADDR
fef1cf80 MISC 43880010086
Jul 15 01:07:25 draken-korin kernel: mce: [Hardware Error]: PROCESSOR
0:806e9 TIME 1563152768 SOCKET 0 APIC 0 microcode 30
Jul 15 01:07:25 draken-korin kernel: mce: [Hardware Error]: Machine check
events logged
Jul 15 01:07:25 draken-korin kernel: mce: [Hardware Error]: CPU 0: Machine
Check: 0 Bank 7: ee200040110a
Jul 15 01:07:25 draken-korin kernel: mce: [Hardware Error]: TSC 0 ADDR
fef1ff00 MISC 43880010086
Jul 15 01:07:25 draken-korin kernel: mce: [Hardware Error]: PROCESSOR
0:806e9 TIME 1563152768 SOCKET 0 APIC 0 microcode 30

Is the system overheating?

https://en.wikipedia.org/wiki/Machine-check_exception has some links to MCE
decode programs


Re: [gentoo-user] hw problems

2019-07-22 Thread Adam Carter
> I think device [8086:9d14] which errors out is a wireless card ... ?
>
>
Looking up that ID via https://pci-ids.ucw.cz/read/PC/8086/9d14 it shows up
as "Sunrise Point-LP PCI Express Root Port #5"

The closest hit i can find otherwise is;
grep '8086 9d' /usr/share/misc/pci.ids
8086 9d60  100 Series PCH/Sunrise Point PCH I2C0 [Skylake/Kaby Lake LPSS
I2C]

Still, I like the idea of removing (or disabling in BIOS) the WLAN
interface to see if that helps. Otherwise i'd be removing any other
non-essential PCIE cards, and reseating any essential ones.


Re: [gentoo-user] Can't compile x11-libs/libXt

2019-07-22 Thread Jack

On 2019.07.22 09:02, Jens Pelzetter wrote:

Hello everyone,

recently x11-libs/libXt was updated to version 1.2.0. On one of  
systems

1.2.0 does not compile. The error is rather strange:

checking for i686-pc-linux-gnu-cpp... /usr/bin/i686-pc-linux-gnu-cpp
checking if /usr/bin/i686-pc-linux-gnu-cpp requires -undef...  *
gcc-config: No gcc profile is active!
/usr/bin/gcc-config: line 76: /etc/env.d/gcc/config-i686-pc-linux-gnu:
No such file or directory
gcc-config: error: could not run/locate 'i686-pc-linux-gnu-cpp'
 * gcc-config: No gcc profile is active!
/usr/bin/gcc-config: line 76: /etc/env.d/gcc/config-i686-pc-linux-gnu:
No such file or directory
gcc-config: error: could not run/locate 'i686-pc-linux-gnu-cpp'
 * gcc-config: No gcc profile is active!
/usr/bin/gcc-config: line 76: /etc/env.d/gcc/config-i686-pc-linux-gnu:
No such file or directory
gcc-config: error: could not run/locate 'i686-pc-linux-gnu-cpp'
configure: error: /usr/bin/i686-pc-linux-gnu-cpp defines unix with or
without -undef.  I don't know what to do.

The systems is a multilib systems (32 and 64 Bit). I suspect that it  
is
not a bug in the libXt ebuild but a problem with my system, but I  
can't

figure out what the problem is. Any help is appreciated.

build.log, environment etc. are attached.

Best regards

Do you have a gcc profile selected?  "gcc-config -l" should list the  
available ones and indicate which is selected.


Jack


Re: [gentoo-user] Imagemagick not being detected by emacs

2019-07-22 Thread David Haller
Hello,

On Sun, 21 Jul 2019, James Stevenson wrote:
>I'm struggling to get emacs to incorporate imagemagick to allow for
>rudimental image viewing and manipulation functionality. I have both
>media-gfx/imagemagick-7.0.8-50 and app-editors/emacs-26.2 installed.

Save the attached patch I found upstream as this commit[1] for emacs-27

/etc/portage/patches/app-editors/emacs-26.2/ImageMagick-7.patch

and change the emacs-26.2.ebuild (or better a copy in your local
overlay) so that

AT_M4DIR=m4 eautoreconf

is run at the end of src_prepare() which is already there but
commented out.

HTH,
-dnh

[1] 
https://github.com/emacs-mirror/emacs/commit/5729486951e6a60db55ea17ee3bac9baf8b54f6a


-- 
Ok, I'm just uploading the new version of the kernel, v1.3.33, also
known as "the buggiest kernel ever".  -- Linus Torvalds:100644 100644 e5d094cf9e f9bbccda0c M	configure.ac
:100644 100644 b9ff3f25c4 7e518ce34f M	src/image.c

diff --git a/configure.ac b/configure.ac
index e5d094cf9e..f9bbccda0c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2518,9 +2518,16 @@ if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes" || test "${HAVE_W32}"
 
 ## 6.3.5 is the earliest version known to work; see Bug#17339.
 ## 6.8.2 makes Emacs crash; see Bug#13867.
-## 7 and later have not been ported to; See Bug#25967.
-IMAGEMAGICK_MODULE="Wand >= 6.3.5 Wand != 6.8.2 Wand < 7"
-EMACS_CHECK_MODULES([IMAGEMAGICK], [$IMAGEMAGICK_MODULE])
+IMAGEMAGICK7_MODULE="MagickWand >= 7"
+IMAGEMAGICK6_MODULE="Wand >= 6.3.5 Wand != 6.8.2"
+# As we check for ImageMagick 7 then 6 track which version we find
+EMACS_CHECK_MODULES([IMAGEMAGICK], [$IMAGEMAGICK7_MODULE])
+AS_IF([test $HAVE_IMAGEMAGICK = yes],
+  [IMAGEMAGICK_MAJOR=7],
+  [
+EMACS_CHECK_MODULES([IMAGEMAGICK], [$IMAGEMAGICK6_MODULE])
+AS_IF([test $HAVE_IMAGEMAGICK = yes], [IMAGEMAGICK_MAJOR=6])
+  ])
 
 if test $HAVE_IMAGEMAGICK = yes; then
   OLD_CFLAGS=$CFLAGS
@@ -2540,6 +2547,8 @@ if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes" || test "${HAVE_W32}"
 fi
 if test $HAVE_IMAGEMAGICK = yes; then
   AC_DEFINE([HAVE_IMAGEMAGICK], 1, [Define to 1 if using ImageMagick.])
+  AC_DEFINE_UNQUOTED([IMAGEMAGICK_MAJOR], [$IMAGEMAGICK_MAJOR],
+ [ImageMagick major version number (from configure).])
 else
   IMAGEMAGICK_CFLAGS=
   IMAGEMAGICK_LIBS=
@@ -5460,7 +5469,7 @@ AS_ECHO(["  Does Emacs use -lXaw3d? ${HAVE_XAW3D
   Does Emacs use -lrsvg-2?${HAVE_RSVG}
   Does Emacs use cairo?   ${HAVE_CAIRO}
   Does Emacs use -llcms2? ${HAVE_LCMS2}
-  Does Emacs use imagemagick (version 6)? ${HAVE_IMAGEMAGICK}
+  Does Emacs use imagemagick? ${HAVE_IMAGEMAGICK}
   Does Emacs support sound?   ${HAVE_SOUND}
   Does Emacs use -lgpm?   ${HAVE_GPM}
   Does Emacs use -ldbus?  ${HAVE_DBUS}
diff --git a/src/image.c b/src/image.c
index b9ff3f25c4..7e518ce34f 100644
--- a/src/image.c
+++ b/src/image.c
@@ -8273,11 +8273,20 @@ imagemagick_image_p (Lisp_Object object)
 /* The GIF library also defines DrawRectangle, but its never used in Emacs.
Therefore rename the function so it doesn't collide with ImageMagick.  */
 #define DrawRectangle DrawRectangleGif
-#include 
+
+#if IMAGEMAGICK_MAJOR == 6
+# include 
+# include 
+#else
+# include 
+# include 
+/* ImageMagick 7 compatibility definitions */
+# define PixelSetMagickColor PixelSetPixelColor
+typedef PixelInfo MagickPixelPacket;
+#endif
 
 /* ImageMagick 6.5.3 through 6.6.5 hid PixelGetMagickColor for some reason.
Emacs seems to work fine with the hidden version, so unhide it.  */
-#include 
 #if 0x653 <= MagickLibVersion && MagickLibVersion <= 0x665
 extern WandExport void PixelGetMagickColor (const PixelWand *,
 	MagickPixelPacket *);
@@ -8815,7 +8824,7 @@ imagemagick_load_image (struct frame *f, struct image *img,
 #endif /* HAVE_MAGICKEXPORTIMAGEPIXELS */
 {
   size_t image_height;
-  MagickRealType color_scale = 65535.0 / QuantumRange;
+  MagickRealType color_scale = 65535.0 / (MagickRealType) QuantumRange;
 #ifdef USE_CAIRO
   data = xmalloc (width * height * 4);
   color_scale /= 256;


Re: [gentoo-user] dev-lang/ruby and dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25] error

2019-07-22 Thread Dale
Neil Bothwick wrote:
> On Mon, 22 Jul 2019 14:37:23 -0500, Dale wrote:
>
>> I was hoping updating the other packages might change something or help
>> emerge figure out a new path but it doesn't appear to have helped.  Once
>> again, I removed everything I thought ruby related from /etc/portage. 
>> Emerge wanted some added back but I still end up back with that error. 
> What is RUBY_TARGETS set to?
>
> emerge --info | grep RUBY_TARGETS
>
>


This is the ruby related parts. 

RUBY_TARGETS="ruby24 ruby25" 

USE_EXPAND="ABI_MIPS ABI_PPC ABI_RISCV ABI_S390 ABI_X86 ALSA_CARDS
APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS
CPU_FLAGS_ARM CPU_FLAGS_X86 CURL_SSL ELIBC ENLIGHTENMENT_MODULES FFTOOLS
GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES
LIBREOFFICE_EXTENSIONS LIRC_DEVICES LLVM_TARGETS MONKEYD_PLUGINS
NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL
NGINX_MODULES_STREAM OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS
OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS
PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS
QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS USERLAND
UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"


I tried adding a line in make.conf to force ruby25 but it still shows up
as disabled in the emerge output so I commented out my entries.  It
seems to be hard disabled somewhere.  Maybe the ebuild itself.  I
dunno.  This is confusing. 

Ideas?

Dale

:-)  :-) 



Re: [gentoo-user] dev-lang/ruby and dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25] error

2019-07-22 Thread Neil Bothwick
On Mon, 22 Jul 2019 14:37:23 -0500, Dale wrote:

> I was hoping updating the other packages might change something or help
> emerge figure out a new path but it doesn't appear to have helped.  Once
> again, I removed everything I thought ruby related from /etc/portage. 
> Emerge wanted some added back but I still end up back with that error. 

What is RUBY_TARGETS set to?

emerge --info | grep RUBY_TARGETS


-- 
Neil Bothwick

Is it possible to be totally partial?


pgppcrSu4fGSU.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: How do I get rid of colors (console and xterm)?

2019-07-22 Thread Christian Groessler

On 7/8/19 10:18 AM, Christian Groessler wrote:

On 7/5/19 8:50 PM, Nikos Chantziaras wrote:

On 04/07/2019 22:10, Christian Groessler wrote:
I'm new here. My question is how do I get rid of colors in "emerge", 
"man" and other command line programs.


Do you want to disable colors for everything, or only for specific 
tools?



Ideally for everything inside an xterm or console screen. I'm going to 
try "-cm" for xterm. Thanks David (in a previous post) for the 
suggestion.



"-cm" works fine, thanks. Console is not that important since I'm rarely 
sitting there.


regards,
chris




Re: [gentoo-user] dev-lang/ruby and dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25] error

2019-07-22 Thread Dale
Dale wrote:
> Mick wrote:
>> On Monday, 22 July 2019 11:12:55 BST Dale wrote:
>>> Howdy,
>>>
>>> I did my usual sync and ran into a slight problem.  Given the minimal
>>> output, I can't quite figure out if there is a way around this. 
>>> Sometimes I can emerge a few packages individually and get around this
>>> sort of thing.  On this one tho, I just can't quite figure out how to
>>> get around the problem.  Things I've tried so far.  Made sure nothing in
>>> package.use is ruby related and made sure no packages in the list are in
>>> there either.  I updated @system successfully and tried again, same
>>> error.  I've tried unmasking next up packages with no change.  I
>>> reversed that and tried to mask some packages, same thing or it
>>> complains about the masked packages one.  I've tried to emerge the
>>> packages listed individually, in different order even, with no change. 
>>> This is what I get.
>>>
>>>
>>>
>>> root@fireball / # emerge -uvaDN world
>>>
>>> These are the packages that would be merged, in order:
>>>
>>> Calculating dependencies... done!
>>>
>>> emerge: there are no ebuilds to satisfy
>>> ">=dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25]".
>>> (dependency required by "dev-lang/ruby-2.5.5::gentoo" [ebuild])
>>> (dependency required by
>>> "dev-ruby/rake-12.3.2::gentoo[ruby_targets_ruby25]" [ebuild])
>>> (dependency required by "media-video/mkvtoolnix-35.0.0::gentoo" [installed])
>>> (dependency required by "@selected" [set])
>>> (dependency required by "@world" [argument])
>>> root@fireball / #
>> Have you specified ruby target 2.5 anywhere in your /etc/portage and, or 
>> uninstalled/masked ruby 2.4?  The above packages are installed with the 
>> default ruby 2.4 here:
>>
>>  ~ $ equery u dev-ruby/xmlrpc
>> [ Legend : U - final flag setting for installation]
>> [: I - package is installed with flag ]
>> [ Colors : set, unset ]
>>  * Found these USE flags for dev-ruby/xmlrpc-0.3.0:
>>  U I
>>  - - doc : Add extra documentation (API, Javadoc, etc). It 
>> is 
>> recommended to
>>enable per package instead of globally
>>  + + ruby_targets_ruby24 : Build with MRI Ruby 2.4.x
>>  - - test: Enable dependencies and/or preparations necessary 
>> to run tests (usually
>>controlled by FEATURES=test but can be toggled 
>> independently)
>>
>>  ~ $ equery u dev-ruby/rake
>> [ Legend : U - final flag setting for installation]
>> [: I - package is installed with flag ]
>> [ Colors : set, unset ]
>>  * Found these USE flags for dev-ruby/rake-12.3.1:
>>  U I
>>  - - doc : Add extra documentation (API, Javadoc, etc). It 
>> is 
>> recommended to
>>enable per package instead of globally
>>  + + ruby_targets_ruby24 : Build with MRI Ruby 2.4.x
>>  - - test: Enable dependencies and/or preparations necessary 
>> to run tests (usually
>>controlled by FEATURES=test but can be toggled 
>> independently)
>>
>
> I have ruby 2.4 here as well.
>
>
> root@fireball / # equery list -p ruby
>  * Searching for ruby ...
> [-P-] [  ] dev-lang/ruby-2.4.5:2.4
> [IP-] [  ] dev-lang/ruby-2.4.6:2.4
> [-P-] [  ] dev-lang/ruby-2.5.5:2.5
> [-P-] [ ~] dev-lang/ruby-2.6.2:2.6
> [-P-] [ ~] dev-lang/ruby-2.6.3:2.6
> root@fireball / #
>
>
> It appears something is pulling in 2.5 but for some reason, even tho it
> isn't masked, it won't emerge it because of some other problem, that I
> can't figure out yet. 
>
> I looked in /etc/portage for anything ruby and didn't find much but
> commented out the little I did find.  It made no difference since they
> were specific to older versions anyway.  It gives the same error.
>
> I did manage to get it to update the other KDE packages tho.  I did a
> --exclude for the packages listed in the error.  It still complains but
> it does emerge everything else.  Maybe when that is done, it will share
> some more details and give us a clue. 
>
> Usually we have the opposite problem, emerge spitting out to much info,
> most of it useless or confusing at that.  This is the first time that
> I've got so little and not be able to figure out a workaround. 
>
> When the KDE packages get done, I'll try again and post what it spits
> out.  Maybe it will give us more info or emerge will find a way to solve
> it. 
>
> Thanks for the info. 
>
> Dale
>
> :-)  :-) 
>

Since the update was going to take a while, I took a nap.  The update
for everything else finished but when I try to include ruby and such, I
still get the same error I think.  Going to post again just in case
something is different.


root@fireball / # emerge -uvaDN world

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

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy
">=dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25]".
(dependency required by 

Re: [gentoo-user] Can't compile x11-libs/libXt

2019-07-22 Thread Peter Humphrey
On Monday, 22 July 2019 14:02:36 BST Jens Pelzetter wrote:

> recently x11-libs/libXt was updated to version 1.2.0. On one of systems
> 1.2.0 does not compile. The error is rather strange:
> 
> checking for i686-pc-linux-gnu-cpp... /usr/bin/i686-pc-linux-gnu-cpp
> checking if /usr/bin/i686-pc-linux-gnu-cpp requires -undef...  *
> gcc-config: No gcc profile is active!

What does "gcc-config -l" tell you?

-- 
Regards,
Peter.






Re: [gentoo-user] dev-lang/ruby and dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25] error

2019-07-22 Thread Dale
Alec Ten Harmsel wrote:
>
> On Mon, Jul 22, 2019, at 06:13, Dale wrote:
>> Howdy,
>>
>> [snip]
>>
>> root@fireball / # emerge -uvaDN world
>>
>> These are the packages that would be merged, in order:
>>
>> Calculating dependencies... done!
>>
>> emerge: there are no ebuilds to satisfy
>> ">=dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25]".
>> (dependency required by "dev-lang/ruby-2.5.5::gentoo" [ebuild])
>> (dependency required by
>> "dev-ruby/rake-12.3.2::gentoo[ruby_targets_ruby25]" [ebuild])
>> (dependency required by "media-video/mkvtoolnix-35.0.0::gentoo" [installed])
>> (dependency required by "@selected" [set])
>> (dependency required by "@world" [argument])
>> root@fireball / #
>>
>> [snip]
>>
>> Anyone have a clue on this?
>>
> As far as I can tell, dev-ruby/rake-12.3.2 is ~amd64 - can you try adding 
> dev-ruby/rake to your accept_keywords if you haven't already?
>
> hth,
>
> Alec
>
>


It's already at the highest version and installed.


root@fireball / # equery list -p dev-ruby/rake
 * Searching for rake in dev-ruby ...
[-P-] [  ] dev-ruby/rake-12.3.1:0
[IP-] [  ] dev-ruby/rake-12.3.2:0
root@fireball / #


It's weird for sure.  I'm hoping that after the other packages upgrade,
this will make more sense.  I might add, I added the -t option to see
what was pulling in what and it gave the same error.  The -t option
didn't help any. 

Dale

:-)  :-) 



Re: [gentoo-user] dev-lang/ruby and dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25] error

2019-07-22 Thread Alec Ten Harmsel



On Mon, Jul 22, 2019, at 06:13, Dale wrote:
> Howdy,
> 
> [snip]
> 
> root@fireball / # emerge -uvaDN world
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> 
> emerge: there are no ebuilds to satisfy
> ">=dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25]".
> (dependency required by "dev-lang/ruby-2.5.5::gentoo" [ebuild])
> (dependency required by
> "dev-ruby/rake-12.3.2::gentoo[ruby_targets_ruby25]" [ebuild])
> (dependency required by "media-video/mkvtoolnix-35.0.0::gentoo" [installed])
> (dependency required by "@selected" [set])
> (dependency required by "@world" [argument])
> root@fireball / #
> 
> [snip]
> 
> Anyone have a clue on this?
>

As far as I can tell, dev-ruby/rake-12.3.2 is ~amd64 - can you try adding 
dev-ruby/rake to your accept_keywords if you haven't already?

hth,

Alec



Re: [gentoo-user] dev-lang/ruby and dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25] error

2019-07-22 Thread Dale
Mick wrote:
> On Monday, 22 July 2019 11:12:55 BST Dale wrote:
>> Howdy,
>>
>> I did my usual sync and ran into a slight problem.  Given the minimal
>> output, I can't quite figure out if there is a way around this. 
>> Sometimes I can emerge a few packages individually and get around this
>> sort of thing.  On this one tho, I just can't quite figure out how to
>> get around the problem.  Things I've tried so far.  Made sure nothing in
>> package.use is ruby related and made sure no packages in the list are in
>> there either.  I updated @system successfully and tried again, same
>> error.  I've tried unmasking next up packages with no change.  I
>> reversed that and tried to mask some packages, same thing or it
>> complains about the masked packages one.  I've tried to emerge the
>> packages listed individually, in different order even, with no change. 
>> This is what I get.
>>
>>
>>
>> root@fireball / # emerge -uvaDN world
>>
>> These are the packages that would be merged, in order:
>>
>> Calculating dependencies... done!
>>
>> emerge: there are no ebuilds to satisfy
>> ">=dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25]".
>> (dependency required by "dev-lang/ruby-2.5.5::gentoo" [ebuild])
>> (dependency required by
>> "dev-ruby/rake-12.3.2::gentoo[ruby_targets_ruby25]" [ebuild])
>> (dependency required by "media-video/mkvtoolnix-35.0.0::gentoo" [installed])
>> (dependency required by "@selected" [set])
>> (dependency required by "@world" [argument])
>> root@fireball / #
>
> Have you specified ruby target 2.5 anywhere in your /etc/portage and, or 
> uninstalled/masked ruby 2.4?  The above packages are installed with the 
> default ruby 2.4 here:
>
>  ~ $ equery u dev-ruby/xmlrpc
> [ Legend : U - final flag setting for installation]
> [: I - package is installed with flag ]
> [ Colors : set, unset ]
>  * Found these USE flags for dev-ruby/xmlrpc-0.3.0:
>  U I
>  - - doc : Add extra documentation (API, Javadoc, etc). It is 
> recommended to
>enable per package instead of globally
>  + + ruby_targets_ruby24 : Build with MRI Ruby 2.4.x
>  - - test: Enable dependencies and/or preparations necessary 
> to run tests (usually
>controlled by FEATURES=test but can be toggled 
> independently)
>
>  ~ $ equery u dev-ruby/rake
> [ Legend : U - final flag setting for installation]
> [: I - package is installed with flag ]
> [ Colors : set, unset ]
>  * Found these USE flags for dev-ruby/rake-12.3.1:
>  U I
>  - - doc : Add extra documentation (API, Javadoc, etc). It is 
> recommended to
>enable per package instead of globally
>  + + ruby_targets_ruby24 : Build with MRI Ruby 2.4.x
>  - - test: Enable dependencies and/or preparations necessary 
> to run tests (usually
>controlled by FEATURES=test but can be toggled 
> independently)
>


I have ruby 2.4 here as well.


root@fireball / # equery list -p ruby
 * Searching for ruby ...
[-P-] [  ] dev-lang/ruby-2.4.5:2.4
[IP-] [  ] dev-lang/ruby-2.4.6:2.4
[-P-] [  ] dev-lang/ruby-2.5.5:2.5
[-P-] [ ~] dev-lang/ruby-2.6.2:2.6
[-P-] [ ~] dev-lang/ruby-2.6.3:2.6
root@fireball / #


It appears something is pulling in 2.5 but for some reason, even tho it
isn't masked, it won't emerge it because of some other problem, that I
can't figure out yet. 

I looked in /etc/portage for anything ruby and didn't find much but
commented out the little I did find.  It made no difference since they
were specific to older versions anyway.  It gives the same error.

I did manage to get it to update the other KDE packages tho.  I did a
--exclude for the packages listed in the error.  It still complains but
it does emerge everything else.  Maybe when that is done, it will share
some more details and give us a clue. 

Usually we have the opposite problem, emerge spitting out to much info,
most of it useless or confusing at that.  This is the first time that
I've got so little and not be able to figure out a workaround. 

When the KDE packages get done, I'll try again and post what it spits
out.  Maybe it will give us more info or emerge will find a way to solve
it. 

Thanks for the info. 

Dale

:-)  :-) 



Re: [gentoo-user] dev-lang/ruby and dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25] error

2019-07-22 Thread Mick
On Monday, 22 July 2019 11:12:55 BST Dale wrote:
> Howdy,
> 
> I did my usual sync and ran into a slight problem.  Given the minimal
> output, I can't quite figure out if there is a way around this. 
> Sometimes I can emerge a few packages individually and get around this
> sort of thing.  On this one tho, I just can't quite figure out how to
> get around the problem.  Things I've tried so far.  Made sure nothing in
> package.use is ruby related and made sure no packages in the list are in
> there either.  I updated @system successfully and tried again, same
> error.  I've tried unmasking next up packages with no change.  I
> reversed that and tried to mask some packages, same thing or it
> complains about the masked packages one.  I've tried to emerge the
> packages listed individually, in different order even, with no change. 
> This is what I get.
> 
> 
> 
> root@fireball / # emerge -uvaDN world
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> 
> emerge: there are no ebuilds to satisfy
> ">=dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25]".
> (dependency required by "dev-lang/ruby-2.5.5::gentoo" [ebuild])
> (dependency required by
> "dev-ruby/rake-12.3.2::gentoo[ruby_targets_ruby25]" [ebuild])
> (dependency required by "media-video/mkvtoolnix-35.0.0::gentoo" [installed])
> (dependency required by "@selected" [set])
> (dependency required by "@world" [argument])
> root@fireball / #


Have you specified ruby target 2.5 anywhere in your /etc/portage and, or 
uninstalled/masked ruby 2.4?  The above packages are installed with the 
default ruby 2.4 here:

 ~ $ equery u dev-ruby/xmlrpc
[ Legend : U - final flag setting for installation]
[: I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for dev-ruby/xmlrpc-0.3.0:
 U I
 - - doc : Add extra documentation (API, Javadoc, etc). It is 
recommended to
   enable per package instead of globally
 + + ruby_targets_ruby24 : Build with MRI Ruby 2.4.x
 - - test: Enable dependencies and/or preparations necessary 
to run tests (usually
   controlled by FEATURES=test but can be toggled 
independently)

 ~ $ equery u dev-ruby/rake
[ Legend : U - final flag setting for installation]
[: I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for dev-ruby/rake-12.3.1:
 U I
 - - doc : Add extra documentation (API, Javadoc, etc). It is 
recommended to
   enable per package instead of globally
 + + ruby_targets_ruby24 : Build with MRI Ruby 2.4.x
 - - test: Enable dependencies and/or preparations necessary 
to run tests (usually
   controlled by FEATURES=test but can be toggled 
independently)

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] hw problems

2019-07-22 Thread Mick
On Monday, 22 July 2019 11:29:26 BST Raffaele Belardi wrote:
> Adam Carter wrote:
> > On Mon, Jul 22, 2019 at 7:47 PM mailto:p...@xvalheru.org>> wrote:
> > Hi,
> > 
> > Since last week my gentoo installation start to randomly freeze. The
> > first I've detected was during huge disk usage, another was during
> > hibernation, etc. I think it might be related to HDD problems, but I
> > want to be sure. In kernel log there are some errors, but I'm not able
> > to decide if those causes the freezing or not (I've saw such messages
> > earlier too, so I'm not sure). So, is there a good diagnostic tool to
> > check HW and mainly HDD? What I need to decide is if buying new HDD
> > will
> > fix the issue or not
> > 
> > Install smartmontools then
> > 
> > # smartctl -a /dev/sda
> 
> I think Adam answered the OP but I just wanted to understand the kernel log:
> 
> - the errors are from device pcieport :00:1c.0
> - according to "pci :00:1c.0: [8086:9d14] type 01 class 0x060400", this
> is should be a PCI bridge.
> 
> So the error may come from the bridge itself or from a device attached to
> the bridge, I suppose?

I think device [8086:9d14] which errors out is a wireless card ... ?


> - the disk is attached to ata1: "ata1.00: ATA-10: ST2000LM015-2E8174, SDM1,
> max UDMA/133" - ata1 is "ata1: SATA max UDMA/133 abar m2048@0xd1133000 port
> 0xd1133100 irq 122"
> 
> Is there a way to understand where the ata1 is physically attached to?
> In other words, can one tell from the log if the error comes from the ata1
> device or something else?
> 
> thanks,
> 
> raffaele

lspci will show the PCI port, but I think the error looks like it is related 
to the wireless card, which is also bouncing like mad.  I'd check the correct 
driver is available and the firmware too, especially if it needs to be 
configured manually (not all are available in linux-firmware).

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] hw problems

2019-07-22 Thread Raffaele Belardi

Adam Carter wrote:

On Mon, Jul 22, 2019 at 7:47 PM mailto:p...@xvalheru.org>> 
wrote:

Hi,

Since last week my gentoo installation start to randomly freeze. The
first I've detected was during huge disk usage, another was during
hibernation, etc. I think it might be related to HDD problems, but I
want to be sure. In kernel log there are some errors, but I'm not able
to decide if those causes the freezing or not (I've saw such messages
earlier too, so I'm not sure). So, is there a good diagnostic tool to
check HW and mainly HDD? What I need to decide is if buying new HDD will
fix the issue or not


Install smartmontools then

# smartctl -a /dev/sda




I think Adam answered the OP but I just wanted to understand the kernel log:

- the errors are from device pcieport :00:1c.0
- according to "pci :00:1c.0: [8086:9d14] type 01 class 0x060400", this is should be a 
PCI bridge.


So the error may come from the bridge itself or from a device attached to the bridge, I 
suppose?


- the disk is attached to ata1: "ata1.00: ATA-10: ST2000LM015-2E8174, SDM1, max 
UDMA/133"
- ata1 is "ata1: SATA max UDMA/133 abar m2048@0xd1133000 port 0xd1133100 irq 
122"

Is there a way to understand where the ata1 is physically attached to?
In other words, can one tell from the log if the error comes from the ata1 device or 
something else?


thanks,

raffaele



[gentoo-user] dev-lang/ruby and dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25] error

2019-07-22 Thread Dale
Howdy,

I did my usual sync and ran into a slight problem.  Given the minimal
output, I can't quite figure out if there is a way around this. 
Sometimes I can emerge a few packages individually and get around this
sort of thing.  On this one tho, I just can't quite figure out how to
get around the problem.  Things I've tried so far.  Made sure nothing in
package.use is ruby related and made sure no packages in the list are in
there either.  I updated @system successfully and tried again, same
error.  I've tried unmasking next up packages with no change.  I
reversed that and tried to mask some packages, same thing or it
complains about the masked packages one.  I've tried to emerge the
packages listed individually, in different order even, with no change. 
This is what I get.



root@fireball / # emerge -uvaDN world

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

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy
">=dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25]".
(dependency required by "dev-lang/ruby-2.5.5::gentoo" [ebuild])
(dependency required by
"dev-ruby/rake-12.3.2::gentoo[ruby_targets_ruby25]" [ebuild])
(dependency required by "media-video/mkvtoolnix-35.0.0::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
root@fireball / #



Since I have some default options in make.conf, this is the command from
emerge.log. 

emerge --jobs=5 --update --backtrack=100 --keep-going --verbose --newuse
--oneshot --quiet-build=n --with-bdeps=y --unordered-display --ask
--deep world

The oddest part, it doesn't seem to even suggest a fix itself, adding
something to package.use, mask, keyword or something.  It just spits out
that tiny bit and ends.  I might add, I also thought I may have caught
the tree in a unstable state, caught some updates being applied part way
through, so I synced again several hours later with the same result.  I
also searched on the forum and BGO. 

Anyone have a clue on this?

Thanks much.

Dale

:-)  :-) 



Re: [gentoo-user] hw problems

2019-07-22 Thread Adam Carter
On Mon, Jul 22, 2019 at 7:47 PM  wrote:

> Hi,
>
> Since last week my gentoo installation start to randomly freeze. The
> first I've detected was during huge disk usage, another was during
> hibernation, etc. I think it might be related to HDD problems, but I
> want to be sure. In kernel log there are some errors, but I'm not able
> to decide if those causes the freezing or not (I've saw such messages
> earlier too, so I'm not sure). So, is there a good diagnostic tool to
> check HW and mainly HDD? What I need to decide is if buying new HDD will
> fix the issue or not


Install smartmontools then

# smartctl -a /dev/sda


[gentoo-user] hw problems

2019-07-22 Thread pat

Hi,

Since last week my gentoo installation start to randomly freeze. The 
first I've detected was during huge disk usage, another was during 
hibernation, etc. I think it might be related to HDD problems, but I 
want to be sure. In kernel log there are some errors, but I'm not able 
to decide if those causes the freezing or not (I've saw such messages 
earlier too, so I'm not sure). So, is there a good diagnostic tool to 
check HW and mainly HDD? What I need to decide is if buying new HDD will 
fix the issue or not.


Thanks a lot

Pat



Freehosting PIPNI - http://www.pipni.cz/

kern.log.0.gz
Description: GNU Zip compressed data