Re: [gentoo-user] To install a testing version of a package on a stable OS installation.

2017-07-09 Thread Daniel Campbell
On 07/09/2017 12:59 PM, Ста Деюс wrote:
> Hi.
> 
> 
> Is it possible to compile/install a testing version of a package w/ its
> dependencies on a stable OS installation? -- I mean, if a have stable
> installation of whole the system, can i compile and install a testing
> version of single package and the packages this single package depends
> on?
> 
> 
> Thank you for your time,
> Sthu.
>

Yep, it can be done! Fairly easily, too:

A good way to do this (imo) is to create binary packages for any
packages you're going to be upgrading *BEFORE* attempting to install
from ~arch. This gives you a "get out of jail free" card to play around
with the ~arch package(s) and revert (by reinstalling the binary
package) in case it was a bad decision to upgrade. It's a good idea to
do this for any packages that could seriously break your system, like
toolchains.

Check out `man 5 make.conf`, `man quickpkg`, and `man
package.accept_keywords` for more information.

In short:

* Set '~arch' or equivalent in p.accept_keywords for the package(s)
  you're upgrading.
* Check `emerge -pv cat/foo` output, where cat/foo is the package being
  upgraded.
* Run `quickpkg` on the packages that you care about not breaking,
  especially anything close to the toolchain. Be sure to read the
  manual first, as usual. :P
* Double-check to make sure the binary packages are available. They'll
  be in $PKGDIR, defined in /etc/portage/make.conf.
* Run your emerge magic to upgrade.
* ???
* Profit!

-- 
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Hall of FAIL.

2017-07-09 Thread David Haller
Hello,

On Sun, 09 Jul 2017, Alan Grimes wrote:
>Hey, I'm having some pretty dire FAIL issues with respect to a small but
>critical collection of packages...
>
>tortoise portage # tree -L 2
[..]

>The most critical root failure is ffmpeg. It appears to be a gcc
>incompatibility issue with an asm directive marked volatile... =\

And we're supposed to have magic crystal balls to divine what error
message(s) you are getting?

Sorry, no such luck, my crystal ball is currently under maintainance
and to be put in the dishwasher afterwards.

-dnh

-- 
"Here, in the bare dark face of night -- the LSV (Tundra Class)
 A calm unhurried eye draws sight"Serious Callers Only"
 -- We see in what we think we fear  in "Excession"  
 The cloudings of our thought made clear"  by Iain M. Banks



Re: [gentoo-user] Anjuta - Segmentation Fault

2017-07-09 Thread Mart Raudsepp
Ühel kenal päeval, P, 09.07.2017 kell 07:15, kirjutas Hogren:
> How can it help ?

Seems like something with anjuta libgladeui integration is going wonky
and checking the type of some invalid pointer inside scale factor
query, wrong object or some such.
Might understand more when the backtrace had debugging symbols.
https://wiki.gentoo.org/wiki/Debugging#Install_debugging_information
(don't go with nostrip though, that's no good over splitdebug)

> For Gnome-Builder, Thanks for the advice. I will see more for a next
> project. Reading the website, I think it's really a Gnome IDE, in
> comparison with Anjuta which is more a GTK IDE. Am I in truth ?

More or less, though I use it for other stuff as well, especially with
the extra optional installs I added elog information into postinst of
gnome-builder.

> Therefore, there is no integrated Glade in Gnome-Builder.

Glade, as in libglade, is deprecated for years and should definitely
not be used. Glade the UI design tool[1] however is not deprecated, it
just now outputs GtkBuilder XML [2] instead of Glade XML.
gnome-builder does intend to add glade UI design integration (for
GtkBuilder), but doesn't have that feature implemented yet [3].
You should very seriously consider moving over [4] to GtkBuilder,
libglade is dead. After that you can use the standalone dev-util/glade. 
Actually I think it might still support libglade files as well.

1. https://glade.gnome.org/
2. https://developer.gnome.org/gtk3/stable/GtkBuilder.html
3. https://wiki.gnome.org/Apps/Builder/Planning/UIBuilder
4. https://developer.gnome.org/gtk2/stable/gtk-migrating-GtkBuilder.html



Re: [gentoo-user] Hall of FAIL.

2017-07-09 Thread Walter Dnes
On Sun, Jul 09, 2017 at 07:33:28PM -0400, Alan Grimes wrote
> Hey, I'm having some pretty dire FAIL issues with respect to a small but
> critical collection of packages...
> 
> tortoise portage # tree -L 2

  Need more info.  Is this app-text/tree or dev-cpp/tree, and what
exactly is the "tree" command supposed to do here?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] [SOLVED] Firefox-52.2.0 - memorize form entry

2017-07-09 Thread R0b0t1
On Sun, Jul 9, 2017 at 6:44 PM,   wrote:
> On 07/09/2017 03:06 PM, the...@sys-concept.com wrote:
>> In: Preference --> Privacy "Remember search and form history" is enabled
>> But Firefox is not memorizing entries.
>>
>> Is there other setting I missed?
>
> Firefox-52.2.0 is buggy.  54.0 works correctly.
>
> Thelma
>

It sounds like you found the cause yourself, so this probably isn't
relevant - but form input on a webpage can be of many different types,
and if the input is accidentally marked as long form input (e.g. the
box for the contents of a forum post) then Firefox likely won't add it
to the completion results.



Re: [gentoo-user] To install a testing version of a package on a stable OS installation.

2017-07-09 Thread R0b0t1
On Sun, Jul 9, 2017 at 2:59 PM, Ста Деюс  wrote:
> Hi.
>
>
> Is it possible to compile/install a testing version of a package w/ its
> dependencies on a stable OS installation? -- I mean, if a have stable
> installation of whole the system, can i compile and install a testing
> version of single package and the packages this single package depends
> on?
>

I run mixed stable and testing packages, and it seems to work very
well. The issues I have had had made me consider switching to entirely
testing (~amd64) because a lot of issues are actually
incompatibilities between stable and testing packages. There are some
people in the IRC channel on Freenode who will recommend the same
thing.

Building on what Rich said, most people will help you get unstable
packages working, but every now and then you will run into an issue
that requires bugfixes by the original package developers. Often in
this case the only solution available is waiting. Sometimes someone
will be able to help you patch the code if the problem has already
been solved but there hasn't been a release. (Sometimes Gentoo
contributors will create entirely new patches, but that is the
exception.)

R0b0t1.



Re: [gentoo-user] [SOLVED] Firefox-52.2.0 - memorize form entry

2017-07-09 Thread thelma
On 07/09/2017 03:06 PM, the...@sys-concept.com wrote:
> In: Preference --> Privacy "Remember search and form history" is enabled
> But Firefox is not memorizing entries.
> 
> Is there other setting I missed?

Firefox-52.2.0 is buggy.  54.0 works correctly.

Thelma




[gentoo-user] Hall of FAIL.

2017-07-09 Thread Alan Grimes
Hey, I'm having some pretty dire FAIL issues with respect to a small but
critical collection of packages...

tortoise portage # tree -L 2
.
├── dev-libs
│   ├── libcdio-0.94-r1
│   └── libcdio-paranoia-0.94_p1-r1
├── media-libs
│   └── opencv-3.1.0-r7
├── media-video
│   ├── ffmpeg-3.3.2
│   ├── mplayer-1.3.0-r1
│   ├── transcode-1.1.7-r3
│   └── vcdimager-0.7.24
├── net-fs
│   └── samba-4.5.11
├── sys-libs
│   ├── ldb-1.1.29-r1
│   └── tdb-1.3.14
└── www-client
└── chromium-60.0.3112.40

The most critical root failure is ffmpeg. It appears to be a gcc
incompatibility issue with an asm directive marked volatile... =\

Looks like I'm going to have to go to 5.4.0... =\

-- 
Strange Game.
The only winning move is not to play. 

Powers are not rights.




[gentoo-user] Re: install of vbox guest-additions failing

2017-07-09 Thread Harry Putnam
"J. Roeleveld"  writes:


[...]


> Do you have module support enabled?

Yes, or at least I have been using modules.. not sure where I would
determine if it were enabled or not.

I guess I'm not sure what you mean... it sounds as if you expect there
to be a conf file that says `enable modules = yes' or something.

/etc/conf.d/modules does not seem to have any info about `enabling
modules.

Just now to insert specific modules

lsmod shows:

Module  Size  Used by
vboxsf 40960  0
vboxguest 208896  6 vboxsf



> Is the /usr/src/linux symlink pointing to the correct kernel version?

Yes.

> In a VBOX VM, you would normally need to compile a kernel,

And I have done so many times.

> the commands given are only needed when the sources are not used to
> compile the kernel.

What commands are you talking about?

How else would I compile a kernel but with the source?




[gentoo-user] Firefox-52.2.0 - memorize form entry

2017-07-09 Thread thelma
In: Preference --> Privacy "Remember search and form history" is enabled
But Firefox is not memorizing entries.

Is there other setting I missed?

-- 
Thelma



Re: [gentoo-user] To install a testing version of a package on a stable OS installation.

2017-07-09 Thread Rich Freeman
On Sun, Jul 9, 2017 at 3:59 PM, Ста Деюс  wrote:
>
> Is it possible to compile/install a testing version of a package w/ its
> dependencies on a stable OS installation? -- I mean, if a have stable
> installation of whole the system, can i compile and install a testing
> version of single package and the packages this single package depends
> on?
>

Yes, for the most part.  Obviously if whatever you want to install has
a rats nest of unstable dependencies it can get messy.  It isn't like
you're going to be able to install one component of kde-6 on an
otherwise kde-5 system, for example (when that comes along), and
expect it to work.

Typically you just stick whatever you're interested in
/etc/portage/package.keywords.  Then when you try to emerge it portage
will indicate if any dependencies aren't fulfilled and offer to
auto-unmask them for you.

I find it to be a best practice to make /etc/portage/package.keywords
a directory, and create files inside for various purposes.  I have a
file to put keywords in there for arch testing purposes.  I have a
file called zautounmask, which is where portage will dump auto-unmask
settings (since it is last alphabetically).  Over time when you have a
million entries in these files having them separated will tend to make
it a lot easier to clean them up.  I can delete my auto-unmasked
entries at any time and portage will just re-create the entries it
actually needs the next time I do an update.

Note that in general Gentoo doesn't do QA around mixed keywords.
Typically it works fine, but you will run into exceptions.  You'll be
less likely to run into issues if you avoid running mixed keywords on
things like core dependencies.  You won't have trouble in general
finding people to help, but ultimately nobody is going to officially
bend over backwards to make it work.  If you can identify what is
causing a problem there is a decent chance it will get fixed (assuming
upstream is cooperative - if some package doesn't work with a newer
dependency upstream might just say they can't be bothered to fix it
and it might not be easy to patch on our end).

-- 
Rich



Re: [gentoo-user] To install a testing version of a package on a stable OS installation.

2017-07-09 Thread Nils Freydank
Am Sonntag, 9. Juli 2017, 21:59:14 CEST schrieb Ста Деюс:
> Hi.
> 
> 
> Is it possible to compile/install a testing version of a package w/ its
> dependencies on a stable OS installation? [..]

Sure. It even works the other way around, e.g. I have ~amd64 and set stable for 
some
toolchain stuff (glibc as I can’t downgrade this if bug occur).

https://wiki.gentoo.org/wiki/Handbook:Parts/Portage/Branches#Mixing_stable_with_testing

Portage is awesome (awesomely slow, but also feature-rich).



> Thank you for your time,
> Sthu.

You’re welcome :-)

-- 
GPG fingerprint: '00EF D31F 1B60 D5DB ADB8  31C1 C0EC E696 0E54 475B'
Nils Freydank

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


[gentoo-user] To install a testing version of a package on a stable OS installation.

2017-07-09 Thread Ста Деюс
Hi.


Is it possible to compile/install a testing version of a package w/ its
dependencies on a stable OS installation? -- I mean, if a have stable
installation of whole the system, can i compile and install a testing
version of single package and the packages this single package depends
on?


Thank you for your time,
Sthu.



Re: [gentoo-user] install of vbox guest-additions failing

2017-07-09 Thread J. Roeleveld
On July 9, 2017 5:07:20 PM GMT+02:00, Harry Putnam  wrote:
>Setup: Running gentoo updated as vbox vm on a
>   Solaris x86 host
>
>Having a problem installing vbox guest additions.
>
>Hard for me to tell if the problem is with vbox-guestadditions or if
>the newest kernel (4.12.0) really has shortcomings.
>
>Like always with guest-additions... I ran:
>
> `bash /media/VBoxLinuxAdditions.run'
>
>It went thru the process... and failed to announce that it failed as
>I've seen in the past when something went wrong.
>
>It just tells you to look at "/var/log/vboxadd-install.log' 'to see
>what happened".  I've included it below.
>
>The log suggests two things to do, to keep this from happening.
>"Run make oldconfig && make prepare"
>
>I did that but installing guest-additions ended as below again.
>
>Have I just failed to include something in the kernel build? Or is it
>likely to be a problem with guest-additions"
>
>I had these same guest additions installed successfully prior to
>building the new kernel.  And built the new kernel by inserting the
>`.config' from my prior kernel (4.9.10) and running make oldconfig.
>And finally checking things with make menuconfig.
>
>It seems likely I failed to include something that was included in
>prior kernel build... but not sure what it might be.
>
>Below is the vboxadd-install.log ... I've included the main error
>message inline... but attached the full content of the massive pile of
>mess output from actual build of guest-additions to try to make this
>post a bit easier to read.
>
>---   ---   ---=---   ---   --- 
>
>grep: /lib/modules/4.12.0-gentoo/build/include/linux/version.h: No such
>file or directory
>make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C
>/lib/modules/4.12.0-gentoo/build SUBDIRS=/tmp/vbox.0
>SRCROOT=/tmp/vbox.0 modules
>test -e include/generated/autoconf.h -a -e include/config/auto.conf ||
>(  \
>echo >&2;  \
>echo >&2 "  ERROR: Kernel configuration is invalid.";  \
>echo >&2 " include/generated/autoconf.h or
>include/config/auto.conf are missing.";\
>echo >&2 " Run 'make oldconfig && make prepare' on kernel src
>to fix it.";   \
>echo >&2 ; \
>/bin/false)
>
>---   ---   ---=---   ---   --- 
>
>Full output of attempted build of vbox guest-additions:

Do you have module support enabled?

Is the /usr/src/linux symlink pointing to the correct kernel version?

In a VBOX VM, you would normally need to compile a kernel, the commands given 
are only needed when the sources are not used to compile the kernel.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



[gentoo-user] install of vbox guest-additions failing

2017-07-09 Thread Harry Putnam
Setup: Running gentoo updated as vbox vm on a
   Solaris x86 host

Having a problem installing vbox guest additions.

Hard for me to tell if the problem is with vbox-guestadditions or if
the newest kernel (4.12.0) really has shortcomings.

Like always with guest-additions... I ran:

 `bash /media/VBoxLinuxAdditions.run'

It went thru the process... and failed to announce that it failed as
I've seen in the past when something went wrong.

It just tells you to look at "/var/log/vboxadd-install.log' 'to see
what happened".  I've included it below.

The log suggests two things to do, to keep this from happening.
"Run make oldconfig && make prepare"

I did that but installing guest-additions ended as below again.

Have I just failed to include something in the kernel build? Or is it
likely to be a problem with guest-additions"

I had these same guest additions installed successfully prior to
building the new kernel.  And built the new kernel by inserting the
`.config' from my prior kernel (4.9.10) and running make oldconfig.
And finally checking things with make menuconfig.

It seems likely I failed to include something that was included in
prior kernel build... but not sure what it might be.

Below is the vboxadd-install.log ... I've included the main error
message inline... but attached the full content of the massive pile of
mess output from actual build of guest-additions to try to make this
post a bit easier to read.

---   ---   ---=---   ---   --- 

grep: /lib/modules/4.12.0-gentoo/build/include/linux/version.h: No such file or 
directory
make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/4.12.0-gentoo/build 
SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
\
echo >&2;   \
echo >&2 "  ERROR: Kernel configuration is invalid.";   \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are 
missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix 
it.";  \
echo >&2 ;  \
/bin/false)

---   ---   ---=---   ---   --- 

Full output of attempted build of vbox guest-additions:

grep: /lib/modules/4.12.0-gentoo/build/include/linux/version.h: No such file or 
directory
make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/4.12.0-gentoo/build 
SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
\
echo >&2;   \
echo >&2 "  ERROR: Kernel configuration is invalid.";   \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are 
missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix 
it.";  \
echo >&2 ;  \
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/vbox.0
  gcc -Wp,-MD,/tmp/vbox.0/.VBoxGuest-linux.o.d  -nostdinc -isystem 
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include -I./arch/x86/include 
-I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I./include 
-I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include 
./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes 
-Wno-trigraphs -fno-strict-aliasing -fno-common 
-Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE 
-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 
-falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 
-mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time 
-DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 
-DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 
-DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 
-DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables 
-fno-delete-null-pointer-checks -Wno-frame-address -O2 
--param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 
-fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable 
-fno-omit-frame-pointer -fno-optimize-sibling-calls 
-fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign 
-fno-strict-overflow -fconserve-stack -Werror=implicit-int 
-Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -Wno-declaration-after-statement -include 
/tmp/vbox.0/include/VBox/VBoxGuestMangling.h -fno-pie 
-I/lib/modules/4.12.0-gentoo/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include 
-I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxguest/ 
-I/tmp/vbox.0/vboxguest/include -I/tmp/vbox.0/vboxguest/r0drv/linux