Re: [gentoo-user] Re: udev -> eudev

2016-02-09 Thread Jc García
2016-02-09 11:39 GMT-06:00 Jc García :
> 2016-02-09 11:31 GMT-06:00 James :
>
>>  emerge -uDvtp @world
>> shows just a few updates needed but nothing pulling in systemd. What I'm
>> missing is why the "-systemd" setting in make.conf did not overrule
>> these missteps?   Is there way to set something, anything anywhere
>> what no packages with require systemd can be installed. I never contiously
>> overrode that concern. It is my overwhelming concern. NO systemd.
>> All else is optional. Where's that setting?
>
> The hierarchy is package.use > make.conf > profile
I forgot USE as environment variable, so:
USE(env) >  package.use > make.conf > profile



Re: [gentoo-user] Re: udev -> eudev

2016-02-09 Thread Jc García
2016-02-09 11:31 GMT-06:00 James :

>  emerge -uDvtp @world
> shows just a few updates needed but nothing pulling in systemd. What I'm
> missing is why the "-systemd" setting in make.conf did not overrule
> these missteps?   Is there way to set something, anything anywhere
> what no packages with require systemd can be installed. I never contiously
> overrode that concern. It is my overwhelming concern. NO systemd.
> All else is optional. Where's that setting?

The hierarchy is package.use > make.conf > profile



Re: [gentoo-user] Re: udev -> eudev

2016-02-09 Thread Jc García
2016-02-09 11:28 GMT-06:00 Jc García :
> 2016-02-09 11:21 GMT-06:00 James :
>
>>
>> #  grep -r systemd /etc/portage
> ...
>> /etc/portage/package.use/zzz-autounmask:>=sys-fs/udisks-2.1.4 systemd
>
> look at that file and that line why that was activated.

and delete it, and change the useflags for the package that might have
caused it if any.



Re: [gentoo-user] Re: udev -> eudev

2016-02-09 Thread Jc García
2016-02-09 11:21 GMT-06:00 James :

>
> #  grep -r systemd /etc/portage
...
> /etc/portage/package.use/zzz-autounmask:>=sys-fs/udisks-2.1.4 systemd

look at that file and that line why that was activated.



Re: [gentoo-user] Re: udev -> eudev

2016-02-09 Thread Jc García
2016-02-09 11:17 GMT-06:00 James :

> Granted. But the point is it's my desktop. udisk cannot be removed without
> changing the entire desktop. That a bit extreme. But if there is a cool,
> minimialistic desktop (lxqt?) that avoids all derivative dependencies
> on systemd && company, then that is very useful information for me,
> as I'll just spin up a new primary workstation and move my codes
> as necessary.  But it looks to me as iff something changed with dbus,
> as all of this happend *after* a --sync last night.
>
Nobody said you should remove udisks or dbus, just check their
useflags(grep -r systemd /etc/portage) and reinstall them with new
proper useflags.
> I do appreciate all ideas!
>
Why give you more if you keep ignoring them



Re: [gentoo-user] Re: udev -> eudev

2016-02-09 Thread Jc García
2016-02-09 10:50 GMT-06:00 James :
> Jc García  gmail.com> writes:
>
>
>> It seems to me udisks is the package with the systemd USE flag
>> activated that might be causing all the trouble, maybe automatically
>> added by an autounmask by error, I would use grep to check the package
>> use file(s), to know wich useflags might have been activated for
>> udisks.
>
>
> # equery depends udisks
>  * These packages depend on udisks:
> gnome-base/gvfs-1.24.2-r1 (udisks ? >=sys-fs/udisks-1.97:2)
> skipper portage # equery depends gvfs
>  * These packages depend on gvfs:
> x11-libs/libfm-1.2.3-r1 (udisks ? gnome-base/gvfs[udev,udisks])
> (!udisks ? gnome-base/gvfs[udev])
> skipper portage # equery depends libfm
>  * These packages depend on libfm:
> lxde-base/lxde-meta-0.5.5-r4 (>=x11-libs/libfm-1.2.0)
> lxde-base/lxpanel-0.8.1 (>=x11-libs/libfm-1.2.0[gtk])
> x11-misc/pcmanfm-1.2.3 (>=x11-libs/libfm-1.2.3[gtk(+)])
>
>
> lxde-meta has no flag options to set, so this looks fixed.
> I guess I could change to another minimal desktop?
>
> I've been running this version of lxde-meta for about a year now
> and it has not been a problem before, at all, so I do not think
> this is a fruitful idea, but I could be wrong
>
>
> James

equery will only tell info for what is installed not about what you
are installing, and in a previous mail you posted :

> so
> 'emerge -uDNvp world' now shows::
...
> [ebuild  N ] sys-fs/udisks-2.1.4:2::gentoo  USE="gptfdisk introspection
systemd -cryptsetup -debug (-selinux)" 0 KiB
...

See? Thats why I told you to take a good look at what you have in
package.use, equery won't tell you about that.



Re: [gentoo-user] Re: udev -> eudev

2016-02-09 Thread Jc García
2016-02-09 10:27 GMT-06:00 James :
> James  tampabay.rr.com> writes:
>
>
>> > 2) Use --tree to see exactly what is pulling in the blockers, and why,
>> > then deal with that.
>
> So I removed udisks gputils sdcc gimp
>
> emerge -uvtp  world  
>
> ebuild U ~] dev-vcs/git-2.7.1::gentoo   
>
> yippee ?
>
> emerge -uDNvtp  world  
>
>
>
> Conflict: 3 blocks (3 unsatisfied)
>
>   Error: The above package list contains packages which cannot be
>   installed at the same time on the same system.
>
>   (sys-fs/eudev-3.1.5:0/0::gentoo, installed) pulled in by
> >=sys-fs/eudev-1.3 required by (virtual/udev-215:0/0::gentoo, installed)
> sys-fs/eudev required by @selected
>
>
>
>
>   (sys-apps/systemd-226-r2:0/2::gentoo, ebuild scheduled for merge) pulled in 
> by
> sys-apps/systemd:0= required by (sys-apps/dbus-1.8.16:0/0::gentoo,
> ebuild scheduled for merge)
> sys-apps/systemd required by (sys-fs/udisks-2.1.4:2/2::gentoo, ebuild
> scheduled for merge)
> >=sys-apps/systemd-207 required by
> (sys-apps/gentoo-systemd-integration-4:0/0::gentoo, ebuild scheduled for 
> merge)
>
>
> Guidance?  What's the replacement for udev? YES I am confounded.
>
>

It seems to me udisks is the package with the systemd USE flag
activated that might be causing all the trouble, maybe automatically
added by an autounmask by error, I would use grep to check the package
use file(s), to know wich useflags might have been activated for
udisks.



Re: [gentoo-user] udev -> eudev

2016-02-09 Thread Jc García
2016-02-08 20:53 GMT-06:00 James :
> Hello,
>
> Well I have one system I need to migrate to eudev. All sorts of things are
> now calling for *systemd* and I do not want that at all.
>
> Here is the blockers on the latest list ::
>
> [blocks B  ] sys-fs/eudev ("sys-fs/eudev" is blocking
> sys-apps/gentoo-systemd-integration-4, sys-apps/systemd-226-r2)
> [blocks B  ] sys-apps/gentoo-systemd-integration
> ("sys-apps/gentoo-systemd-integration" is blocking sys-fs/udev-225,
> sys-fs/eudev-3.1.5)
> [blocks B  ] sys-apps/systemd ("sys-apps/systemd" is blocking
> sys-fs/udev-225, sys-fs/eudev-3.1.5)
>
>
> So just  emerge -C sys-apps/systemd sys-apps/gentoo-systemd-integration
> sys-fs/udev
>

You can only have one of sys-apps/systemd, sys-fs/udev or sys-fs/eudev
installed, portage won't let you install 2(since there's files
collision), see the contents of virual/udev, so there's no point in
trying to remove 2 of them from a system, "All softs of things are now
calling for systemd" isn't really digging into the problem, and being
honest not that many packages have sys-apps/systemd in any of *DEPEND,
you should check better why is systemd being pulled( emerge -pvt),
maybe some use flags misconfiguration.



Re: [gentoo-user] QEMU/distcc combination question64-

2016-01-02 Thread Jc García
2016-01-02 22:31 GMT-06:00 Jc García :

> I serve the binpkg host from my
> desktop to my LAN with nginx but I'm considering git from the booted
> container
Correction:
* I'm considering doing it from the booted container



Re: [gentoo-user] QEMU/distcc combination question64-

2016-01-02 Thread Jc García
2016-01-02 14:25 GMT-06:00  :
> On Sat, Jan 02, 2016 at 12:55:56PM -0600, Jc García wrote
>
>> Then why the recently introuced  multilib method of bulding 32bit
>> libraries for packages that need it on 64 bit works? I don't think the
>> devs would have bothered to introudce the variable ABI_X86 and a
>> mulitib eclass just to compile a  32bit Hello World.
>>
>> I'm not trying to make a flame here, but don't blame the compiler,
>> when in this case is more likely you the user are doing something
>> wrong.
>> My guess is you are blaming the effects of  CPU_FLAGS_X86 on CFLAGS.
>
>   The fact that I use "no-multilib" profiles on my 64-bit machines
> probably doesn't help.  The example I was using involved a manual build
> of Pale Moon from source.  I manually specified in the build script...
>
> ac_add_options --enable-optimize="-O2 -march=bonnell -mfpmath=sse -pipe \
> -fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables \
> -mmmx -msse -msse2 -mssse3 -mmovbe -mfxsr"
>
> ...which are the options I use on my netbook client for outsourcing the
> build process.  So the host's CPU_FLAGS_X86 setting should not be a
> problem.
>
A bit unrelated to the thread, but not really as a solution, here's my
experience:
I use Gentoo on a netbook too, but I'm not using distcc, it won't help
much anyway, my approach is to make a 32 bit container(using
systemd-nspawn for the sake of booting it fot testing, but chroot can
get it done) and make sure to have the same world and /etc/portage/ in
both,  with the only difference that the container has
FEATURES="buildpkg", and the netbook has FEATURES="getbinpkg", I use
git to keep the changes in sync,  and source make.local.conf (ignored
by git) on each the container). I serve the binpkg host from my
desktop to my LAN with nginx but I'm considering git from the booted
container. I also mount $PORTDIR via NFS to have the same tree(
bandwidth is expensive for me, and I also don't want to have tons of
portage tree's around as I use the same method for another amd64 pc
with an older processor, that has only 2 threads)

PD: The next step is to make the upgrades be handled by ansible but I
haven't sat down to make it happen.



Re: [gentoo-user] QEMU/distcc combination question64-

2016-01-02 Thread Jc García
2016-01-02 12:27 GMT-06:00  :
> On Sat, Jan 02, 2016 at 02:56:58PM +0300, Andrew Savchenko wrote
>
>> For 32-bit distcc on 64-bit host there is no need to chroot or
>> create VM (hey, they're hellishly slow!). Just add -m32 to your
>> *FLAGS to force 32-bit arch. (In some rare cases ebuild ignores
>> {C,CXX,F,FC}FLAGS, while this is a bug and should be fixed, this
>> can be worked around on distcc server by forcing -m32 for each
>> gcc call.
>
>   -m32 in a 64-environment works for "Hello World".  More complex code
> that requires arch-specific headers and libs will have problems.
Then why the recently introuced  multilib method of bulding 32bit
libraries for packages that need it on 64 bit works? I don't think the
devs would have bothered to introudce the variable ABI_X86 and a
mulitib eclass just to compile a  32bit Hello World.

I'm not trying to make a flame here, but don't blame the compiler,
when in this case is more likely you the user are doing something
wrong.
My guess is you are blaming the effects of  CPU_FLAGS_X86 on CFLAGS.



Re: [gentoo-user] creating a .9999 ebuild

2015-12-14 Thread Jc García
2015-12-14 16:13 GMT-06:00  :

> OK, I have one question more -- for the git, I need to run ./autogen
> before I can run configure, do I need to put that in source_prepare, or
> is this done automatically?

That should mean the package you are building is using autotools as a
build system, so you should inherit the autotools eclass and run
eautoreconf in src_prepare(). I remember this is stuff that it's in
the dev manual, that should be the place you should be looking mostly.

PD: knowing the build system also helps a lot



Re: [gentoo-user] upgrade gnome-3.16.2-r2 -> gnome-3.18.2

2015-11-30 Thread Jc García
2015-11-30 2:47 GMT-06:00 Frederico Moraes Ferreira :
> Thanks for your replay.
> Not sure, but looks like the Gnome version depends on your system profile.
> I've been using the:
> [5]   default/linux/amd64/13.0/desktop/gnome/systemd *
>
> This is a ebuild example:
> [ebuild U  ] gnome-base/gdm-3.18.2::gentoo [3.16.4::gentoo]
> USE="branding introspection ipv6 tcpd -accessibility -audit -debug -fprint
> -plymouth (-selinux)
>
What I meant is there's no gnome-base/gnome-3.18.2 ebuild in the
portage tree, GDM is only the login not all of GNOME, profiles has
nothing to do here.



Re: [gentoo-user] upgrade gnome-3.16.2-r2 -> gnome-3.18.2

2015-11-27 Thread Jc García
2015-11-27 15:39 GMT-06:00 Frederico Moraes Ferreira :
> Hi List,
> Just by chance. Will upgrade from gnome-3.16.2-r2 to gnome-3.18.2 be smooth?
> Everything in my current Gnome version is working just fine. On the other
> hand, don't want to stay behind.
> Will the new version improvements compensate a eventual pain?
> Luck from your experience.
> Best,
> Fred
>
>
>

I've just synced and can't see Gnome 3.18 in the tree yet, and the
gnome overlay seems just in the middle of the bump(I've been watching
there), where are you getting the ebuilds?



Re: [gentoo-user] Weird "df" output

2015-11-25 Thread Jc García
2015-11-25 16:10 GMT-06:00  :

> /dev/sda7.  Here's the relevant portion of /etc/fstab...
...

> /home/bindmounts/opt/optauto bind   0 0

Why not use regular partiontions instand of bindmounts, you are just
doing weird stuff seems to me.



Re: [gentoo-user] This is what I get for trying...

2015-11-19 Thread Jc García
2015-11-19 9:17 GMT-06:00 Alan Grimes :
> Naturally, the instructions on the gentoo wiki FAIL
>
>
>
> https://wiki.gentoo.org/wiki/Basic_guide_to_write_Gentoo_Ebuilds
> 
>
> atg@tortoise ~/archive $ ebuild seamonkey-2.35.ebuild clean merge
> Appending /home to PORTDIR_OVERLAY...
> !!! Repository 'x-home' is missing masters attribute in
> '/home/metadata/layout.conf'
> !!! Set 'masters = gentoo' in this file for future compatibility
> ebuild: /home/atg/archive/seamonkey-2.35.ebuild: does not seem to have a
> valid PORTDIR structure
> atg@tortoise ~/archive $
> #
>

Why are you reading random documentation on the wiki? if you want to
learn about overlays and writing ebuilds read the developer
documentation.
And you don't seem to be folowing it properly either, besides what was
pointed out already, you are trying to run the ebuild comand as your
user, and you don't seem to have made an overlay(You shouldn't be
using hour $HOME as your overlay), also it should be run as the
portage user or root, a lot of documentation you will find about this
stuff won't guide step by step because it is assumed you understand
about overlays already, and have looked at the developer
documentation.



Re: [gentoo-user] resizing EFI partition, btrfs context

2015-10-05 Thread Jc García
2015-10-05 15:36 GMT-06:00 Stefan G. Weichinger :
>
> Hello, gentoo-users,
>
> today I wanted to resize my EFI-partition sda1.
>
> It was on my SSD which had roughly this layout:
>
> sda1300MEFI System
> sda2~460G   linux fs -> btrfs
> sda3~4G swap
>
> This is a dualboot setup with Gentoo and Fedora (in fact triple-boot as
> there's some MS Windows 10 Pro on another disk, but anyway) and both
> distros have their root-filesystems and stuff within the btrfs on sda2.
>
> They even share stuff by mounting the same subvols here and there ...
> nice, by the way.
>
> My issue was and is: 300M gets tight when 2 distros install multiple
> kernels into /boot ... so I would like to have around 500 megs to avoid
> having to always manually clean up some kernel before upgrades run
> through. comfort.
>
> I ddrescued sda to a HDD for backups, then rebooted with gparted etc etc
>
> long story short: it failed.
>

I tried to do this (getting more space for kernels in the EFI
partitions) some days ago, and failed on my first try also, I went the
easy way backing up what I had and deleting, remaking the partition
using gparted, put the stuff in there(and finally change from
gummiboot to bootctl), reboot and failed, after sratching my head and
2 more fails trying FAT16 and going back to FAT32 booting, I noticed I
had not set the partition type only the label, and didn't found how to
do that using gparted, so went to the basic: gdisk, and set the
partition type to EF00 and I it worked. Didn't you miss this sort of
details?



Re: [gentoo-user] blocks....

2015-09-05 Thread Jc García
2015-09-05 22:43 GMT-06:00 Tamer Higazi :
> Hi Fernando,
> Thanks for replying. I issued this command:
> tamer@tux ~ $ emerge -pvuDN --with-bdeps=y @system @world
>
> and got still these blocks :(
> If you still have any ideas solving it, I'd be happy to hear from you.
>
>
>
> 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:
>
> dev-libs/boost:0
>
>   (dev-libs/boost-1.56.0-r1:0/1.56.0::gentoo, installed) pulled in by
> dev-libs/boost:0/1.56.0= required by
> (dev-libs/librevenge-0.0.2:0/0::gentoo, installed)
>   ^^
>
> dev-libs/boost:0/1.56.0 required by
> (app-office/libreoffice-bin-4.4.5.2:0/0::gentoo, ebuild scheduled for merge)
>   ^
>
>
> (and 6 more with the same problems)
>
>   (dev-libs/boost-1.55.0-r2:0/1.55.0::gentoo, ebuild scheduled for
> merge) pulled in by
> dev-libs/boost:0/1.55.0= required by
> (app-text/libebook-0.1.2:0/0::gentoo, installed)
>   ^^
>
>
> dev-util/mdds:0
>
>   (dev-util/mdds-0.12.1:0/0.12.1::gentoo, installed) pulled in by
> >=dev-util/mdds-0.12.1 required by
> (app-text/libetonyek-0.1.3:0/0::gentoo, installed)
> ^^  ^^
>
>
>   (dev-util/mdds-0.12.0:0/0.12.0::gentoo, ebuild scheduled for merge)
> pulled in by
> >=dev-util/mdds-0.12.0:0/0.12.0= required by
> (dev-libs/libixion-0.9.0:0/0.10::gentoo, installed)
>   ^^
>
>
> dev-util/boost-build:0
>
>   (dev-util/boost-build-1.55.0:0/0::gentoo, ebuild scheduled for merge)
> pulled in by
> =dev-util/boost-build-1.55* required by
> (dev-libs/boost-1.55.0-r2:0/1.55.0::gentoo, ebuild scheduled for merge)
> ^ ^
>
>
>
>   (dev-util/boost-build-1.56.0:0/0::gentoo, installed) pulled in by
> =dev-util/boost-build-1.56* required by
> (dev-libs/boost-1.56.0-r1:0/1.56.0::gentoo, installed)
> ^ ^
>
>


Are you using ~amd64?, these blockers seem to be mostly related to
libreoffice-bin, I have seen something like this trying to use
libreoffice-bin with ~amd64 keywords, because specific versions and
flags are required to use libreoffice-bin. you can try a 'emerge -pet
@world' to check  if all the dependcies are solving right, if by
chance you installed dependencies manually a check of your @world
would be a good idea to be sure you didn't miss a --oneshot, it might
you just need to push portage to go deeper with a --backtrack=30

> !!! The ebuild selected to satisfy ">=media-libs/libmediaart-0.1:1.0"
> has unmet requirements.
> - media-libs/libmediaart-0.7.0::gentoo USE="gtk introspection qt5 -qt4
> -test -vala" ABI_X86="64"
>
>   The following REQUIRED_USE flag constraints are unsatisfied:
> at-most-one-of ( gtk qt4 qt5 )
>
>   The above constraints are a subset of the following complete expression:
> at-most-one-of ( gtk qt4 qt5 ) vala? ( introspection )
>
For this you should use package.use and unset either gtk or qt5. seems
unrelated to the other stuff.



Re: [gentoo-user] emerge world looking grim

2015-08-23 Thread Jc García
2015-08-23 20:19 GMT-06:00 Harry Putnam :
> My gentoo OS is running on Openindiana (solaris) inside oracle's vbox.
>

Why so much overhead for compiling, and not doing it bare-metal?

> It's been left setting for at least 4-5 months maybe a couple more.
>
> After eix-sync, attempting an `emerge vuND world' comes up with so
> many blocks, use flag changes and a variety of other bad news in
> such proliferation... I'm thinking better to install from scratch with
> latest ISO.
>

Did you really took your time to read that error message, You are
seeing problems, except where they are.

> ,
> | NOTE: The full mess can be viewed here:
> |
> | zeus.jtan.com/~reader/vutxt/images/emerge_MassiveFailure-150823.txt
> `
>
> I've been quite a long time gentoo user but last 2+ yrs only very
> lightly.
>
> I'm awful dumb for someone who has problably more than 15 yrs running
> gentoo.
>
Considering gentoo doesn't even have 15 years, I guess you are talking
to us from the future.

> I wondered if there are some very new ISO's that would contain all
> major changes in last year or so once I got the core installed and key
> useflags/make.conf setup?
>
> Can anyone advise me which iso to use?  And which profile to set for
> general use in a vbox, hopefully to allow a `no sweat' emerge to a
> full OS.

You should really step first at the documentation and then ask about
it, gentoo doesn't have 'new isos to install', it has stage3 tarballs.
you are trying to see gentoo as a binary distro.

Did you even tried to read the message before asking?

Didn't this told you anything? (From your log):
---
* LLVM-3.6.2 requires C++11-capable C++ compiler. Your current compiler
 * does not seem to support -std=c++11 option. Please upgrade your compiler
 * to gcc-4.7 or an equivalent version supporting C++11.
 * ERROR: sys-devel/llvm-3.6.2::gentoo failed (pretend phase):
 *   Currently active compiler does not support -std=c++11
---
gcc-config: error: could not run/locate 'i686-pc-linux-gnu-cpp'
 * ERROR: x11-base/xorg-server-1.17.2-r1::gentoo failed (pretend phase):
 *   Sorry, but gcc earlier than 4.0 will not work for xorg-server.


Upgrade your compiler and try again. But I should say from reading
your email you don't seem to have the attitude to be a gentoo user and
enjoy it, if this made think about reinstalling without even giving a
good read to that error message, I've using gentoo for ~2 years, and
even then 4.7 or 4.6, I remember was already a stable compiler, are
you sure you haven't upgraded in a significant more time than you say?



Re: [gentoo-user] how to get a couple of -9999 packages to behave

2015-08-19 Thread Jc García
2015-08-18 10:38 GMT-06:00  :
>  So, how do I get the -
> versions of the ebuilds to give me all the correct files like the 2.16.x
> versions do?  I know the - are from git, but it should do what
> gentoo wants.
This isn't realistic, you can't ask the devs to check every commit
upstream makes, exactly when it makes it, so they could update the
ebuild, if a  ebuild isn't working try to fix it, Obviously
somthing changed with the dependecies, maybe versions, considering
gnome 3.18 is around the corner. Why do you think none of the 
ebuilds are keyworded? because they're not officially maintained for
any arch. My advice is wait if you don't want to mess with the
ebuilds, other wise, open up an editor and start making things work
for you, a good start would be to check all the autotools files for
changes in dependencies.



Re: [gentoo-user] Missing digest for *** Tree looks messed up.

2015-08-09 Thread Jc García
2015-08-09 22:53 GMT-06:00 Jc García :

> Is good to see gentoo modernizing it's development infrastructure,
> certainly, contribuiting will be much easier now. have you already
> decided the way you will handle user constributions? (I have read you
> will avoid merge commits, will devs be in charge of rebasing pull
> request from users?)
...
BTW; gitg doesn't handle well the new git repo, trying to load the
first commit after I clicked on it took all my RAM and swap(8G total).
And vim + gitv coudln't handle the first commit either.



Re: [gentoo-user] Missing digest for *** Tree looks messed up.

2015-08-09 Thread Jc García
2015-08-09 19:05 GMT-06:00 Rich Freeman :
> TL;DR - don't worry about it too much, but don't be surprised if
> emerge --sync doesn't give you anything new for a day or two
.
The rsync git mirror on github is up arlready I have been using this,
for some months, and has been working great.
I have this:
/etc/portage/repos.conf/gentoo.conf:
[gentoo]
location = /var/lib/portage/repos/gentoo
sync-type = git
sync-uri = https://github.com/gentoo/gentoo-portage-rsync-mirror
auto-sync = true

Will this be preferred for users or should we users consider change to
the same repo devs will commit to?
I know I care about history, but not always, and not in every computer
I have that uses gentoo, I'm fine with reading it from the copy of the
new git repo I already have in my directory dedicated to messing
around with overlays.

>  You can of course clone any of the URLs under
> https://gitweb.gentoo.org/repo/gentoo.git/ to get the latest changes
> now straight from git.  We're up to 210 commits in git already today.
>
> I'm sure the transition could have been less bumpy, but I'm glad we're
> finally seeing it happen.  This has been in the works for a very long
> time and sometimes you just have to pull the trigger.  If rsync is
> down for a day it isn't the end of the world.
>
Is good to see gentoo modernizing it's development infrastructure,
certainly, contribuiting will be much easier now. have you already
decided the way you will handle user constributions? (I have read you
will avoid merge commits, will devs be in charge of rebasing pull
request from users?)



Re: [gentoo-user] Re: why --noclear not set on tty1 in default /etc/inittab?

2015-08-08 Thread Jc García
2015-08-08 11:02 GMT-06:00 Neil Bothwick :
> Gentoo doesn't hide it, it merely clears the screen once the boot has
> completed successfully. If the boot halts, you can see where and,
> usually, why it stopped. Try that with openUbundora.
>
Most splash screens I've seen, can change back to the init boot log by
pressing Tab or Alt+Tab(One of those), this has worked for me across
'openUbundora'.



gentoo-user@lists.gentoo.org

2015-08-06 Thread Jc García
2015-08-06 10:34 GMT-06:00 James :

> I think the Handbook is getting better and better. However the
> systemd-openrc choice is something that needs to be explained early in the
> handbook from a neutral prospective. Let's face it, lots of folks become
> interested in Gentoo, often when they hear that you do not have to run
> systemd. I'm not saying push one over the other, but explain and delineate
> that choice
> *early* in the handbook. WE owe the larger linux community that wisdom::
> that gentoo has made peace with systemd and openrc:: imho.
>
>
OpenRC is there on the stage3, systemd isn't, if you don't think about
systemd you get an OpenRC installation, I think it would confuse more
people to talk about choosing init system(especially noobs) right at
the beginning of the handbook.



gentoo-user@lists.gentoo.org

2015-08-06 Thread Jc García
2015-08-06 1:40 GMT-06:00 Marc Joliet :
> Am Wed, 5 Aug 2015 23:02:03 -0600
> schrieb Jc García :
>
> [...]
>> Also sourceforge is a pretty decent host for publishing open source
>> software, it offers wikis, mailing list, code repositories, in fact
>> various projects use it to develop open source, you might be talking
>> about softonic.
> [...]
>
> Have you been paying attention to the tech news the past few months?  See for
> example https://en.wikipedia.org/wiki/SourceForge#Controversies, in particular
> the part about project hijacking.
> ...
> Take away from the above what you will, but I don't trust SourceForge anymore.
>
Interesting stuff, I don't really like the looks of sourceforge so I
don't put any stuff there(I have been using gitlab), I was just giving
credit to the fact that they do offer practically all the stuff you
need to host an open source project, anyway most of the stuff I got
from there was a git clone, so I didn't see it. I'll be extra careful
not to host anything there. thanks.



gentoo-user@lists.gentoo.org

2015-08-05 Thread Jc García
2015-08-05 23:51 GMT-06:00 Felix Miata :
> Heiko Baums composed on 2015-08-06 07:19 (UTC+0200):
> ...
>> It's actually pretty easy.
>
> I'm sure plenty have found that to be the case. My problem is inability to
> connect the dots between the 12.1 column on
> http://distrowatch.com/table.php?distribution=gentoo and the instructions.
> Goal #1 is to get Grub 0.97 on my first pass following those instructions,
> and Grub2 never, rather than skipping the bootloader installation step. Goal
> #2 is to get through that first pass without any of systemd being installed.
> Choosing options rather accepting defaults is not "pretty easy", at least for
> me who installed Gentoo only once previously, more than 4 years ago.

While I think there isn't a reason to not use grub2, you can use 0.97
and don't stay on 2012, that table on distrowatch only has served the
porpouse of confusing you, ignore it, packages in gentoo don't work
that way, for many packages there's not only one version available you
can build(usually stable, testing, and even directly from git), if you
want to know what package versions are available go to
https://packages.gentoo.org/. you can choose to install grub or grub 2
by selecting the slot 0 for grub. learning about slots is up to you.



gentoo-user@lists.gentoo.org

2015-08-05 Thread Jc García
2015-08-05 23:33 GMT-06:00 Felix Miata :

> Are you sure you read what I wrote and not what you think I wrote? Pages like
> LMGTFY *leads to*, not LMGTFY. I was where that *leads to* yesterday and the
> day before while progressing generally through wiki.gentoo.org and
> www.gentoo.org futilely trying to reconcile what's available according to
> Distrowatch and what's sitting on Gentoo's mirrors.
>
I'll be blunt, basically the intention was to say you should use
google for these kind of questions, the options are really obvious if
you have read the instructions in the gentoo wiki, and don't go to
Distrowatch when trying to find instructions to install gentoo(why
would you do that?).


> Sourceforge hosts a ton of good stuff, but its presentation is annoying
> enough that I habitually avoid it except as last resort, typically choosing
> to avoid needing whatever it hosts rather than suffer mousetype and redirects
> to slow mirrors.
>

you don't need to avoid it because you don't really need it, it might
seem anyoing to you because you have been down stream, maintaners have
gone for you to sourceforge.net to get the source code and make
packages, unless you want to package something you don't need to go to
sourceforge, except for upstream documentation maybe if the only place
where is available is there.



gentoo-user@lists.gentoo.org

2015-08-05 Thread Jc García
2015-08-05 22:40 GMT-06:00 Felix Miata :
> Fernando Rodriguez composed on 2015-08-05 23:46 (UTC-0400):
>> http://lmgtfy.com/?q=download+gentoo
>
> Pages like that leads to are like Windows and Sourceforge software hosts
> where after muddling past licenses and assumption what one's looking for has
> anything to do with the puter used to search and script links autostarting

LOL nothing like that, go ahead and find the beauty of lmgtfy.

Also sourceforge is a pretty decent host for publishing open source
software, it offers wikis, mailing list, code repositories, in fact
various projects use it to develop open source, you might be talking
about softonic.

PD: I think you would be better using SystemRescueCD than the minimal
cd, go ahead http://lmgtfy.com/?q=systemrescuecd+download



Re: [gentoo-user] want to upgrade 50 month old installation

2015-08-05 Thread Jc García
2015-08-04 21:28 GMT-06:00 Felix Miata :

> I really should have followed up on my installation 50 months ago at *least*
> 3 years ago. I have no recollection what stopped me, unless it was a naive
> choice to put it on one of my oldest slowest machines with nv11 instead of
> newer Intel or ATI and bunches more CPU power. It could also at least in part
> be a result of space required exceeding what I'm used to. Most of my test
> installations are in 4.8G / partitions that wind up 80% full or less. This
> original is on 4.8G, has only 26% free, apparently has no Xorg or KDE, and no
> qlist to figure what *is* installed.
>
You are not going anywhere with 4.8GiB if thats all you plan to give
to gentoo. Get at lest 25 to have distfiles and plenty of build space
if you will try to build  e.g. firefox. you can deploy gentoo on less
than that but you can't build it.

Another thing I don't get, is  why people keep trying to put gentoo on
old slow machines to learn to use it, if they konw in advance they
will have to compile, this is just voluntary PITA, personally I waited
until I had at least 4 cores to try gentoo, using old hardware, means
more build and maintenance time than actually getting something to
work, also a VM is a bad Idea now that containers are
available(getting a gentoo container with systemd, can take less than
15min using systemd-nspwan, systemd build included, and pretty much
emulates a vm with way less overhead on the memory and processor, for
learning gentoo purposes useful, unless OpenRC is the topic you are
learning)



Re: [gentoo-user] gru2-mkconfig tries to read the extended partition ??

2015-07-26 Thread Jc García
2015-07-26 14:55 GMT-06:00 Alan McKinnon :
>
> Is that "Alan" as in me?
>
No, I should have written "Allan", I didn't notice the 'll' also as he
was the original poster and I didn't see any post from others with
same name I omitted the last name.
Interesting experience you share anyway, of course I was referring to
the support you get for  laptop as a regular PC user, not enterprise
grade.



Re: [gentoo-user] gru2-mkconfig tries to read the extended partition ??

2015-07-26 Thread Jc García
2015-07-26 9:33 GMT-06:00 Todd Goodman :

> I like and use VirtualBox a lot (and agree it's easy to use.)
>
> But the performance and USB handling mean that I need Windows or other
> OS' on bare metal most of the time.  I don't know how well Dell's crap^W
> support stuff runs in a VM.
>
The contrary experience here, USB has been the thing that got me to
use VirtualBox many times, I have put usb drivers, printers, 3g
modems, even adb trough the pass-trough feature of virtualbox, with no
problems, in fact for some years for printing purposes I had to use a
VM, and Virtualbox was the fastest to get working(click conect usb
printer, install the windows drivers, print). I'm suspecting you also
didn't run it with a very new computer, a server 2012 could run fine
for testing some stuff, with 1 core limit and 512M RAM over here,
using the virtualization capabilities of the processor. but I haven't
dealt with DELL hardware.

BTW, to Alan, I have never had to call to support for any laptop, but
do they really have someone that could know more than you to help? I
would seriously suspect most cases you are just talking to a call
center agent whom clearly isn't doing a job that requires much
knowledge about computers, that may be just reading some general
'reboot your pc' type instructions, and would likely suggest you to go
to a professional technician at the arise of the slightest seemingly
serious problem. But I might be wrong, and dell support could be
awesome(I hardly think so, I know a lot of people who give support at
call centers).



Re: [gentoo-user] gru2-mkconfig tries to read the extended partition ??

2015-07-26 Thread Jc García
2015-07-26 8:38 GMT-06:00  :
>
> My son wanted me to do that.  I didn't because
>
> Something else to learn (I don't run a vm).
>
> I didn't want to face dell support with linux and xen underneath the
> supported windows.
>
That's an exaggeration, VirtualBox is just a few clicks and you get a
VM, really easy and intuitive, common is what almost(even clueless
people about computers) every noob uses, you should be able to have no
problem with it  if you are capable of dealing with gentoo. you don't
need to do  a cluster setup to run a vm.



Re: [gentoo-user] Re: The state of public relations?

2015-07-25 Thread Jc García
2015-07-25 8:18 GMT-06:00 Jc García :

> That said I'm all for an installer graphical and remote

(as a previous post said, automation comes handy at times)

* I clicked send before I was finished editing.



Re: [gentoo-user] Re: The state of public relations?

2015-07-25 Thread Jc García
2015-07-25 2:44 GMT-06:00 Alan McKinnon :

> Once a year or so this list gets flooded by a new bunch of folks who
> spew forth an unending stream of simple questions and can't be bothered
> to look further than their nose. And these folks never contribute back.
>
I haven't been that long on this list to see that, but I definitely
have seen what you are talking when I adventured to try funtoo.

If anyone wants to see what making it easier to get installed the
distro does, advice you to go on the funtoo forums, and see what 'user
centric' does to a source-based distro, (Funtoo has some good ideas
but it's community is rather disappointing) although I attribute the
influx of these 'I want free support' users mostly because the
anti-systemd stance of funtoo, really useful to driver ignorant
emotional people to be your users.

That said I'm all for an installer graphical and remote(as I read in
so), that gives advanced user options, and has a big notice that says
RTFM.



Re: [gentoo-user] The state of public relations?

2015-07-24 Thread Jc García
2015-07-24 3:05 GMT-06:00 Rich Freeman :
> You don't have to write code to be a part of the Gentoo effort.  You
> just have to want to contribute.  So, if this is something that
> interests you speak up (go ahead and email pr@g.o to ask how you can
> help, or reach out to a project lead, or go ahead and pester me if you
> are trying to get involved but don't seem to be getting anywhere).
>
I was talking my perspective on general, on me and my ablity to
contribute, I do want to contribute, and I will in not so long time,
I've been teaching myself  the development process of gentoo, ebulids
eclasess autotools that stuff, I do not like to ask if not needed
that's why you haven't seen me on dev channels, and I'm pretty OK with
self learning there's stuff I would like to see and I'm willing to
help make happen. Public stuff, not so much my thing, in fact I rarely
contact the local LUG, but that just about some criticism I have over
the way it is over here.

BTW  I didn't mean gentoo had no money, just not the kind redhat pours
into fedora, I been regularly reading some changelogs for the specs of
fedora, and you see a lot of  'at redhat dot com'.



Re: [gentoo-user] The state of public relations?

2015-07-23 Thread Jc García
2015-07-23 21:08 GMT-06:00 J.Rutkowski :
> Fedora's Ambassador[2] project and the
> concerted effort placed in organizing presence at events, publicly
> promoting projects, organzing contributor and developer projects (à la
> hackathons), etc. Is this something that users would like
> to see more?
You are missing a big piece about fedora, I don't think they would be
able to pull off the ambassador project, or any other stuff without
the redhat funding, I'm not saying that's bad, but I think the only
one using gentoo big-time that could contribute the money to pull
those kind of stuff in gentoo are google, and I see them rather quiet
about their gentoo use(In fact it was quite disappointing in my
opinion they didn't even had gentoo in GSoC this year)



Re: [gentoo-user] gru2-mkconfig tries to read the extended partition ??

2015-07-23 Thread Jc García
>>   * Lennart Poetering sends an email begging the GNOME people to make
>> systemd a hard-coded dependancy for GNOME and it happens.
>>
>>   * Skype now requires Pulseaudio as a hard-coded dependancy
>>
>>   Three pieces of software that were getting nowhere until they became
>> hard-coded dependancies of other, more-commonly-used software.

Some people just have it against Lennart, what does he has to do with
this thread? he didn't make gpt neither UEFI, or MBR(Wasn't even
born!!), wich might be concerning to this topic.

PD: The Ruby claim is such a lie, build-time  and run-time
requirements are different stuff, It happens all over gentoo packages,
you will always require more packages than a binary distro, you can
perfectly use the webkit binaries without ruby.



Re: [gentoo-user] installing gentoo with a systemd profile

2015-07-21 Thread Jc García
2015-07-21 17:06 GMT-06:00  :

> Also I was only talking about the step in the installation guide where
> called "choosing the right profile".  Locales comes later.
>
LOCALE is one thing, LINGUAS and stuff that goes into make.conf is
another, the result of not having linguas set almost imediatly, is
when you set the locale, the applications will reset to LANG=C,
because many of the translations are in e.g. *.po files processed
optionally at compile time, thus not setting it would effectivelly
mean a complete rebuild of gnome(and many other applications) in order
to get the translations. this was my point, but as I said, good the
default I what you needed.



Re: [gentoo-user] installing gentoo with a systemd profile

2015-07-21 Thread Jc García
2015-07-21 14:23 GMT-06:00  :
> Probably the --unmerge would have worked.  But I basically started over
> (untar of the stage3) and applied canek two-step recipe
>First switch to the systemd profile and emerge world
>Second switch to the gnome/system profile and emerge gnome
>
> It worked well.
I guess It worked for you well, that's nice, I just want to add you
shouldn't have taken Kanek's description as a full recipe, he didn't
wrote it but, doing the systemd, and stardard install configuration
before emerging gnome, is importat for many users, especially if en_US
is not your native language[1], and you want to reduce the amount of
to compile/install packages by settings like VIDEO_CARDS,
INPUT_DEVICES, etc .

Again nice you had the default configuration match want you wanted.

[1] 
http://www.quickmeme.com/img/94/942b064a249d63afe19d3165a088d58ae1c9c5179d98b1fb9072db3dcf5115ed.jpg
( a fun meme of what I'm talking about)



Re: [gentoo-user] Packaging ASL

2015-07-21 Thread Jc García
2015-07-21 5:41 GMT-06:00 Zeev Pekar :
> Dear Gentoo Developers,
>
> We have just released the version 0.1.4 of ASL - Advanced Simulation
> Library .
>
> May I ask somebody to volunteer to package it for Gentoo?
>
> Packaging efforts for other distros are underway and probably can be
> helpful for Gentoo [1].

Really interesting library, but I doubt you will get what you expect
in this list, neither in the -dev list because as it is a library and
AFAIK there's no applications requiring it, I doubt they'll want to
add it to the main repository, but sure there's a place in gentoo for
the library, the gentoo-science project[1], you can try create a
github issue[2] requesting the add of the library there. You could
also find more folks interested in it, this list I would say is mostly
sysadmin/troubled-user stuff. If I find time I might try to make the
ebuild and send pull request to the science repo, but I haven't
learned much about CMake, so I would have to learn a bit more about it
first.

Regards, and thank you for the spread of such Important type software
in a FOSS way.

[1] https://wiki.gentoo.org/wiki/Project:Science
[2] https://github.com/gentoo-science/sci (If you check the commits
log you'll see that it is a very alive repo)



Re: [gentoo-user] Catastrophic bug in the firefox 'ProfileManager' function

2015-07-20 Thread Jc García
2015-07-20 17:18 GMT-06:00 walt :
>
> Lesson learned:  if you need to start firefox with a fresh profile,
> just move your ~/.mozilla directory out of the way and let firefox
> create a new one from scratch.
>

Using firefox sync is also an option, and If you don't want Mozilla
having stored the info(According to what I have read it is encrypted),
you can run the sync server on your own(I been wanting to put together
the ebuilds necessary to emerge it easily but always procrastinate
about it.)



Re: [gentoo-user] installing gentoo with a systemd profile

2015-07-20 Thread Jc García
2015-07-20 19:13 GMT-06:00  :

> I tried via depclean.  I wanted to ask here before actually trying
> --unmerge, which seems rather brutal.  I actually had a tiny part in the
> systemd wiki and remember that you could switch from an openrc system to
> systemd without unmerging.  Instead, you either changed use flags
> (+systemd and -consolekit) or went to the a systemd profile
> (recommended).
It is needed to remove sys-fs/udev in order to get apps-sytem/systemd,
remember is the same code base the difference is you only compile one
part when emerging sys-fs/udev, not unmerging would cause file
conflicts, at install time.
sys-fs/udev/udev-222.ebuild:
SRC_URI="https://github.com/systemd/systemd/archive/v${PV}.tar.gz ->
${P}.tar.gz"



Re: [gentoo-user] Re: Project:Installer

2015-07-17 Thread Jc García
2015-07-17 11:55 GMT-06:00 James :
> J.Rutkowski  pancakebungalow.com> writes:
>
>>
>>
>> Anyone take a look at RHEL Kickstart for automated installs?
>
> Yes Kickstart is very cool [4] and an examination of it, if not outright
> usage, is a keen idea for discussion.
>
> Has anyone actually used kickstart to install gentoo?
> If so, any links or comments would be keen to read about.
>
I'm not sure if it would be usable in gentoo, maybe sabayon that
already uses Anaconda as installer, seems kickstart is mostly a remote
wrapper for Anaconda[1] directed at sysadmins for automation.

A few days a go I found this, is that is sh compatible:
https://github.com/zentoo/quickstart


[1] http://www.redhat.com/magazine/024oct06/features/kickstart/



Re: [gentoo-user] Re: Don't disable 'introspection'

2015-07-16 Thread Jc García
2015-07-16 18:40 GMT-06:00 walt :
> On Fri, 17 Jul 2015 02:30:24 +0200
> Volker Armin Hemmann  wrote:
>
>> I have had -introspection set for ages in make.conf.
>>
>> It is turned on for some selected packages in package.use
>
> Which packages, and what problems were you solving by turning it on?
>
The packages that need it are those that use the gobject libraries
from other languages than C, using the bindings generated with by the
introspection part, the idea is a framework for easily building
bindings to other languages from the C gobject libraries, e.g. all
applications that use gtk3 and are written in python use
introspection.



Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Jc García
2015-07-16 15:33 GMT-06:00  :

> I was commenting on the use of the minimal CD rather than a fancy one
> that had X etc.  I have indeed had tremendous trouble this time and it
> is getting worse.
>
Is not about fanciness, Is abut having the tools you need for the job,
I understand you would choose a minimal if you were to try to boot an
old celeron with less than 1gb of ram that would take forever to boot
a modern livecd, but that is not your case, and the minimal and a
'fancy' have the tools my point is about being practical.

BTW, I think if you had chosen the bulky live-dvd of gentoo it would
have worked as expected.



Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Jc García
2015-07-16 14:44 GMT-06:00  :

> I have not had trouble with the minimal cd.  I do the actual work on
> another (gentoo) machine.
>

* Tries to boot an Image, 4+ hours later and after asking help to the
mailing list, still no success in booting, has had no trouble with the
gentoo minimal cd *

Don't take me wrong, what I'm saying is you want Gentoo installed,
don't lose your time hassling with images that don't work, that won't
even be essential to the installation.

If the first one doesn't work, by the domain you use(Meaning your
Internet connection speed) I guess you could have been trying another
image in ~10min.



Re: [gentoo-user] booting from a usb flash drive

2015-07-16 Thread Jc García
2015-07-16 14:17 GMT-06:00  :
> On Thu, Jul 16 2015, Alec Ten Harmsel wrote:
>
>>> On Jul 16, 2015, at 3:44 PM, Alan McKinnon  wrote:
>>>
>>> The Gentoo minimal CD does not work if you simply dd it to a thumb drive
>>> (I rediscovered this anew on Monday). It works just fine if you use
>>> unetbootin to do the magic though.
>>
>> I highly recommend using the ArchLinux ISO, which can be burned to a
>> flash drive with dd. It doesn’t have the gentoo-specific tools, but
>> that’s really the only problem. UNetBootin has always been hit or miss
>> for me.
>>
>> Alec
>
> Thank you both.  Let's see if Alan is right and Neil offers a magic dd
> recipe.  When this is over I will update the wiki or at least add a
> comment for the authors to consider.
>
Why do you want to use the gentoo minimal CD?  if your laptop has EFI
I don't think you will be able to configure it properly. (I'm not
aware if the minimal cd has an EFI boot partition, but by the way you
describe your boot it seemes it doesn't, is this right? you can check
the iso with fdisk -l )

Either way I still don't know why the manual keeps recomending using a
minimal installation cd for amd64 platforms, especially desktop types.
I recommend you to boot somthing that has X, a browser and
Networkmanager, I see no point  the unnecessary pain of installing
gentoo with a console only CD on such newer hardware. It's just
complicating your life because you want to.



Re: [gentoo-user] Re: Anyone else having a problem with bash?

2015-07-07 Thread Jc García
2015-07-06 8:09 GMT-06:00 Bill Kenworthy :
> On 07/07/15 04:43, Alex Thorne wrote:
>> I have also experienced this intermittently with bash. Running /reset
>> /returns the shell to normal for me. Echo is also set on for me, but
>> will check if this has changed next time I experience the issue.
>>
>> On 6 July 2015 at 20:07, »Q« mailto:boxc...@gmx.net>>
>> wrote:
>>
>> On Mon, 6 Jul 2015 20:18:18 +0300
>> Alexander Kapshuk > > wrote:
>>
>> > On Mon, Jul 6, 2015 at 8:01 PM, walt > > wrote:
>> > > My bash problem started a few weeks ago but I can't remember when.
>> > > This problem is intermittent and hard to reproduce.  I'm seeing it
>
> another "me too" - but rarely
>
An another me too also rarely, I thought it was related to my terminal
emulator, but I can't remember if it happened today.



Re: [gentoo-user] minimal installation cd vs system rescue cd

2015-07-01 Thread Jc García
2015-07-01 9:17 GMT-06:00  :
> My new laptop should arrive this month.  It will presumably support
> UEFI, which I have never used before.
>
> I have two questions.
>
> 1.  The gentoo handbook favors using the minimal installation CD.  I
> downloaded the iso, verified it's integrity, and "burned" it to a USB
> stick with dd.
>
> However the wiki page "UEFI_Dual_boot_with_Windows_7/8" says to use a
> system rescue CD.  Is that required or can I use the minimal
> installation CD?
>
You could use almost any distro to install gentoo, I have done it
before, even my first install was the first livecd i found in my CDs
case(LinuxMint), after reading the instructions I didn't found
anything that actually made it a MUST to use the recommendations of
the handbook.

> 2.  The handbook, when discussing Booting the installation CD, says
>
>Important
>When installing Gentoo with the purpose of using the UEFI interface
>instead of BIOS, it is recommended to boot with UEFI immediately. If
>not, then it might be necessary to create a bootable UEFI USB stick
>(or other medium) once before finalizing the Gentoo Linux
>installation.
>
> I don't understand what I am to do?  Must I change the USB stick to
> somehow specify UEFI?  Or will the laptop firmware ask me whether to
> boot UEFI?  Or something else?
>
This is so the EFI information is available inside the booted  OS. if
you don't boot using EFI this information is not available(I'm not
100% sure about this, it's just what I remember at the top of my head)

I remember from reading this list you use GNOME thus systemd, then I
would highly recommend doing the install with a systemd livecd, it
makes it so much practical to get to the chroot and you can test if
your userspace boots right without needing to reboot thanks to nspawn.

Here's a quick description of the procces, using a systemd live
media(I will put the obvious just for completeness):
1. Get the stage3 and the livecd you'll use
2. boot
3. mkdir /mnt/gentoo and get the partition(s) where the installation
will be, ready and mounted
4. tar -xvjpf the stage 3 into /mnt/gentoo
5. cd /mnt/gentoo && systemd-nspawn (this is the replacement for
chroot, it mounts /dev/, /proc, and /sys for you)
6. get the portage tree
7. eselect a systemd profile, I would use the
minimal(default/linux/amd64/13.0/systemd) temporarily so I don't have
to build all of GNOME before booting.
8. emerge -avuDN @world (will get systemd installed) and
9. set a passoword for root and exit the shell, and boot the newly
installed systemd with # systemd-nspawn -b
10. Configure timezone(timedatectl), locale.gen, locale(localectl),
fstab... etc.
11. get a boot loader(Gummiboot the recommendation, and to the dislike
of some, soon part of the systemd package, so systemd will come with a
bootloader)
12. Get a kernel (CONFIG_EFI_STUB is needed to boot with gummiboot)
13. boot and change profile to a gnome one, and emerge gnome or gnome-minimal.

Personally I find that installing Gentoo with systemd is more
practical, mainly because of nspwan.



Re: [gentoo-user] Re: any one using ubuntu phones?

2015-06-30 Thread Jc García
2015-06-30 8:28 GMT-06:00 »Q« :
> On Tue, 30 Jun 2015 06:36:10 -0400
> "Walter Dnes"  wrote:
>> They've removed text from the "File Edit View etc..."
>> menu.  Instead, they've inserted a bunch of heiroglyphics/icons.
>
> The old-school, drop-down, text-only menu bar can be unhidden via a
> checkbox in the 'customize' dialog.  It's been hidden by default since
> well before Australis.
Just presing the Alt key also shows the dropdown menus, and all those
icons dont need to be there, contrary to a claim made here I found
this the most customizable GUI firefox has had, on the top I only have
the adress bar, the bookmarks icon,  the downloads icon and the menu
button, on the bottom my vimperator bar, tiletabs icon, adblock icon,
and if I want to I can:
:set gui=none (this is vimperator)
And now I only have the frame that shows the webpage I'm reading.



Re: [gentoo-user] any one using ubuntu phones?

2015-06-30 Thread Jc García
2015-06-29 14:14 GMT-06:00 behrouz khosravi :
>
> I know what you mean. This is all more or less true, but what can we do in
> this situation?
> I will try to move toward whatever promotes openness, and please do not tell
> me that ubuntu
> is not more open that android. In android I cant even have pure native apps!
> some parts of an application
> should always be in java.

You can run native programs, you might not be able to run X programs
since android already has surfaceflinger handling the display, and I
haven tried it but qt can be used to build apps using C++, also with
the comming replacement of dalvik(jit) by art(aot), the apps will run
as native.



Re: [gentoo-user] necessary use flgas

2015-06-24 Thread Jc García
2015-06-24 6:23 GMT-06:00 behrouz khosravi :
>
>> Here's some good advice:
>>
>> Don't do that. See below.
>
>
> Oops! I have done it and I am happy so far !
>
>> That's a bit of a nonsensical line of thought, as what you think you
>> want doesn't really exist.
>
>
> I think you misunderstood me! for example adding CPU specific flags is a
> good idea right?
> I meant something like that. For example is it wise to enable opengl flag
> globally ? is it helpful to do so?
>
>>
>> > What do you recommend ?
>>
>> DO NOT SET "USE=-*"
>
>
> As I said before I have done it and I totally recommend it to anyone
> interested to get a better understanding of user land.
>
I don't see the point of using USE="-*"  for learning, if you want to
really learn, create and overlay and make your own profile, read the
developer documentation  about it, and do a proper thing, not some
clunky mess in /etc/portage.
You could very well evaluate the basic profile, and part from there or
modify it as you see fit, but making a mess that you wont be able to
port easily in case you actually make something you might want to keep
and reproduce somewhere else, is not getting a better understanding.



Re: [gentoo-user] repos.conf

2015-06-24 Thread Jc García
2015-06-23 21:12 GMT-06:00 James :
> Take java:
>
> * Warnings:
>  * --
>  * The source of the overlay "java" seems to have changed.
>  * You currently sync from
>  *
>  *   git://git.overlays.gentoo.org/proj/java.git
>  *
>  * while the remote lists report
>  *
>  *   1. git://anongit.gentoo.org/proj/java.git
>  *   2. git+ssh://g...@git.gentoo.org/proj/java.git
>  *   3. https://anongit.gentoo.org/git/proj/java.git
>  *
>  * as correct locations.
>  * Please consider removing and re-adding the overlay.
>
This is because recent changes of the infrastructure providing
overlays, explanation it's on the frontpage(gentoo.org)

>
> Maybe a few examples of /etc/portage/repos.conf to look at?
>
Maybe this is useful, what I have been doing, is use layman as always
for external repos from gentoo overlays( layman -a ...), As far as I
know the repos.conf still doesn't handle svn, so I think devs are
keeping layman the way it is to not break this, but if I want to
change something in a particular external overlay say java, what i do
is this

A new conf /etc/repos.conf/java.conf
[java]
priority = 100
location =  /home/$MY_USER/$MY_OVERLAYS_DIR/java
layman-type = git
auto-sync = no

And of course clone the repo to that dir and make my changes.


> Note the gentoo and local is fine. I keep /usr/local/portage
> for my stuff alone, so I guess I can just use the old layman
> dir stucture (/var/lib/layman) for my collection of exteranal
> repos?
>
I find the use of /usr/local/portage less useful than making your own
overlay, I have my own overlay in repos.conf pretty much the same as
the example before
/etc/repos.conf/j-overlay.conf:(This is my box used for development)
[j-overlay]
priority = 100
location =  /home/$MY_USER/$MY_OVERLAYS_DIR/j-overlay
layman-type = git
auto-sync = no

But I distribute it to some containers and some other  gentoo
installations by a little different config file:

[j-overlay]
location = /var/lib/portage/repos/j-overlay
sync-type = git
priority = 100
sync-uri = https://github.com/j-g-/j-overlay.git
auto-sync = true

And as expected, emerge --sync syncs the portage three(also via git)
and changes I commit to my own overlay.

I hope you find this useful.



Re: [gentoo-user] Re: writing man pages (gentoo conventions)

2015-06-03 Thread Jc García
2015-06-03 9:14 GMT-06:00 Peter Humphrey :

> Isn't there a Gentoo Way too? I can't put my finger on it just now but I think
> I've seen a reference to producing Gentoo docs, including man pages.
>
Portage uses roff[1], so I don't think there is a gentoo specific way.
[1] https://github.com/gentoo/portage/blob/master/man/emerge.1



Re: [gentoo-user] ffmpeg command not found

2015-04-12 Thread Jc García
2015-04-12 12:58 GMT-06:00 gevisz :
> I used to convert dav to avi files with the following command
> yet a year ago:
> $ ffmpeg -i input.dav -vcodec libx264 -crf 24 output.avi
> but now, while trying to use it, I get
>> bash: ffmpeg: command not found
>
> What happened?
>
> I still have virtual/ffmpeg package installed.
> In my case it points to libav.
>

>From the ffmpeg website[1]:
FFmpeg is the leading multimedia framework ...
... It contains libavcodec, libavutil, libavformat, libavfilter,
libavdevice, libswscale and libswresample which can be used by
applications. As well as ffmpeg, ffserver, ffplay and ffprobe which
can be used by end users for transcoding, streaming and playing.

So  libav does not have all the stuff you want.

As said above read the news item it has important information about
this setting in Gentoo, anyway what you want is to have this in your
make.conf:

USE="... -libav ffmpeg ..."


[1] http://ffmpeg.org/about.html



Re: [gentoo-user] Re: configure.ac and Makefile.am easy_view ?

2015-03-28 Thread Jc García
2015-03-28 15:26 GMT-06:00 Jc García :
> When I'm trying to make an ebuild I only use the ebuild(5) tool,
It was the ebuild(1) tool.



Re: [gentoo-user] Re: configure.ac and Makefile.am easy_view ?

2015-03-28 Thread Jc García
2015-03-28 14:43 GMT-06:00 James :

> likewise I've been hacking at ebuilds for apache (spark and mesos)
> The spark file are still under /var/tmp/portage/sys-cluster but the mesos
> files, compiled just yesterday are not under /var/tmp/portage.  The
> same is true for ebuild in the portage tree. Some are there, some remain
> and others who knows.
>
This depends on wheter the ebuild was succesfully built, if so:

 ebuild ${ebuild_path} clean
is called and all the files under /var/tmp/portage/cat/pkg are removed

When I'm trying to make an ebuild I only use the ebuild(5) tool, for
building,  and call manually up to where I want to build(prepare,
configure, compile, etc...) and only when

ebuild ${ebuild_path} package

Has completed successfully, I use emerge so I don't get unwanted cleanups.

> So with this in mind, how do I "tag" certain ebuilds to at least save the
> configure.ac and Makefile.am files only for selected ebuild; either of which
> may be in /usr/portage or /usr/local/portage?  (sorry for not being more
> clear). Is this just some inconsistency in how various ebuilds are 
> constructed?
>
I don't see the utility of having these files apart form it's source
tree, if you modified them, then make patches, I usually unpack the
sources to a directory under $HOME, or clone the upstream repo, try to
get a working build as my user(I build experimental stuff with
--prefix="$HOME/opt/" so my system stays clean). Make a patch of my
changes if any, and then try to introduce the patch into an ebuild.



Re: [gentoo-user] Re: configure.ac and Makefile.am easy_view ?

2015-03-28 Thread Jc García
2015-03-28 11:26 GMT-06:00 James :
> Jc García  gmail.com> writes:
>
>
>> I use  /usr/bin/ebuild for this, emege run this when building, just
>> run the build up to the prepare function so patches are applied if
>> any, and look in /var/tmp/portage/cat/pkg/work/ for the 'prepared'
>> sources.
>
>> # ebuild $PORTDIR/cat/pkg/pkg-00.ebuild prepare
>
> Ok I'll give this a whirl.
>
>
>> I have this alias in my bashrc for using the ebuild command easily.
>> alias=" sudo -u portage ebuild "
>
>
> Correction
>  alias ebuild=" sudo -u portage ebuild "
>
> Ahhh. OK this make it so that proper file ownership is always correct?
>
It is just to not use root, and because the portage user has write
privileges in /var/tmp/portage/



Re: [gentoo-user] Re: configure.ac and Makefile.am easy_view ?

2015-03-28 Thread Jc García
2015-03-28 11:08 GMT-06:00 Jc García :
>
> I have this alias in my bashrc for using the ebuild command easily.
>
*Correction
 alias ebuild=" sudo -u portage ebuild "



Re: [gentoo-user] Re: configure.ac and Makefile.am easy_view ?

2015-03-28 Thread Jc García
2015-03-28 8:36 GMT-06:00 James :
>Is there an easy way to look at them
> *without*  compiling the ebuild ?
>

I use  /usr/bin/ebuild for this, emege run this when building, just
run the build up to the prepare function so patches are applied if
any, and look in /var/tmp/portage/cat/pkg/work/ for the 'prepared'
sources.

(As root or as the portage user)

# ebuild $PORTDIR/cat/pkg/pkg-00.ebuild prepare

I have this alias in my bashrc for using the ebuild command easily.

alias=" sudo -u portage ebuild "



Re: [gentoo-user] How to poweroff the system from user?

2015-03-22 Thread Jc García
2015-03-22 4:30 GMT-06:00 Peter Humphrey :
> On Saturday 21 March 2015 16:20:17 Jc García wrote:
>> > Interesting. But as I said ealier, I can reboot the system when I am a
>> > user by Ctrl+Alt+Delete. The user can reboot the system, but can't shut
>> > down? Strange
>> It's not strange,  `man 2 reboot`. It's a defined behavior.
>
> I'm with German here. Being designed that way doesn't stop it being strange.
>

I see it as a last resource available for rebooting under any
circumstances( Similar to what you can do with Sysrq).


> Consider: I'm an ordinary user sitting at a terminal. I'm not allowed to
> halt the machine, but I am allowed to reboot it into perhaps some quite
> other configuration. Or I can keep rebooting it over and again, effectively
> preventing the machine from doing its job. How does that make sense?
>

It doesn't and that's why it's configurable, if you are in a high
security requiring environment, you disable it.



Re: [gentoo-user] How to poweroff the system from user?

2015-03-21 Thread Jc García
> Interesting. But as I said ealier, I can reboot the system when I am a user 
> by Ctrl+Alt+Delete. The user can reboot the system, but can't shut down? 
> Strange

It's not strange,  `man 2 reboot`. It's a defined behavior.



Re: [gentoo-user] How to poweroff the system from user?

2015-03-21 Thread Jc García
2015-03-21 14:01 GMT-06:00 German :
> On Sat, 21 Mar 2015 15:47:16 -0400
> Rich Freeman  wrote:
>
>> On Sat, Mar 21, 2015 at 3:39 PM, German  wrote:
>> >
>> > No, I am trying to shutdown from a console
>>
>> Well, the old answer would be that you need to use sudo to run it, as
>> shutting down is a privileged operation.
>>
>> I suspect that the new answer is that with appropriate
>> policykit/consolekit/etc settings you can probably allow somebody
>> sitting at a physical console to shut down the system, or any
>> logged-in user if you prefer.  However, I haven't actually set that up
>> myself.
>
> Well, I am the only one sitting at the console :) Are there any key 
> combination which allows that? I can reboot even if I am a user with 
> Ctrl+Alt+Delete
>>

Just use sudo to allow your user to shutdwon without
password(suders(5) manpage is your friend), and put an  alias in your
bashrc:
alias poweroff="sudo /sbin/poweroff"



Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]

2015-03-11 Thread Jc García
2015-03-11 12:35 GMT-06:00 Jc García :

>  search info(man, google) about nmcli.
also nmtui, it seems easier to use, I hadn't looked at the list of
NetworkManager tools in a while, but still the wicd cli interface is
easier from what I remember.



Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]

2015-03-11 Thread Jc García
2015-03-11 7:16 GMT-06:00 German :
> On Wed, 11 Mar 2015 12:38:08 +
> Neil Bothwick  wrote:
>
>> On Wed, 11 Mar 2015 08:14:13 -0400, German wrote:
>>
>> > > > eix-e: command not found. What to do?
>> > >
>> > > Insert a space between "eix" and "-e".
>> > >
>> >
>> > Same result - command not found
>>
>> emerge eix, then run eix-update as root.
>
> Ok, done that. Indeed there are anything related to x11-lib, but when I do 
> emerge --ask net-misc/networkmanager I see x11-proto and x11-libs to be 
> emerged. Use variable is set to "-X". Anyone can shed a light on this? How 
> can I emerge networkmanager without X dependencies? Thanks so much

If you want an easy way of configuring wirless without GUI use wicd
and the wicd curses client(enabled via USE flag), NetworkManager is
simpler to use with a GUI, the CLI client is not so easy to use, but
if you want to, make sure none of the GUI related use flags are set
e.g. gtk qt X emerge it, and then read and search info(man, google)
about nmcli.



Re: [gentoo-user] No 'libs' in world file?

2015-03-02 Thread Jc García
2015-03-02 8:29 GMT-06:00 Tanstaafl :

> So, should I delete all of these? Even glib and glibc?
>

Ideally you only want the applications you actually use directly in
your world file, and let portage solve the dependencies for those. If
you really need to emerge a library installed by hand use 'emerge
--oneshot' so it doesn't get added to the world file. I would bet
glibc is already in the @system set or pulled as a dependency for
that. so yes remove it from your world.

> Also - is there a definitive guide (preferably for non programmer types)
> on just how to properly clean the world file?
>

Choose the applications from your world file and "emerge --deselect"
everything else, this wont uninstall anything, just delete some lines
from the world file.

>From my own experience, you could get portage to show errors of 100+
lines for not having a proper world file(and some stupid stuff in
package.accept_keywords),  and untangle those is not fun at all.



Re: [gentoo-user] Updating Gentoo

2015-01-30 Thread Jc García
2015-01-30 12:48 GMT-06:00 symack :
> Please excuse me, as I am new to gentoo:
>
Then you shouldn't be upgrading systems that you cannot have downtime,
take your time to play around with disposable installations(VMs ,
containers, etc..).

> %)" PYTHON_TARGETS="python2_7 python3_3* (-pypy) -python3_4 (-pypy1_9%)
> (-pypy2_0%) (-python2_6%) (-python3_1%) (-python3_2%*)" 876 kB
> [blocks B  ]  ("
> I am trying to get by this block, and my approach would be to unmerge python

dev-lang/python != dev-(python|lang)/python-exec

DON'T unmerge python, remember emerge runs on python, you will likely
be unable to use the package manager if you do that.
there's a news item(the 12th) regarding this, read it, the
instructions are there.

> then reinstall however, would really like
> some advice from the experts on this.
I'm not an expert, but in your situation I would make a chroot, copy
the /etc/portage configuration files, upgrade in the chroot generating
binary packages[1] and then upgrade from the binaries. it takes much
less time to upgrade  when you have everything compiled, and you only
need to 'merge' it.

[1] http://wiki.gentoo.org/wiki/Binary_package_guide



Re: [gentoo-user] chatting with the customer

2015-01-23 Thread Jc García
2015-01-23 4:24 GMT-06:00 Stefan G. Weichinger :
>
> I communicate with an admin at a customer ...
>
> we write dozens of emails and tickets and often it would be simpler to
> have some kind of chat or so.
>
> I'd like to avoid skype etc ... so I think of installing something on
> one of their gentoo-servers that allows us to run a simple chat.
>
> I run (surprise) gentoo with Gnome 3.14 ... he runs Windows 7 or 8  ...
>
> What could I set up?
>
> Maybe useable with gnome empathy?
> With a simple windows-client for the other side?
>
A Murmur server is fairly easy and quick to install, and you get text
and audio encrypted by default, the mumble client is very user
friendly also.
The good old Jabber(XMPP) might be another option with empathy as
client. or even easier make an IRC channel on freenode you can limit
the access, and the user can simply use the web interface[1].

[1] https://webchat.freenode.net/



Re: Re: [gentoo-user] Open Question: The feasibility of a complete portage binhost

2015-01-22 Thread Jc García
2015-01-22 6:11 GMT-06:00 Andreas K. Huettel :
> Am Donnerstag 22 Januar 2015, 16:50:45 schrieb Sam Bishop:
>> On 22 January 2015 at 01:54, Andreas K. Huettel 
> wrote:
>> > Am Mittwoch 21 Januar 2015, 20:36:55 schrieb Sam Bishop:
>> >> So I've been thinking crazy thoughts.
>> >>
>> >> Theoretically it can't be that hard to do a complete package binhost for
>> >> gentoo.
>> >>
>> >> To be clear, when i say complete, Im referring to building, all
>> >> versions of all ebuilds marked stable or unstable on amd64, with every
>> >> combination of use flags.
>> >
>> > Not enough. You will also have to build against every combination of
>> > dependency subslots.
>> >
>> > e.g., different poppler, boost, icu, perl and many more versions...
>> >
>> > Which makes the task near impossible.
>>
>> Not impossible, just more computationally demanding and requiring more
>> storage.
>
> Well, exponential increase is exponential increase.
>
> * A libreoffice binary package with debug information has roughly 800Mbyte
> size
> * 2 libreoffice versions in the tree
> * libreoffice links against poppler, icu, boost (among other things)
> * poppler: 5 subslots, icu (soon) 3 subslots, boost 5 subslots in tree -> 75
> combinations
> * libreoffice has 22 useflags and 4 extensions, plus three supported python
> variants -> 29 switches
> * REQUIRED_USE limits your combinations, let's conservatively guess 25
> independent switches -> 2^25=33554432 use combinations
>
Based on this.
If it would take 1 minute(being more than optimistic) to build libreoffice:
33554432 builds * 1min = 63 years building

If one would want to build that in a day it would be needed to rent
23301 super fast boxes. and have them heating all day long, leaving
the storage problem aside, just for libreoffice, if we think now about
firefox, chromium and the webkit packages, I think that makes for a
good analogy of hell, and a terrible waste of resources.



Re: [gentoo-user] Re: Openrc now on Arch LInux

2015-01-22 Thread Jc García
2015-01-22 4:23 GMT-06:00 James :
> Emre Eryilmaz  piesso.com> writes:
>
>
>> > Anyone tested openrc on Arch linux?
>
>> Did you read the web page's beginning ? :)
>> " Note: Arch uses systemd by default. If you use OpenRC, please
>> mention so while asking for help."
>
>
> I think that stating what codes you are using, that might affect
> helps one seeks, is pretty much accepted netiquette, ymmv.
>
>
> AS to the robustness of Openrc on Arch; well that is why I'm asking
> here if anyone has experiences with Openrc on Arch (actually testing Openrc
> on Arch Linux) and not just conjecture or attitude about it.
>
> Just (test) experiences, ok?
>
>

Systemd is the only officially 'supported' init system in ArchLinux.
other init systems are from the AUR[1].

I was an Arch user a while ago, as an Arch user you would want as less
as possible stuff from AUR, many times it means poorly written
PKBUILD's[2] and not maintained, It's common that upgrading from the
main repos would break some AUR stuff, then anyone can upload anything
to the AUR repo. It's a bit like using a random not well maintained
overlay in gentoo, often not in-sync with the portage tree, it might
work or it might not even build.

If you read the wiki page you posted you will notice it's mainly two
users(a manjaro developer is one of them), installing openrc in
different ways[3][4], don't expect robustness when they can't even
join forces to maintain a single effort, unnecessarily duplicating
work, and one of those deviates from the Gentoo way. For a package to
be moved into the main repos it needs to have many votes in the AUR,
if you look at the votes of those, the non-gentoo way[3] hast 17 and
the gentoo way[4] has 3, not really popular considering there are
packages with 1K+ votes, and are still in the AUR.

You should ask via Arch or Manjaro channels for testing experience, or
try manjaro yourself (OpenRC isn't their default either but they have
prebuilt packages installable with pacman[5]). Even better search for
artoo(the Manjaro developer[6] porting it to that distro) and apg,
they are doing the work, I doubt you will get the responses you want
from this list.

[1] https://wiki.archlinux.org/index.php/Arch_User_Repository
[2] https://wiki.archlinux.org/index.php/PKGBUILD
[3] https://aur.archlinux.org/packages/openrc/
[4] https://aur.archlinux.org/packages/openrc-core/
[5] https://wiki.manjaro.org/index.php?title=OpenRC,_an_alternative_to_systemd
[6] http://manjaro.github.io/team/



Re: [gentoo-user] unmasking qt5 and plasma 5

2015-01-08 Thread Jc García
2015-01-08 11:02 GMT-06:00 behrouz khosravi :
> Hi. I was wondering that is it predictable that when qt5 and plasma 5 will
> be unmasked?
>
Keep an eye on the bug-tracker for the unmasking of qt5[1] or hang
around the #gentoo-qt irc channel[2] , there you can get first hand
information,

It's work that needs to be done, and usually developers work on their
free time and bugs might keep arising, so prediction doesn't work.

[1] https://bugs.gentoo.org/show_bug.cgi?id=454132
[2] irc://irc.gentoo.org/gentoo-qt



Re: [gentoo-user] Shutdown, Gentoo and the Arietta.G25

2014-12-01 Thread Jc García
2014-12-01 12:40 GMT-06:00  :
> Rich Freeman  [14-12-01 19:16]:
>> On Mon, Dec 1, 2014 at 12:46 PM,   wrote:
>> > What is the difference here?
>> > Isn't it, that all shutdown applications only send some instructions
>> > to the kernel and the kernel is the main actor in bringing the system
>> > down?
>> >
>>
>> About the only thing the kernel might have a role in is turning off
>> the power.  Almost all of the shutdown logic is in userspace and it
>> isn't surprising that copying scripts between distros is going to
>> cause issues since the whole service management component varies
>> GREATLY across distros.  Maybe if you're using systemd you could copy
>> between distros since that is more standardized, but even then there
>> can be differences.
>>
>> In a traditional sysvinit system usually shutting down is accomplished
>> by changing runlevels, which immediately starts/stops anything in
>> inittab (generally only gettys) and calls a script which does all the
>> actual work.
>>
>> If the issue is that userspace shuts down fine but the system reboots
>> instead of powering off that could be a couple of things which
>> shouldn't be too hard to track down.  An obvious question is whether
>> the hardware even supports being powered off in the first place - this
>> isn't an ATX motherboard.  Powering off a system can sometimes be
>> remarkably tricky depending on how standardized the platform is.  I
>> was reading an article on it a few years ago and I think linux
>> actually implements several different mechanisms that get tried in
>> series, with the final fallback being a halt without powering off.
>>
>> --
>> Rich
>>
>
> Hi Rich,
>
> AH! :) Thanks for the informations!
>
> From what you say, it is a kernel problem, since the kernel
> is the one who switches off the lights...
>
> But even if I use the same kernel as used for the Debian system
> it does not work...
>
> May be shutdown says "power off the system" and the kernel understands
> "reboot the system"?
> I mean: In principle the kernel would be able to poweroff the system
> but there are some communications difficulties with the guys from
> userland? ;)
>
> Best regards,
> Meino
>
>
>
I've always turned off across linux distros (BSD is other story) with:

# shutdown -hP now

the help says :
 -h:  halt after shutdown.
 -P:  halt action is to turn off power.
 -H:  halt action is to just halt.

I've not seen you using the -P flag.



Re: [gentoo-user] flag details

2014-11-24 Thread Jc García
2014-11-24 11:09 GMT-06:00 James :
> Hello,
>
>
> So, I use euse to read aobut flags. Sometimes the same flag has slightly,
> but significantly different meanings depending on the packages it
> is use on. A tool with perhaps more detail or that parse the ebuild/sources
> for even greater detail information?
>
> I also use Ciaran's old (filter)script on flags:
>
> explainuseflag(){ sed -ne "s,^\([^ ]*:\)\?$1 - ,,p" $(portageq
> portdir)/profiles/use.{,local.}desc; }
>
> Which is due for updating. If does a nice job of filtering out the
> package version details, which I do not need most of the time.
>
> Suggested fixes to Ciarans old filter quickie I use from by bashrc?
>
> Are there any more detailed tools, even gui based tools, for
> reading about the details of what a flag does on a given package
> or information related to compile-time or run-time settings on a
> given code (but not including looking at the sources, I know I can
> do that)?
>
> (Gmane on gentoo user is working again from a browser window (yea).
> Sorry for the recent noisy_posts.
>
>
I use
$ equery u cat/pkg
It list the useflags and what the metadata.xml of the package says
about each of them, plus highlights the active ones if you have the
package already merged.


> curiously,
> James
>
>



Re: [gentoo-user] Qt5

2014-11-12 Thread Jc García
2014-11-12 11:37 GMT-06:00 siefke_lis...@web.de :
> Hello,
>
> i want install qt5 with the qt overlay. But i become message
>
> i686-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -fuse-ld=gold 
> -o ../../../bin/moc .obj/moc.o .obj/preprocessor.o .obj/generator.o 
> .obj/parser.o .obj/token.o .obj/main.o   
> -L/var/tmp/portage/dev-qt/qtcore-5.4.0_beta/work/qtbase-opensource-src-5.4.0-beta/lib
>  -lQt5Bootstrap -lz -lpthread
> i686-pc-linux-gnu-g++: error: unrecognized command line option ‘-fuse-ld=gold’

>
> / # emerge --info =dev-qt/qtcore-5.4.0_beta::qt
> Portage 2.2.8-r2 (default/linux/x86/13.0/desktop, gcc-4.7.3, glibc-2.19-r1, 
> 3.10.23--std-ipv6-64 i686)

> sys-devel/gcc:4.7.3-r1, 4.8.3

It might be you used gcc 4.7 and is too old to compile qtcore 5, try
to switch the default compiler using gcc-config to 4.8.3, and
recompile again.



Re: [gentoo-user] difficulties with lvm2+systemd+grub2

2014-11-11 Thread Jc García
2014-11-11 14:56 GMT-06:00 Michael Mair-Keimberger :

> This lead me to my second question. At the wiki, the only way to create
> an initramfs for systemd was with genkernel (genkernel --udev --lvm).
> While the command itself is pretty useless (it's `genkernel --udev --lvm
> initramfs` if you want to create the initramfs -> is this a bug??) i
> also would like to use my own initramfs.
> What changes do i have to make in my own initramfs for being able
> booting systemd from it?
>

Did you used genkernel-next?, also the recommendation on this list for
generating initramfs for systemd is dracut, you should give that a
try.



Re: [gentoo-user] Re: [~amd64] NFS server broken again :(

2014-10-31 Thread Jc García
2014-10-31 17:01 GMT-06:00 Tom H :
> On Fri, Oct 31, 2014 at 2:27 PM, Rich Freeman  wrote:
>> On Fri, Oct 31, 2014 at 1:34 PM, Tom H  wrote:
>
>
>>> Is "After" really necessary as an option? I've never come across a
>>> service that uses "After" without a "Requires" or a Wants" but I've
>>> never taken the time to look.
>>
>> Hmm, I found After more common that Wants, but maybe I only look at
>> units that have problems.  :)
>
> LOL. Which supports the thesis that "After" might not be a useful
> setting within a service unit. But it's just occured to me that target
> units use "After" without "Requires" or "Wants", for example
> network-online.target has "After=network.target".
>
I think the manuals are pretty clear about the working of these.
>From the systemd.unit manual:
"""

Requires=
 If a unit foo.service requires a unit bar.service as configured
with Requires= and no ordering is configured with After= or Before=,
then both units will be started simultaneously and without any delay
between them if foo.service is activated.

Before,After=
...
Note that this setting is independent of and orthogonal to the
requirement dependencies as configured by Requires=.

 If two units have no ordering dependencies between them, they are
shut down or started up simultaneously, and no ordering takes place.


"""



>From sytemd.service manual
"""
 Unless DefaultDependencies= is set to false, service units will
implicitly have dependencies of type Requires= and After= on
   basic.target as well as dependencies of type Conflicts= and
Before= on shutdown.target. These ensure that normal service units
pull in
   basic system initialization, and are terminated cleanly prior
to system shutdown.

"""
I think it's about flexibility and the fact that systemd uses
parallelization at boot, when having these options makes sense



Re: [gentoo-user] Re: [systemd] Is this a NetworkManager bug?

2014-10-15 Thread Jc García
2014-10-14 16:54 GMT-06:00 Canek Peláez Valdés :
> On Tue, Oct 14, 2014 at 5:48 PM, walt  wrote:
> [ snip ]
>> Lots of great information, thanks.  What I learned while following up
>> on your hints is that the NM behavior I thought was a bug is merely
>> a feature ;)
>>
>> After boot, but before startx, wlan0 exists but is not properly set
>> up.  After X is running I can use the nm-applet to click on the name
>> of my wireless network and *then* NM runs dhcpcd to configure wlan0
>> and set up the routing table.  It works, but I need to do that manually
>> after every boot, not really optimal for my purpose.
>
I had this problem, but, with a Ethernet connection, I wanted NM to
connect it via dhcp at boot, but didn't happen, and the same as you,
once logged-in just 2 clicks and the connection worked, after digging
a little the configs, I found, somehow this line got into my
/etc/NetworkManager/NetworkManager.conf
no-auto-default=p2p1
I removed that and now It works as it should, maybe something like
this is your problem.

> I've seen this behavior before (that you need to manually "enable" the
> wireless connection), but never on my machines. On my two wireless
> systems (laptop and desktop), NM enables the connection by default. I
> don't think I did anything special for this to happen, it just does.
>
>> I tried Neil's suggestion to use systemd-networkd and it works perfectly
>> for this (desktop) machine.  (BTW enabling systemd-networkd also pulls
>> in systemd-timesyncd, which works great, just as you said.)
>
> Good to know.
>
> Regards.
> --
> Canek Peláez Valdés
> Profesor de asignatura, Facultad de Ciencias
> Universidad Nacional Autónoma de México
>



Re: [gentoo-user] still need help with cmake-utils / ebuild

2014-10-10 Thread Jc García
2014-10-09 12:23 GMT-06:00 Paige Thompson :
> - log attached
>
> had to
> https://github.com/paigeadele/netcrave/blob/master/net-irc/anope/anope-.ebuild#L46
> that got me past the permission denied but now it does this
>
> 3831  * QA Notice:
> /usr/data/modules/webcpanel/templates/default/confirm.html installed in
> ${D}/${D}
>
I think the problem is /usr/data is not part of the standar
directories,  you might be able to move this to something like:
/usr/share/${PN}/data
through configuration of the prefixes, before compiling
Have you looked into this?
> I donno I could really use some advice from some of the people who wrote
> the eclasses / eapi on how to do this right, I don't wanna sit here
> trying to guess for the next couple of days.
>



Re: [gentoo-user] VB - login from one Windows XP to another XP

2014-10-06 Thread Jc García
2014-10-06 23:17 GMT-06:00 Joseph :
> On 10/06/14 21:22, Jc García wrote:
>>
>> 2014-10-06 19:52 GMT-06:00 Joseph :
>>>
>>> I'm running Windows XP in VirtualBox.
>>> I can NX to the running VB - Windows XP as (shadow or new) session.
>>> But that doesn't help me.
>>> Via "Shadow session" I would disturb the current user if I try to start
>>> another program.
>>> Via "New" session I can not see Windows XP session as it is running.
>>>
>>> So I think I have to start VB - Windows XP on my box and try to login to
>>> another (remote) VB - Windows XP Is it possible?.
>>>
>>> The user is running certain program, that uses database.  I'm trying to
>>> login to the remote Windows XP session and start the same program as an
>>> administrator (that uses that same database).
>>>
>>> How to log-in from one windows XP to another over the network?
>>>
>>
>> You search in google and do a ton of clicks, this is so OT. and there
>> are many answers out here, even the unix-style one works.
>
>
> Windows XP has a build in Remote Desktop but:
> http://www.wikihow.com/Use-Windows-XP%27s-Built-in-Remote-Desktop-Utility
>
> But I think it only works on the same subnet.
>
'even the unix-style one works' seems you didn't get the hint:
SSH, just install a server on the VM.
> --
> Joseph
>



Re: [gentoo-user] VB - login from one Windows XP to another XP

2014-10-06 Thread Jc García
2014-10-06 19:52 GMT-06:00 Joseph :
> I'm running Windows XP in VirtualBox.
> I can NX to the running VB - Windows XP as (shadow or new) session.
> But that doesn't help me.
> Via "Shadow session" I would disturb the current user if I try to start
> another program.
> Via "New" session I can not see Windows XP session as it is running.
>
> So I think I have to start VB - Windows XP on my box and try to login to
> another (remote) VB - Windows XP Is it possible?.
>
> The user is running certain program, that uses database.  I'm trying to
> login to the remote Windows XP session and start the same program as an
> administrator (that uses that same database).
>
> How to log-in from one windows XP to another over the network?
>

You search in google and do a ton of clicks, this is so OT. and there
are many answers out here, even the unix-style one works.
> --
> Joseph
>



Re: [gentoo-user] Was Vim compiled with +eval feature?

2014-10-05 Thread Jc García
2014-10-05 22:42 GMT-06:00 Jc García :
> 2014-10-05 22:18 GMT-06:00 Gevisz :
>> I have downloaded the snippet plugin from
>> http://www.vim.org/scripts/script.php?script_id=361
>> and have done all the steps described there to
>> install it but, unfortunately, it does not work.
>>
> Stop installing vim plug-ins manually.  use one of the plug-in
> installers out there, pathogen[1] is really nice and easy to use,
> basically you just do 'git clone' the repo of the plug-in in
> ~/.vim/bundle/
> and have this  at the top of your .vimrc
> execute pathogen#infect()
>
> Plus you can upgrade your plugins easily 'git fetch && git pull' (I
> made a small script that handles this for any plug-ins I have
> installed)
> I also use the snippet[2] plugin, and cloned/upgrade it from github.
> [1] https://github.com/tpope/vim-pathogen
> [2] https://github.com/honza/vim-snippets
Forgot to mention, the snippets plugin works together with the snipmate[1] one.
[1] https://github.com/garbas/vim-snipmate



Re: [gentoo-user] Was Vim compiled with +eval feature?

2014-10-05 Thread Jc García
2014-10-05 22:18 GMT-06:00 Gevisz :
> I have downloaded the snippet plugin from
> http://www.vim.org/scripts/script.php?script_id=361
> and have done all the steps described there to
> install it but, unfortunately, it does not work.
>
Stop installing vim plug-ins manually.  use one of the plug-in
installers out there, pathogen[1] is really nice and easy to use,
basically you just do 'git clone' the repo of the plug-in in
~/.vim/bundle/
and have this  at the top of your .vimrc
execute pathogen#infect()

Plus you can upgrade your plugins easily 'git fetch && git pull' (I
made a small script that handles this for any plug-ins I have
installed)
I also use the snippet[2] plugin, and cloned/upgrade it from github.
[1] https://github.com/tpope/vim-pathogen
[2] https://github.com/honza/vim-snippets



Re: [gentoo-user] screen / tmux wierdness

2014-10-05 Thread Jc García
2014-10-05 20:26 GMT-06:00  :
> Hi,
>
> I have two computers: A small embedded system (beaglebone black)
> running Gentoo with commandline interface and my PC running Gentoo
> with X and using urxvt for commandline actions.
>
> On both TERM is set to
> xterm-256color
> and both are using zsh as shell.
>
> On the beaglebone black I cannot use tmux because C-b is not
> recognized as command prefix.
Change it to C-a then, I use that with tmux, this is what I have in my
.tmux.conf for that

unbind C-b
set -g prefix C-a

And if you sometimes nest a tmux in another tmux, say you have your
local computer tmux open and you ssh into another box in a tmux
window, then attach a remote tmux session to that window, you can send
the prefix key to the remote tmux using 'C-a a', this means to tmux
'send C-a to the program inside this window', this is also useful if
for some reason you have another program that uses the combination C-a
(or C-b for default configuration).

> On the PC I cannot use screen because C-a is not
> recognized as command prefix.
>
> I would like to have the choice on both system what terminal
> multiplexer to use.
>
I would say you only need tmux, it is superior, but that is personal choice.
>
>
> What can cause this weird behaviour? How can I fix it?
>
>
>
> Thank you very much in advance for any help!
> Best regards,
> mcc
>
>
>



Re: [gentoo-user] root on newest livedvd ?

2014-09-30 Thread Jc García
2014-09-30 7:09 GMT-06:00 James :
> livedvd-amd64-multilib-20140826.iso
>
>
A quick search gave me:
> The old livedvd, to get root access it was "sudo su -"
>
> which does not see to work. Ideas on the new
> syntax to get root access.
>
http://www.gentoo.org/proj/en/pr/releases/20140826/faq.xml#default

>
> Also, is it straightforward to install a secondary
> ebuild package on this latest livedvd that is not
> part of the iso?

http://forums.gentoo.org/viewtopic-t-995118.html
your question is answered there
>
>
> curiously,
> James
>
>
>
>



Re: [gentoo-user] Running a program on a headless computer ?

2014-09-28 Thread Jc García
2014-09-28 10:08 GMT-06:00  :
>
> Randolph Maaßen  [14-09-28 16:24]:
>> On Sep 28, 2014 4:14 PM,  wrote:
>> >
>> > Hi,
>> >
>> > I want to run programs, which insist on haveing a terminal
>> > to write their status to and which are writing files which
>> > their results on a headless computer (beaglebone).
>> >
>> > I tried things like
>> >
>> > my_program -o file.txt -parameter value > /dev/null &2>&1 &
>> >
>> > but this results in a idle copy of this process and a defunct
>> > child.
>> >
>> > The program does not use X11 in any way...
>> >
>> > Is there any neat trick to accomplish what I am trying to do here?
>> >
>> > Thank you very much in advance for any help!
>> > Best regards,
>> > mcc
>> >
>> >
>> >
>>
>> I would suggest to run the program in a screen session, you can disconnect
>> frim the session and reconnect later.
>>
>> http://www.gnu.org/software/screen/
>>
>> --
>> Best regards
>> Randolph Maaßen
>
> Hi Randolph,
>
> ...the headless device will be booted and the programm will be startet
> via a kind of autostart script. No human intervention is
> wanted/possible...
>

You can use ">&-" in the script to run the program with stdout closed
by default, but this might result in an error if the program relies on
stdout open example:
---
$ echo "Hello" >&-
bash: echo: write error: Bad file descriptor
---
but if I do this(stdout and stderr closed):
--
$ echo "Hello" 2>&- >&-
--
nothing is printed
but
--
$ echo $?
1
--
However if I try to run an application that uses X it starts normally.
more info on this stuff on [1]
in page 15 it's kind of explained the case of programs running with ">&-"
https://www.gnu.org/ghm/2011/paris/slides/jim-meyering-goodbye-world.pdf

> Best regards,
> mcc
>
>
>



Re: [gentoo-user] Playing timidity patches via keyboard?

2014-09-26 Thread Jc García
2014-09-26 23:42 GMT-06:00  :
> Hi,
>
> I am looking for some sort of software, for which I
> have no words (neiter I am a native english speaker
> nor I am a musician...;):
> There is a program called "Timidity", which is able
> to play midifiles and produce sound. The sound is taken
> from "patchsets" (GUS?).
>
> Is there any GPLed/OpensSource Software, which does
> the same thing but for notes I am playing on the
> midi keyboard?
>
Maybe 'media-sound/lmms' is what you are looking for?
Homepage:http://lmms.sourceforge.net/

> Thank you very much in advance for any help!
> Best regards,
> mcc
>
>
>



Re: [gentoo-user] Re: devmanual searching

2014-09-23 Thread Jc García
2014-09-23 14:49 GMT-06:00 James :
> Alan McKinnon  gmail.com> writes:
>
>
>> just add "site:devmanual.gentoo.org" to your search string
>
> site:devmanual.gentoo.org  : URI
>
> Yep, it's what I've been doing. However, it has lots of sporadic
> noise in the search (ignoring devmanual) too often. Plus it does
> not necessarily search the document, in a serial fashion.
>
> Surely there is a "flat-file" version somewhere the I have missed?
> I'm not asking for an integrated search engine, but merely a
> flat-file version for traditional CLI types of searching
>

> If there a way to convert devmanual to a flat file?
There's 'app-doc/devmanual' that is basically the html files that make
the devmanual but, if you have them in your pc you can convert them to
plain text and grep them, plus you have the manual even if offline.
>
> James
>
>



Re: [gentoo-user] Re: SRC_URISRC_URI.mirror

2014-09-20 Thread Jc García
2014-09-20 12:08 GMT-06:00 James :
>
> Michael Orlitzky  gentoo.org> writes:
>
>
> > > MY_PV=${PV/_/}
>
> > > SRC_URI="http://www.apache.org/dist/spark/${PV}/${P}.tgz";
>
> > Because that's the wrong URL =)
>
> SRC_URI="http://www.apache.org/dist/spark/spark-1.1.0/${P}.tgz";
>

If you want to build the URI with the ebuild environment variables, it would be:
SRC_URI="http://apache.org/dist/${PN}/${P}/${P}.tgz";

> Works. Is this correct?
> (sorry for being dense)
>
>
> James
>
>
>
>



Re: [SOLVED] Re: [gentoo-user] Update a portage package

2014-09-14 Thread Jc García
2014-09-14 15:30 GMT-06:00 Henrique Lengler :
> On Sun, Sep 14, 2014 at 10:15:29PM +0100, Neil Bothwick wrote:
>> In that case, it should be included with the ebuild, you need to file a
>> request to add the patch on bugs.gentoo.org.
>
> Thanks everyone. I did it.
>
I would suggest looking at the changelog if there's an active
maintainer first, if there is, it's likely they keep an eye on the
repos and bugfixes for the software they package, and if the bugfix is
critical, they make a patch, but you can't expect them to be every
hour checking on the repos, In the recomendations it says that if you
see a new version of a package, you should at least wait 48 hours,
before asking on the bugtracker for a bump, the '0 day bump request'
are not apreciated by the developers, I would say this also aplies to
critical bugfixes, and the patch you want was committed just a few
hours ago.

If it really is that much important for you, try to apply the patch to
the latest version in the tree modifying the ebuild, put it in your
local portage or a personal overlay, test it and then wait at least a
day, and post the ebuild on the bug-tracker and request a new revision
including the patch to be made by the ebuild maintainer.



Re: [gentoo-user] repoman sourcecode

2014-09-07 Thread Jc García
2014-09-07 12:01 GMT-06:00 James :
> Hello,
>
> Where is the sources to repoman, including older versions, new features,
> etc etc. As I cannot seem to find it as a stand alone piece of code.
>
>
> curiously,
> James
>
I also thought it was a standalone package, but after searching with
equery found out it's included in the portage source code[1],
interesting to know that.
[1] https://github.com/gentoo/portage/blob/master/bin/repoman



Re: [gentoo-user] Re: new installation - partitions

2014-09-05 Thread Jc García
2014-09-05 8:04 GMT-06:00 James :
> Rich Freeman  gentoo.org> writes:
>
>
>> On Fri, Sep 5, 2014 at 8:23 AM, James  tampabay.rr.com>
>> wrote:
>
>> Bottom line is that it is hard to measure Gentoo popularity.  I've
>> been using Gentoo since the early 2000s and in practice I can't really
>> see any decline, even if there aren't as many devs as there once were.
>> Rich
>
> I disagree. The "bottom line" is I added a few generalizations to a
> reference to a relevant document that helps explain and provide some
> background to the user's installation question. There seems to be
> individuals in gentoo-user that want to "thread hijack" some miniscule,
> unrelated issues to start a pointless flame.
>
>
Don't get dramatic, I actually wrote 4 lines about differences in
gentoo and arch, and just pointed some of the facts,  not even
details, nor opinions, I didn't respond your long reply to that(~50
lines), because it wasn't of use to the thread, the one who  wants to
"thread hijack" is you,  saying 'arch is based on gentoo' might
actually  mislead  a new user, the long replies, that's trying to
start a flame, anyway, let's not lose any more time about it.
> https://wiki.archlinux.org/index.php/partitioning
>
> Was and is very much information related to the poster's original question.
> Section 4 of this aforementioned reference does discuss SSD partitioning
> issues, which was and is at the heart of the poster's question, which has
> had to migrate to a new thread because folks don't stay focused on the
> user's needs and questions?/.
>
>
> peace,
> James
>
>
>
>
>
>
>



Re: [gentoo-user] Re: new installation - partitions

2014-09-04 Thread Jc García
2014-09-04 9:53 GMT-06:00 James :
> Joseph  gmail.com> writes:
>
>
>> Is your /home on "root" partition?  I've notice that handbook does not
>> designate separate partition for "home" anymore.
>
> Hello Joseph,
>
> Often, the Arch linux documents give one a more robust background for
> reading up  on issues/choices related to Gentoo. After all, Arch is based
> on Gentoo and their documents are often a good compliment for reading
> up on issues you face with Gentoo,
Arch is NOT based on gentoo, ArchLinux is it's own thing, PKGBUILDS
for building, and pacman as package manager, and there's systemd which
is used there as default, on top of that, is the /bin and /sbin merge
in in /usr, so arch and gentoo are different and it's own thing each.

>particularly when abstracted to
> a general understanding of the needs you may have.  That said, do not
> blindly follow Arch Linux documents to resolve gentoo issues.
>
But since Arch packages are very vanilla as those of Gentoo,  the Arch
documentation is a good source, but you have to be aware of the base
system differences.

> https://wiki.archlinux.org/index.php/partitioning
>
> hth,
> James
>
>
>



Re: [gentoo-user] oracle-jdk-bin 1.8.0.20 ebuild

2014-09-02 Thread Jc García
2014-09-02 22:07 GMT-06:00 Saifi Khan :
> Hi:
>
> portage has ebuild for oracle-jdk-bin-1.8.0.11 whereas oracle website has
> update 20 ie. oracle-jdk-bin-1.8.0.20
>
> i am interested in tweaking the ebuild in order to install 1.8.0.20
>
> Can somebody explain
>
> . how 'inherits eutils java-vm-2 prefix versionator' line works. what
> exactly does 'inherits' clause/function do ?

Read the development documentation if you plan to tweak ebuilds,
replicating it here is just a lost of time, a hint, is about using
eclasses.
>
> . where is the function 'get_version_component_range' defined ?
>
Likely in the versionator eclass.

> Additionally, how do i get 'emerge' to ignore/suppress the 'missing digest'
> for a given ebuild ?
>
When you read the documentation you will learn to test your ebuilds
and generating manifests, a hint, learn about repoman and a local
portage or overlay to tweak ebuilds

> Thanks in advance.
>
That said since it's for a minor release the ebulid you want to bump,
the changes to the ebuild might be just the file name, and some
version related strings in the ebuild, but I'm too noob with ebuilds
to be sure about this. Also you can do a bug report requesting for the
bump, just search first in the bug-tracker it hasn't been done yet.

>
> thanks
> Saifi.
>



Re: [gentoo-user] Re: openjdk-6-jdk

2014-08-26 Thread Jc García
2014-08-25 19:56 GMT-06:00 James :
> Jc García  gmail.com> writes:
>
>
>
>> >
>> Just dropping and idea for your ebuild, you might have this planned
>> but anyway, I would put something like 'virtual/jdk:1.6' in RDEPEND,
>> so if things work as they should(but that's not realistic), any of the
>> java implementations in the tree would provide jdk6 for your ebuild.
>
> I installed icedtea-bin for now.
>
> From the ebuild (which is a hack) I have :
>
> DEPEND="net-misc/curl
> dev-libs/cyrus-sasl
> python? ( dev-lang/python dev-python/boto )
> java? ( virtual/jdk )"
>
>
I have seen many ebuilds, with RDEPEND="cat/pkg" and
DEPEND="${RDEPEND}", I would use that. because jdk is both a runtime,
and a build time dependency  in this case.

> It seems would not compile until I installed the maven-bin
> package..Which is not a requisite in the ebuild
> but I saw that maben was a required code for building mesos on another
> distro
>
Put maven-bin in DEPEND then, with any other build time dependency,
also there's a java-mvn-src eclass in the tree, and two other maven
related eclasses in the java overlay. check those out if you haven't
already . I have never used maven, only ant and I'm still learning
about ebuilds, so I can't say anything else.

> Like I said, it's a hack, but I'll get it cleaned up; because nobody
> else seemed motivated to get mesos running on gentoo.
>
> Now it off to get spark[1] and the hadoop[2] happy on gentoo...
>
> happy, happy happy
>
>
> James
>
> [1] https://spark.apache.org/
>
> [2] http://hadoop.apache.org/
>
>
>
>
>



Re: [gentoo-user] Re: openjdk-6-jdk

2014-08-25 Thread Jc García
2014-08-25 12:44 GMT-06:00 James :
> James  tampabay.rr.com> writes:
>
>
>> For openjdk-6-jdk [1] I'm not sure what my options are as it (or a newer
>> version?) is required by mesos-0.19-1. I did see these in portage:
>
>> Some discussion and guidance would be keenly appreciated, as I'm not at all
>> up on the current gentoo java issues.
>
>
> Ok, so I found the gentoo java wiki [1].
>
> So if I'm comprehending this correctly, icedtea is openjdk it just
> uses 100% open source tools to build the jdk as opposed to the fact
> that openjdk uses proprietary tools to build?
>
> I'm still a bit confused on the options for jdk, (openjdk) any
> limitations, gotchas, thnings_to_avoid; so some recommendations
> would be beneficial.
>
> James
>
>
> [1] http://wiki.gentoo.org/wiki/Java#Installing_a_JRE.2FJDKs
>
>
>
>
Just dropping and idea for your ebuild, you might have this planned
but anyway, I would put something like 'virtual/jdk:1.6' in RDEPEND,
so if things work as they should(but that's not realistic), any of the
java implementations in the tree would provide jdk6 for your ebuild.



Re: [gentoo-user] accidentally deleted the /usr (I'm gonna kill myself!)

2014-08-24 Thread Jc García
2014-08-24 17:27 GMT-06:00 Volker Armin Hemmann :
> Am 24.08.2014 um 21:28 schrieb behrouz khosravi:
>> Hi. I just accidentally removed the /usr folder!
>> And I am sure the /usr/bin and several other folders are gone!
>> Should I go for a complete re-install or there is any other solution?
>>  Thanks and I hope that I wont find that blade that I am looking for!
>>
>> .
>>
>
> and now you know why you should have added --buildpkg to your default
> emerge options.
>
But without 'PKGDIR' set to any other place not in /usr/, in this case
it's in vain.



Re: [gentoo-user] a question about emerge --sync

2014-08-01 Thread Jc García
2014-08-01 9:03 GMT-06:00 Jc García :
> 2014-08-01 8:30 GMT-06:00 behrouz khosravi :
>> Hello everybody.
>> I have a little bandwidth problem. I don't want to update my packages
>> very frequently.
>> Is it save to sync my portage not very often, say every month or two,
>> so when I install something I wont be warned that some of my packages
>> are outdated?
> If you plan to update monthly you might want to use emerge-webrsync,
> and download portage snapshots as a tarball, it isn't that large
> ~70MiB, and if you get the chance of acces a better connection, you
> can download it from the web[1] and just unpack it to your
> ${PORTDIR}, this is one of the good things about portage, and source
> based compared to binary distros, you download a snapshot, upgrade
> your packages, and you can keep installing packages from the ebuilds
> in that snapshot without trouble for some time(if sources are
> available), I  know someone, a bit insane in my opinion, that was
> still using a 2009 snapshot of portage as of the last year(not without
> troubles), and he might still.
>> In this manner I wont need to mask my packages, to prevent them from
>> updating, right ?
>>
>> Thanks.
>>
missing URL[1]

[1] http://distfiles.gentoo.org/snapshots/



Re: [gentoo-user] a question about emerge --sync

2014-08-01 Thread Jc García
2014-08-01 8:30 GMT-06:00 behrouz khosravi :
> Hello everybody.
> I have a little bandwidth problem. I don't want to update my packages
> very frequently.
> Is it save to sync my portage not very often, say every month or two,
> so when I install something I wont be warned that some of my packages
> are outdated?
If you plan to update monthly you might want to use emerge-webrsync,
and download portage snapshots as a tarball, it isn't that large
~70MiB, and if you get the chance of acces a better connection, you
can download it from the web[1] and just unpack it to your
${PORTDIR}, this is one of the good things about portage, and source
based compared to binary distros, you download a snapshot, upgrade
your packages, and you can keep installing packages from the ebuilds
in that snapshot without trouble for some time(if sources are
available), I  know someone, a bit insane in my opinion, that was
still using a 2009 snapshot of portage as of the last year(not without
troubles), and he might still.
> In this manner I wont need to mask my packages, to prevent them from
> updating, right ?
>
> Thanks.
>



Re: [gentoo-user] Compiling for different CPU but same architecture

2014-08-01 Thread Jc García
2014-08-01 6:22 GMT-06:00 Nilesh Govindrajan :

>
> Why it shouldn't matter? What if a package's building process depends on
> some other package? Though the build process isn't for a completely
> different arch, it might matter. That's my doubt.
>
>
If you want to build packages(tbz2), especifically for one machine,
and you setup a container to do the building there you will have
everything you need and you can have /etc/portage  in sync, the issue
might be if you want to reuse packages on both machines you would have
to ensure the package and dependencies use -mtune=generic, but you
still can have use flags differing that's more trouble.
I wanted to do the same as you, but my resources are more constrained,
I have an i3 desktop, where I have a container building for an
amd-e2100 netbook(mostly for large packages), I didn't use distcc
since building in the netbook doesn't really make the building much
faster, but if I had more resources I would try to use distcc in pump
mode.



Re: [gentoo-user] Compiling for different CPU but same architecture

2014-08-01 Thread Jc García
2014-08-01 5:51 GMT-06:00 Neil Bothwick :
> On Fri, 1 Aug 2014 05:45:36 -0600, Jc García wrote:
>
>> > systemd-nspawn seems to be interesting. But will it work on my i5?
>> > Because I prefer to use -march=native. For using distcc I copied all
>> > the flags that gcc selects in march=native mode to make.conf.
>> >
>> >
>> I don't think what CFLAGS you are using matters for using
>> systemd-nspawn.
>
> If you are using a chroot to build packages for installation on another
> machine, the CFLAGS should be appropriate for the target machine, not the
> build host.
>
Maybe I misinterpreted what he was asking, I was only thinking about
the part of using nspawn as a replacement for chroot, not beyond that,
but you're right.
>
> --
> Neil Bothwick
>
> The quickest way to a man's heart is through his sternum.



  1   2   >