Re: [gentoo-user] Re: OneDrive access from Linux using webdavs

2015-09-02 Thread Mick
On Wednesday 02 Sep 2015 00:04:19 Fernando Rodriguez wrote:
> On Tuesday, September 01, 2015 11:25:08 AM Mick wrote:
> > On Friday 28 Aug 2015 12:55:37 you wrote:
> > > Hi All,
> > > 
> > > Apparently OneDrive, the Microsoft cloud storage, is using the webdav
> > > protocol.  However, to effect authentication OneDrive uses redirection
> > > to a different URL, which breaks Linux connections to it.  This page
> > > explains someone's attempts using the previous MS offering of
> > > SkyDrive:
> > > 
> > > http://blog.lazut.in/2012/12/skydrive-webdav-access.html
> > > 
> > > I've tried the suggestions using both cadaver and dolphin.  Both failed
> > > to connect.  I have not used net-fs/davfs2 to mount OneDrive, but I
> > > read in the above link that davfs2 does not handle redirects either.
> > > 
> > > Would you know of some trick to allow me to access onedrive from Linux?
> > > Read only access will do for the use case I have in mind, which is to
> > > browse and download some files from a customer's shared folder.
> > > 
> > > 
> > > PS. I've also found 'onedrive-d' a python script/program, which does
> > > not seem to be available in portage, or any overlays.  Do you know if
> > > there's an ebuild somewhere for it?  However, I think that this is for
> > > synch'ing a local fs to OneDrive - something I am not necessarily
> > > interested in.
> > 
> > What?!  No-one on this list had to use OneDrive?  I can't believe it.  :p
> 
> I've had to but wasn't able to :) Only for a little while I got it to work
> with an old version of onedrive-d until it stopped working. I decided to
> give the last usable version[1] (that's the one they're using with Ubuntu,
> the one on the new repo says it's not usable) a try but it has python deps
> that are not on gentoo or conflict.
> 
> https://github.com/xybu/onedrive-d-old/tree/future

Thank you Fernando.

So, I take it that no direct webdav based access is possible at this stage.  I 
was hoping that some structured URL invocation would get me there, but it 
seems this won't be the case.  :-(
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: OneDrive access from Linux using webdavs

2015-09-02 Thread J. Roeleveld
On Tuesday, September 01, 2015 11:25:08 AM Mick wrote:
> On Friday 28 Aug 2015 12:55:37 you wrote:
> > Hi All,
> > 
> > Apparently OneDrive, the Microsoft cloud storage, is using the webdav
> > protocol.  However, to effect authentication OneDrive uses redirection to
> > a
> > different URL, which breaks Linux connections to it.  This page explains
> > someone's attempts using the previous MS offering of SkyDrive:
> > 
> > http://blog.lazut.in/2012/12/skydrive-webdav-access.html
> > 
> > I've tried the suggestions using both cadaver and dolphin.  Both failed to
> > connect.  I have not used net-fs/davfs2 to mount OneDrive, but I read in
> > the above link that davfs2 does not handle redirects either.
> > 
> > Would you know of some trick to allow me to access onedrive from Linux?
> > Read only access will do for the use case I have in mind, which is to
> > browse and download some files from a customer's shared folder.
> > 
> > 
> > PS. I've also found 'onedrive-d' a python script/program, which does not
> > seem to be available in portage, or any overlays.  Do you know if there's
> > an ebuild somewhere for it?  However, I think that this is for synch'ing a
> > local fs to OneDrive - something I am not necessarily interested in.
> 
> What?!  No-one on this list had to use OneDrive?  I can't believe it.  :p

Never used OneDrive and will also refuse to.
My customers tend to dislike putting data on publicly available systems :)

My experience with WebDav and products from MS is that they don't work 
reliably anymore.

--
Joost

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


Re: [gentoo-user] Re: OneDrive access from Linux using webdavs

2015-09-02 Thread Fernando Rodriguez
On Wednesday, September 02, 2015 7:01:24 AM Mick wrote:
> On Wednesday 02 Sep 2015 00:04:19 Fernando Rodriguez wrote:
> > On Tuesday, September 01, 2015 11:25:08 AM Mick wrote:
> > > On Friday 28 Aug 2015 12:55:37 you wrote:
> > > > Hi All,
> > > > 
> > > > Apparently OneDrive, the Microsoft cloud storage, is using the webdav
> > > > protocol.  However, to effect authentication OneDrive uses redirection
> > > > to a different URL, which breaks Linux connections to it.  This page
> > > > explains someone's attempts using the previous MS offering of
> > > > SkyDrive:
> > > > 
> > > > http://blog.lazut.in/2012/12/skydrive-webdav-access.html
> > > > 
> > > > I've tried the suggestions using both cadaver and dolphin.  Both 
failed
> > > > to connect.  I have not used net-fs/davfs2 to mount OneDrive, but I
> > > > read in the above link that davfs2 does not handle redirects either.
> > > > 
> > > > Would you know of some trick to allow me to access onedrive from 
Linux?
> > > > Read only access will do for the use case I have in mind, which is to
> > > > browse and download some files from a customer's shared folder.
> > > > 
> > > > 
> > > > PS. I've also found 'onedrive-d' a python script/program, which does
> > > > not seem to be available in portage, or any overlays.  Do you know if
> > > > there's an ebuild somewhere for it?  However, I think that this is for
> > > > synch'ing a local fs to OneDrive - something I am not necessarily
> > > > interested in.
> > > 
> > > What?!  No-one on this list had to use OneDrive?  I can't believe it.  
:p
> > 
> > I've had to but wasn't able to :) Only for a little while I got it to work
> > with an old version of onedrive-d until it stopped working. I decided to
> > give the last usable version[1] (that's the one they're using with Ubuntu,
> > the one on the new repo says it's not usable) a try but it has python deps
> > that are not on gentoo or conflict.
> > 
> > https://github.com/xybu/onedrive-d-old/tree/future
> 
> Thank you Fernando.
> 
> So, I take it that no direct webdav based access is possible at this stage.  
I 
> was hoping that some structured URL invocation would get me there, but it 
> seems this won't be the case.  :-(
> 

There must be but I never got it to work and it's not documented so it's 
subject to change. There's documented REST API[1] I got this from Clementine's 
code:

https://login.live.com/oauth20_token.srf?client_id=40111F16_secret=w2ClguSX0jG56cBl1CeUniypTBRjXt2Z_type=refresh_token_token=

If you install clementine and login to onedrive you'll have a refresh_token on 
the config file. Append it to that url and it'll give you an access token good 
for five minutes. Then to list the contents of a folder:

https://apis.live.net/v5.0/folder../files?access_token=

to get a file (this will give you a direct url on the source field):

https://apis.live.net/v5.0/file..?access_token=


Maybe you can play with the webdav urls and the access token and see if you 
can get it to work.

-- 
Fernando Rodriguez



Re: [gentoo-user] audacity-2.0.5 failed to compile

2015-09-02 Thread Gevisz
On Wed, 2 Sep 2015 01:55:00 -0400 Fernando Rodriguez 
 wrote:

> On Wednesday, September 02, 2015 12:57:37 PM wraeth wrote:
> > On 02/09/15 12:23, Fernando Rodriguez wrote:
> > > On Tuesday, September 01, 2015 9:22:44 PM Alec Ten Harmsel wrote:
> > >> On Tue, Sep 01, 2015 at 05:05:09PM -0600, the...@sys-concept.com
> > >> wrote:
> > >>> On 09/01/2015 04:55 PM, Fernando Rodriguez wrote:
> >  Since you're too stupid to follow advice, you need to rebuild
> > 
> > > *EVERYTHING*
> >  that linked against libjpeg (in this case x11-libs/wxGTK).
> > >>>
> > >>> This kind of language does not belong here. If you can not
> > >>> refrain yourself making sarcastic remarks don't make any
> > >>> comments.
> > >>
> > >> This language occasionally belongs on this list.
> > >>
> > >>> I would appreciate you stop reading my posts at all. I don't
> > >>> belong to Gentoo community.
> > >>
> > >> OK. Maybe we all got off on the wrong foot here. When you ask for
> > >> help, can you please provide:
> > >>
> > >> * the *exact* command you ran * the output of `emerge --info' *
> > >> the whole error, not just the part you think is relevant
> > >>
> > >> It is incredibly difficult for us to help when we only get a
> > >> small piece of what's going on with your system.
> > >>
> > >> Alec
> > >>
> > >
> > > He was told what the problem was on his first post about
> > > libjpeg-turbo, he didn't just ignore it but posted the wrong
> > > solution with a big SOLVED on the subject that only serves to
> > > mislead future users of this list. On his last post about this same
> > > error (different package) I politely told him to go back and follow
> > > the advise on that post, again he ignored it and posted a bogus
> > > solution (it worked because he rebuilt tiff, perl had nothing to do
> > > with it). revdep-rebuild may (or may not) fix it now, but the right
> > > solution is to remove or fix the obsolete package to depend on
> > > virtual/jpeg, update world properly, and then revdep-rebuild to
> > > undo this mess.
> > 
> > So someone posted an issue(s), then marked it solved when they got a
> > workaround which may not resolve the actual issue but got them past
> > their initial problem(s).
> > 
> > Your argument to that is that their "false solution" will mislead
> > future readers of the list. Doesn't the same apply to insulting
> > participants of the list? Not to mention this comes shortly after a
> > discussion about attracting new blood into the Gentoo community.
> > 
> > You don't have to participate in this thread. You could also simply
> > say "I said in your previous posts that you need to do /this/."
> > 
> > We should never resort to insults and name calling if we want this to
> > be a productive list. If there's a problem with someone, either stop
> > replying to their messages, take it up with them directly (and
> > diplomatically), or bring it up with the list owner [1,2].
> 
> I have no excuse for name calling, that was wrong and I should've handled it 
> better. Hopefully s/he'll get over it. 
> 
> It's arguable if that makes the list less productive, but certainly posting a 
> new thread every few hours about the same issue will make it less productive.

Agree with the last phrase: "posting a new thread every few hours about
the same issue" should be avoided."

> > 1: http://www.ietf.org/rfc/rfc1855.txt
> > 2: gentoo-user+ow...@lists.gentoo.org
> > 
> > --
> > wraeth 
> > GnuPG Key: B2D9F759
> > 
> 




Re: [gentoo-user] Portage is proposing an ncurses update and I don't understand what it means

2015-09-02 Thread Neil Bothwick
On Tue, 1 Sep 2015 18:06:05 -0700, walt wrote:

> Calculating dependencies... done!
> [ebuild U  ] sys-libs/ncurses-5.9-r5 [5.9-r3]
> [ebuild  NS] sys-libs/ncurses-5.9-r99 [5.9-r3] USE="cxx gpm unicode
> -ada -static-libs -tinfo" ABI_X86="32 (64) (-x32)" 
> 
> Is this going to install two different (slotted) versions of ncurses-5.9
> on my stable machine?
> 
> If not, then this proposed update must be an experiment or a hack or a
> workaround of some kind.  On my *stable* machine!

It's a workaround, not an experiment as it's been tested for over a week.
It's to get round an issue with subslots and some ebuilds not handling
changes as expected (I won't say incorrectly as there seems to be some
dispute over exactly what is defined in the PMS).AIUI the second ebuild
simply depends on the first, so that all the ebuilds requiring ncurses
work properly.

See https://bugs.gentoo.org/show_bug.cgi?id=558952 for more information,
probably more than you want to read.


-- 
Neil Bothwick

For security reasons, all text in this mail
  is double-rot13 encrypted.


pgpwLWHtxe02j.pgp
Description: OpenPGP digital signature


[gentoo-user] [WAY OT] wanna learn networking internals

2015-09-02 Thread Francisco Ares
Hi,

Sorry for such WAY out of topic message, but Gentoo users are also way out
of regular computer users.

I intend to learn more deep details about networking intrinsics, (packets,
ports, negotiation, UDP, multicast, unicast, TCP, ethernet, DHCP,
protocols, and so on) so I decided to recur to this list.  Googling the
terms, just gets me to network administration and equipment interconnection.

Any hints on web resources for this research?

Thanks a lot and

Best Regards,
Francisco


Re: [gentoo-user] Re: OneDrive access from Linux using webdavs

2015-09-02 Thread Mick
On Wednesday 02 Sep 2015 09:06:00 Fernando Rodriguez wrote:
> On Wednesday, September 02, 2015 7:01:24 AM Mick wrote:
> > On Wednesday 02 Sep 2015 00:04:19 Fernando Rodriguez wrote:
> > > On Tuesday, September 01, 2015 11:25:08 AM Mick wrote:
> > > > On Friday 28 Aug 2015 12:55:37 you wrote:
> > > > > Hi All,
> > > > > 
> > > > > Apparently OneDrive, the Microsoft cloud storage, is using the
> > > > > webdav protocol.  However, to effect authentication OneDrive uses
> > > > > redirection to a different URL, which breaks Linux connections to
> > > > > it.  This page explains someone's attempts using the previous MS
> > > > > offering of SkyDrive:
> > > > > 
> > > > > http://blog.lazut.in/2012/12/skydrive-webdav-access.html
> > > > > 
> > > > > I've tried the suggestions using both cadaver and dolphin.  Both
> 
> failed
> 
> > > > > to connect.  I have not used net-fs/davfs2 to mount OneDrive, but I
> > > > > read in the above link that davfs2 does not handle redirects
> > > > > either.
> > > > > 
> > > > > Would you know of some trick to allow me to access onedrive from
> 
> Linux?
> 
> > > > > Read only access will do for the use case I have in mind, which is
> > > > > to browse and download some files from a customer's shared folder.
> > > > > 
> > > > > 
> > > > > PS. I've also found 'onedrive-d' a python script/program, which
> > > > > does not seem to be available in portage, or any overlays.  Do you
> > > > > know if there's an ebuild somewhere for it?  However, I think that
> > > > > this is for synch'ing a local fs to OneDrive - something I am not
> > > > > necessarily interested in.
> > > > 
> > > > What?!  No-one on this list had to use OneDrive?  I can't believe it.
> :
> :p
> :
> > > I've had to but wasn't able to :) Only for a little while I got it to
> > > work with an old version of onedrive-d until it stopped working. I
> > > decided to give the last usable version[1] (that's the one they're
> > > using with Ubuntu, the one on the new repo says it's not usable) a try
> > > but it has python deps that are not on gentoo or conflict.
> > > 
> > > https://github.com/xybu/onedrive-d-old/tree/future
> > 
> > Thank you Fernando.
> > 
> > So, I take it that no direct webdav based access is possible at this
> > stage.
> 
> I
> 
> > was hoping that some structured URL invocation would get me there, but it
> > seems this won't be the case.  :-(
> 
> There must be but I never got it to work and it's not documented so it's
> subject to change. There's documented REST API[1] I got this from
> Clementine's code:
> 
> https://login.live.com/oauth20_token.srf?client_id=40111F16_
> secret=w2ClguSX0jG56cBl1CeUniypTBRjXt2Z_type=refresh_token_to
> ken=
> 
> If you install clementine and login to onedrive you'll have a refresh_token
> on the config file. Append it to that url and it'll give you an access
> token good for five minutes. Then to list the contents of a folder:
> 
> https://apis.live.net/v5.0/folder../files?access_token= en>
> 
> to get a file (this will give you a direct url on the source field):
> 
> https://apis.live.net/v5.0/file..?access_token=
> 
> 
> Maybe you can play with the webdav urls and the access token and see if you
> can get it to work.

Thanks Fernando!  I will give this a spin and see if I can get it to work.

-- 
Regards,
Mick


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


Re: [gentoo-user] Re: Portage is proposing an ncurses update and I don't understand what it means

2015-09-02 Thread Dale
walt wrote:
> Thanks also to wabe and Fernando for your replies. Just for the record
> I did the update this morning, which completed without errors. qlop
> shows that both updates completed, but eix shows that I now have only
> ncurses-5.9-r5 installed. (This is apparently the desired result, but
> I'm only guessing what the desired result really is.) I think every
> portage tool should announce very clearly whether a package is
> slotted/subslotted, and exactly which slot and subslot the package
> belongs in. The subject of slots is way too confusing to withhold such
> information. If the devs can't explain slots to their users then they
> don't understand it themselves. (Hm. That phrase sounds familiar.
> Where did I get that?) 


I did this the other day, after skipping it several times while it got
sorted out, and I have this now.

[IP-] [  ] sys-libs/ncurses-5.9-r5:0/5
[IP-] [  ] sys-libs/ncurses-5.9-r99:5/5
 

Now, which of us is somewhat off the mark here?  :/ 

Dale

:-)  :-) 



Re: [gentoo-user] audacity-2.0.5 failed to compile

2015-09-02 Thread Andreas K. Huettel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On Wednesday 02 September 2015 03:22:44 Alec Ten Harmsel wrote:

> > This kind of language does not belong here. If you can not refrain
> > yourself making sarcastic remarks don't make any comments.
> 
> This language occasionally belongs on this list.
> 

No. 

I would like to respectfully point you to the Gentoo Code of Conduct:
https://wiki.gentoo.org/wiki/Project:Council/Code_of_conduct

- -- 

Andreas K. Huettel
Gentoo Linux developer 
dilfri...@gentoo.org
http://www.akhuettel.de/

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0

iQJ8BAEBCgBmBQJV50VmXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0RkJDMzI0NjNBOTIwMDY5MTQ2NkMzNDBF
MTM4NkZEN0VGNEI1Nzc5AAoJEOE4b9fvS1d5l+4QAJt/3dr7hsVib+Co/qUS0cx0
aksjKnbeocBvrpt0PyYR5AMJznH/UbvIL8zhRSK9dBeVXYt123ONPVrJe1YPPR54
9YE+0ug/SuR7dq7+8aBP1UtY65o9IYJNL88xDKOF7RJzgczT0UjCIz15nIHToUrZ
GwdjZVbf2iTgOUbNp6fruoDeypoO8fWTYBCocYHzpx1DDnhJ1w+DOw24BK67xArf
awl7efzf3KP8w16gXaahEjqiSiaswP2n2n6WliOEeJ2M1tp5s82yjSIokqs4EHyP
LnapBRpEr6yHM5dr8Fx6nt6nLthZPwKp3pQaID+pwnAU1nq2TBDFH1BVSrPVqoq+
XhsvPcHl1heZpZL7tteleuvWjCZGS3jKWlKqmvf7rYqXgeTxckI/8CsQv0YMi0Ym
mW1XpqqlXUsjfayIXpT2xiJQVesMVF3pSFbwGtXg72VrFH/+mhxd552ZyB/GASyD
SL9bLxGQUjfB3UpNijdk0yyeMt+03rcp9qtgXR1vEhEsvP3n2P3UfU11+VOHkpxz
4VdEsE8gsjJnrLp3nLmcFoaDl5stncSWpUsugKMAyIZuRQb3jN9r+00gcUBOhyDp
pYqEOR2Mlh2EgqnJbWsc75ZN42d1QoOaYVqi59lc/qgwNOGmpN69blC4Qg8yeUaN
Z2DeoNjQ9WNDQAzUKsVO
=dlSR
-END PGP SIGNATURE-



Re: [gentoo-user] [WAY OT] wanna learn networking internals

2015-09-02 Thread Francisco Ares
2015-09-02 16:43 GMT-03:00 J. Roeleveld :

> On Wednesday, September 02, 2015 02:19:24 PM Francisco Ares wrote:
> > Hi,
> >
> > Sorry for such WAY out of topic message, but Gentoo users are also way
> out
> > of regular computer users.
> >
> > I intend to learn more deep details about networking intrinsics,
> (packets,
> > ports, negotiation, UDP, multicast, unicast, TCP, ethernet, DHCP,
> > protocols, and so on) so I decided to recur to this list.  Googling the
> > terms, just gets me to network administration and equipment
> interconnection.
> >
> > Any hints on web resources for this research?
>
> It would depend on the level you are at now. :)
>
> Generally, I know more than enough about how it all works to do my job and
> keep my own systems running reliably.
>
> But generally I simply listen when the likes of Alan McKinnon start talking
> about networking.
>
> You could start with sites like:
>
>
> http://web.stanford.edu/class/msande91si/www-spr04/readings/week1/InternetWhitepaper.htm
>
> --
> Joost
>
>

Thank you, going to check that, too.

Best Regards,
Francisco


[gentoo-user] Re: [WAY OT] wanna learn networking internals

2015-09-02 Thread James
Alan McKinnon  gmail.com> writes:


> > Last, I suggest a parallel learning of C/C++ as it really helps 

> ^this^, after the basics are fully mastered.

> netmasks make no sense at all until bitwise operators are fully
> understood. Even CIDR notation is not really obvious until you
> understand what languages like C do with the 32 bit words we call IP
> addresses. All x10 when IPv6 comes into play


Huh. I find teaching networking, including the intricacies  of advanced
protocol design, implementation and debugging, are far simpler if
folks know at least one programming language. Bit manipulations
are but one part of logic, sequential circuits timing and such
of the Computer Engineer's domain.  In my experience, if folks read too
much, but do not play with some codes  on actual hardware, it all becomes a
giant nebula. I guess I just like the practical side of these issues, to get
folks hooked on hardware.


How a serial port (rs_232) works and the putting ppp over that is very
keen for teaching networking. ymmv. You can also use a protocol analyzer to
see some cool things. Many codes are published and looking at how a
microprocessor handles basic packets is very stimulating and encouraging.
Too bad most kids now days do not get to work on embedded hardware and build
up an executive or state machine and send/recieve data over interfaces. 
Granted I worked in the world where assembler was
king (embedded) and assembler folks learning C and tcp/ip were easily amazed
and happy to migrate from assembler to C.

As Joost pointed out, I guess it really depends on the background of
the student. Being a hardware guy, I guess my focus is tainted

So, fair enough, but how long (exactly what are the basics) do you
read before you go to the lab and play? Labs are always more fun
than classrooms, lectures and stuffy old farts.(gotcha!) ?


cheers,
James








Re: [gentoo-user] [WAY OT] wanna learn networking internals

2015-09-02 Thread Emanuele Rusconi
On 2 September 2015 at 19:19, Francisco Ares  wrote:
> Hi,
>
> Sorry for such WAY out of topic message, but Gentoo users are also way out
> of regular computer users.
>
> I intend to learn more deep details about networking intrinsics, (packets,
> ports, negotiation, UDP, multicast, unicast, TCP, ethernet, DHCP, protocols,
> and so on) so I decided to recur to this list.  Googling the terms, just
> gets me to network administration and equipment interconnection.
>
> Any hints on web resources for this research?
>
> Thanks a lot and
>
> Best Regards,
> Francisco

The "Rute User's Tutorial and Exposition"[1] has some chapters about
IP, TCP, UDP and DNS.

If you can read Italian, there's also "a2 - appunti di informatica
libera"[2][3].

I've never been interested in the specific subject, so I don't know
about better sources.
I'd probably start from Wikipedia :)

[1] http://rute.2038bug.com/index.html.gz
[2] http://appuntilinux.mirror.garr.it/mirrors/appuntilinux/a2/
[3] http://a2.pluto.it/a2/

-- Emanuele Rusconi



Re: [gentoo-user] [WAY OT] wanna learn networking internals

2015-09-02 Thread Emanuele Rusconi
> 2015-09-02 16:43 GMT-03:00 J. Roeleveld :
>>
>> You could start with sites like:
>>
>>
>> http://web.stanford.edu/class/msande91si/www-spr04/readings/week1/InternetWhitepaper.htm
>>

That seems an excellent introduction! Bookmarked, Some_Day™ I'll read it ;)

-- Emanuele Rusconi



Re: [gentoo-user] [WAY OT] wanna learn networking internals

2015-09-02 Thread David M. Fellows
On Wed, 2 Sep 2015 14:19:24 -0300 
Francisco Ares wrote -
> --089e013a029e929a39051ec6e045
> Content-Type: text/plain; charset=UTF-8
> 
> Hi,
> 
> Sorry for such WAY out of topic message, but Gentoo users are also way out
> of regular computer users.
> 
> I intend to learn more deep details about networking intrinsics, (packets,
> ports, negotiation, UDP, multicast, unicast, TCP, ethernet, DHCP,
> protocols, and so on) so I decided to recur to this list.  Googling the
> terms, just gets me to network administration and equipment interconnection.
> 
> Any hints on web resources for this research?

W. Richard Stevens wrote *the* books on internet protocols back in the days
when the world was young.  He died in 1999, so they are a bit dated, but most
are available online as free pdfs. They are voluminous.

Try google searchs
  "Richard Stevens" tcp
  and "Richard Stevens" unix network programming
for links.
Dave F



[gentoo-user] Re: Portage is proposing an ncurses update and I don't understand what it means

2015-09-02 Thread walt
On Wed, 02 Sep 2015 10:53:00 -0500
Dale  wrote:

> walt wrote:
> > Thanks also to wabe and Fernando for your replies. Just for the
> > record I did the update this morning, which completed without
> > errors. qlop shows that both updates completed, but eix shows that
> > I now have only ncurses-5.9-r5 installed. (This is apparently the
> > desired result, but I'm only guessing what the desired result
> > really is.) I think every portage tool should announce very clearly
> > whether a package is slotted/subslotted, and exactly which slot and
> > subslot the package belongs in. The subject of slots is way too
> > confusing to withhold such information. If the devs can't explain
> > slots to their users then they don't understand it themselves. (Hm.
> > That phrase sounds familiar. Where did I get that?)   
> 
> 
> I did this the other day, after skipping it several times while it got
> sorted out, and I have this now.
> 
> [IP-] [  ] sys-libs/ncurses-5.9-r5:0/5
> [IP-] [  ] sys-libs/ncurses-5.9-r99:5/5
>  
> 
> Now, which of us is somewhat off the mark here?  :/ 

Both of us have been off the mark so many times I can't count that
high :p   I'm going to come back tomorrow when I'm more awake and
re-read this entire thread because every reply so far is full of good
info and advice.

I'm assuming you did that ncurses update on some flavor of gentoo
"unstable"?  (I know what a daredevil you are.)

Just for laughs, what does your "qlop -l ncurses" tell you about what
date you did the ncurses-5.9 update?





Re: [gentoo-user] [WAY OT] wanna learn networking internals

2015-09-02 Thread J. Roeleveld
On Wednesday, September 02, 2015 02:19:24 PM Francisco Ares wrote:
> Hi,
> 
> Sorry for such WAY out of topic message, but Gentoo users are also way out
> of regular computer users.
> 
> I intend to learn more deep details about networking intrinsics, (packets,
> ports, negotiation, UDP, multicast, unicast, TCP, ethernet, DHCP,
> protocols, and so on) so I decided to recur to this list.  Googling the
> terms, just gets me to network administration and equipment interconnection.
> 
> Any hints on web resources for this research?

It would depend on the level you are at now. :)

Generally, I know more than enough about how it all works to do my job and 
keep my own systems running reliably.

But generally I simply listen when the likes of Alan McKinnon start talking 
about networking.

You could start with sites like:

http://web.stanford.edu/class/msande91si/www-spr04/readings/week1/InternetWhitepaper.htm

--
Joost



[gentoo-user] Re: [WAY OT] wanna learn networking internals

2015-09-02 Thread James
Francisco Ares  gmail.com> writes:

> 
> Hi,
> Sorry for such WAY out of topic message, but Gentoo users are also way out
of regular computer users.
> 
> I intend to learn more deep details about networking intrinsics, (packets,
ports, negotiation, UDP, multicast, unicast, TCP, ethernet, DHCP, protocols,
and so on) so I decided to recur to this list.  Googling the terms, just
gets me to network administration and equipment interconnection.
> 
> Any hints on web resources for this research?
> 
> Thanks a lot and 
> 
> Best Regards,
> Francisco
> 


You can always build your own router, and learn about those internals
as they come up while setting up your home router. All you need
are some old PC parts laying around, gentoo and this guide [1].
Iptables if a really cool network applications as is Network Address
Translation (NAT).


Also reading key "RFCs" is the way to go [2]. But try not to get hung up
On the really cool RFCs like OSPF or SIP, as they are ever evolving
and looking at sources it actually better.


Last, I suggest a parallel learning of C/C++ as it really helps with
unix/linux/networking if can look at software sources and see what is going 
on. Bash and Python are really important too. It's a lifelong journey, so
relax and enjoy the experiences and try not to get frustrated. 


hth,
James

[1] https://wiki.gentoo.org/wiki/Home_Router

[2] https://en.wikipedia.org/wiki/List_of_RFCs

Re: [gentoo-user] [WAY OT] wanna learn networking internals

2015-09-02 Thread Alan McKinnon
On 02/09/2015 21:43, J. Roeleveld wrote:
> On Wednesday, September 02, 2015 02:19:24 PM Francisco Ares wrote:
>> Hi,
>>
>> Sorry for such WAY out of topic message, but Gentoo users are also way out
>> of regular computer users.
>>
>> I intend to learn more deep details about networking intrinsics, (packets,
>> ports, negotiation, UDP, multicast, unicast, TCP, ethernet, DHCP,
>> protocols, and so on) so I decided to recur to this list.  Googling the
>> terms, just gets me to network administration and equipment interconnection.
>>
>> Any hints on web resources for this research?
> 
> It would depend on the level you are at now. :)
> 
> Generally, I know more than enough about how it all works to do my job and 
> keep my own systems running reliably.
> 
> But generally I simply listen when the likes of Alan McKinnon start talking 
> about networking.

Hey, that's me!

As it turns out, I got a call last week from an old mate who needed
someone to deliver his 2-day TCP/IP course on short notice. I had 2 days
free anyway so I help out.

It all went well till we got into the dirty details of TCP header
fields. You know how that stuff works - a whole bunch of fields that we
mostly ignore and concentrate on just the few we know are important.
Anyway, there was me standing in front of a class going down the list.
And all I could think of was "WTF is most of this stuff??? Half of these
fields I've never heard of!"

There was more fun to come. Someone asked to clarify the exact
differences between unicast, multicast, anycast and any other *cast that
happens to be. Holy cow. Try explain that off the cuff without having
time to think the answer through first :-)

To the OP:

Someone suggested RUTE. That's a good one, it may be 14 years old, but
networking basics have not changed. The Linux Network Administrator's
Guide available at tldp.org is also worth reading.

And then wikipedia too. Technical facts are usually reliable there and
most articles give you nice pictures and tables without assuming you
already know it all anyway.

Finally you already have Gentoo, which is probably the best tool you
could have to find out such stuff. Read up on a topic, grasp the basic
theory, then follow it all through on Gentoo seeing how the bits fit
together.

For the full picture in strict technical language, nothing beats the
proper Internet RFCs. They are not for the faint-hearted though.

I don't want to scare you off but working in spare time it probably
takes something like a year to go from networking user to having a
decent depth of knowledge about it. It's all logical, all the info is
there, and it can be understood. There's just so much of it :-)


> 
> You could start with sites like:
> 
> http://web.stanford.edu/class/msande91si/www-spr04/readings/week1/InternetWhitepaper.htm
> 
> --
> Joost
> 


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




Re: [gentoo-user] audacity-2.0.5 failed to compile

2015-09-02 Thread thelma


Thelma


--
Regards,
Joseph Kmiec
Sys. Concept Inc.  http://www.sysconcept.ca
p: 866-479-1270 / 780-479-1270 ext.55
f: 780-471-5665 | GPG KeyID: 7B4A78C2

On 09/01/2015 10:57 PM, wraeth wrote:
> On 02/09/15 14:24, the...@sys-concept.com wrote:
>> On 09/01/2015 08:57 PM, wraeth wrote:
>>> On 02/09/15 12:23, Fernando Rodriguez wrote:
>>>
 He was told what the problem was on his first post about 
 libjpeg-turbo, he didn't just ignore it but posted the wrong 
 solution with a big SOLVED on the subject that only serves to 
 mislead future users of this list. On his last post about this 
 same error (different package) I politely told him to go back
 and follow the advise on that post, again he ignored it and
 posted a bogus solution (it worked because he rebuilt tiff,
 perl had nothing to do with it). revdep-rebuild may (or may
 not) fix it now, but the right solution is to remove or fix the
 obsolete package to depend on virtual/jpeg, update world
 properly, and then revdep-rebuild to undo this mess.
> 
>> Apology if I didn't most enough information. I know should have
>> post "emerge --info" but when it comes to error log.  It is very,
>> very long and email wouldn't be able to accept it; so I cat the
>> ending message as this is the point it stop compiling.
> 
> For large files, you can either paste the file to a pastebin service
> and give us the URL, compress it with gzip or bzip2 and attach that,
> or give us the last 250 lines or so.
> 
> The reason for this is because the error you see in the logs may not
> be the first error or the one that is causing the build to fail - the
> more information we have, the more information available to help
> resolve an issue.
> 
> Either way, no harm done.
> 
>> Emergeing "x11-libs/wxGTK" did not help.
> 
> I haven't been following along with the threads, but as far as I
> understand there's an obsolete package that has a dependency that
> conflicts with newer packages. If that's the case, you would need to
> deal with that obsolete package.
> 
> There's also been suggestion of using revdep-rebuild - have you tried
> that?

Thank you all for your suggestions I receive it, I'll try to follow them
through and see if I get a positive result to this error.

I've tried to post a "log" file to the http://pastebin.com/ you
suggested but I can only paste the limited size file (not upload it).
Since the txt file is 7.4Mb in size, I can not paste it.
Though, I have compress the file as tar.gz (so it is only 267kB)
here is the link:

http://www.sysconcept.ca/audacity_error.tar.gz

If somebody whats to look at it, I appreciate it.
Meanwhile, I'll be following other folks suggestion and see if I can get
a positive result to this error.

Thelma





Re: [gentoo-user] [WAY OT] wanna learn networking internals

2015-09-02 Thread Francisco Ares
Thanks, gonna check!

Best Regards,
Francisco

2015-09-02 15:50 GMT-03:00 Emanuele Rusconi :

> On 2 September 2015 at 19:19, Francisco Ares  wrote:
> > Hi,
> >
> > Sorry for such WAY out of topic message, but Gentoo users are also way
> out
> > of regular computer users.
> >
> > I intend to learn more deep details about networking intrinsics,
> (packets,
> > ports, negotiation, UDP, multicast, unicast, TCP, ethernet, DHCP,
> protocols,
> > and so on) so I decided to recur to this list.  Googling the terms, just
> > gets me to network administration and equipment interconnection.
> >
> > Any hints on web resources for this research?
> >
> > Thanks a lot and
> >
> > Best Regards,
> > Francisco
>
> The "Rute User's Tutorial and Exposition"[1] has some chapters about
> IP, TCP, UDP and DNS.
>
> If you can read Italian, there's also "a2 - appunti di informatica
> libera"[2][3].
>
> I've never been interested in the specific subject, so I don't know
> about better sources.
> I'd probably start from Wikipedia :)
>
> [1] http://rute.2038bug.com/index.html.gz
> [2] http://appuntilinux.mirror.garr.it/mirrors/appuntilinux/a2/
> [3] http://a2.pluto.it/a2/
>
> -- Emanuele Rusconi
>
>


Re: [gentoo-user] audacity-2.0.5 failed to compile

2015-09-02 Thread Alan McKinnon
On 02/09/2015 20:52, Andreas K. Huettel wrote:
> On Wednesday 02 September 2015 03:22:44 Alec Ten Harmsel wrote:
> 
>>> This kind of language does not belong here. If you can not refrain
>>> yourself making sarcastic remarks don't make any comments.
> 
>> This language occasionally belongs on this list.
> 
> 
> No. 
> 
> I would like to respectfully point you to the Gentoo Code of Conduct:
> https://wiki.gentoo.org/wiki/Project:Council/Code_of_conduct
> 
> 

I hear you, but there's also a grand unwritten gentoo-user tradition of
using the good old clue-by-four (or a LART) when warranted. We find the
same on -dev

The vast majority of the audience here are very knowledgeable and
comfortable in their skin. Speakers often speak their mind, listeners
often listen, offence is seldom taken.

The web forum OTOH, is very different. There I would agree with
patrolling for code of conduct violations.


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




Re: [gentoo-user] Re: [WAY OT] wanna learn networking internals

2015-09-02 Thread Alan McKinnon
On 02/09/2015 22:57, James wrote:
> Last, I suggest a parallel learning of C/C++ as it really helps with
> unix/linux/networking if can look at software sources and see what is going 
> on.

^this^, after the basics are fully mastered.

netmasks make no sense at all until bitwise operators are fully
understood. Even CIDR notation is not really obvious until you
understand what languages like C do with the 32 bit words we call IP
addresses. All x10 when IPv6 comes into play


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




Re: [gentoo-user] audacity-2.0.5 failed to compile

2015-09-02 Thread Alan McKinnon
On 02/09/2015 06:57, wraeth wrote:
> On 02/09/15 14:24, the...@sys-concept.com wrote:
>> On 09/01/2015 08:57 PM, wraeth wrote:
>>> On 02/09/15 12:23, Fernando Rodriguez wrote:
>>>
 He was told what the problem was on his first post about 
 libjpeg-turbo, he didn't just ignore it but posted the wrong 
 solution with a big SOLVED on the subject that only serves to 
 mislead future users of this list. On his last post about this 
 same error (different package) I politely told him to go back
 and follow the advise on that post, again he ignored it and
 posted a bogus solution (it worked because he rebuilt tiff,
 perl had nothing to do with it). revdep-rebuild may (or may
 not) fix it now, but the right solution is to remove or fix the
 obsolete package to depend on virtual/jpeg, update world
 properly, and then revdep-rebuild to undo this mess.
> 
>> Apology if I didn't most enough information. I know should have
>> post "emerge --info" but when it comes to error log.  It is very,
>> very long and email wouldn't be able to accept it; so I cat the
>> ending message as this is the point it stop compiling.
> 
> For large files, you can either paste the file to a pastebin service
> and give us the URL, compress it with gzip or bzip2 and attach that,
> or give us the last 250 lines or so.


Every list has their own particular preference to things. Here on
gentoo-user, since the very beginning, list users have preferred to not
use pastebin services - they go away and the real information is forever
lost.

There's never a good reason for use needing an entire build log if it's
big, it's fine to find the first error in the log and send from there to
the end. Users quickly discover how to find the first error.

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




[gentoo-user] Re: a few blockers I can't figure out

2015-09-02 Thread walt
On Tue, 1 Sep 2015 01:51:51 +0200 (CEST)
Jeremi Piotrowski  wrote:

> On Mon, 31 Aug 2015, cov...@ccs.covici.com wrote:
> 
> [snip]
> 
> > Just to let you know, most of the python entries were mandated by
> > portage, certainly the systemd one.
> > emerge --info
> > Portage 2.2.20.1 (python 2.7.10-final-0,
> > default/linux/amd64/13.0/desktop/gnome, gcc-4.9.3, glibc-2.21-r1,
> > 3.16.3-gentoo x86_64)  
> 
> I think this is your problem right here: you don't have the systemd
> profile selected. You're trying to splice together the use settings
> needed to get this to work when all of them are already gathered in
> the right profile. 
> 
> Remove most of the use settings you were forced to make because of
> systemd related issues, change your profile to
> 
> default/linux/amd64/13.0/desktop/gnome/systemd 
> 
> and emerge -uDUva @world. 
> 
> This should remove most (if not all) of the blockers caused by
> conflicting use flags you currently have set.

Thank you.  I've been running systemd for months and this is the first
time I've heard about systemd profiles.  I'm not using either gnome or
kde, so should I use default/linux/amd64/13.0/systemd, which doesn't
seem to care if I'm running a desktop machine or a headless server?




Re: [gentoo-user] audacity-2.0.5 failed to compile

2015-09-02 Thread Dale
Alan McKinnon wrote:
> On 02/09/2015 06:57, wraeth wrote:
>> On 02/09/15 14:24, the...@sys-concept.com wrote:
>>> On 09/01/2015 08:57 PM, wraeth wrote:
 On 02/09/15 12:23, Fernando Rodriguez wrote:

> He was told what the problem was on his first post about 
> libjpeg-turbo, he didn't just ignore it but posted the wrong 
> solution with a big SOLVED on the subject that only serves to 
> mislead future users of this list. On his last post about this 
> same error (different package) I politely told him to go back
> and follow the advise on that post, again he ignored it and
> posted a bogus solution (it worked because he rebuilt tiff,
> perl had nothing to do with it). revdep-rebuild may (or may
> not) fix it now, but the right solution is to remove or fix the
> obsolete package to depend on virtual/jpeg, update world
> properly, and then revdep-rebuild to undo this mess.
>>> Apology if I didn't most enough information. I know should have
>>> post "emerge --info" but when it comes to error log.  It is very,
>>> very long and email wouldn't be able to accept it; so I cat the
>>> ending message as this is the point it stop compiling.
>> For large files, you can either paste the file to a pastebin service
>> and give us the URL, compress it with gzip or bzip2 and attach that,
>> or give us the last 250 lines or so.
>
> Every list has their own particular preference to things. Here on
> gentoo-user, since the very beginning, list users have preferred to not
> use pastebin services - they go away and the real information is forever
> lost.
>
> There's never a good reason for use needing an entire build log if it's
> big, it's fine to find the first error in the log and send from there to
> the end. Users quickly discover how to find the first error.
>


I have found that it is usually "Error 1".  That's what I put in the
Find thingy to look for IF it is not real close by.  I generally go up a
few lines and then start my copy and paste. 

I can't count how many times I have searched for a problem and run into
paste bin links that no longer work.  It is really aggravating when you
think you found something and it turns out it has disappeared.

Dale

:-)  :-) 



[gentoo-user] Re: audacity-2.0.5 failed to compile

2015-09-02 Thread James
  sys-concept.com> writes:

> Apology if I didn't most enough information. I know should have post
"emerge --info" but when it comes to
> error log.  It is very, very long and email wouldn't be able to accept it;
so I cat the ending message as this is
> the point it stop compiling.


Yep, what to post is always tricky. I use gmane as a front end, so I'm
always forced to prune the postings and responses. Either way, remaining
calm does help find resolution, faster. I know, I sometimes get
hot blooded about big issues. On gentoo, I've just learned to keep
multiple (old) systems current, as they all get borked sooner or laters
(workstations with tons of codes). Servers are easy because, I do not
load up tons of codes (packages) on servers



> Emergeing "x11-libs/wxGTK" did not help.

> Here is: emerge --info =media-sound/audacity-2.0.5::gentoo
> Portage 2.2.20.1 (python 3.4.1-final-0, default/linux/amd64/13.0/desktop,
gcc-4.8.4,
> glibc-2.20-r2, 3.10.17-gentoo x86_64)

Right now, I'm using gcc-4.8.5 for stable gentoo sytems. If you
have updated recently, might want to update 'libtool' too as 
well as glibc. Even if the version numbers current, rebuilding
sometimes helps.

I also go to the extra step of recompiling @system (--oneshot)
after gcc updates. 

also, make sure you have run::

perl-cleaner --all
and python-updater

to ensure your system is clean.

hth,
James








Re: [gentoo-user] Re: Portage is proposing an ncurses update and I don't understand what it means

2015-09-02 Thread Jeremi Piotrowski
On Wed, 2 Sep 2015, walt wrote:

> qlop shows that both updates completed, but eix shows that I now have
> only  ncurses-5.9-r5 installed.  (This is apparently the desired
> result, but I'm only guessing what the desired result really is.)

The desired output depends on what other packages you have installed but
for me it's having both ncurses-5.9-r5 ncurses-5.9-r99.


> I think every portage tool should announce very clearly whether a
> package is slotted/subslotted, and exactly which slot and subslot the
> package belongs in.  The subject of slots is way too confusing to
> withhold such information.  If the devs can't explain slots to their
> users then they don't understand it themselves.  (Hm.  That phrase
> sounds familiar.  Where did I get that?)
> 

I don't know why your portage display is different than mine, I always run
portage in verbose mode and it clearly shows me subslots:

# emerge -uDUva @world

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

Calculating dependencies... done!
[ebuild U  ] sys-libs/ncurses-5.9-r5:0/5::gentoo [5.9-r3:0/0::gentoo] 
USE="..." ABI_X86="(64) -32 (-x32)" 2,761 KiB
[ebuild  NS] sys-libs/ncurses-5.9-r99:5::gentoo [5.9-r3:0::gentoo] 
USE="..." ABI_X86="(64) -32 (-x32)" 0 KiB




Re: [gentoo-user] Re: Portage is proposing an ncurses update and I don't understand what it means

2015-09-02 Thread Alan McKinnon
On 02/09/2015 15:04, Neil Bothwick wrote:
> On Wed, 2 Sep 2015 05:24:33 -0700, walt wrote:
> 
>> If the devs can't explain slots to their
>> users then they don't understand it themselves.  (Hm.  That phrase
>> sounds familiar.  Where did I get that?)
> 
> I think it is an Einstein quote that says something like "if you can't
> explain it in simple terms, you don't understand it". He was probably
> having a pop at Niels Bohr and quantum theory at the time.
> 
> Bohr said something like "if thinking about quantum theory doesn't give
> you a headache, you don't understand it".
> 
> 

And Feynmann said something along the lines of "Anyone who claims to
understand quantum mechanics, doesn't".

Back to subslots and not replying to Neil directly: They aren't that
hard to grasp, they look like this:

cat/pkg/pkg-1.2:3/4

The SLOT is 3 and the subslot is 4. As usual, different versions of the
same package in different SLOTs can co-exist. Subslots are a different
matter, and it's an unfortunate choice of name, as they are *not* a
subset of a SLOT. Look at ncurses:

[I] sys-libs/ncurses
 Available versions:
 (0)5.9-r3 (~)5.9-r4 5.9-r5(0/5) (~)6.0-r1(0/6)
 (5)5.9-r99(5/5) (~)5.9-r101(5/5) (~)6.0(5/6)

There's 2 SLOTs (0 and 5), and both have versions of subslot 5 and 6.
Subslots are most useful for things like api/abi versions where upstream
breaks these but don't increment the major version, this is why we had
endless issues in the past where emerge world broke stuff horribly and
it only got fixed much later when we could run revdep-rebuild. Nowadays
we have better tools, if the subslot changes for a consumed library,
then all consuming packages need to be rebuilt.

Describing and defining subslots is not hard, neither are the operators.
The problem with subslots is the usual one - you have to deal with real
life, and in real life upstreams sometimes do peculiar things to their
code that doesn't exactly match the effect of a subslot operation.

Or put another way: subslot docs describe the effect you should end up
with, it's not always the same thing as what you *do* end up with.
Finding that out means testing every possible circumstances and seeing
the results, but there's an infinite variety of those.


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




Re: [gentoo-user] audacity-2.0.5 failed to compile

2015-09-02 Thread wraeth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 09/02/2015 07:15 PM, Gevisz wrote:
> On Wed, 2 Sep 2015 01:55:00 -0400 Fernando Rodriguez
>  wrote:
>> It's arguable if that makes the list less productive, but
>> certainly posting a new thread every few hours about the same
>> issue will make it less productive.
> 
> Agree with the last phrase: "posting a new thread every few hours
> about the same issue" should be avoided."

Okay, so identify it, communicate it, and move on.

One useful reference [1] I've come across is a description of "How to
ask questions the smart way" - a guide on what sort of information to
include and general etiquette when posting to lists and IRC etc.
Perhaps that could be referred to when suggesting improvements on how
to ask questions.

Either way, I think the point has now been covered. :)

1: http://www.catb.org/esr/faqs/smart-questions.html

- --
wraeth 
GnuPG Key: B2D9F759
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iF4EAREIAAYFAlXmxkgACgkQXcRKerLZ91loiwD+KvYxQjvwMVUqjW9mx5Ea1cq1
1vehX6xn9/b7xXWWsoYA/1g3FZ7wOWXrF1k9g2kcji9kfiKHNAWuPDWgN/hcc90o
=4FIl
-END PGP SIGNATURE-



Re: [gentoo-user] Re: Portage is proposing an ncurses update and I don't understand what it means

2015-09-02 Thread Neil Bothwick
On Wed, 2 Sep 2015 05:24:33 -0700, walt wrote:

> If the devs can't explain slots to their
> users then they don't understand it themselves.  (Hm.  That phrase
> sounds familiar.  Where did I get that?)

I think it is an Einstein quote that says something like "if you can't
explain it in simple terms, you don't understand it". He was probably
having a pop at Niels Bohr and quantum theory at the time.

Bohr said something like "if thinking about quantum theory doesn't give
you a headache, you don't understand it".


-- 
Neil Bothwick

BBS: (n.) a system for connecting computers and exchanging gossip,
 facts, and uninformed speculation under false names.


pgp5L_ASoynlv.pgp
Description: OpenPGP digital signature


[gentoo-user] Re: Portage is proposing an ncurses update and I don't understand what it means

2015-09-02 Thread walt
On Wed, 2 Sep 2015 07:51:41 +0100
Neil Bothwick  wrote:

> On Tue, 1 Sep 2015 18:06:05 -0700, walt wrote:
> 
> > Calculating dependencies... done!
> > [ebuild U  ] sys-libs/ncurses-5.9-r5 [5.9-r3]
> > [ebuild  NS] sys-libs/ncurses-5.9-r99 [5.9-r3] USE="cxx gpm
> > unicode -ada -static-libs -tinfo" ABI_X86="32 (64) (-x32)" 
> > 
> > Is this going to install two different (slotted) versions of
> > ncurses-5.9 on my stable machine?
> > 
> > If not, then this proposed update must be an experiment or a hack
> > or a workaround of some kind.  On my *stable* machine!  
> 
> It's a workaround, not an experiment as it's been tested for over a
> week. It's to get round an issue with subslots and some ebuilds not
> handling changes as expected (I won't say incorrectly as there seems
> to be some dispute over exactly what is defined in the PMS).AIUI the
> second ebuild simply depends on the first, so that all the ebuilds
> requiring ncurses work properly.
> 
> See https://bugs.gentoo.org/show_bug.cgi?id=558952 for more
> information, probably more than you want to read.

Thanks also to wabe and Fernando for your replies.  Just for the record
I did the update this morning, which completed without errors.

qlop shows that both updates completed, but eix shows that I now have
only  ncurses-5.9-r5 installed.  (This is apparently the desired
result, but I'm only guessing what the desired result really is.)

I think every portage tool should announce very clearly whether a
package is slotted/subslotted, and exactly which slot and subslot the
package belongs in.  The subject of slots is way too confusing to
withhold such information.  If the devs can't explain slots to their
users then they don't understand it themselves.  (Hm.  That phrase
sounds familiar.  Where did I get that?)




Re: [gentoo-user] Re: a few blockers I can't figure out

2015-09-02 Thread Rich Freeman
On Wed, Sep 2, 2015 at 7:57 AM, walt  wrote:
> Thank you.  I've been running systemd for months and this is the first
> time I've heard about systemd profiles.  I'm not using either gnome or
> kde, so should I use default/linux/amd64/13.0/systemd, which doesn't
> seem to care if I'm running a desktop machine or a headless server?

Yes.  The profile doesn't do too much, but it is helpful.

At this point I think all the USE changes you've been making are
causing you more harm than good.  I'm pretty sure that you just need
to emerge -1 python-systemd, but I'm travelling so it might be a while
before I can take a closer look at things.

-- 
Rich



[gentoo-user] Re: Portage is proposing an ncurses update and I don't understand what it means

2015-09-02 Thread James
walt  gmail.com> writes:


> > > Calculating dependencies... done!
> > > [ebuild U  ] sys-libs/ncurses-5.9-r5 [5.9-r3]
> > > [ebuild  NS] sys-libs/ncurses-5.9-r99 [5.9-r3] USE="cxx gpm
> > > unicode -ada -static-libs -tinfo" ABI_X86="32 (64) (-x32)" 

Weird. But the last week has been weird on ncurses. 

> Thanks also to wabe and Fernando for your replies.  Just for the record
> I did the update this morning, which completed without errors.


I synce early Monday morning and all went fine. But I ended up with these
on my stable system::
Installed versions:  5.9-r101(5)(08:55:43 PM 08/31/2015)((unicode)
6.0-r1(08:53:59 PM 08/31/2015)(cxx threads unicode)

> qlop shows that both updates completed, but eix shows that I now have
> only  ncurses-5.9-r5 installed.  (This is apparently the desired
> result, but I'm only guessing what the desired result really is.)

I use 'elogv' to look at the compile results and this combo I have
on a stable amd64 system has no issues. I upgrade about 30 packages
since the Monday morning sync/update of ncurses.


> I think every portage tool should announce very clearly whether a
> package is slotted/subslotted, and exactly which slot and subslot the
> package belongs in.  The subject of slots is way too confusing to
> withhold such information.  If the devs can't explain slots to their
> users then they don't understand it themselves.  (Hm.  That phrase
> sounds familiar.  Where did I get that?)


I cannot disagree with this sentiment, as a user.
But, now I'm hacking ebuilds out of misc. codes and stuff
I code and I have a wee bit more tolerance toward the
devs:: even when they screwup..


Besides, Vapier is not the most politically correct dev (ah hem.)
but I'm glad he is mostly cleaning up the mess..
Also, you can look at the git logs (links previously posted by others)
and see when the codes last changed. 


hth,
James






Re: [gentoo-user] Re: a few blockers I can't figure out

2015-09-02 Thread Jeremi Piotrowski
On Wed, 2 Sep 2015, walt wrote:

> Thank you.  I've been running systemd for months and this is the first
> time I've heard about systemd profiles.  I'm not using either gnome or
> kde, so should I use default/linux/amd64/13.0/systemd, which doesn't
> seem to care if I'm running a desktop machine or a headless server?
> 

I just had a closer look of the profile and it's definitely more suitable
for servers. However do remember that this is gentoo so we can work around
that.

Easy way: stay on the desktop profile and copy all of the systemd profile
files into /etc/portage:

mkdir -p /etc/portage/profile
cp /usr/portage/profiles/targets/systemd/* /etc/portage/profile

A bit harder (but way more interesting!): roll your own profile. Never
done this before and the documentation is a bit scarce, but this seems to
do the right thing:

# mkdir -p /etc/portage/repos.conf
# cat >/etc/portage/repos.conf/local.conf repo_name
# echo -e "amd64\tdefault/linux/amd64/13.0/desktop/systemd\texp" 
>profiles.desc
# mkdir -p default/linux/amd64/13.0/desktop/systemd
# cd default/linux/amd64/13.0/desktop/systemd
# echo "gentoo:default/linux/amd64/13.0/desktop" >parent
# echo "gentoo:default/linux/amd64/13.0/systemd" >>parent

Then eselect your new profile and emerge -uDNva @world.