Re: [gentoo-ppc-user] X on an older PPC-based Mac Mini?

2009-05-27 Thread Ajai Khattri

On Fri, 22 May 2009, Mark Knecht wrote:


  Are there any known issues setting up X with xorgconfig on a older
Mac Mini? I've done it more or less like I do on my x86 machines. I
can use startx and see things (xterm, xclock, etc.) in 'top' but I
only get a black screen. There are no error messages in the X log
file. I've tried two monitors. Same results on both.

  In make.cong I've got VIDEO_CARDS=radeon fbdev.

  What about hal? Is that only x86?

  Maybe someone with a similar first round Mac Mini has a known-good
config file?

  I'm really a noob on this platform, but have used Gentoo for quite
awhile. I'm not sure what info to provide so let me know what you need
and I'll get it quickly.


I have a similar problem.

I did have XFCE running quite happily on an old G3 (BlueWhite) PowerMac, 
but the recent X server upgrades have borked that up completely. Ive 
followed the upgrade guides without getting anywhere. Im looking for a X 
config file too.


Doesn't seem to be much traffic on this list though...



--
A



[gentoo-user] Latest X on G3 PPC?

2009-05-27 Thread Ajai Khattri


Anyone have a working xorg config file for an Apple G3 machine? I upgraded 
to the latest X and the desktop no longer works...



(Yes, Ive already asked on the PPC list too).




--
A



Re: [gentoo-user] OT: buying a keyboard

2009-06-04 Thread Ajai Khattri

On Sun, 31 May 2009, Adrian wrote:


It's finally getting worn out, keys are sticking pretty bad.  I would
like to get a new one, but the company I purchased it from (via the
internet) seems to not exist any more.  Some google action has not
resulted in locating any similar keyboards.


About once a year, I wash all my keyboards (no, seriously). Dishwasher, 
quick wash, cold, then leave somewhere warm to dry for a couple days.


Afterwards, the tactile response feels like new :-)


--
A



Re: [gentoo-user] [OT] Running two apaches and MySQLs on the same server

2009-06-04 Thread Ajai Khattri

On Thu, 28 May 2009, Alan McKinnon wrote:


It' sin the apache docs, called IP based virtual hosts if memory serves.


If you want to run SSL, then IP vhosts is the only way to go.



--
A



Re: [gentoo-user] Latest X on G3 PPC?

2009-06-09 Thread Ajai Khattri

On Wed, 27 May 2009, Saphirus Sage wrote:


I've attached my xorg from my G4 eMac, hopefully it will be of some help.


Actually, that config works without any changes!

I merged in the monitor and screens config from my old config and I have 
my desktop back again. The only difference as far as I can tell is that my 
old config specified at ATI device and yours specifies a Radeon device.



Anyway, thanks very much!


--
A



Re: [gentoo-user] Web based ftp alternative

2008-10-29 Thread Ajai Khattri

On Wed, 29 Oct 2008, Stroller wrote:

One simply uses Go then Connect to server - the menus indicate that the 
shortcut for this is Apple-K - and then types ftp://site.example.com in order 
to achieve an FTP connection. In the window displayed there is a + button 
allowing users to save favourite servers.


True but its a read-only view...


--
A



Re: [gentoo-user] mysql-5.* unmasked

2006-11-25 Thread Ajai Khattri

On Thu, November 23, 2006 2:20 pm, Markus Schönhaber wrote:

 To me, this seems to indicate that masking virtual/mysql-5.0 too might
 help.

So, does this mean I can no longer get any updates for dev-perl/DBD-mysql
without upgrading to MySQL 5?


-- 
Aj.
Sys. Admin / Developer

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql-5.* unmasked

2006-11-25 Thread Ajai Khattri

On Thu, November 23, 2006 4:22 pm, Ryan Tandy wrote:

 You need to mask the virtual package that's depending on that, not the
 mysql package itself.

 $ sudo sed -i -e 's,dev-db/mysql,virtual/mysql,g'
 /etc/portage/package.mask

Looks like DBD-mysql depends on that virtual but I do not wish to upgrade
(I already have DBD-mysql installed and working with MySQL 4.1.



-- 
Aj.
Sys. Admin / Developer

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: OT 4port ether on gentoo?

2005-08-26 Thread Ajai Khattri
James wireless at tampabay.rr.com writes:

 I'm looking for a 4 port (10/100) ethernet pci_buss card that
 works with gentoo. Inexpensive is best. Any recommendation
 of manufacture, and a good (us) vendor of these cards would be
 cool.

How about these?

http://www.soekris.com/lan16x1.htm



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] maintaining clones

2009-08-02 Thread Ajai Khattri

On Fri, 31 Jul 2009, Dan Farrell wrote:


hmm... network booting?  network mounting?  install packages once on
one system, share them with everyone.  Share passwd/shadow files and
the like manually, or symlink them to skeletal versions symlinked to
somewhere that can be obscured and replaced by a network boot.  you
could even boot them from thumb drives or cds.

of course, it would be a good bit of work to configure initially,
and might not go whithout a hitch.


For configuration, you may want to look at something like puppet to manage 
that. Your build machine would the puppetmaster and keep the other 
machines' configs up-to-date.




--
A



[gentoo-user] Can't resolve package blocks

2010-04-29 Thread Ajai Khattri


I have unmerged ffmpeg, libraw1394 and libdc1394 and I still can't resolve 
this block:


[nomerge  ] media-video/ffmpeg-0.5_p20373  USE=X alsa amr encode 
hardcoded-tables ieee1394 ipv6 network theora threads vorbis x264 zlib 
(-3dnow) (-3dnowext) -altivec -bindist -cpudetection -custom-cflags -debug 
-dirac -doc -faac -faad -gsm -jack -jpeg2k (-mmx) (-mmxext) -mp3 -oss -pic 
-schroedinger -sdl -speex (-ssse3) -test -v4l -v4l2 -vdpau -xvid 
VIDEO_CARDS=(-nvidia)  [0]

[ebuild  N]  media-libs/opencore-amr-0.1.2  849 kB [0]
[ebuild  N]  sys-libs/libraw1394-2.0.4  368 kB [0]
[nomerge  ] x11-libs/gtk+-2.18.7 [2.16.6] USE=cups jpeg tiff (-aqua) 
-debug -doc -jpeg2k -test -vim-syntax -xinerama (-X%*)  [0]
[ebuild  N]  media-libs/tiff-3.9.2-r1  USE=cxx jpeg zlib -jbig 1,387 
kB [0]

[ebuild  N]   media-libs/jpeg-8a  951 kB [0]
[blocks B ] media-libs/libdc1394-1.2.2 (media-libs/libdc1394-1.2.2 
is blocking sys-libs/libraw1394-2.0.4)


Total: 79 packages (68 upgrades, 10 new, 1 in new slot, 6 uninstalls), 
Size of downloads: 174,892 kB

Conflict: 13 blocks (1 unsatisfied)
Portage tree and overlays:
 [0] /usr/portage
 [?] indicates that the source repository could not be determined

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('ebuild', '/', 'media-libs/libdc1394-1.2.1', 'merge') pulled in by
media-libs/libdc1394 required by ('ebuild', '/', 
'media-video/ffmpeg-0.5_p20373', 'merge')


  ('ebuild', '/', 'sys-libs/libraw1394-2.0.4', 'merge') pulled in by
sys-libs/libraw1394 required by ('ebuild', '/', 
'media-video/ffmpeg-0.5_p20373', 'merge')
=sys-libs/libraw1394-0.9.0 required by ('ebuild', '/', 
'media-libs/libdc1394-1.2.1', 'merge')





--




Re: [gentoo-user] Can't resolve package blocks

2010-05-01 Thread Ajai Khattri

On Fri, 30 Apr 2010, Paul Hartman wrote:


Use the --tree option in your emerge commandline so it will show which
packages are trying to pull in these.


I am using the -t flag - that's what I pasted earlier.


It looks like you're using
stable, I'm on ~amd64 and don't have these blocks so maybe it's
something worked out by newer versions.


This is a ppc machine...


On the other hand, if you have
unmasked any unstable packages maybe they're trying to pull in the
conflictiong versions?


I have practically nothing unmasked (just gnomeprint so unrelated).

I have ffmpeg, libraw and libdc1394 unmerged, so its not clear what's 
pulling them in. You can see the N showing that they're new installs.




--




Re: [gentoo-user] Can't resolve package blocks

2010-05-02 Thread Ajai Khattri

On Sat, 1 May 2010, Arttu V. wrote:


I'd unmask the testing graded media-libs/libdc1394-2.1.2 in
package.keywords for the time being (or mask libraw1394-2.0.x), while
waiting for the stabilisation of newer libdc1394 versions. Which
unfortunately appears to be stuck:

http://bugs.gentoo.org/show_bug.cgi?id=315655


Unmasking =libdc1394-2 was successful in removing the block, thanks.



--
A



[gentoo-user] How to fix circular dependency?

2010-09-05 Thread Ajai Khattri


This box hasn't been updated in awhile:

# emerge -uDtav1k portage

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


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

Calculating dependencies... done!


[nomerge  ] sys-apps/portage-2.1.8.3 [2.1.6.4] USE=-python3%
[nomerge  ]  dev-lang/python-2.6.5-r3 [2.4.4-r14, 2.5.2-r7] 
USE=berkdb gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml 
-build -doc -examples -sqlite -tk -wininst

[nomerge  ]   app-admin/eselect-python-20100321
[nomerge  ]sys-devel/gcc-4.4.3-r2 [4.1.2] USE=mudflap nptl openmp 
(-altivec) -bootstrap -build -doc (-fixed-point) -fortran -gcj -graphite 
-gtk (-hardened) (-libffi) (-multilib) -multislot (-n32) (-n64) -nls 
-nocxx -objc -objc++ -objc-gc -test -vanilla

[ebuild U ] sys-libs/glibc-2.11.2 [2.6.1] USE=-gd% -vanilla%
[ebuild  NS   ]  sys-devel/gcc-4.4.3-r2 [4.1.2] USE=mudflap nptl 
openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran -gcj 
-graphite -gtk (-hardened) (-libffi) (-multilib) -multislot (-n32) (-n64) 
-nls -nocxx -objc -objc++ -objc-gc -test -vanilla


 * Error: circular dependencies:

('ebuild', '/', 'sys-libs/glibc-2.11.2', 'merge') depends on
  ('ebuild', '/', 'sys-devel/gcc-4.4.3-r2', 'merge') (hard)
('ebuild', '/', 'sys-devel/gcc-4.4.3-r2', 'merge') depends on
  ('ebuild', '/', 'sys-libs/glibc-2.11.2', 'merge') (hard)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.


--
Aj.



Re: [gentoo-user] How to fix circular dependency?

2010-09-06 Thread Ajai Khattri

On Sun, 5 Sep 2010, Dale wrote:


Try this:

emerge -1av =*glibc*-2.10.1-r1


# emerge -1av =*glibc*-2.10.1-r1

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


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

Calculating dependencies -

!!! '=*glibc*-2.10.1-r1' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?) 
... done!




--
A




Re: [gentoo-user] How to fix circular dependency?

2010-09-06 Thread Ajai Khattri

On Mon, 6 Sep 2010, Alex Schuster wrote:


What Dale meant is to try installling sys-libs/glibc-2.10.1-r1. I have not
checked the depencencies, but the idea is that this version of glibc does
not depend on the new gcc, which would pull in the new glibc. So try this:

emerge -1a =sys-libs/glibc-2.10.1-r1

If it does not work, I'd try another glibc. eix sys-libs/glibc lists them
all.


OK, Ive managed to proceed a little further, but now Im encountering this:

# emerge -uDtpvk world

These are the packages that would be merged, in reverse 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-php/PEAR-PEAR:0

  ('ebuild', '/', 'dev-php/PEAR-PEAR-1.9.0', 'merge') pulled in by
=dev-php/PEAR-PEAR-1.6.1 required by ('installed', '/', 
'dev-php/PEAR-Net_Socket-1.0.8', 'nomerge')
=dev-php/PEAR-PEAR-1.6.1 required by ('installed', '/', 
'dev-php/PEAR-Mail-1.1.14', 'nomerge')

dev-php/PEAR-PEAR required by world
(and 1 more)

  ('installed', '/', 'dev-php/PEAR-PEAR-1.6.2-r1', 'nomerge') pulled in by
dev-php/PEAR-PEAR-1.8.1 required by ('installed', '/', 
'dev-php/PEAR-Net_SMTP-1.2.10', 'nomerge')
dev-php/PEAR-PEAR-1.8.1 required by ('installed', '/', 
'dev-php/PEAR-Mail-1.1.14', 'nomerge')

dev-php/PEAR-PEAR required by world
(and 1 more)


Not sure what this message means?



--
A



Re: [gentoo-user] Re: Shared libraries in Gentoo

2010-09-06 Thread Ajai Khattri

On Tue, 7 Sep 2010, Al wrote:


No, I am comming from a Debian/Ubuntu background where it simply
worked.


Same mechanism there too - Debian/Ubuntu also use /etc/ld.so.conf and/or 
/etc/ld.so.conf.d. You dont see it because you only deal with binary 
packages when updating in Debian/Ubuntu.



Now I try to port Gentoo to Cygwin and it doesn't always work.


When you say Gentoo, do you mean Portage? Remember Windows has a lot of 
limitations that WILL get in your way so dont be surprised when things 
break.



--
A



Re: [gentoo-user] Wine complains about Gecko

2010-09-06 Thread Ajai Khattri

On Tue, 7 Sep 2010, Nikos Chantziaras wrote:

When I try to launch a Windows program in Wine (1.3.2), an error dialog 
appears informing me that Gecko is not installed and the program might not 
work (which it doesn't).  It has an install button there, but mentions that 
it would be better if the distro, Gentoo in this case, would offer it and 
install it from there.


I can't find any such package in portage though.  eix gecko only finds 
dev-dotnet/gecko-sharp and www-plugins/gecko-mediaplayer.


Gecko is part of Firefox.

http://en.wikipedia.org/wiki/Gecko_(layout_engine)


--
A



Re: [gentoo-user] Re: Shared libraries in Gentoo

2010-09-07 Thread Ajai Khattri

On Tue, 7 Sep 2010, Al wrote:


When you say Gentoo, do you mean Portage? Remember Windows has a lot of
limitations that WILL get in your way so dont be surprised when things
break.


I am specially interested in Gentoo because it is not another linux
distribution, but an administration tool to build your own sources and
it's scope is wider than linux.


Which doesn't actually answer the question...



--
A



Re: [gentoo-user] How to fix circular dependency?

2010-09-07 Thread Ajai Khattri

On Tue, 7 Sep 2010, Alex Schuster wrote:


It means that portage wants to install both dev-php/PEAR-PEAR-1.9.0 and
dev-php/PEAR-PEAR-1.6.2-r1 at the same time. I don't understand why, looks
to me like it should keep you already installed 1.6.2-r1 version.
Do you need to have this package in world? Does the conflict also happen
if not?

In case you are running portage 2.1, you might give 2.2 a try. It is
better at resolving such stuff, but still fails sometimes.


I decided to uninstall PEAR-PEAR to get past this (I figured I could 
always reinstall later after I finish all other updates).


So far so good, thanks.



--
A



[gentoo-user] What's the story with 2.6.35 kernel?

2010-09-10 Thread Ajai Khattri


I upgraded several machines and some failed to boot 2.6.35, they just hang 
after grub starts loading the kernel. Some of these I managed to fix by 
comparing kernel configs with working machines, others dont work at all.


The worst case is one where Ive upgraded udev to the latest which only 
works with kernels 2.6.25 or higher, and the last working kernel on that 
machine is 2.6.24 (grr!). Wondering if I can download a binary package of 
udev-149 from somewhere (or can I build it on another machine in a sandbox 
and package it with quickpkg?). Im kind of under pressure to fix this box 
but dont have udev-149 on any other machine available :-(


That'll teach me to upgrade to the latest and greatest too fast...



--
A



Re: [gentoo-user] Re: What's the story with 2.6.35 kernel?

2010-09-10 Thread Ajai Khattri

On Fri, 10 Sep 2010, walt wrote:


On 09/10/2010 03:18 PM, Ajai Khattri wrote:


I upgraded several machines and some failed to boot 2.6.35, they just hang 
after grub starts loading the kernel. Some of these I managed to fix by 
comparing kernel configs with working machines...


What kernel config items did you change to fix those broken machines?


The two main ones seemed to be disabling the deprecated ATA drivers and 
another one was disabling some sysfs options. But these changes didn't 
help in this case. At this point, I think Im better off sticking to the 
older kernel until I figure this out properly so Ive focussed my efforts 
on getting that working.


I have since booted off a recent boot CD, mounted the RAID partitions and 
tried downgrading udev so I can maybe boot the older kernel. This didn't 
work since the LiveCD is newer than the original CD I used to build this 
box, and the naming conventions for RAID devices seems to have changed 
(and building udev from a LiveCD means Im using newer /proc and /dev!).


The older kernel loads but then says my root device doens't exist.

Under the old scheme I specified /dev/md1 as my root in grub.conf but 
since this doesn't exist the boot fails. In trying to fix this I see that 
the LiveCD uses the following device files for the RAID partitions: 
/dev/md123 /dev/md124 /dev/md125 /dev/md126. Should I be using those in 
grub.conf now?




--
A



Re: [gentoo-user] Re: What's the story with 2.6.35 kernel?

2010-09-10 Thread Ajai Khattri

On Sat, 11 Sep 2010, Nikos Chantziaras wrote:


On 09/11/2010 01:18 AM, Ajai Khattri wrote:


I upgraded several machines and some failed to boot 2.6.35, they just
hang after grub starts loading the kernel.


If you updated from 2.6.34 or even 33, then there shouldn't be a problem; 
make oldconfig should have worked OK and presented new/changed config 
options in a sane way.


On this particular box I was updating from 2.6.24 to 2.6.35 and I always 
use 'make silentoldconfig' when upgrading.



--
A



Re: [gentoo-user] Re: What's the story with 2.6.35 kernel?

2010-09-10 Thread Ajai Khattri

On Fri, 10 Sep 2010, Ajai Khattri wrote:

Under the old scheme I specified /dev/md1 as my root in grub.conf but since 
this doesn't exist the boot fails. In trying to fix this I see that the 
LiveCD uses the following device files for the RAID partitions: /dev/md123 
/dev/md124 /dev/md125 /dev/md126. Should I be using those in grub.conf now?


Long story short: I used the LiveCD device names in grub.conf and my fstab 
and I can now successfully boot the older 2.6.24 kernel. Everything seems 
to be working. I will have to read up on the naming scheme changes - 
advice/tips? (/dev/md1 is easier to remember than /dev/md124 :-)




--
A



Re: [gentoo-user] Re: What's the story with 2.6.35 kernel?

2010-09-11 Thread Ajai Khattri

On Sat, 11 Sep 2010, Nikos Chantziaras wrote:

Extremely bad idea.  It's no wonder something did break.  You can't just 
silentoldconfig between kernel versions and expect it to always work.  At 
least oldconfig would catch new options (which might be options replacing 
old ones.)


silentoldconfig shows all the new options too. I think the main problem 
was the changes in udev.



--
A




[gentoo-user] Latest perl update has conflicts

2014-02-03 Thread Ajai Khattri


Im updating some boxes after a few months and keep hitting the same 
conflicts:



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


dev-lang/perl:0

  (dev-lang/perl-5.16.3::gentoo, ebuild scheduled for merge) conflicts 
with
dev-lang/perl[-build] required by (dev-perl/PlRPC-0.202.0::gentoo, 
installed)
  (dev-lang/perl-5.16.3::gentoo, ebuild scheduled for merge) conflicts 
with
dev-lang/perl[-build] required by 
(dev-perl/HTTP-Negotiate-6.0.0::gentoo, installed)
  (dev-lang/perl-5.16.3::gentoo, ebuild scheduled for merge) conflicts 
with
dev-lang/perl[-build] required by 
(dev-perl/WWW-RobotRules-6.10.0::gentoo, installed)
  (dev-lang/perl-5.16.3::gentoo, ebuild scheduled for merge) conflicts 
with
dev-lang/perl[-build] required by 
(dev-perl/Net-Daemon-0.480.0::gentoo, installed)



Someone has probably come across the same problem - how to fix ?



--
A



[gentoo-user] Ruby is borked on my system

2014-06-26 Thread Ajai Khattri


Ive ran into a brick wall trying to update one of my servers. I have been 
using Gentoo for a long time but I haven't been following it as closely 
for the past year so maybe there have been changes Im not aware of. Ive 
already Googled and checked archives without really solving my problem.


When I try to update world I get this:

# emerge -uDatvk world

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in reverse 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-ruby/rubygems:0

  (dev-ruby/rubygems-2.0.14::gentoo, ebuild scheduled for merge) pulled in 
by
=dev-ruby/rubygems-2.0.2[ruby_targets_ruby20] required by 
(dev-lang/ruby-2.0.0_p353::gentoo, installed)
dev-ruby/rubygems[ruby_targets_ruby20] required by 
(virtual/rubygems-6::gentoo, ebuild scheduled for merge)


  (dev-ruby/rubygems-2.0.14::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)


!!! Enabling --newuse and --update might solve this conflict.
!!! If not, it might help emerge to give a more specific suggestion.


!!! All ebuilds that could satisfy virtual/rubygems[ruby_targets_ruby18] 
have been masked.
!!! One of the following masked packages is required to complete your 
request:

- virtual/rubygems-7::gentoo (masked by: ~x86 keyword)
- virtual/rubygems-5::gentoo (masked by: missing keyword)

(dependency required by dev-ruby/rdoc-4.0.1-r1[-test] [installed])
(dependency required by dev-lang/ruby-2.0.0_p353[rdoc] [installed])
(dependency required by virtual/rubygems-6 [ebuild])
(dependency required by dev-ruby/json-1.8.0 [installed])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


From reading other threads I have set RUBY_TARGETS in make.conf to be 

ruby19 ruby20 and Ive used eselect to set the default config to ruby19.

I have not been able to fix this problem so far.


Any ideas how to proceed?

--



Re: [gentoo-user] Re: Ruby is borked on my system

2014-06-27 Thread Ajai Khattri

On Fri, 27 Jun 2014, Hans de Graaff wrote:


On Thu, 26 Jun 2014 23:36:00 -0400, Ajai Khattri wrote:


!!! All ebuilds that could satisfy
virtual/rubygems[ruby_targets_ruby18]
have been masked.


You still have packages on your system that have been installed with the
ruby18 RUBY_TARGET. It's not immediately clear which package that is from
the output, but I suspect dev-ruby/rubygems? Re-emerging the packages
still installed for ruby18 should fix this.


I rebuiltd rubygems and the virtual but still no go.
Then I rebuilt rdoc (which pulled in a bunch of other stuff) but now 
emerge world says I have nothing left to build.


Hopefully I can revdep-rebuild and all should be OK.


Thanks,
--
A



[gentoo-user] Trying to debug postgrey

2014-10-21 Thread Ajai Khattri


Ive been running postgrey for years without any problems but today I 
noticed I hadn't gotten email for awhile and realized upon investigation 
that postgrey wasnt running so postfix was rejecting mail.


What's maddening is that I can run postgrey quite happily from the command 
line in the foregorund, but if I try to use the init script or otherwise 
try to daemonize it, it silently crashes:


# /etc/init.d/postgrey start
 * Starting Postgrey ...
 [ ok ]
# pgrep -af postgrey

Its not running.

The logs dont show anything useful. If I ask the init script to be verbose 
I see this:


# /etc/init.d/postgrey start --verbose
 * Caching service dependencies ...
 [ ok ]
 * Starting Postgrey ...
 * start-stop-daemon: fopen `/var/run/postgrey.pid': No such file or 
directory

 [ ok ]
#

which doesn't make much sense.


--
Ajai Khattri
Systems Admin | Web / Mobile Developer



Re: [gentoo-user] Trying to debug postgrey

2014-10-22 Thread Ajai Khattri

On Wed, 22 Oct 2014, thegeezer wrote:


i had this happen the other day, it's an issue with postgrey + perl 5.18
https://bugs.gentoo.org/show_bug.cgi?id=521912


I had a feeling that the recent Perl updates may have borked it. Good to 
know its not just me. Just did a sync - hopefully the new packages will 
fix it.



--
Ajai Khattri
Systems Admin | Web / Mobile Developer



[gentoo-user] PHP slots

2015-08-19 Thread Ajai Khattri


Are packages of major versions of PHP all slotted now?
In trying to upgrade from 5.3 to 5.6 I get the following query:

# emerge -uDatvk dev-lang/php

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

!!! The following installed packages are masked:
- dev-lang/php-5.3.28-r3::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Brian Evans grkni...@gentoo.org (22 Mar 2015)
# PHP 5.3.x is vulnerable to several security bugs and has
# reached EOL status. (Bugs #533998, #537586, #537590, #538822, #541098)
# Masked pending resolution to bug #538756

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.



 * dev-lang/php:5.3
 * dev-lang/php:5.4
 * dev-lang/php:5.5

Would you like to add these packages to your world favorites? [Yes/No]


I always thought the idea of adding specific slots to my world file a bad 
idea ?



- 
A




[gentoo-user] Can't update to go-1.4.2

2015-09-04 Thread Ajai Khattri


I know that Go 1.5 is limited to 64bit CPUs but im running on a 64bit CPU 
and Im trying to update Go from 1.0 to the latest stable (which is 1.4.2 
anyway):


dev ~ #  emerge -uDatv dev-lang/go

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!
[ebuild U  ] dev-lang/go-1.4.2::gentoo [1.0.1::gentoo] 
USE="(-bash-completion%*) (-emacs%) (-pax_kernel%) (-vim-syntax%*) 
(-zsh-completion%)" 0 KiB


Total: 1 package (1 upgrade), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]


Verifying ebuild manifests



Emerging (1 of 1) dev-lang/go-1.4.2::gentoo
 * go1.4.2.src.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...   [ 
ok ]

Unpacking source...
Unpacking go1.4.2.src.tar.gz to 

/var/tmp/portage/dev-lang/go-1.4.2/work

Source unpacked in /var/tmp/portage/dev-lang/go-1.4.2/work
Preparing source in /var/tmp/portage/dev-lang/go-1.4.2/work/go ...
Source prepared.
Configuring source in /var/tmp/portage/dev-lang/go-1.4.2/work/go ...
Source configured.
Compiling source in /var/tmp/portage/dev-lang/go-1.4.2/work/go ...

# Building C bootstrap tool.
cmd/dist

# Building compilers and Go bootstrap tool for host, linux/amd64.
lib9
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/atoi.c:1:0: error: CPU 
you selected does not support x86-64 instruction set
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/_p9dir.c:1:0: error: 
CPU you selected does not support x86-64 instruction 
set/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/await.c:1:0: error: 
CPU you selected does not support x86-64 instruction set


go tool dist: FAILED: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall 
-Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces 
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment 
-Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 
-c -m64 -I /var/tmp/portage/dev-lang/go-1.4.2/work/go/include -DPLAN9PORT 
-I /var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9 -o $WORK/atoi.o 
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/atoi.c
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/_exits.c:1:0: error: 
CPU you selected does not support x86-64 instruction set
go tool dist: FAILED: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall 
-Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces 
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment 
-Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 
-c -m64 -I /var/tmp/portage/dev-lang/go-1.4.2/work/go/include -DPLAN9PORT 
-I /var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9 -o $WORK/_exits.o 
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/_exits.c
go tool dist: FAILED: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall 
-Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces 
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment 
-Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 
-c -m64 -I /var/tmp/portage/dev-lang/go-1.4.2/work/go/include -DPLAN9PORT 
-I /var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9 -o $WORK/await.o 
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/await.c
go tool dist: FAILED: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall 
-Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces 
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment 
-Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 
-c -m64 -I /var/tmp/portage/dev-lang/go-1.4.2/work/go/include -DPLAN9PORT 
-I /var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9 -o $WORK/_p9dir.o 
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/_p9dir.c

 * ERROR: dev-lang/go-1.4.2::gentoo failed (compile phase):
 *   build failed
 *
 * Call stack:
 * ebuild.sh, line  93:  Called src_compile
 *   environment, line 1886:  Called die
 * The specific snippet of code:
 *   ./make.bash || die "build failed"
 *
 * If you need support, post the output of `emerge --info 
'=dev-lang/go-1.4.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv 
'=dev-lang/go-1.4.2::gentoo'`.
 * The complete build log is located at 
'/var/tmp/portage/dev-lang/go-1.4.2/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/dev-lang/go-1.4.2/temp/environment'.

 * Working directory: '/var/tmp/portage/dev-lang/go-1.4.2/work/go/src'
 * S: '/var/tmp/portage/dev-lang/go-1.4.2/work/go'


Failed to emerge dev-lang/go-1.4.2, Log file:



 '/var/tmp/portage/dev-lang/go-1.4.2/temp/build.log'


 * Messages for package dev-lang/go-1.4.2:

 * ERROR: dev-lang/go-1.4.2::gentoo failed (compile phase):
 *   build failed
 *
 * Call stack:
 * ebuild.sh, line  93:  Called src_compile
 *   environment, line 1886:  Called die
 * The specific snippet of code:
 *   ./make.bash || 

Re: [gentoo-user] Can't update to go-1.4.2

2015-09-09 Thread Ajai Khattri

On Fri, 4 Sep 2015, Fernando Rodriguez wrote:


Post your emerge --info.
Why do you have  i686-pc-linux-gnu-gcc on a 64-bit machine?


FYI, this is 32bit Gentoo running on a 64bit virtual machine (so it has a 
64bit kernel) because awhile ago I upgraded from a 32bit setup. Was hoping 
I wouldn't have to reinstall the whole OS...


Output from emerge --info:

Portage 2.2.20.1 (python 2.7.9-final-0, default/linux/x86/13.0, gcc-4.6.3, 
glibc-2.20-r2, 4.1.5-x86_64-linode61 x86_64)

=
System uname: 
Linux-4.1.5-x86_64-linode61-x86_64-Intel-R-_Xeon-R-_CPU_E5-2680_v3_@_2.50GHz-with-gentoo-2.2

KiB Mem: 2047052 total, 24452 free
KiB Swap: 524284 total,523404 free
Timestamp of repository gentoo: Mon, 17 Aug 2015 20:30:01 +
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:  4.3_p33-r2::gentoo
dev-lang/perl:5.20.2::gentoo
dev-lang/python:  2.4.6::gentoo, 2.5.4-r4::gentoo, 2.6.9::gentoo, 
2.7.9-r1::gentoo, 3.1.4-r3::gentoo, 3.2.5-r6::gentoo, 3.3.5-r1::gentoo, 
3.4.1::gentoo

dev-util/cmake:   3.2.2::gentoo
dev-util/pkgconfig:   0.28-r2::gentoo
sys-apps/baselayout:  2.2::gentoo
sys-apps/openrc:  0.12.4::gentoo
sys-apps/sandbox: 2.6-r1::gentoo
sys-devel/autoconf:   2.13::, 2.69::gentoo
sys-devel/automake:   1.4_p6::, 1.5::repository>, 1.6.3::, 1.7.9-r1::, 
1.8.5-r3::, 1.9.6-r2::, 
1.10.3::gentoo, 1.11.6::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 
1.14.1::gentoo, 1.15::gentoo

sys-devel/binutils:   2.24-r3::gentoo
sys-devel/gcc:4.1.2::, 4.3.4::gentoo, 
4.4.5::gentoo, 4.5.4::gentoo, 4.6.3::gentoo, 4.7.3-r1::gentoo, 
4.8.4::gentoo

sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool:2.4.6::gentoo
sys-devel/make:   4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:   2.20-r2::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000

x-portage
location: /usr/local/portage
masters: gentoo
priority: 0

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release 
/etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ 
/etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ 
/etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ 
/etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ 
/etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ 
/etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ 
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"

CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks 
ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs 
protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs 
unmerge-orphans userfetch userpriv usersandbox usersync"

FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo/ 
http://gentoo.llarian.net/ http://mirrors.rit.edu/gentoo/ 
http://gentoo.netnitco.net;

LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times 
--omit-dir-times --compress --force --whole-file --delete --stats 
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local 
--exclude=/packages"

PORTAGE_TMPDIR="/var/tmp"
USE="apache2 bash-completion berkdb bzip2 cli cracklib crypt cxx dri gdbm 
iconv ipv6 ithreads modules ncurses nls nptl nptlonly openmp pam pcre 
readline seccomp session ssl tcpd threads unicode x86 zlib" ABI_X86="32" 
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 
emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 
authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile 
authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd 
deflate dir disk_cache env expires ext_filter file_cache filter headers 
ident imagemap include info log_config logio mem_cache mime mime_magic 
negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http 
rewrite setenvif so speling status unique_id userdir usertrack 
vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan 
sheets stage tables krita karbon braindump author" CAMERAS="ptp2" 
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"