[gentoo-user] Confessional: how I generally use emerge.

2016-03-18 Thread Alan Grimes
I use two scripts for all emerge use, the goal is to run one command and
then walk away:

Standard general update script:
###
tortoise ~ # cat sysupdate

#they must have moved or removed the logs, might have to track them down
again...
#rm /var/log/emerge*

# cache /usr/portage 
echo "caching /usr/portage.  This will take a long time."
time ls -R /usr/portage > /dev/null

emerge --sync
layman --sync ALL

emerge --update --verbose portage
emerge --update --newuse --deep --with-bdeps=y system --keep-going
emerge --update --newuse --deep --with-bdeps=y world --keep-going

rm -f /var/cache/revdep-rebuild/*.rr
revdep-rebuild
emerge --skipfirst --resume
emerge --skipfirst --resume
etc-update
eclean-dist


The eclean line was added just a few days ago from this thread...

This one is intended to be a nice gentle update script.
It caches the portage tree, then syncs everything, then updates
everything starting with critical system packages, then all world
packages...

Then it cleans stuff up, it jcakhammers the revdep-rebuild but not too
hard


This next script is what I use when emerge starts giving me shit:

##
tortoise ~ # cat keepgoing
emerge --update --newuse --deep --with-bdeps=y system
emerge --skipfirst --resume --nodeps
emerge --skipfirst --resume --nodeps
emerge --skipfirst --resume --nodeps

emerge --update --newuse --deep --with-bdeps=y world
emerge --skipfirst --resume --nodeps
emerge --skipfirst --resume --nodeps
emerge --skipfirst --resume --nodeps
emerge --skipfirst --resume --nodeps
emerge --skipfirst --resume --nodeps
emerge --skipfirst --resume --nodeps
emerge --skipfirst --resume --nodeps
emerge --skipfirst --resume --nodeps
emerge --skipfirst --resume --nodeps
emerge --skipfirst --resume --nodeps

rm /var/cache/revdep-rebuild/*.rr
revdep-rebuild
emerge --skipfirst --resume --nodeps
emerge --skipfirst --resume --nodeps
emerge --skipfirst --resume --nodeps
emerge --skipfirst --resume --nodeps

etc-update
###

It's basically the same as the working section of the above but instead
of letting emerge do it's thing, it jackhammers that bitch as hard as
possible to get as much updated as possible, but it requires emerge to
do something and not error out for no good reason... I expect prune and
depclean to be useless but I kinda need update to basically work every
time. =\
Whatever fails on this script, I just live with until next week/month.

###
tortoise ~ # ./pretendupdate

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

Calculating dependencies /

!!! Problem resolving dependencies for sys-apps/util-linux from @system
... done!

!!! The ebuild selected to satisfy "sys-apps/util-linux" has unmet
requirements.
- sys-apps/util-linux-2.27.1::gentoo USE="caps cramfs ncurses nls pam
python readline suid udev unicode -build -fdformat -kill (-selinux)
-slang -static-libs -systemd -test -tty-helpers" ABI_X86="32 64 -x32"
PYTHON_SINGLE_TARGET="-python2_7 -python3_3 -python3_4"
PYTHON_TARGETS="python2_7 python3_4 -python3_3"

  The following REQUIRED_USE flag constraints are unsatisfied:
python? ( exactly-one-of ( python_single_target_python2_7
python_single_target_python3_3 python_single_target_python3_4 ) )

  The above constraints are a subset of the following complete expression:
python? ( exactly-one-of ( python_single_target_python2_7
python_single_target_python3_3 python_single_target_python3_4 )
python_single_target_python2_7? ( python_targets_python2_7 )
python_single_target_python3_3? ( python_targets_python3_3 )
python_single_target_python3_4? ( python_targets_python3_4 ) )

(dependency required by "@system" [set])
(dependency required by "@world" [argument])

tortoise ~ # cat ./pretendupdate
emerge --update --newuse --deep --with-bdeps=y world --verbose --pretend
tortoise ~ #

###

Google is not being helpful with this... =(



-- 
IQ is a measure of how stupid you feel.

Powers are not rights.




Re: [gentoo-user] local shared directory

2016-03-18 Thread Neil Bothwick
On Thu, 17 Mar 2016 18:19:21 +0100, hw wrote:

> how can I make it so that multiple users on a system who create
> files in a local, shared directory do have write access to files
> created by other users within the shared directory?

ACLs.


-- 
Neil Bothwick

And if you say "No", I shall be forced to shoot you.


pgpHWf3ywsHjI.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Giving Gentoo Another Go

2016-03-18 Thread Peter Humphrey
On Friday 18 March 2016 12:03:46 Neil Bothwick wrote:

> Top Oxymorons Number 33: American history

Top Oxymorons Number 1a: atonal music.

-- 
Rgds
Peter




Re: [gentoo-user] Confessional: how I generally use emerge.

2016-03-18 Thread Neil Bothwick
On Fri, 18 Mar 2016 12:41:39 -0500, Dale wrote:

> I have to add this.  From what I understand about the scripts he is
> using, he is blindly letting emerge do updates without checking to see
> if the updates fall into line with what he *needs*.  If I read it
> correctly, any USE flag change will be missed until it hits the fan and
> is broken.  That would then mean taking a lot of time to go back through
> logs and figuring out just when it went wrong and most importantly, what
> caused it and how to fix it.  Since the change could have happened
> several updates ago, that could involve some work and a lot of
> rebuilding. 

And deleting the emerge logs as part of that script doesn't make things
any easier. Still, some people like a challenge ;-)


-- 
Neil Bothwick

Be regular. Eat cron flakes.


pgpkrx4jjxWSU.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Getting a valid /etc/adjtime while using ntpd ?

2016-03-18 Thread Håkon Alstadheim



On 03/17/2016 02:03 PM, Bill Kenworthy wrote:

On 17/03/16 20:26, Alan McKinnon wrote:

On 17/03/2016 08:50, Håkon Alstadheim wrote:

I have a server SUPPOSED to be running 24/7, but every once in a while
during a prolonged absence the box will go down. The Real Time Clock
will drift, and in the rush to get the box up again I let everything
boot up automatically and get both wrong time on the main systems, and
different times on the various systems.

My setup has a main server which does NTP, but with no direct link to
the outside. Router /have/ to be booted booted later (dumb
setup, don't ask), after which I can finally get correct time from NTP.

NTP initiates "11 minute mode", which makes /etc/adjtime useless as far
as I understand. Anybody have a /correct/ way to account for RTC drift
on a box running ntpd? Right now I have a ---file in
/etc/cron.d/time-bad like so:
* * * * * root adjtimex -S 5 >/dev/null 2>&1 

When the box was off, all questions of accurate ntp tracking are moot.
ntp is designed around the idea that every second happens but from your
machine's point of view they didn't happen since it was powered down.

I would go the really simple route and force ntpdate to run once during
boot up before ntpd is started, thereby avoiding the entire issue.
Why can't I have proper drift information for my RTC ("bios clock") ? 
The old way ( where  "system-time as set by ntp"  minus "RTC time"  
gives "drift-value" written to /etc/adjtime )   used to work perfectly 
for me for several years. Is there no canonical way of getting that 
these days?


My problem is that my WAN connection can not be brought up until well 
after the main server is up (stupid I know, but rearranging things 
entails a major overhaul). Thus a bios clock without drift information 
gives me a choice between ntpdate (which messes up my logs) and ntp with 
incremental adjustments (which might leave clocks wrong for several days).


I really need the logs to be on the same clock for all systems. Don't 
ask, just assume I know why it's called bleeding edge . I also really 
need sub-minute accuracy on all clocks. I suppose I should try running 
ntpdate on everything once the WAN connection is up, just to see how bad 
the mess is.




Sometimes correctness really doesn't matter, this looks like one of those.


alan


add a cheap gps setup as the reference clock to the server,
That sounds like a real option. I have an old Nokia N900 lying around 
with a broken usb-port, so I'd need to solder in a power lead. Any 
pointers for how to read time signal from the gps on a maemo system?

or even
better is a dedicated time server (either a real one or a raspberry
pi/gps) on the network if you have internal connectivity.  Going super
cheap, but not quite as accurate for me was an arduino and rtc on a
bluetooth pan for when the network was down but I needed a reference (to
power up the real server :).


google "arduino time server" for plenty of options :)

This led me to finding some serial-port connected gps modules. 
Serial-ports I have, so this is sounding good. 35 to 40 euro for a gps 
device when hwclock and /etc/adjtime should give ballpark-correct time 
on boot makes me hate this though.


This reminds me one reason I need a valid time is my DVB-T TV-receiver 
card. It should be possible to find a clock source in the broadcast 
stream. I'll research that first, while I leave my "adjtime -S 5 " hack 
running, even though I still don't know if that makes any sense at all. 
At least now there is something different from "0." in the 
driftvalue, which gives me some hope I'm on to something.





Re: [gentoo-user] Re: The war continues.

2016-03-18 Thread wabenbau
Dale  wrote:

> I still use Konqueror but I disabled some USE flags early on since I
> didn't want some of the bloat.  I think I had to enable some since
> they were no longer a option but sort of forced.  Anyway, this is the
> USE flags for mine but since it is a short list, USE flags for other
> packages may affect it more.
> 
> [ebuild   R] kde-apps/konqueror-15.08.3:4/15.08::gentoo 
> USE="bookmarks handbook svg (-aqua) -debug" 0 KiB

I've checked it out right now and portage told me that I would have to 
install 22 new packages and also that there a 4 blockers. And then I
only will have konqueror and no control panel or something like that.
Maybe I will try it when I have much spare time. :-)

> The hard part, getting it to run as root.  KDE doesn't like things
> running as root so it took a hammer and some elbow grease.  I use it
> to edit config files and it has to run as root to do that.  I

As root I only use a console on my system. But I think it was no 
problem to use KDE3 as root. IIRC SUSEs DE for root was KDE3 with some
red background wallpaper to remember the user that he is working in a
dangerous environment. :-)

> generally have it open only when I am doing a update tho.  Obviously,
> I never do internet stuff with it either.  < wags finger >

For browsing I use a VM. I'm too paranoid to do this on my host system.

--
Regards
wabe



Re: [gentoo-user] Giving Gentoo Another Go

2016-03-18 Thread Peter Humphrey
On Friday 18 March 2016 09:08:53 Neil Bothwick wrote:

> No one gets it right first time, there are many choices and many ways of
> doing things. No book can tell you which way is right for you, only
> experience can do that. Getting things like this wrong is a natural part
> of the Gentoo learning experience.
> 
> You will develop your way of doing things over time, and that way could
> change as your needs do. Using your example of package.use, moving USE
> flags from package.use to make.conf is an easy enough task if you need to
> change. I tend to put them n package.use to start with then migrate to
> make.conf if I find I am using the same flag on several packages.

A simple way to start off is to see whether the USE flag is listed in 
/usr/portage/profiles/use.desc or use.local.desc. If the former, it's likely 
to affect many packages in a typical system so put it in make.conf; if the 
latter, it's likely to affect only a few of your packages so put it in 
package.use. You can always move it later if you want to, as Neil says.

-- 
Rgds
Peter

linuxcounter.net reg user 5290 since 1994/04/23




Re: [gentoo-user] Re: The war continues.

2016-03-18 Thread Alan McKinnon
On 18/03/2016 22:37, waben...@gmail.com wrote:
> Mick  wrote:
> 
>> On Friday 18 Mar 2016 19:29:29 waben...@gmail.com wrote:
>>
>>> What I miss most of all is the fantastic konqueror. It was way
>>> better than any other filemanager that I know. Of course I've
>>> tested the KDE4 konqueror and also dolphin but it was horrible
>>> compared to the old konqueror. Now I'm using thunar. It's far away
>>> from being perfect, but it seems to be the lesser of the evils. ;-)
>>>
>>> --
>>> Regards
>>> wabe  
>>
>> I'm still using Konq rather than dolphin as a file manager and
>> continue to be happy with it.  :-)
>>
>> What's stopping you using it?
> 
> It's some years ago and when I'm honest, I can't remember exactly 
> what displeased me. :-) 
> IIRC one thing was that the detailed view mode was not as compact
> as it was with konqueror3. And there were some problems with the
> theme (missing icons and some other glitches). And IIRC I also 
> missed some functions.
> 
> Maybe I will try it again with KDE5. But this also depends on the 
> dependencies. :-) I'm not sure if I'm willing to install the complete
> KDE environment for this test.

KDE 5 is absolutely nothing like KDE3. So by all means try it, but
evaluate it on it's own terms. It's not a better KDE3, it's a whole
different DE


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




Re: [gentoo-user] Re: The war continues.

2016-03-18 Thread Philip Webb
160318 waben...@gmail.com wrote:
> Do you have installed the complete KDE4? If not, what packages
> do you have installed to configure the look and feel of your KDE apps ?

None that I know of.

>> I use Krusader & recommend it very highly for heavy file-lifting :
>> have you tried it ? -- if not, do : you may well like it.
> Is it possible to use tabs and just one panel ?
> Does it have a tree mode ?

Yes -- I don't know -- Yes.  There are lots of useful features.

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




Re: [gentoo-user] Re: Confessional: how I generally use emerge.

2016-03-18 Thread Alec Ten Harmsel
On Fri, Mar 18, 2016 at 01:43:53PM -0500, »Q« wrote:
> On Thu, 17 Mar 2016 20:37:04 -0400
> Alec Ten Harmsel  wrote:
> 
> > > emerge --update --newuse --deep --with-bdeps=y system --keep-going  
> > 
> > Add "--oneshot", same reasoning as above.
> 
> When the target is a set (in this case @system), does portage ever add
> all of it to @world?
> 

Apparently it does not. I know it does that for individual packages, so
I just assumed it did that for sets as well. I stand corrected.

Alec



Re: [gentoo-user] Getting a valid /etc/adjtime while using ntpd ?

2016-03-18 Thread Mick
On Friday 18 Mar 2016 09:38:50 Håkon Alstadheim wrote:
> On 03/17/2016 11:31 PM, Mick wrote:
> > On Friday 18 Mar 2016 06:01:17 Bill Kenworthy wrote:
> >> On 18/03/16 05:59, Bill Kenworthy wrote:
> >>> On 18/03/16 05:14, Alan McKinnon wrote:
>  On 17/03/2016 22:02, Håkon Alstadheim wrote:
> > On 03/17/2016 02:03 PM, Bill Kenworthy wrote:
> >> On 17/03/16 20:26, Alan McKinnon wrote:
> >>> On 17/03/2016 08:50, Håkon Alstadheim wrote:
>  I have a server SUPPOSED to be running 24/7, but every once in a
>  while
>  during a prolonged absence the box will go down. The Real Time
>  Clock
>  will drift, and in the rush to get the box up again I let
>  everything
>  boot up automatically and get both wrong time on the main systems,
>  and
>  different times on the various systems.
>  
>  My setup has a main server which does NTP, but with no direct link
>  to
>  the outside. Router /have/ to be booted booted later (dumb
>  setup, don't ask), after which I can finally get correct time from
>  NTP.
>  
>  NTP initiates "11 minute mode", which makes /etc/adjtime useless as
>  far
>  as I understand. Anybody have a /correct/ way to account for RTC
>  drift
>  on a box running ntpd? Right now I have a ---file in
>  /etc/cron.d/time-bad like so:
>  * * * * * root adjtimex -S 5 >/dev/null 2>&1   ---
>  
>  Combined with an old-fashioned setup for hwclock during boot and
>  shutdown. This feels really wrong, and I have no idea what I am
>  doing.
>  
>  TLDR: Anybody have a /correct/ way to account for RTC drift on a
>  box
>  running ntpd?
> >>> 
> >>> Have you looked at adjtimex ... its in portage
> >>> 
> >>>  From the man page ...
> >>> 
> >>> "For a standalone or intermittently connected machine, where it’s not
> >>> ossible to run ntpd, you may use adjtimex instead to correct the sys-tem
> >>> clock for systematic drift.
> >>> 
> >>> There are several ways to estimate the drift rate.  If your
> >>> 
> >>> computer can be connected to the net, you might run ntpd for at least
> >>> several hours and run "adjtimex --print" to learn what values of tick
> >>> and freq it settled on.  Alternately, you could estimate values using as
> >>> a reference the CMOS clock (see the --compare and --adjust switches),
> >>> another host (see --host and --review), or some other source of time
> >>> (see --watch and --review).  You could then add a line to rc.local
> >>> invoking adjtimex, or configure /etc/init.d/adjtimex or
> >>> /etc/default/adjtimex, to set those parameters each time you reboot."
> >>> 
> >>> Used it at one time for dialup which approximates your condition.
> >>> 
> >>> BillK
> >> 
> >> forget it ... I forgot that's where you started from ... must be getting
> >> old :(
> > 
> > Nobody mentioned net-misc/chrony.  Would it be more appropriate for this
> > use case?
> 
> I see it also claims to contain an ntp server. I'll check it out.

I have found that when RTC starts playing up the BIOS MoBo battery probably 
needs replacing.  Have you tried changing it/measuring its voltage?

-- 
Regards,
Mick

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


Re: [gentoo-user] Re: The war continues.

2016-03-18 Thread wabenbau
Philip Webb  wrote:

> 160318 waben...@gmail.com wrote:
> > Do you have installed the complete KDE4? If not, what packages
> > do you have installed to configure the look and feel of your KDE
> > apps ?  
> 
> None that I know of.
> 
> >> I use Krusader & recommend it very highly for heavy file-lifting :
> >> have you tried it ? -- if not, do : you may well like it.  
> > Is it possible to use tabs and just one panel ?
> > Does it have a tree mode ?  
> 
> Yes -- I don't know -- Yes.  There are lots of useful features.

THX for your answer. But after playing around with KDE5 in an VM, I 
think that I probably will try the new dolphin.

--
Regards
wabe



[gentoo-user] Re: The war continues.

2016-03-18 Thread Nikos Chantziaras

On 17/03/16 18:00, Philip Webb wrote:

I tried to fix it by setting wayland, gles2 and egl to default
because they were breaking other packages.


Why are you using Wayland ? -- it's still largely experimental, isn't it ?


Some packages force the wayland USE flag on. Emerge that breaks if you 
try to disable wayland. (KDE 5 packages do this.)






Re: [gentoo-user] local shared directory

2016-03-18 Thread Rich Freeman
On Thu, Mar 17, 2016 at 4:59 PM, Alan McKinnon  wrote:
>
> umask is just not viable either, as a) it's global and affects all files
> a user creates and b) by definition umask is modifiable by the user
> (it's a feature to help users out so they don't need to chmod every file
> every time) and c) you can't stop them doing it (by design).

Actually, this is completely viable.  Just set the default umasks to
007, and create a new group for each user as their default group (and
don't have all their home directories be owned by some users group).
This is how this sort of situation was handled long before POSIX ACLs
became common, and I know that some distros behave this way by default
for this reason (this was the case in the distro I used right before I
switched to Gentoo).

If users chmod a file then tell them not to.  If you must, set up some
cron job to clean up after them.

But, you can of course do this with ACLs as well.  I haven't tried
setting those up personally.

-- 
Rich



Re: [gentoo-user] Confessional: how I generally use emerge.

2016-03-18 Thread Alan Grimes
The dependency graph that seems to be murdering me right now seems to be:


kde -> wayland -> gles2 -> egl ->


#
..

[ebuild  N ] kde-plasma/plasma-meta-5.5.5:5::gentoo 
USE="display-manager gtk pam pulseaudio sddm sdk wallpapers -bluetooth
-mediacenter -networkmanager" 0 KiB
[ebuild  NS] kde-apps/kde-meta-15.08.3:5::gentoo
[4.14.3-r1:4::gentoo] 0 KiB
[uninstall ] kde-apps/kde-meta-4.14.3-r1:4::gentoo  USE="nls sdk
-accessibility (-aqua) -kdepim -minimal"
[blocks b  ] kde-apps/kde-meta:4 ("kde-apps/kde-meta:4" is blocking
kde-apps/kde-meta-15.08.3)
[ebuild U  ] dev-lang/mono-4.2.2.30::gentoo [4.2.2.10-r1::gentoo]
USE="nls (-doc) -minimal -pax_kernel -xen" 0 KiB
[ebuild  N ] dev-dotnet/nuget-2.8.3::gentoo  0 KiB
[ebuild U  ] dev-dotnet/libgdiplus-4.2-r2::gentoo [4.2-r1::gentoo]
USE="cairo" 0 KiB
[ebuild U  ] dev-util/monodevelop-5.9.5.9-r1::gentoo
[3.0.2-r1::gentoo] USE="git gnome%* subversion -qtcurve%" 0 KiB

Total: 119 packages (21 upgrades, 32 new, 54 in new slots, 12
reinstalls, 80 uninstalls), Size of downloads: 395,848 KiB
Conflict: 80 blocks

WARNING: One or more updates/rebuilds have been skipped due to a
dependency conflict:

dev-qt/qtgui:5

  (dev-qt/qtgui-5.5.1-r1:5/5::gentoo, ebuild scheduled for merge)
conflicts with
~dev-qt/qtgui-5.5.1[-egl] required by
(dev-qt/qtmultimedia-5.5.1-r2:5/5::gentoo, installed)


tortoise ~ #
#



Dale wrote:
> Neil Bothwick wrote:
>>
>> Why ask the same question again when you got an answer last time?
>>
>> Hint: look at the output for asciidoc.
>> -- 
>> Sent from my Android phone with K-9 Mail. Please excuse my brevity. 
> I have to add this.  From what I understand about the scripts he is
> using, he is blindly letting emerge do updates without checking to see
> if the updates fall into line with what he *needs*.  If I read it
> correctly, any USE flag change will be missed until it hits the fan and
> is broken.  That would then mean taking a lot of time to go back through
> logs and figuring out just when it went wrong and most importantly, what
> caused it and how to fix it.  Since the change could have happened
> several updates ago, that could involve some work and a lot of rebuilding. 
>
> Doing the sync in a script and even getting a email or something with
> the -p output is fine but updating blindly is not a good idea. 
>
> At this point, I think I understand why he is having so much trouble. 
> At the very least, check to see what USE flags are changing before doing
> updates.  There are other things that are important but that is one that
> changes a good bit. 
>
> Dale
>
> :-)  :-) 
>
>


-- 
IQ is a measure of how stupid you feel.

Powers are not rights.




Re: [gentoo-user] Giving Gentoo Another Go

2016-03-18 Thread Alan McKinnon
On 18/03/2016 17:29, Stroller wrote:
> 
>> On Fri, 18 March 2016, at 6:07 am, Alan McKinnon  
>> wrote:
>>
>> … 
>> USE flags enable and disable features of software at compile-time. Take
>> for example a music player. Maybe it can store the metadata about your
>> music in flat files, in sqlite, in mysql or postgres. Now you must make
>> a choice where to put the flag. Maybe your music collection is HUGE and
>> postgres is the best fit.
>>
>> If you add it to make.conf it becomes global and every piece of software
>> that supports postgres will now be rebuilt to give postgres support.
>> Maybe you don't need or want that.
>>
>> A flag like that is best put into package.use where it applies only to
>> the package you list there. So postgres gets installed, the music player
>> gets support and your MTA does not.
> 
> To expand on this example, if `emerge -p` showed your music player had flags 
> for mp3, mp4 and aac files, I would probably set those in /etc/make.conf, 
> because I want all music and video players and converters to support these 
> common file types.


Good point. This is where judgement comes in - what can probably go in
make.conf and what will be better in package.use.

I normally put general things like a/v codecs and hardware features
make.conf as I'm very likely into want it everywhere. If I use handbrake
to make mkv and mp4 rips, then I probably want mplayer, dragon, vlc and
all the other players to play them. Makes sense.

Then there's that other thread today that mentioned wayland. Some bit of
KDE must have it but you certainly don't want it global.

So a judgement call; which quite incidentally is the thing we sysadmins
get paid to have :-)


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




Re: [gentoo-user] The war continues.

2016-03-18 Thread Fast Turtle
Before using revdep-rebuild, you need to do a -pW --clean to see
what's old/obsolete on the system. It can clear lots of cruft after
just six months of updates. Once you see what needs to be cleared, you
can do an -a (ask) before remove. Saves you from the sytem pulling
python and fragging portage. Once you've cleaned the system and
updated things, then a revdep-rebuild shouldn't give you too many
problems but if it does, keep in mind that a clean install doesn't
take that long and you get the opurtunity to ensure that all of your
flags (package u/mask) are all correct.

On Thu, Mar 17, 2016 at 7:55 AM, Alan Grimes  wrote:
> My effort to update my syestem continues unabated. =\
>
> One problem is that every time revdep-rebuild is run, it always rebuilds
> all of libreoffice, an 8-hour build. WTF, seriously, WTF?
>
> I made the mistake of syncing portage again and was thrown back into
> useflag hell:
>
> I tried to fix it by setting wayland, gles2 and egl to default because
> they were breaking other packages.
>
>
> I don't even know how to read the current error message:
>
> ##
>
> tortoise ~ # ./pretendupdate
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
>
> !!! Multiple package instances within a single package slot have been pulled
> !!! into the dependency graph, resulting in a slot conflict:
>
> media-libs/mesa:0
>
>   (media-libs/mesa-11.1.2-r1:0/0::gentoo, ebuild scheduled for merge)
> pulled in by
> (no parents that aren't satisfied by other packages in this slot)
>
>   (media-libs/mesa-11.1.2-r1:0/0::gentoo, installed) pulled in by
> media-libs/mesa[egl,gbm,gles2?,wayland] required by
> (kde-plasma/kwin-5.5.5:5/5::gentoo, ebuild scheduled for merge)
>
> ^^^
>
>
> It might be possible to solve this slot collision
> by applying all of the following changes:
>- media-libs/mesa-11.1.2-r1 (Change USE: +wayland +gles2)
>
>
> !!! The ebuild selected to satisfy "app-text/asciidoc" has unmet
> requirements.
> - app-text/asciidoc-8.6.9-r2::gentoo USE="graphviz -examples -highlight
> -test" ABI_X86="64" PYTHON_SINGLE_TARGET="-pypy -python2_7"
> PYTHON_TARGETS="python2_7 -pypy"
>
>   The following REQUIRED_USE flag constraints are unsatisfied:
> exactly-one-of ( python_single_target_pypy
> python_single_target_python2_7 )
>
>   The above constraints are a subset of the following complete expression:
> exactly-one-of ( python_single_target_pypy
> python_single_target_python2_7 ) python_single_target_pypy? (
> python_targets_pypy ) python_single_target_python2_7? (
> python_targets_python2_7 )
>
> (dependency required by "net-misc/tor-0.2.8.1_alpha::gentoo" [installed])
> (dependency required by "@selected" [set])
> (dependency required by "@world" [argument])
> tortoise ~ #
>
> #
>
> Current state of mind: put a live hand grenade in to the computer and
> walk away.
>
> I've been using Gentoo Every day now for ten years. This is an entirely
> New level of bullshit. =(
>
>
> Modest list of complete and utter FAIL:
>
> 
>
> tortoise portage # tree -L 2
> .
> ├── app-office
> │   └── texmacs-1.99.2-r1
> ├── dev-libs
> │   ├── libcdio-0.93
> │   └── libcdio-paranoia-0.93_p1
> ├── dev-qt
> │   └── qtwebkit-5.5.1-r1
> ├── kde-apps
> │   └── kdesdk-kioslaves-15.12.2
> ├── kde-plasma
> │   ├── oxygen-5.5.5
> │   └── oxygen-fonts-5.4.3
> ├── media-gfx
> │   └── fontforge-20150824
> ├── media-libs
> │   ├── opencv-3.1.0-r2
> │   └── x264-0.0.20151011
> └── media-video
> └── vcdimager-0.7.24
>
> 19 directories, 0 files
> tortoise portage #
>
>
>
> --
> IQ is a measure of how stupid you feel.
>
> Powers are not rights.
>
>



Re: [gentoo-user] Re: The war continues.

2016-03-18 Thread Dale
Neil Bothwick wrote:
> On Fri, 18 Mar 2016 13:49:44 -0500, Dale wrote:
>
>> [ebuild   R] kde-apps/konqueror-15.08.3:4/15.08::gentoo 
>> USE="bookmarks handbook svg (-aqua) -debug" 0 KiB
>>
>> The hard part, getting it to run as root.  KDE doesn't like things
>> running as root so it took a hammer and some elbow grease. 
> sudo konqueror works here.
>
>


This works here as a desktop shortcut.

kfmclient openProfile filemanagement 

Never cared much for sudo either. 

Dale

:-)  :-)




[gentoo-user] How to find which version of $package supports $USE ?

2016-03-18 Thread Stroller
Hello,

I noticed today that openssh has a USE flag that I was unaware of:

   $ emerge -UDp world
   
   These are the packages that would be merged, in order:
   
   Calculating dependencies... done!
   [ebuild U  ] sys-boot/grub-2.02_beta2-r9 [2.02_beta2-r3] USE="fonts%* 
themes%*" GRUB_PLATFORMS="-uboot%" 
   [ebuild U  ] net-misc/openssh-7.2_p2 [7.1_p2] USE="-hpn*" 
   [ebuild U  ] sys-fs/udev-225 [216]
   
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
   
   $ euses hpn
   net-misc/openssh:hpn - Enable high performance ssh
   $ 

High performance, bro!?! That sounds cool, I'll have some of that!

There are some indications that this USE flag may significantly speed up scp 
transfers: http://www.psc.edu/index.php/hpn-ssh

However, when I come to install this package, portage tells me it's not 
supported for this version:

* Messages for package net-misc/openssh-7.2_p2:
   
* Sorry, but this version does not yet support features
* that you requested:   hpn
* Please mask openssh-7.2_p2 for now and check back later:
*  # echo '=net-misc/openssh-7.2_p2' >> /etc/portage/package.mask
* ERROR: net-misc/openssh-7.2_p2::gentoo failed (setup phase):
*   bo
* 
* Call stack:
*   ebuild.sh, line 133:  Called pkg_setup
*   openssh-7.2_p2.ebuild, line  90:  Called die
* The specific snippet of code:
*  die "bo"
* 
* If you need support, post the output of `emerge --info 
'=net-misc/openssh-7.2_p2::gentoo'`,
* the complete build log and the output of `emerge -pqv 
'=net-misc/openssh-7.2_p2::gentoo'`.
* The complete build log is located at 
'/var/tmp/portage/net-misc/openssh-7.2_p2/temp/build.log'.
* The ebuild environment file is located at 
'/var/tmp/portage/net-misc/openssh-7.2_p2/temp/die.env'.
* Working directory: '/usr/lib64/python2.7/site-packages'
* S: '/var/tmp/portage/net-misc/openssh-7.2_p2/work/openssh-7.2p2'
   
* GNU info directory index is up-to-date.
   
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.


Is there a utility command that shows me which versions of net-misc/openssh 
support USE=hpn, please?

Grepping /usr/portage/net-misc/openssh/*ebuild is messy, and doesn't 
immediately show me what I need.

Many thanks in advance for any suggestions,

Stroller.






Re: [gentoo-user] Re: The war continues.

2016-03-18 Thread wabenbau
Alan McKinnon  wrote:

> > Maybe I will try it again with KDE5. But this also depends on the 
> > dependencies. :-) I'm not sure if I'm willing to install the
> > complete KDE environment for this test.  
> 
> KDE 5 is absolutely nothing like KDE3. So by all means try it, but
> evaluate it on it's own terms. It's not a better KDE3, it's a whole
> different DE

I've installed OpenSuse Tumbleweed in a VM and played a bit with 
KDE5. Despite the fact, that the graphics of a KVM VM isn't really 
fast enough for the fancy effects of KDE5, I'm really impressed.
Dolphin seems to be really usable and the many configuration options
are somewhat overwhelming after so many years of using only gtk 
environments. :-)

The main thing that makes me hesitating is that the whole KDE5 stuff 
is marked ~amd64. I'm running a mostly stable system and I don't 
wanna keywording too much packages. 

What I also don't want is too much crap that I don't need, e.g. a
networkmanger. Although I set USE="-networkmanager" portage wants to 
install it when I type "emerge -pv plasma-meta". 

I think, I should read some information before I try to install KDE5.

A (maybe silly) question: Is it possible to install KDE5 without 
systemd? I'm still using openrc and I don't wanna change this atm.

--
Regards
wabe