Re: [gentoo-user] app-admin/system-config-printer-gnome-1.3.12 not building

2013-06-16 Thread Arttu V.
On 6/11/13, Francisco Ares fra...@gmail.com wrote:
 Hy,

 I've got a problem related to system-config-printer-gnome-1.3.12 not being
 able to be built.  The build process stops with the log bellow.  Its bottom
 line says it was impossible to download :
 http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd; , which I've
 succeeded to download using wget with no extra parameters.

 Any hints?

Answering late to this post since nobody else has. AFAIK the DTD files
should never get downloaded. Instead they should've been installed
automatically by your favourite $PACKAGEMANGLER from a dependency of
that GNOME package. Then the local copy should be automatically used.

Try

emerge -1 app-text/docbook-xml-dtd:4.1.2

then retry whatever you were doing. This should re-install and
re-register the 4.1.2 DTDs. If it doesn't work then at least you
hopefully get new error messages pointing towards the real cause
behind the broken DTD catalog.

(You could also have a look into the files inside /etc/xml and
/etc/sgml, especially the file named catalog. I think I remember a
case where one person or his system had somehow cleared the local DTD
registry.)

-- 
Arttu V.



Re: [gentoo-user] Re: perl versioning problem, how to get beyond for @world

2012-05-21 Thread Arttu V.
It looks like the @INC list (the directory list perl uses for finding
its modules) is not right or is not processed right. Only one
directory is looked into? (You can see @INC with perl -V, it should
be up to about ten directories on a Gentoo install.)

Unless you really, really want to know exactly which bit from which
package is sideways you might get out of the hole simply with:
perl-cleaner --reallyall

-- 
Arttu V.

On 5/18/12, Harry Putnam rea...@newsguy.com wrote:
 Alan McKinnon alan.mckin...@gmail.com writes:

 [...]

 | Checking prerequisites...
 |   build_requires:
 | !  Parse::CPAN::Meta (1.40) is installed, but we need version =
 | 1.4401
 | ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install
 the versions | of the modules indicated above before proceeding with
 this installation |
 | Could not create MYMETA files
 | Creating new 'Build' script for 'Module-Build' version '0.40'
 | Copied META.yml to MYMETA.yml for bootstrapping
 |
 | These additional prerequisites must be installed:
 |   requires:
 | ! version (we need version 0.87)
 |  Source configured.
 |  Compiling source in
 | /var/tmp/portage/perl-core/Module-Build-0.400.0/work/Module-Build-0.40
 ...
 | version version 0.87 required--this is only version 0.82 at
 | /usr/lib/perl5/vendor_perl/5.12.4/Module/Metadata
 | .pm line 20.
 | [...]
 `

 I can't really see what to do about this...

 What is installed is:

 ,
 | # eix -Ic|grep  Parse.*Meta
 | [I] perl-core/Parse-CPAN-Meta (1.440.400@05/03/12): Parse META.yml
 and other | similar CPAN metadata files
 | [I] virtual/perl-Parse-CPAN-Meta (1.440.400@04/25/12): Virtual for
 Parse-CPAN-Meta `

 Perl and any package manager tend to make an ugly combination...

 Now, I've never seen this specific error before but it looks like perl
 thinks your installed Parse-CPAN-Meta is still the old version 1.40. It
 doesn't realize what portage did in the interim.

 Have a look in that ebuild and 1.440.400 and you'll see quite a
 difference.

 Quite a difference in what?  Or compared to what?

 Does unmerging and remerging Parse-CPAN-Meta fix anything?

 I tried emerge -vC the core  Parse-CPAN-Meta and the Virtual
 Parse-CPAN-Meta

 Then eix-sync, then emerge -vuD world

 When it gets to building `perl-core/Module-Build-0.400.0'

 The same failure happens:

 ,
 | [...]
 | Checking prerequisites...
 |   build_requires:
 | !  Parse::CPAN::Meta (1.40) is installed, but we need version =
 1.4401
 |
 | ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the
 versions
 | of the modules indicated above before proceeding with this installation
 |
 | Could not create MYMETA files
 | Creating new 'Build' script for 'Module-Build' version '0.40'
 | Copied META.yml to MYMETA.yml for bootstrapping
 |
 | These additional prerequisites must be installed:
 |   requires:
 | ! version (we need version 0.87)
 |  Source configured.
 | [...]
 `

 emerge has installed two very different [...]//Parse/CPAN/Meta.pm

 ,
 |  ls -l /usr/lib/perl5/5.12.4/Parse/CPAN/Meta.pm \
 |   /usr/lib/perl5/vendor_perl/5.12.4/Parse/CPAN/Meta.pm
 |
 | [...]10522 Apr 25 20:49 /usr/lib/perl5/5.12.4/Parse/CPAN/Meta.pm
 | [...] 7582 May 11 20:13
 /usr/lib/perl5/vendor_perl/5.12.4/Parse/CPAN/Meta.pm
 `

 And they say very different things:

 From /usr/lib/perl5/5.12.4/Parse/CPAN/Meta.pm:

  [...]
# Class structure
require 5.004;
require Exporter;
$Parse::CPAN::Meta::VERSION   = '1.40';
@Parse::CPAN::Meta::ISA   = qw{ Exporter  };
@Parse::CPAN::Meta::EXPORT_OK = qw{ Load LoadFile };
 [...]

 From /usr/lib/perl5/vendor_perl/5.12.4/Parse/CPAN/Meta.pm:

# Class structure
require 5.004;
require Exporter;
$Parse::CPAN::Meta::VERSION   = '1.4404';
@Parse::CPAN::Meta::ISA   = qw{ Exporter  };
@Parse::CPAN::Meta::EXPORT_OK = qw{ Load LoadFile };

   One looks for 1.40, the other for 1.4404

 I don't know what the code does but, is this possibly the problem?  If
 so its not at all clear what to do about it.

 qfile on /usr/lib/perl5/5.12.4/Parse/CPAN/Meta.pm
 Shows it comes from the main perl installation:

   qfile /usr/lib/perl5/5.12.4/Parse/CPAN/Meta.pm
 ,
 | dev-lang/perl (/usr/lib/perl5/5.12.4/Parse/CPAN/Meta.pm)
 `
 So that is from the main perl installation.

 Just renaming /usr/lib/perl5/5.12.4/Parse/CPAN/Meta.pm to
  /usr/lib/perl5/5.12.4/Parse/CPAN/XMeta.pmX

 Causes a new miss match on version when building
 perl-core/Module-Build-0.400.0
 ,
 | *** BOOTSTRAPPING version ***
 | Could not create MYMETA files
 | Creating new 'Build' script for 'Module-Build' version '0.40'
 | Copied META.yml to MYMETA.yml for bootstrapping
 |
 | These additional prerequisites must be installed:
 |   requires:
 | ! version (we need version 0.87)
 |  Source configured.
 |  Compiling source in
 /var/tmp/portage/perl-core/Module-Build-0.400.0/work/Module-Build-0.40 ...
 | version version 0.87 required

Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails

2012-05-19 Thread Arttu V.
I have no surefire solution, but so far everyone and their $PET seems
to have taken for granted that your toolchain is just fine and sane.
Perhaps emerge -e @system (without ccache, distcc or other
distractions) would jiggle those bits again?

-- 
Arttu V.

On 5/19/12, Volker Armin Hemmann volkerar...@googlemail.com wrote:
 Am Montag, 14. Mai 2012, 19:46:39 schrieb Dale:
 Alan McKinnon wrote:
  On Mon, 14 May 2012 12:13:18 -0500
 
  Dale rdalek1...@gmail.com wrote:
  For example:  Alan, Mike, Pandu, Mark, Neil and me are the top posters
  on this list.
 
  Yo Dale,
 
  You might want to re-calibrate your stats engine :-)
 
  I've been quiet for a while (getting old...)[1] and fifty bucks says
  Michael, Canek, Pandu and a couple more have all posted more than me
  this year
 
  [1] Well, that's my story and I'm sticking with it

 Maybe like me, you blabber more than you think:

 http://archives.gentoo.org/stats/gentoo-user-per-year.xml

 I didn't put them in any certain order but you have fallen a bit tho.
 Someone put alum in your water or something?



 while I am somehow glad to be part of the Top 20 since 2005, I am even more

 happy, that I am not a regular Top5 poster.



 --
 #163933





Re: OT: Merchant bankers (Was: [gentoo-user] Any big gotcha's when update from several (5) mnths

2011-09-18 Thread Arttu V.
On 9/17/11, Mark Knecht markkne...@gmail.com wrote:
 On 9/11/2011 the SP 500 was within about .1% of where
 it was on 9/10/2001. The 'Lost Decade'...

You lucky and prosperous bastards! Take a look at some major European
indexes over the same time span. DAX for example. :D

-- 
Arttu V.



Re: [gentoo-user] [OT/rant] Self-replicating programmer stupidity

2011-06-24 Thread Arttu V.
On 6/24/11, walt w41...@gmail.com wrote:
 My question:  WTF uses these poorly written ftp servers?  Why do they
 exist?  Who asked for them?  Who wrote the code, and why?

Maybe they're all derivatives of a single codebase with lots of bugs
and a MIT/BSD/Apache-style license?

-- 
Arttu V.



Re: [gentoo-user] emerge dev-lang/perl-5.12.3 failed

2011-03-15 Thread Arttu V.
On 3/15/11, Kraus Philipp philipp.kr...@flashpixx.de wrote:
 Hello,

 I've try to emerge my world target new, but the dev-lang/perl-5.12.3
 failes. I've found on the gentoo pages the hint to sync the portage
 tree again, but that does not solve the problem.

 The messages during emerge are:

 IO.xs: In function 'XS_IO__File_new_tmpfile':
 IO.xs:229: warning: value computed is not used
 IO.xs: In function 'XS_IO__Poll__poll':
 IO.xs:249: error: invalid application of 'sizeof' to incomplete type
 'struct pollfd'
 IO.xs:253: error: invalid use of undefined type 'struct pollfd'
 IO.xs:253: error: dereferencing pointer to incomplete type
 IO.xs:255: error: invalid use of undefined type 'struct pollfd'
 IO.xs:255: error: dereferencing pointer to incomplete type
 IO.xs:257: error: invalid use of undefined type 'struct pollfd'
 IO.xs:257: error: dereferencing pointer to incomplete type
 IO.xs:259: warning: implicit declaration of function 'poll'
 IO.xs:261: error: invalid use of undefined type 'struct pollfd'
 IO.xs:261: error: dereferencing pointer to incomplete type
 IO.xs:262: error: invalid use of undefined type 'struct pollfd'
 IO.xs:262: error: dereferencing pointer to incomplete type
 make[1]: *** [IO.o] Error 1
 make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/
 perl-5.12.3/dist/IO'
 Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449.
 make: *** [lib/auto/IO/IO.so] Error 25

 I've try to mask the 5.12.3 package to a previous version, but the
 same problemes are shown. Now I've have a hanging portage. Perl is
 needed for my eg. LDAP... Does anyone have any idea to solve the error?

Maybe the following is helpful:

http://forums.gentoo.org/viewtopic-t-430269.html

-- 
Arttu V.



Re: [gentoo-user] /usr/src/linux gone

2011-03-13 Thread Arttu V.
On 3/12/11, Peter Humphrey pe...@humphrey.ukfsn.org wrote:
 when I got an error saying that /boot was mounted read-only. On
 investigating, I found that everything I'd put on those two disks had
 disappeared, as though in a puff of smoke. All that was left was the
 underlying partition layout, but with no content. Vanished, without trace,
 just like your kernel tree.

Are we seeing a pattern emerging? Were you possibly installing an
~arch system? And using ext4 or btrfs on the partitions? And emerged
coreutils-8.10 as well?

See the message Mr Jarausch posted yesterday. He referred to this bug as well:

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

-- 
Arttu V.



Re: [gentoo-user] /usr/src/linux gone

2011-03-12 Thread Arttu V.
On 3/12/11, sean tech.j...@myfairpoint.net wrote:
 If you have anything you wish me to check, I will.

It's probably too late to think about this option, but just in case:
you don't happen to have a copy of root's bash history from around the
time you noticed the problem?

-- 
Arttu V.



Re: [gentoo-user] Portage is misplaced in /usr

2011-02-06 Thread Arttu V.
On 2/5/11, Cedric Sodhi man...@gmx.net wrote:
 There are several reasons why portage, neither the tree nor (especially
 not) the distfiles should reside in /usr.

You should note that the portage part is wrong as well. The path
should be something like /var/db/gentoo-official-tree or some such to
absolve the historical package manager dependence evident in the name.
The dependency on a single PM has been gone for a long time now.

Also, while we're at it, the locally installed packages' directory
(/var/db/pkg) isn't too informative as a name, and should also be
renamed, e.g., into /var/db/gentoo-installed-pkgs.

IIRC this or some part of this made it all the way up to the Gentoo
Council some years ago as it was related to Some Big  Important
Things about next version of PMS and package managers' behaviour.

I'm too lazy to pick through the Councils' notes and logs and devlist
archives to check if my memory serves me right and/or what the
resolution was. But some educated guesses could be made on the basis
of the fact that the tree still sits at /usr/portage.

I'm not holding my breath while waiting for these cosmetic changes.

-- 
Arttu V.



Re: [gentoo-user] udev: renaming eth0 to eth1 ???

2010-12-04 Thread Arttu V.
On 12/4/10, meino.cra...@gmx.de meino.cra...@gmx.de wrote:
 Hi,

  unfortunately I had to change my motherboard (the replacement is
  exactly the same model/type of the previous on).

  I booted the new board and: NO Lan. Eth0 dead it seems.

  It took me several long minutes before I found the following
  line in dmesg's log:

 udev: renaming etho to eth1

  There is only the onboard lan chip and no extra ethernet
  card is installed in the rig.

  Now I have eth1 and no eth0.
  Why does this happen? What is the reason for that?

Most likely they have different MACs, and there is already a udev rule
binding the old mobo's NIC's MAC to eth0. Thus, the new one received
next in sequence (eth1), and will receive it forevermore until you
edit the automatically created udev rules.

See and edit the file /etc/udev/rules.d/70-persistent-net.rules. I
think you could just nuke the entire file, and everything should be
re-identified and numbered correctly, but I edited it manually when I
last faced a mobo/NIC change.

-- 
Arttu V.



Re: [gentoo-user] Relocating notification popup KDE-4.5

2010-11-30 Thread Arttu V.
On 11/30/10, Volker Armin Hemmann volkerar...@googlemail.com wrote:
 notification is part of sys-tray. So to move the notifications you have to
 move
 the systray plasmoid. Just unlock plasmoids, left click on the cashew on the
 toolbar and you can move around all the plasmoids.

Careful when doing this. Save your work. I got a crash out of KDE
4.5.3 (ok, only the panel widget crashed?) by clumsily fumbling and
clicking around the various add widgets menus available via the
spiralled dragon fart symbols.

Also, systray widget seems to suffer from a mild case of the
Highlander Syndrome. (Apparently There Can Only Be One!)

If I add it to both the toolbar panel on the bottom and place another
instance freely on the desktop then only the toolbar one will show the
icons. Clicking around inside the empty frames of the other widget
instance reveals that klipper, printer queue etc systray icons are in
there, they're just not drawn. Their menus still pop up.

Still, I was pleased to notice that the toolbar panel organizing of
KDE 4 has improved much since I last tried to use it in vain in ...
KDE 4.2.x?

-- 
Arttu V.



Re: [gentoo-user] wine configure: error: No OpenGL library found on this system.

2010-11-28 Thread Arttu V.
On 11/27/10, Valmor de Almeida val.gen...@gmail.com wrote:
 The system appears clean (revdep-rebuild and emerge --depclean show
 nothing to be done).

After a good night's sleep I realised that this part didn't explicitly
state that you ran a full re-emerge of at least the @system set (if
not the entire @world).

So, have you successfully rebuilt your full toolchain after the change
to reflect the change? Do you have lib32 and lib64 paths in your
/etc/ld.so.conf? If they are missing will env-update add them there?

-- 
Arttu V.



Re: [gentoo-user] wine configure: error: No OpenGL library found on this system.

2010-11-27 Thread Arttu V.
On 11/27/10, Valmor de Almeida val.gen...@gmail.com wrote:

 Hello,

 I am trying to install wine on my system which I recently changed from
 no-multilib to multilib; so this may be causing this problem. The emerge
 issue is here

 checking for GL/gl.h... yes
 checking for GL/glx.h... yes
 checking for GL/glu.h... yes
 checking for up-to-date OpenGL version... yes
 checking for -lGL... not found
 checking for -lGL... not found
 checking for -lGLU... not found
 configure: error: No OpenGL library found on this system.
 OpenGL and Direct3D won't be supported.
 This is an error since --with-opengl was requested.

 However I do have these libraries installed:

 - locate libglut
 /usr/lib32/libglut.so
 /usr/lib32/libglut.so.3
 /usr/lib32/libglut.so.3.8.0
 /usr/lib64/libglut.a
 /usr/lib64/libglut.la
 /usr/lib64/libglut.so
 /usr/lib64/libglut.so.3
 /usr/lib64/libglut.so.3.9.0

 The system appears clean (revdep-rebuild and emerge --depclean show
 nothing to be done).

 The USE flags for emerging wine are:

 app-emulation/wine-1.2  USE=X alsa cups fontconfig gecko jpeg ncurses
 opengl oss perl png ssl threads truetype (-capi) -custom-cflags -dbus
 (-esd) -gnutls (-gphoto2) -gsm (-hal) -jack -lcms -ldap -mp3 -nas
 -openal -pulseaudio -samba (-scanner) -test -win64 -xcomposite -xinerama
 -xml

 Thanks for inputs.

How are your /usr/lib{32,64}/libGL.so symlinks? Use eselect opengl
list and set to check that they exist and are set into whatever you
really use.

-- 
Arttu V.



Re: [gentoo-user] kde-l10n-4.4.5 and en_GB?

2010-11-24 Thread Arttu V.
On 11/24/10, Peter Humphrey pe...@humphrey.ukfsn.org wrote:
 Hello list,

 I've built a new KDE system on my T61 Thinkpad, but I can't get kde-l10n
 to build. It fails with a loader parser error. These are the last few
 lines of the buildlog (sorry about the wrapping):
 ...
 [100%] Scanning dependencies of target blockdevices-handbook

 Generating index.cache.bz2

 [100%] Generating index.cache.bz2

 index.docbook:108: parser error : Entity 'kdf' not defined

 e file manager is opened from the context menu, can be configured from the
 kdf;

   ^
 make[2]: *** [kde-l10n-
 en_GB-4.4.5/docs/kdeutils/kinfocenter/blockdevices/index.cache.bz2]
 Error 1
 make[1]: *** [kde-l10n-
 en_GB-4.4.5/docs/kdeutils/kinfocenter/blockdevices/CMakeFiles/blockdevices-
 handbook.dir/all] Error 2
 make[1]: *** Waiting for unfinished jobs
 [100%] Built target kcmlowbatcrit-handbook
 [100%] Built target umbrello-handbook
 make: *** [all] Error 2
  * ERROR: kde-base/kde-l10n-4.4.5 failed:
  *   Make failed!

 Does anyone here have this combination installed? Nothing in bugzilla
 seems related.

Bug #343523 ?

-- 
Arttu V.



Re: [gentoo-user] migrating disks (from mounts to disklabels

2010-11-20 Thread Arttu V.
On 11/20/10, Neil Bothwick n...@digimed.co.uk wrote:
 Really? Please don't tell this computer, it's been booting from a logical
 partition for more than six years.

GRUB user, meet a LILO user? :)

-- 
Arttu V.



Re: [gentoo-user] Re: Swing !

2010-11-12 Thread Arttu V.
On 11/12/10, Crístian Viana cristiandei...@gmail.com wrote:
 are you sure this Swing is Java's? I don't see any reference to Java on
 SuperCollider's website. and Swing is always installed in any JRE since
 version 1.2.

It has mostly cpp files so I'd wager its written in c++. But there
seems to be some (optional?) GUI component which is written in Java.
Or something. It also has some .py files (some python code?) among its
sources.

This swing-thing it needs seems to be called SwingOSC, which is not
your regular java Swing. SwingOSC claims to be a framework built on
top of Java's Swing.

-- 
Arttu V.



Re: [gentoo-user] {OT} Deliberately obfuscating my code

2010-11-09 Thread Arttu V.
On 11/9/10, Grant emailgr...@gmail.com wrote:
 I've been working on a particular software project for a long time.
 I'd like to hire a team of developers to take over the project, but I
 consider the code to be valuable and I'd like to keep the whole of it
 secure, even from my own developers.  I was thinking I could do this
 by using some technique to obfuscate the true intention of the code
 modules.  Maybe a recorded series of search/replaces for variable
 names which are reversed once code editing is complete?  Has any
 software been made available to aid in an endeavor like this?

Can you reveal a bit about the nature of the valuable secret in the
code? Is it some weights like with Coca-Cola's recipe and Google's
PageRank? Some entire algorithm, like some proprietary stock trading
scheme/plan implementation? Or something bigger? The entire thing?
Just ickyness over the quality of it, and the glaring holes that'd be
visible to outside devs? :)

You might be able to re-factor the whole codebase to use something
like Strategy Patterns from Gamma et al's book. Then you'd keep the
Strategy implementation parts to your own code base and development,
while the more generic engine part (which just calls the Strategy
when needed) might be developed a bit more freely and openly. Still I
doubt this is your case since you apparently already have some
functional code, so there hopefully is some designed structure in it.

-- 
Arttu V.



Re: [gentoo-user] perl 5.12 downgrade ??

2010-10-28 Thread Arttu V.
On 10/28/10, Joseph syscon...@gmail.com wrote:
 I've posted this message on Gentoo forum and user krinn suggested to file
 a bug as depclean not suppose to remove package that depend on
 packages that are still in use.

I'd imagine most items on your list are simply build-time
dependencies, and they're not needed at all during runtime. Perhaps
you can separate the chaff by using --with-bdeps n?

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] Re: Upgrading from FX-5200 to a GeForce 6200 512MB

2010-10-26 Thread Arttu V.
On 10/26/10, Peter Humphrey pe...@humphrey.ukfsn.org wrote:
 On Tuesday 26 October 2010 02:48:03 Dale wrote:

 r...@smoker / # glxinfo

 r...@smoker / # glxgears

 Would someone tell me which package has these two programs? The bit of
 poking about that I've done doesn't find them.

~ $ equery belongs glxinfo
[ Searching for file(s) glxinfo in *... ]
x11-apps/mesa-progs-7.7 (/usr/bin/glxinfo)
~ $ equery belongs glxgears
[ Searching for file(s) glxgears in *... ]
x11-apps/mesa-progs-7.7 (/usr/bin/glxgears

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] sun-jdk upgrade problem

2010-10-16 Thread Arttu V.
On 10/14/10, Zhu Sha Zang zhushaz...@yahoo.com.br wrote:
  Since sun-jdk-1.6.0.21 i have this installation problem:

 Emerging (6 of 19) dev-java/sun-jdk-1.6.0.22
  * jdk-6u22-dlj-linux-i586.bin RMD160 SHA1 SHA256 size ;-) ...
 [ ok ]
  * checking ebuild checksums ;-) ...
 [ ok ]
  * checking auxfile checksums ;-) ...
 [ ok ]
  * checking miscfile checksums ;-) ...
 [ ok ]
  * CPV:  dev-java/sun-jdk-1.6.0.22
  * REPO: gentoo
  * USE:  elibc_glibc examples jce kernel_linux nsplugin userland_GNU x86
 Unpacking source...
 Unpacking...
 Checksumming...
 Extracting...
 /var/tmp/portage/dev-java/sun-jdk-1.6.0.22/distdir/jdk-6u22-dlj-linux-i586.bin:
 line 821: ./install.sfx.31869: Arquivo ou diretório não encontrado
 Failed to extract the files.  Please refer to the Troubleshooting section of
 the Installation Instructions on the download page for more information.
  * ERROR: dev-java/sun-jdk-1.6.0.22 failed:
  *   Failed to unpack
  *
  * Call stack:
  * ebuild.sh, line  54:  Called src_unpack
  *   environment, line 2863:  Called die
  * The specific snippet of code:
  *   sh ${DISTDIR}/${A} --accept-license --unpack || die Failed
 to unpack
  *
  * If you need support, post the output of 'emerge --info
 =dev-java/sun-jdk-1.6.0.22',
  * the complete build log and the output of 'emerge -pqv
 =dev-java/sun-jdk-1.6.0.22'.
  * The complete build log is located at
 '/var/tmp/portage/dev-java/sun-jdk-1.6.0.22/temp/build.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/dev-java/sun-jdk-1.6.0.22/temp/environment'.
  * S: '/var/tmp/portage/dev-java/sun-jdk-1.6.0.22/work/jdk1.6.0_22'

 Some hint?

Some hints are available in, e.g., following bug. See especially
comments 6 through 9.

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

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] Re: firefox-bin optimizations?

2010-10-09 Thread Arttu V.
On 10/9/10, Walter Dnes waltd...@waltdnes.org wrote:
 On Thu, Oct 07, 2010 at 12:03:19PM +0300, Arttu V. wrote

 I think the eclass(es) might be messing up the config, e.g., by
 force-feeding pango and some other settings.

 Could you try also copying the mozcoreconf-2.eclass to your local
 overlay's eclass/ subdir, and edit it there to suite your taste?

   I tried but no luck.  I think I'll try building manually and see what
 happens.

Sorry, I went after the wrong eclass. Apparently www-client/firefox
compiles just a shell of an application (front-end, mostly written
in XUL and JS?) when the real stuff is in net-libs/xulrunner. And
xulrunner's ebuilds use mozconfig-3.eclass instead.

Another thing I noticed about mozilla's build system is that one
*must* remove the enabling from the eclass(es) due to the way
mozilla's configure checks for these settings. If you have both
--enable-pango and --disable-pango in .mozconfig then enable will
override. And since Gentoo moz* eclasses will automatically force
several enabling lines into .mozconfig, it's useless to add
--disable-foo later on (e.g., in the ebuild). The change has to be
made in the eclass(es).

Thus equipped, I copied both mozconfig-3.eclass and
mozcoreconf-2.eclass over to a local overlay, modified their hardcoded
--enable-pango statements into --disable-pango's, re-emerged both
packages (xulrunner, firefox), and now about:buildconfig shows among
other things:

snip
Configure arguments
--enable-application=xulrunner --enable-optimize --disable-installer
--disable-pedantic --enable-crypto --with-system-jpeg
--with-system-zlib --disable-updater --disable-pango --disable-svg
--enable-system-cairo --disable-strip --disable-strip-libs
--disable-install-strip
/snip

There it is, --disable-pango. Unfortunately by now I have already
forgotten why I was even removing pango in the first place, so I think
I'll re-enable it. I'd rather see if there are some ricing
opportunities^W^Wcompiler optimization switches that can be toggled to
make this sluggish browser faster.

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] Re: qt3support USE flag. Is it needed now?

2010-10-08 Thread Arttu V.
On 10/8/10, Nikos Chantziaras rea...@arcor.de wrote:
 One thing I don't get is why this seems to worry you.  I don't see you
 complaining about packages needing the libsamplerate or opengl USE
 flags...  :-P

Don't give them any ideas! Soon Gentoo devs will be revealing
following new USE flags, introduced due to a massive user demand:
opengl3, opengl4, and opengl3support -- just because you thought it
was too straightforward and easy! ;)

-- 
Arttu V.



Re: [gentoo-user] seq24 fails to comoile

2010-10-07 Thread Arttu V.
On 10/7/10, meino.cra...@gmx.de meino.cra...@gmx.de wrote:
 I made the changes you suggested and now got an different error ... it
 still does not compile.

It's most likely the same error. AFAICT the cause of the error is
missing in your first email. Using -j12 was probably just hiding it so
far above your snippet that it was overlooked.

As for seq24 -- there has been a bug open for a few months:

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

I added a link to a possible upstream one-line patch in a comment in
the bug (didn't try compiling it myself).

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] Re: firefox-bin optimizations?

2010-10-07 Thread Arttu V.
On 10/7/10, Walter Dnes waltd...@waltdnes.org wrote:
 On Tue, Oct 05, 2010 at 11:27:54PM -0400, Walter Dnes wrote

   Looks like I can tweak stuff in the ebuild via mozconfig_annotate
 lines, and then...

 ebuild firefox-3.6.9.ebuild manifest
 emerge firefox

   Something isn't working.  I put in
 mozconfig_annotate '' --disable-pango
 mozconfig_annotate '' --disable-oji --disable-mathml

 into the ebuild (a copy in my local overlay) and ebuild-manifested it.
 Portage said it was building from the overlay, but about:buildconfig
 shows them as being enabled.  I have been able to
 --disable-necko-wifi (WTF is *THAT* in a browser, fercryingoutloud?).

   Any ideas?

I think the eclass(es) might be messing up the config, e.g., by
force-feeding pango and some other settings.

Could you try also copying the mozcoreconf-2.eclass to your local
overlay's eclass/ subdir, and edit it there to suite your taste?

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] emerge python-updater - raise InvalidAtom(self)

2010-09-29 Thread Arttu V.
On 9/29/10, Al oss.el...@googlemail.com wrote:
 Hello,

 after emerging portage emerging python-updater brock with this

 [...]
   File /home/prefix/gentoo/usr/lib/portage/pym/portage/dep/__init__.py,
 line 1006, in __init__
 raise InvalidAtom(self)
 portage.exception.InvalidAtom: media-tv/vdrplugin-rebuild::Cygwin overlay

 I get the same error whenever I call emerge.


 I found this: http://forums.gentoo.org/viewtopic-t-840263-start-0.html

 However the case is different. There is no directory
 var/db/pkg/media-tv/... that I could remove and I never installed
 that.

 It's also a different line and function that rises the error: 647 vs. 1006.

 How can I clean this up?

IIRC repo names must be single strings without spaces.

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] Re: Gentoos community communication rant

2010-09-07 Thread Arttu V.
On 9/7/10, Al oss.el...@googlemail.com wrote:
 However, my concern was why the Gentoo community doesn't make use of
 those cool features and officially only advertises and keeps a mailing
 list, that has no history itself

What do you mean by no history?

http://archives.gentoo.org/

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] Re: Gentoos community communication rant

2010-09-07 Thread Arttu V.
On 9/7/10, Alan McKinnon alan.mckin...@gmail.com wrote:
 We do not have a news service because we[1] do not feel we need one and do
 not desire one.

I thought it's because this is the Gentoo *users'* list, not the dev list? :)

It doesn't matter whether we want it or not -- we users couldn't do
much about an Official Gentoo nntp-server even if we wanted to. That
requires (infra) dev access. Ergo, a user would most likely proceed by
filing a bug report / feature request -- just like was suggested quite
early on in the thread.

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] Re: Gentoos community communication rant

2010-09-07 Thread Arttu V.
On 9/7/10, Dale rdalek1...@gmail.com wrote:
 And I bet if a bug / feature request were filed, it would be closed as
 ain't going to happen.  I know that doesn't exist but they may make
 that available for just this one purpose.

As a long-time user I'm sure you've met Mr. and Mrs. van de
Closed-Wontfix? Sometimes they capitalize their name differently,
those ancient nobilities, like CLOSED-WONTFIX or so. The devs keep
reintroducing me to them every time I try reporting something stupid.
;)

Anyway, you're probably right that the devs might actually care even
less than the users on this thread have. They'd first get us an
Official Wiki, and IMHO that's probably what many users would really
like to see. *Fingers crossed that they won't make it only
dev-editable like some of them suggested/threatened.*

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] Apache crashed, what could be the reason?

2010-08-28 Thread Arttu V.
On 8/27/10, Jarry mr.ja...@gmail.com wrote:
 On 27. 8. 2010 19:23, Kyle Bader wrote:

 I noticed you have mod_dav  mod_cache and are running 2.2.15, perhaps
 it's this?

 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-1452

 You may be right! But what can I do? There is not even masked
 version 2.2.16 in portage, despite the fact it has been released
 by apache-foundation on 2010-07-25 (together with description
 of vulnerability found in 2.2.15). There has already been bug
 opened in gentoo-bugzila on 2010-07-28...

 BTW in the meantime my apache crashed again the same way, after
 not a single day uptime! Something I have never seen before,
 actually my apache has been running without any problem since
 the last update. And now this! Quite unpleasant, for such
 a critical server-software...

From apache.org:

This crash would only be a denial of service if using the worker MPM.

Can you try with another MPM?

Btw, AFAICT, Gentoo apache herd is currently down to one (or fewer) dev(s). :-/

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] ebuild with local source?

2010-08-24 Thread Arttu V.
On 8/24/10, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
 On 08/24/10 13:45:05, Robin Atwood wrote:
 On Tuesday 24 August 2010, Helmut Jarausch wrote:
  Hi,
 
  I'd like to create an ebuild (in my local overlay) which refers to
 a
  local distribution file.
 
  I've tried
 
  SRC_URI=file::///usr/local/Src/MyPack.tar.bz2
 
  but file:// doesn't seem to be supported.
 
  Is there any alternative?
 
  Thanks for a hint,
  Helmut.
 
  (I'm using portage-2.2._rc68)

 ln -s /usr/local/Src/MyPack.tar.bz2 /usr/portage/distfiles maybe?

 HTH
 -Robin

 Hi, but what do I specify for SRC_URI

 I've tried
 SRC=MyPack-1.0.7.tar.gz
 SLOT=0
 KEYWORDS=alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86
 IUSE=
 S=$WORKDIR/${P}
 src_unpack() {
   unpack ${A}
 }

 But it fails saying nothing specified for unpack
 And, indeed,
 doing
 ebuild --debug PATH_to_EBUILD unpack
 shows that ${A} is the empty string.

 What am I missing?

 Thanks a lot, it drives me nuts,
 Helmut.

Place a RESTRICT=fetch in the ebuild, and copy the tarball manually
to distfiles dir.

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] ebuild with local source?

2010-08-24 Thread Arttu V.

Helmut Jarausch wrote:

On 08/24/10 19:17:05, Arttu V. wrote:

On 8/24/10, Helmut Jarauschjarau...@igpm.rwth-aachen.de  wrote:

On 08/24/10 13:45:05, Robin Atwood wrote:

On Tuesday 24 August 2010, Helmut Jarausch wrote:

Hi,

I'd like to create an ebuild (in my local overlay) which refers

to

a

local distribution file.

I've tried

SRC_URI=file::///usr/local/Src/MyPack.tar.bz2

but file:// doesn't seem to be supported.

Is there any alternative?

Thanks for a hint,
Helmut.

(I'm using portage-2.2._rc68)


ln -s /usr/local/Src/MyPack.tar.bz2 /usr/portage/distfiles

maybe?


HTH
-Robin


Hi, but what do I specify for SRC_URI

I've tried
SRC=MyPack-1.0.7.tar.gz
SLOT=0
KEYWORDS=alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc

x86

IUSE=
S=$WORKDIR/${P}
src_unpack() {
unpack ${A}
}

But it fails saying nothing specified for unpack
And, indeed,
doing
ebuild --debugPATH_to_EBUILD  unpack
shows that ${A} is the empty string.

What am I missing?

Thanks a lot, it drives me nuts,
Helmut.


Place a RESTRICT=fetch in the ebuild, and copy the tarball manually
to distfiles dir.


Unfortunately, now I get MyPack-1.0.7.tar.gz does not exist (though it
is in /usr/portage/distfiles)


AFAIK there is no variable SRC that ebuild/portage would know of, but 
there is SRC_URI. Change to that and try to check for other similar, but 
hard to notice problems in the ebuild.


--
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] glibc 2.12.1-r1 seems to not be working correctly

2010-08-22 Thread Arttu V.
On 8/22/10, cov...@ccs.covici.com cov...@ccs.covici.com wrote:
 Hi.  I am running the unstable gentoo 32-bit and today I emerged --
 amoung other packages in a system update -- glibc-2.12.1-r1, however
 after doing this at least one package had an undefined reference to
 S_ISCHR.   I tried to downgrade glibc, but apparently this is not
 supported and I am a bit stumped as to how to fix this problem.

 Any ideas on this would be appreciated.

Which package is failing? Please check if it is already reported, and
if not then please report a new bug, and if possible make it block
this tracker bug:

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

A wild guess out of the blue would be that the error could be simply a
missing include of stat.h in the package's sources. But there might be
other omissions as well, so please provide more info.

I think that unless API/ABIs were changed then the older, already
installed version should still work just fine, as then the missing
includes would only affect compile-time situation.

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] php 5.3.3 will not emerge

2010-08-22 Thread Arttu V.

cov...@ccs.covici.com wrote:

Hi.  I am having problems emerging php-5.3.3-r1 -- I am not sure if its
related to the glibc problems, however its strange -- the heart of the
matter is that /usr/include/mysql/my_global.h is looking for
my_compiler.h which does not exist -- google search reveals nothing --
so any ideas would be appreciated.


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

Time to locally mask the current latest MySQL version?

--
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] LINGUAS

2010-08-19 Thread Arttu V.
On 8/19/10, Elmar Hinz oss.el...@googlemail.com wrote:
 Even than, LINGUAS has rather to do with OpenOffice.

 Has it anything to do with portage at all?

 Several packages, not just OpenOffice, can include/support different
 languages. Portage uses the value of LINGUAS to tell these packages
 which languages to include/support.


 When  Portage evaluates this variable it makes some sense.

 On the other hand LINGUAS is still a general variable AFAIK and not
 portage specific.

 So shouldn't it be set in a general location like time and locales?

No, I think you're mixing up compile-time and run-time values -- and
also reading too much into the file names. make.conf should really
rather be called portage.conf. That would make much more sense IMHO.
:)

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] LINGUAS

2010-08-19 Thread Arttu V.
On 8/19/10, Florian CROUZAT gen...@floriancrouzat.net wrote:

 On 19 août 2010, at 14:27, Graham Murray wrote:

 Several packages, not just OpenOffice, can include/support different
 languages. Portage uses the value of LINGUAS to tell these packages
 which languages to include/support.

 I have access to this box where linguas=fr is set.
 Check this output:
  $ type -a [
 [ est une primitive du shell
 [ est /usr/bin/[

 [ is a shell built-in becomes est une primitive du shell
 I can't see any use flags in coreutils/bash that informs me it will be
 emerged with the linguas support.
 How do I know which package will be localized then ? Just curious, I don't
 tweak my linguas.

Check for the tell-tale USE=nls flag in the ebuilds.

Not all ebuild's bother listing explicitly out all of the LINGUAS
their sources actually support. coreutils is one of the lazy ones.

Just look at its sources: 39 different .po files, that's 39
localizations available. No point printing out such monstrous long
lists -- your localization is in there, period! ;)  But coreutils does
obey LINGUAS anyway. It only installs what you have in your LINGUAS
(check, e.g., with equery files coreutils).

Openoffice is a special case (surprise!). Its ebuild depends
dynamically on spell-check packages depending on the value of LINGUAS
-- so the poor Gentoo OOo maintainers must list out every supported
lingua in the ebuild. :)

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] regarding Participation in Gentoo Linux

2010-08-17 Thread Arttu V.
On 8/17/10, arjun.sha...@wipro.com arjun.sha...@wipro.com wrote:
 Hi,
  I have already followed below link,but now I need to know how can I
 proceed further.How can i have a mentor and start the further process.

Try the irc channels. AFAIK it is in practice near-impossible to
become a Gentoo dev without lurking on irc channels, at least in the
beginning.

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] kdeplasma-addons-4.4.4 fails

2010-07-26 Thread Arttu V.
On 7/26/10, David Kurka david.ku...@gmail.com wrote:
 On Tue, Jul 13, 2010 at 9:58 PM, James wirel...@tampabay.rr.com wrote:

 Hello,

 I've manage to update several system (amd64 kde 4.4.4)
 but one is just giving me fits.

 I've rebuilt libpng per flameyes blog post:
 http://blog.flameeyes.eu/2010/06/29/stable-users-libpng-update.

 I've emerge -e system and used revdep-rebuild
 many times (clean now). Still kdeplasma-addons fails to
 build on this one system:

  45 Generating ui_LancelotWindowBase.h

  python3.1 *
  x86_64-pc-linux-gnu-4.4.3 *
  dev-util/cmake-2.8.1-r2


 Any suggestions would be welcome


 any updates on this? I'm having exactly the same problem!

I don't have a clue about this, but I'm left wondering. What is the
actual problem or error printout?

Is it a sandbox violation like in bug #257116?

Have you successfully run python-updater after switching to python 3.1?

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] sys-power/nut-2.4.3-r2 fails to compile driver

2010-07-15 Thread Arttu V.
On 7/15/10, Dale rdalek1...@gmail.com wrote:
 Hi folks,

 I'm trying to upgrade nut to the latest stable version.  I have the
 driver set in make.conf and according to the website, it is the correct
 driver.  I also while searching around noticed I need to make sure I
 have the driver in /lib/nut and sure enough, it is there.  In make.conf
 I have this:

 NUT_DRIVERS=cyberpower

 This is the error I am getting:

 make[1]: Entering directory
 `/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers'
 make[1]: *** No rule to make target `cyberpower', needed by `all-am'.  Stop.
 make[1]: Leaving directory
 `/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers'
 make: *** [all-recursive] Error 1
   * ERROR: sys-power/nut-2.4.3-r2 failed:
   *   emake failed
   *
   * Call stack:
   * ebuild.sh, line   48:  Called src_compile
   *   environment, line 2904:  Called _eapi2_src_compile
   * ebuild.sh, line  640:  Called die
   * The specific snippet of code:
   *  emake || die emake failed
   *
   * If you need support, post the output of 'emerge --info
 =sys-power/nut-2.4.3-r2',
   * the complete build log and the output of 'emerge -pqv
 =sys-power/nut-2.4.3-r2'.
   * The complete build log is located at
 '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'.
   * The ebuild environment file is located at
 '/var/tmp/portage/sys-power/nut-2.4.3-r2/temp/environment'.
   * S: '/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3'

   Failed to emerge sys-power/nut-2.4.3-r2, Log file:

'/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'
   *
   * The following package has failed to build or install:
   *
   *  ('ebuild', '/', 'sys-power/nut-2.4.3-r2', 'merge'), Log file:
   *   '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'
   *
 r...@smoker / #

 Any idea why it can't make my driver when it is the right one and is set
 in make.conf?  What am I missing?  Oh, this is connected to my serial
 port, NOT the USB port.

Wrong driver combined with outdated website info or other docs?

I have no idea of their driver model but a hunch from the basis of
cups and a quick grep would lead me to suggest that cyberpower driver
possibly no longer exists. It might have been replaced by powerpanel:

drivers/powerpanel.c: * powerpanel.c - Model specific routines for
CyberPower text/binary

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] emerge keeps 'fetching' gvfs-1.4.3-r1

2010-07-13 Thread Arttu V.
On 7/13/10, Mark Knecht markkne...@gmail.com wrote:
 It's not a big deal. The machine is fine. Everything is consistent as
 far as I know. However some portion of the download logic in emerge is
 confused.

 I've seen this sort of thing a few times in the past but it's always
 cleared up in a day or two. This one has gone on for weeks.

 Note that I do use ~amd64 on portage  eix. Maybe it's a bug that
 hasn't been cleaned up yet.

 So, following through, there does appear to be a new flag setting
 (-gdu) however it's not triggered emerging @world even though packages
 on the system require gvfs according to equery.

 Somethings inconsistent. (Possibly my brain!)

Please tell us if these two files differ on the system:

/var/db/pkg/gnome-base/gnome-2.28.2.ebuild
/usr/portage/gnome-base/gnome-2.28.2.ebuild

(Please adjust paths etc accordingly if you don't use regular
locations or if I got the versions installed on the system wrong.)

What we might have here is the fun of silent revbumps.

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] anyone using Lilo to dual-boot ? -- discovery

2010-07-12 Thread Arttu V.
On 7/12/10, cov...@ccs.covici.com cov...@ccs.covici.com wrote:

 Philip Webb purs...@ca.inter.net wrote:

 Further ideas : I tried booting a Gentoo kernel with the Ubuntu  /
  avoided the kernel panic, but ran into an Ubuntu init error,
 so there's nothing inherently wrong with  /dev/sda8 .

 Also, I checked the Ubuntu kernel config file, conveniently in  /boot ,
 which has ReiserFS configured as a module, whereas Ext2  Ext3 are 'y'.
 That suggests that it's running into a road-block:
 it needs to use ReiserFS to start 'init',
 but can't load modules till it has already started 'init'.

 In that case, I need to re-install Ubuntu using Ext2 or Ext3 .
 In fact, it wb as a bug in Ubuntu's advanced install.

 Does that make sense to anyone else ?

 Or the module could be in the initrd -- should be.  Also, be sure you
 have root= in your append line.

Yes, I'd be surprised if Ubuntu didn't have reiserfs easily available.

OP: see what man page of mount has to say about reiserfs,
--tail/--notail and LILO.

ext3 doesn't sound so bad any more after reading the man page section.

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] Cannot upgrade kde-base/superkaramba

2010-07-10 Thread Arttu V.
On 7/9/10, Matthias Fechner ide...@fechner.net wrote:
 Hi,

 I tried the last days to do a
 emerge -avuDN world

 but it fails at the package
 kde-base/superkaramba-4.4.4

 I get the error message:
 Linking CXX shared library ../../lib/libsuperkaramba.so
 CMakeFiles/superkaramba.dir/python/meter.o: In function
 `QString2PyString(QString)':
 meter.cpp:(.text+0x6e): undefined reference to `PyUnicodeUCS4_FromUnicode'
 CMakeFiles/superkaramba.dir/python/meter.o: In function
 `PyString2QString(_object*)':
 meter.cpp:(.text+0x1bf): undefined reference to `PyUnicodeUCS4_AsUnicode'
 /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld:
 warning: creating a DT_TEXTREL in object.
 collect2: ld returned 1 exit status
 make[2]: *** [lib/libsuperkaramba.so.4.4.0] Error 1

 I already tried to rebuild all depending libs starting from python to
 kdelibs but it does not help.

 Has maybe anyone here an idea what the problem could be?

Wild guess: you might have a python version installed which is not
compiled with the wide-unicode support. I'm not sure what all will be
broken by such a situation, but following might help:

qlist -CLIS dev-lang/python | xargs -r emerge -1
python-updater
emerge -1 PyQt4  # unless python-updater took care of it, I don't know
it if will

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] Strange install path but only on one machine

2010-07-09 Thread Arttu V.
On 7/6/10, Arttu V. arttu...@gmail.com wrote:
 I filed a bug (#327171).

The bug is marked fixed, and at least on my testing system emerge
exact-image is successful.

-- 
Arttu V.



Re: [gentoo-user] cmake-2.8.1 build problems

2010-07-09 Thread Arttu V.
On 7/8/10, Mark Knecht markkne...@gmail.com wrote:
 Hi,
I was trying to slog through all the libpng problems on one of my
 machines last night but ran into a different issue late in the evening
 where cmake wouldn't build. I haven't been reading this list all that
 carefully and didn't find anything obvious with a quick Google search.
 (Other than some stuff in bugzilla which may or may not relate.)

Have there been any threads lately where this might have come up?

At least one cmake related issue has been handled so that I remember
it, but it was related to installing new systems.

Without any logs this is just shooting while blindfolded, but if you
have qt4 USE flag enabled then try this:

USE=-qt4 emerge -1 cmake

Then continue with whatever libpng fixes and advice you are following.

It's very likely that your qt libs (or some other media libs, on which
qt libs depend on) are now broken due to libpng upgrade -- and thus,
linking new cmake binaries to qt libs fails due to the breakage ... On
new systems it's a bit different. IIRC it resulted in circular
dependencies, which had to be broken down the same way.

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] Strange install path but only on one machine

2010-07-06 Thread Arttu V.
On 7/5/10, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
 instead of
 /var/tmp/portage/media-gfx/exact-image-0.8.1/image//usr/lib64/
 python2.6/site-packages

 there is a file
 /var/tmp/portage/media-gfx/exact-image-0.8.1/image
 /usr/lib/python2.5/site-packages

I found something related to that. The install path seems to be
semi-hardcoded in the sources, at api/python/Makefile:

$(Q)mkdir -p $(DESTDIR)$(libdir)/python2.5/site-packages/

That will create a path suitable for python version 2.5 (maybe that
one box of yours still has it?), but no others.

I filed a bug (#327171).

-- 
Arttu V.



Re: [gentoo-user] Strange install path but only on one machine

2010-07-05 Thread Arttu V.
On 7/5/10, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:

 Hi,

 this errors baffles me.

 Emerging media-gfx/exact-image works just fine on one machine
 but fails on a very similar (Gentoo) machine with
 install: target `/var/tmp/portage/media-gfx/exact-image-0.8.1/image//
 usr/lib64/python2.6/site-packages/' is not a directory: No such file or
 directory

 Has anybody an idea where this strange install path might come from?

Can you be more specific on the 'strangeness'? Which part looks odd?

For a quick glimpse it would seem to be a regular temporary 'image'
directory which is part of every package's install phase. Only once
files have been successfully installed under this temporary 'image'
(directory) will portage merge that directory's contents to respective
real directories.

As for the error itself, it could be a parallel make problem (goes
temporarily away with MAKE_OPTS=-j1, but should still be reported at
bugs.gentoo.org) or a lazy installer script which isn't properly
creating the directories to which it will try to install files (which
should also be reported at b.g.o, as it might be a gentoo-only
problem).

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] Strange install path but only on one machine

2010-07-05 Thread Arttu V.
On 7/5/10, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
 MAKEOPTS=-j1 didn't help

 instead of
 /var/tmp/portage/media-gfx/exact-image-0.8.1/image//usr/lib64/
 python2.6/site-packages

 there is a file
 /var/tmp/portage/media-gfx/exact-image-0.8.1/image
 /usr/lib/python2.5/site-packages

 note  lib not lib64
   python2.5  not python2.6

 eselect python list gives
 Available Python interpreters:
   [1]   python2.6 *
   [2]   python3.1

 So, where does this come from?

Unfortunately I have no more theories, short of broken python on
Gentoo (not just on your box). I can reproduce the problem in a test
environment I keep using, so it's probably not something due to, e.g.,
a need for revdep-rebuild or python-updater (although running them
rarely hurts).

But could tell us a bit more about the system on which this does *not*
happen? How is it different? Is it an x86 or amd64? multilib? Is it a
more recent install than the other one (so that there should be no
left-over cruft from, e.g., old python versions)?

-- 
Arttu V.



Re: [gentoo-user] Re: Patch via perl script in an ebuild?

2010-07-02 Thread Arttu V.
On 7/2/10, Grant emailgr...@gmail.com wrote:
 David, you mentioned in the bug that you couldn't get the patch to
 work clean.  I thought you got it working before when you posted the
 patched Typemap for me to download.  Did it work then but not now?

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

Ah, I didn't know you had this already mostly figured out in a bug.
Full disclosure requested -- from the very beginning! :D

After taking a quick peek: do those ebuilds succeed in installing
something? Since they don't follow CPAN conventions (esp. wrt naming)
I'm not sure what perl-module.eclass actually does for their
src_compile, src_install and other steps. Also, the - used in SRC
might have interesting side-effects to paths, as the tarball name no
longer matches its content directory's name.

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] Java EE 6

2010-07-01 Thread Arttu V.
On 7/1/10, dhk dhk...@optonline.net wrote:
 I would like to install Java EE 6, but not sure of the package name.  A
 while back J2EE was rename to JEE and now the latest version is Java EE
 6.  The portage tree doesn't have anything when a search is done on JEE
 or java ee, but a search on J2EE results in the following.

  # emerge --search j2ee
 Searching...
 [ Results for search key : j2ee ]
 [ Applications found : 2 ]

 *  dev-java/sun-j2ee [ Masked ]
   Latest version available: 1.3.1-r4
   Latest version installed: [ Not Installed ]
   Size of files: 14,515 kB
   Homepage:  http://java.sun.com/j2ee/sdk_1.3/
   Description:   Sun's Java 2 Enterprise Edition Development Kit
   License:   sun-bcla-j2ee

 How do I find Java EE 6?

I think you can try installing it piecemeal from components listed in
here (the names will need some guessing on Gentoo, but you'll probably
get what you need by picking an implementation of some of the
features, like hibernate or tomcat):

http://java.sun.com/javaee/downloads/javaee6sdk_contents.jsp

I haven't seen a meta-package which would pull everything in, though.

-- 
Arttu V.



Re: [gentoo-user] Re: Patch via perl script in an ebuild?

2010-07-01 Thread Arttu V.
On 7/1/10, Grant emailgr...@gmail.com wrote:
 Thank you Arttu.  Here is the link to the SOAP::WSDL:

 http://soap-wsdl.svn.sourceforge.net/viewvc/soap-wsdl/SOAP-WSDL/branches/Typemap.tar.gz?view=tarpathrev=846

 from the README:

 http://code.google.com/p/google-api-adwords-perl/source/browse/trunk/README

Ok, I see they're shipping the same version which is available from
CPAN as the dev version (2.00.99_3). But the patch is still not made
for its code ... maybe it is for _2 or _1?

The patch keeps failing out of the box:

cpan -i Text::Patch
tar xvzf Typemap.tar.gz
tar xvzf awapi_perl_lib_1.3.2.tar.gz
~/tempski $ awapi_perl_lib_1.3.2/bin/soap_wsdl_patches.pl Typemap
Trying to patch
Typemap/lib/SOAP/WSDL/Generator/Template/XSD/Interface/POD/Operation.tt...
patch successful.
Trying to patch
Typemap/lib/SOAP/WSDL/Generator/Template/XSD/Server.tt... patch
successful.
Trying to patch
Typemap/lib/SOAP/WSDL/Generator/Template/Plugin/XSD.pm... patch
successful.
Trying to patch
Typemap/lib/SOAP/WSDL/XSD/Typelib/Builtin/anyType.pm... patch
successful.
Trying to patch
Typemap/lib/SOAP/WSDL/XSD/Typelib/ComplexType.pm...Hunk #2 failed at
line 425.
~/tempski $

Anyway, only three files' small chunks fail from the patch, and
they're short and mostly just semantically adding some formerly
non-existent subroutines and changing the return values of others.

I think with some manual labour we could turn that patch into a fixed
regular patch, which we could then apply in an ebuild for SOAP::WSDL
via a USE flag. For example, something along these lines for
dev-perl/SOAP-WSDL-2.00.99.3.ebuild (licenses etc might be wrong):

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

MODULE_AUTHOR=MKUTTER
MY_P=${P:0:17}_3
inherit eutils perl-module

DESCRIPTION=SOAP::WSDL module

LICENSE=Artistic
SLOT=0
KEYWORDS=amd64 x86
IUSE=adwords

src_prepare() {
perl-module_src_prepare
use adwords  epatch ${FILESDIR}/${PV}-adwords.patch
}


This SOAP-WSDL package could then in turn be made a dependency for
your real google-adwords package (dev-perl/Google-Adwords?):

RDEPENDS=dev-perl/SOAP-WSDL[adwords]

Am I making any sense?

Theoretically (if you insist), you could still use the perl's
Text::Patch route as well, but (if I'm not entirely wrong, see the
excerpted attempted patch run above) the patch would still need to be
touched up to match properly with the _3 dev release code. And it
would add a dependency to Text::Patch, and make an odd call to perl in
the middle of the ebuild. (I assume it must be made explicitly as I
don't know if perl-module.eclass has any automation for this. Probably
not since AFAICT Text::Patch isn't even installed by default).

HTH

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] Minimal Gentoo with X

2010-06-30 Thread Arttu V.
On 6/30/10, Shoka sh...@gmx.ch wrote:
 Hello group,

 I'm trying to build kind of a minimal gentoo setup with X support. All I
 need is

 - X11 and a Window Manager
 - Mozilla Firefox
 - Lighttpd

 I use Gnome at this time.

 du reports the following directories as the biggest directories on my
 system:

 /usr/lib418 MB
 /usr/portage   1200 MB
 /usr/share  550 MB
 /usr/src560 MB (Kernel Sources)

 The other directories are very small.

 I think, the system is quite heavy in size, isn't it? I really would
 like to be able to shrink it down but not loosing functionality.

 Now I'm looking for tips to reduce disk consumption further. I've
 already cleaned /usr/portage/distfiles.

 I read that removing the whole /usr/portage after setting up the system
 is not a good idea. Is that true?

 May be someone could recommend a better window manager (smaller in size,
 stable)?

 I really appreciate any kind of recommendation to this topic.

Advice given so far seems to assume that you only have this one
system. But if you have another system that can take care of compiling
and building binary pkgs then you can probably slice off the 50MB+ or
more out of gcc, autotools, and such as well. In effect, turning
Gentoo into your very own, private binary distro.

As already mentioned, the embedded folks probably know this
intimately. Also, see the portage man page for defining your own
system set (without, e.g., gcc and autoconf), and man page of emerge
for option --buildpkg (and also other --*pkg* options of emerge).

Good luck, have fun!

-- 
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] Re: Patch via perl script in an ebuild?

2010-06-30 Thread Arttu V.

Grant wrote:Grant wrote:
 I need to install the google-api-adwords-perl library, and it requires
 that SOAP-WSDL is patched with the soap_wsdl_patches.pl perl script.
 Can I have SOAP-WSDL patched via the perl script in an ebuild?

 - Grant

 Here is the perl script:

 http://pastebin.com/YM3G5sKn

 Can anyone with perl and ebuild knowledge determine if the script
 could be incorporated into an ebuild?  David Abbott and I are working
 on getting google-api-adwords-perl into portage and this is a
 dependency.

(Some preliminary setup work, like cpan -i Text::Patch SOAP::WSDL.)

Running the patch after fixing its paths ... will result invariably in:
Trying to patch 
/usr/lib64/perl5/site_perl/5.10.1/SOAP/WSDL/XSD/Typelib/Builtin/anySimpleType.pm...Hunk 
#1 failed at line 13.


I'm no authority on perl, but AFAICT that patch does not match against 
either SOAP::WSDL latest stable sources nor latest SOAP::WSDL dev 
release code from CPAN. Actually, I couldn't find tarballs from CPAN 
which would match with the failing lines of that patch. There might've 
been some earlier 2.00-series releases, but they're ... long gone?


Any idea of the version of SOAP::WSDL they are using for this at Google?

--
Arttu V. -- Running Gentoo is like running with scissors



Re: [gentoo-user] Re: kernel configuration problem -- genkernel: no irq handler; manual config: root filesystem could not be mounted r/w

2010-06-22 Thread Arttu V.
On 6/22/10, rocwhite168 rocwhite...@163.com wrote:
 fstab
 --
 /dev/sda1 /boot   ext4noauto,noatime  1 2
 /dev/sda5 /   ext4noatime 0 1
 /dev/sda3 /usrext4noatime 0 2
 /dev/sda4   /home   ext4noatime   0 2
 /dev/sda7   /tmpext4noatime   
 0 0
 /dev/sda6   noneswapsw0 0
 shm   /dev/shmtmpfs   nodev,nosuid,noexec 
 0 0

Where is your proc virtual fs?

-- 
Arttu V.



Re: [gentoo-user] Compilation aborted for setuptools-0.6.12

2010-06-20 Thread Arttu V.
On 6/19/10, meino.cra...@gmx.de meino.cra...@gmx.de wrote:

 Hi,

 compilation of setuptools-0.6.12 aborts woth:
 copying tests/api_tests.txt - build/src/tests
 Traceback (most recent call last):
   File setup.py, line 24, in module
 from lib2to3.main import main
   File /usr/lib/python3.1/lib2to3/main.py, line 12, in module
 from . import refactor
   File /usr/lib/python3.1/lib2to3/refactor.py, line 25, in module
 from . import pytree, pygram
   File /usr/lib/python3.1/lib2to3/pygram.py, line 35, in module
 del python_grammar_no_print_statement.keywords[print]
 KeyError: 'print'

Over here it seems to run a piece printing out messages starting with
RefactoringTool: where it fails for you. AFAICT, 2to3-refactoring
stuff is part of dev-lang/python package itself.

So, I wonder if emerge -1 python:2.6 would help? (Or grabbing a
pre-compiled binary from tinderbox.dev.gentoo.org if the emerge
fails.)

-- 
Arttu V.



Re: [gentoo-user] Compilation aborted for setuptools-0.6.12

2010-06-20 Thread Arttu V.
On 6/20/10, meino.cra...@gmx.de meino.cra...@gmx.de wrote:
 Arttu V. arttu...@gmail.com [10-06-20 12:28]:
 On 6/19/10, meino.cra...@gmx.de meino.cra...@gmx.de wrote:
 
  Hi,
 
  compilation of setuptools-0.6.12 aborts woth:
  copying tests/api_tests.txt - build/src/tests
  Traceback (most recent call last):
File setup.py, line 24, in module
  from lib2to3.main import main
File /usr/lib/python3.1/lib2to3/main.py, line 12, in module
  from . import refactor
File /usr/lib/python3.1/lib2to3/refactor.py, line 25, in module
  from . import pytree, pygram
File /usr/lib/python3.1/lib2to3/pygram.py, line 35, in module
  del python_grammar_no_print_statement.keywords[print]
  KeyError: 'print'

 Over here it seems to run a piece printing out messages starting with
 RefactoringTool: where it fails for you. AFAICT, 2to3-refactoring
 stuff is part of dev-lang/python package itself.

 So, I wonder if emerge -1 python:2.6 would help? (Or grabbing a
 pre-compiled binary from tinderbox.dev.gentoo.org if the emerge
 fails.)

 --
 Arttu V.


 Hi Arttu,

 thanks for your posting! :)

 Python2.6 compiles fine, setuptool fails again at the same point...

 What can I try next?

Short of recompiling also python 3.1 (with distcc, ccache and such
possible interference disabled) -- I'm out out ideas.

-- 
Arttu V.



Re: [gentoo-user] p7zip-4.65-r1 considered obnoxious

2010-06-20 Thread Arttu V.
On 6/20/10, Kevin O'Gorman kogor...@gmail.com wrote:
 For some reason, the latest x86 stable p7zip wants to force me to remove
 'odbc' from wxGTK.  This seems wrong, and I'm masking it out for the moment,
 but I'm wondering what justification there is.

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

-- 
Arttu V.



Re: [gentoo-user] how did xine-lib get broken?

2010-06-07 Thread Arttu V.
On 6/6/10, Michael P. Soulier msoul...@digitaltorque.ca wrote:
 I'm confused. I was upgrading my box piecemeal, as it's been a while. I ran
 revdep-rebuild and it turned up xine-lib as broken, so it rebuilt it, but
 the
 rebuild failed.

 libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../include
 -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine
 -I../../src/xine-engine -I../../src/xine-utils -I../../src/input
 -I../../src/input -I../../lib -I../../lib -fvisibility=hidden
 -D_LARGEFILE64_SOURCE -I/usr/include/alsa -I../../src/input/libdvdnav/
 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O2 -march=athlon-xp
 -pipe
 -frename-registers -ffunction-sections -Wall -Wchar-subscripts
 -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes
 -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2
 -Wno-format-zero-length -Wstrict-aliasing=2
 -Werror=implicit-function-declaration -DNDEBUG -c input_v4l2.c  -fPIC -DPIC
 -o
 .libs/xineplug_inp_v4l2_la-input_v4l2.o
 input_v4l2.c: In function 'v4l2_input_open':
 input_v4l2.c:113: error: implicit declaration of function '_IOR'
 input_v4l2.c:113: warning: nested extern declaration of '_IOR'
 input_v4l2.c:113: error: expected expression before 'struct'
 input_v4l2.c: In function 'v4l2_input_setup_video_streaming':
 input_v4l2.c:162: error: implicit declaration of function '_IOWR'
 input_v4l2.c:162: warning: nested extern declaration of '_IOWR'
 input_v4l2.c:162: error: expected expression before 'struct'
 input_v4l2.c:179: error: expected expression before 'struct'
 input_v4l2.c:208: error: expected expression before 'struct'
 input_v4l2.c:212: error: implicit declaration of function '_IOW'
 input_v4l2.c:212: warning: nested extern declaration of '_IOW'
 input_v4l2.c:212: error: expected expression before 'int'
 input_v4l2.c: In function 'v4l2_input_dequeue_video_buffer':
 input_v4l2.c:283: error: expected expression before 'struct'
 input_v4l2.c: In function 'v4l2_input_enqueue_video_buffer':
 input_v4l2.c:317: error: expected expression before 'struct'
 input_v4l2.c: In function 'v4l2_input_dispose':
 input_v4l2.c:326: error: expected expression before 'int'
 input_v4l2.c: In function 'v4l2_input_get_mrl':
 input_v4l2.c:353: warning: unused variable 'this'

 so obviously xine-lib is missing a dependency. Why isn't this unknown
 dependency simply pulled in?

Perhaps you could mention the version you're trying to compile, and
the USE flags you're using? I could imagine there could be major
problems with 1.1.17 due to missing libv4l dependency, but 1.1.18.1
has been stable for x86 for nearly a month.

-- 
Arttu V.



Re: [gentoo-user] One hard drive much slower for some reason.

2010-06-02 Thread Arttu V.
On 6/1/10, Dale rdalek1...@gmail.com wrote:
 /dev/hdb:
 Commands/features:
  Enabled Supported:
 *SMART feature set

Maybe the problem is not external (cabling, jumpers etc), but
internal? Anything interesting in smartctl's report?

-- 
Arttu V.



Re: [gentoo-user] One hard drive much slower for some reason.

2010-06-02 Thread Arttu V.
On 6/2/10, Dale rdalek1...@gmail.com wrote:
 smoker-new ~ # smartctl -l selftest /dev/hdb
 smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
 Home page is http://smartmontools.sourceforge.net/

 === START OF READ SMART DATA SECTION ===
 SMART Self-test log structure revision number 1
 Num  Test_DescriptionStatus  Remaining
 LifeTime(hours)  LBA_of_first_error
 # 1  Extended offlineCompleted without error   00%
 1038 -
 # 2  Short offline   Completed without error   00%
 1037 -
 # 3  Extended offlineCompleted without error   00%
 1075 -
 # 4  Extended offlineCompleted without error   00%
 305 -
 # 5  Extended offlineCompleted without error   00%
 660 -
 # 6  Extended offlineCompleted without error   00%
 213 -
 # 7  Extended offlineCompleted without error   00%
 687 -
 # 8  Extended offlineCompleted without error   00%
 686 -
 # 9  Extended offlineCompleted without error   00%
 629 -

I was thinking about smartctl -A attributes table (or just plain -a
for all), which might've showed a great number of sector relocations
or other internal I/O-related issues.

But this report raises another question: why aren't the reported
lifetimes in an ascending list? They jump back and forth.

-- 
Arttu V.



Re: [gentoo-user] danger-deep

2010-05-27 Thread Arttu V.
On 5/27/10, Iain Buchanan iai...@netspace.net.au wrote:
 On Wed, 2010-05-26 at 17:45 +, James wrote:
 Folks,

 I just had to share this.

 So I read the Linux journal, mostly to do my
 part to keep publications about Linux alive.
 Occationally they write about something cool,
 though rarely  related to Gentoo

 FTA:
 The Web site provides a lovely binary installer that feels much
 like that of a commercial game. You can compile the game from
 source if you want, but would you really do that when you can
 simply click Next, Next, Next?
 *sigh*

 So I read about a very cool submarine game today
 on LJ:
 http://www.linuxjournal.com/content/danger-deep

 Only to discover it's already in portage.
 KUDOS to the Gentoo game devs for being
 on top of this one

 Doesn't run here.  Something to do with getting the available
 resolutions:

 SDL_Rect** modes = SDL_ListModes(NULL, SDL_FULLSCREEN|SDL_HWSURFACE);

 must be returning nothing, because later when it tests the resolution it
 wants to use against the resolutions available:

 for (listvector2i::const_iterator it = available_resolutions.begin(); it
 != available_resolutions.end(); ++it) {
   if (*it == vector2i(res_x_, res_y_)) {
   ok = true;
   break;
   }
 }
 if (!ok)
   throw invalid_argument(invalid resolution requested!);

 I get the exception.  No matter what res I specify on the command
 line :(

 $ dangerdeep
 Caught exception: invalid resolution requested!

 Anyone know about SDL?

I really don't, but I'm just wondering if you are looking at the 0.3.0
source tarball code or their svn trunk? system.cpp is quite different
in the trunk, including changes which probably should add support for
less common screen sizes and modes.

-- 
Arttu V.



Re: [gentoo-user] Newbie question

2010-05-25 Thread Arttu V.
On 5/25/10, Madhurya Kakati mkakati2...@gmail.com wrote:
 Hi,
 I am currently using archlinux and windows 7 and want to try out gentoo.
 I guess grub will be overwritten by gentoo but will it contain the
 options to boot arch kernel images automatically? I really dont wanna
 mess up grub.

You'll minimize your grub configuration work and pretty much
neutralize any risk to your currently installed OSes by testing and
trying out Gentoo in a virtualized system.

For example VirtualBox is freely available and takes only a few mouse
clicks to configure a virtual machine specifically suitable for Gentoo
(or Ubuntu, or Linux Mint, or Fedora, or OpenSUSE, or ...), then you
just attach the CD ISO to the virtual machine (clickety-click, 3
clicks if it's on the Desktop?), and boot (doubleclick). Next you do
the install, which in Gentoo's case means following the Gentoo
Handbook.

You can keep important tools like irc-client, your favourite search
engine and Gentoo Handbook browser window running in the host OS,
jumping between the host and guest with a single mouse click and right
ctrl key to get back. And that's just using the default settings out
of the box.

Try it out once. It hooked me after the 15 minutes it took to make the
first virtual image (and that's where I read all the labels and
options). Naturally, YMMV.

-- 
Arttu V.



Re: [gentoo-user] Re: Java problem

2010-05-23 Thread Arttu V.
On 5/23/10, David Relson rel...@osagesoftware.com wrote:
  emerge -qv ant-junit fails because ant-junit isn't found

Is your portage tree or the underlying filesystem broken? You use eix,
so what does eix ant-junit output? Are there really no versions of
ant-junit available on your system?

Also, from your b.g.o report:

 EMERGE_DEFAULT_OPTS=--with-bdeps y --color=n --jobs 4

How about trying it without the parallel emerges?

-- 
Arttu V.



Re: [gentoo-user] Re: Java problem

2010-05-23 Thread Arttu V.
On 5/23/10, David Relson rel...@osagesoftware.com wrote:
 Hi Arttu,

 The portage tree is fine, AFAICT.  emerge finds the ebuild, but
 the emerge fails.  Removing --jobs 4 doesn't change the result.

Ok, then that could be discarded as just some wild speculation.

Next idea, how about just marking a single arch:

 ACCEPT_KEYWORDS=amd64 x86

I don't know if the java ebuilds, eclasses and wrapper-scripts are
wise enough to figure out the correct dependencies with such keywords.
I could imagine some part might figure out the arch as x86, but then
your system vm would be set to the x86_64 vm, i.e., no x86 system vm
set ... (again, just some more wild speculation ;) )

-- 
Arttu V.



Re: [gentoo-user] Cannot find entrance!

2010-05-18 Thread Arttu V.
On 5/19/10, Mick michaelkintz...@gmail.com wrote:
 This is the first time I am dabbling with layman.  So it is likely I have
 made some noob mistake, which I hope you can help me discover.

 I have installed layman-1.3.3 and then added the enlightenment overlay.  I
 have also added the snapshot keywords for enlightenment:

 # ls -l /etc/portage/package.keywords/enlightenment.keywords
 lrwxrwxrwx 1 root root 64 May 18 21:28
 /etc/portage/package.keywords/enlightenment.keywords -
 /var/lib/layman/enlightenment/scripts/package.keywords.snapshots

 entrance is unmasked in there:

 # cat /etc/portage/package.keywords/enlightenment.keywords | grep entrance
 x11-misc/entrance ~*

 However, although I can see enlightenment, I have no success with entrance:

 # emerge -upDv entrance
 These are the packages that would be merged, in order:

 Calculating dependencies... done!

 emerge: there are no ebuilds to satisfy entrance.


 What am I missing?  Please ask for supporting info as you need it.

Are you sure you are sourcing the layman configuration in /etc/make.conf:

source /var/lib/layman/make.conf

-- 
Arttu V.



Re: [gentoo-user] sys-apps/acl with nfs support

2010-05-11 Thread Arttu V.
On 5/11/10, Kraus Philipp philipp.kr...@flashpixx.de wrote:
 Hello,

 I try to compile the sys-apps/acl package with the nfs option, but I
 can't set the flag. I add to my portage.use
 sysapps/acl and nfs but if I emerge the acl or virtual/acl emerge
 doesn't use the nfs flag.

 Now I have installed
 sys-apps/acl Installed versions:  2.2.49(23:33:57 05/09/10)(nls -nfs)

 and I need the acl support on the nfs share. How can I recompile the
 acl package with nfs support?

First check that the reason for the masking does not apply to your
situation (bug #149472), then I think you can just force-override it
by adding the package atom and USE flag in
/etc/portage/profile/package.use.force (haven't tried myself).

I haven't used nfs for years, so you might wait for a second opinion
from the gurus actually using it.

-- 
Arttu V.



Re: [gentoo-user] new user can't run X apps

2010-05-05 Thread Arttu V.
On 5/5/10, Grant emailgr...@gmail.com wrote:
 I created a new user with useradd but I get X errors like cannot open
 display and cannot connect to X server when I try to run X apps as
 the new user.  I've tried restarting with the same results.  Does
 anyone know why this is happening?

Is the user in the video group?

-- 
Arttu V.



Re: [gentoo-user] new user can't run X apps

2010-05-05 Thread Arttu V.
On 5/6/10, Grant emailgr...@gmail.com wrote:
 I created a new user with useradd but I get X errors like cannot open
 display and cannot connect to X server when I try to run X apps as
 the new user.  I've tried restarting with the same results.  Does
 anyone know why this is happening?

 Is the user in the video group?

 Yes, I should have said that.

How have you set up the X session for the users? Is it specified,
e.g., in /etc/env.d/90xsession or in some user-specific configuration
files that only the other one would have?

Does anything exceptional appear in Xorg.log?

(As you can notice, I'm just guessing and shooting in the dark here.)

-- 
Arttu V.



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

2010-05-01 Thread Arttu V.
On 4/30/10, Ajai Khattri a...@bway.net wrote:

 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')

This might sound slightly familiar:

http://bugs.gentoo.org/show_bug.cgi?id=305071#c3

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

-- 
Arttu V.



Re: [gentoo-user] installation aborted due to poor programming practices

2010-04-19 Thread Arttu V.
On 4/19/10, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
 On 19 Apr, Neil Bothwick wrote:
 On Mon, 19 Apr 2010 12:47:17 +0200 (CEST), Helmut Jarausch wrote:

 the installation of a package (unofficial gimp-gap) is 'aborted due to
 poor programming practices' probably since there have been lots of
 dereferencing type-punned pointers and similar warnings.

 How can I forced portage to install it anyway?

 Possibly FEATURES=-strict emerge --opts blah


 Unfortunately this didn't help.

I wonder if strict and stricter FEATURES are somehow hardwired to each
other inside portage code, or whether they're considered separate
entities?

Anyway, you could try FEATURES=-strict -stricter to see which way it
works. If that won't work then the next step could be to play around
with the QA_STRICT_* variables mentioned in make.conf man page
(haven't tried, so don't know if they'll help either).

-- 
Arttu V.



Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread Arttu V.
On 4/18/10, Tanstaafl tansta...@libertytrek.org wrote:
 You could try temporarily masking it:
 #echo sys-devel/gcc  /etc/portage/package.mask

 Then updating:
 #emerge -e system

 Then removing the mask:
 #sed -i '$d' /etc/portage/package.mask

 I don't know of any emerge flag that does this in one step.

 Hmmm, good idea, thanks Vincent...

 Crap, doesn't look like this will work...
snip/

 Any other ideas?

A guess: try it with package.provided instead of package.mask. See the
section on portage man page. The syntax for package.provided requires
a full version atom (e.g., sys-devel/gcc-4.4.3-r1), but this approach
might not interfere with dep tree calculations like masking does.

-- 
Arttu V.



Re: [gentoo-user] Re: gnome fails to install with error 2

2010-03-26 Thread Arttu V.
On 3/24/10, David Mehler dave.meh...@gmail.com wrote:
 Hello,
 I don't know what error 2 means and the build.log wasn't of much help.

I don't know gnome packages, but I'd guess finding error 1 would be in
order. Somewhere, maybe far, above.

 What was of greater help was this link:

 http://bugs.gentoo.org/278292

 I didn't get the error specifically about libxml2 as this seems to
 indicate. I tried the fix however.
 Once I install libxml2 gnome completed installation. I think the 2.6
 dependency list might need updating.
 Thanks.
 Dave.

Are you sure you haven't missed running python-updater and/or revdep-rebuild?

My bets on that bug report (as well as your system, given the very
limited amount of info so far) would be on probably a broken system.

For example, the bug reporter is freely mixing and matching ancient
stable stage3 packages with bleeding-edge testing stuff from ~arch.
And all this without -uDN options for emerge (nor revdep-rebuilds), so
he really gets a fully mixed-up bag of untested combinations.

And then it all backfired on him ... probably his ancient python from
the stage3 tarball got bumped to a later version anyway, and thus all
python-related packages would sorely need re-emerging, i.e., running
python-updater or a manual emerge ...

What we'd need is some actual log outputs revealing what is going on.
Maybe it is a bug. Maybe it is just a broken system. Maybe it is both?

-- 
Arttu V.



Re: [gentoo-user] wine cannot compile with jpeg flag

2010-03-15 Thread Arttu V.
On 3/15/10, Xi Shen davidshe...@googlemail.com wrote:
 i have enabled 'jpeg' flag in my /etc/make.conf, but i still cannot
 compile wine with jpeg support, and i really need this feature.

 the output of emerge -pv wine shows '(-jpeg)'. i think it is masked by
 profile. i then created '/etc/portage/profile/package.use.force', and
 putted 'app-emulation/wine jpeg' in it, but i still cannot compile
 wine with jpeg support.

Create /etc/portage/profile/package.use.mask and type in
'app-emulation/wine -jpeg' (note the minus) to locally unmask the jpeg
flag for wine.

I don't know how good idea that is, though, as
/usr/portage/profiles/arch/amd64/package.use.mask has the following
for wine (maybe you'd better check the relevant bugs noted for jpeg
first?):

# Samuli Suominen ssuomi...@gentoo.org (02 Feb 2009)
# esd, bug 301824
# mp3, bug 283860, 299490
# jpeg, bug 283089, 303255, 299149
# capi, 292938
# ghoto2, 286563
# scanner, 299505
# hal, 299149
app-emulation/wine capi esd gphoto2 hal jpeg mp3 scanner

-- 
Arttu V.



Re: [gentoo-user] Only two people in the gentoo world is having this problem?

2010-03-12 Thread Arttu V.
On 3/12/10, Damian damian.o...@gmail.com wrote:
 On Fri, Mar 12, 2010 at 9:05 AM, Damian damian.o...@gmail.com wrote:
 Anyway, if it were me I'd nuke the file in a heartbeat, but if OP is
 too timid for that, he can also quarantine the file first, i.e., move
 it to some other path where it won't cause trouble (and then delete
 later). Also, (from the bug) his libarchive.la seems to still list the
 .la, so he should re-emerge libarchive after moving away the orphaned
 .la-file (or use lafilefixer?).
 Ok, the OP will try this. If I cannot fix it I will just install gvfs
 without the archive flag.
 Ok, so moving the file, reinstalling libarchive, and running
 lafilefixer didn't change the situation.

 So I'm using gvfs without the archive flag.

Bummer. Are you sure your libarchive.la is not another orphan, just
like liblzmadec.la was?

Please check (if you are still interested in hunting down the cause).
You should probably only end up with that la file if you have
USE=static-libs for libarchive -- which (if I'm reading correctly
the paludis output attached in the bug) you do not have currently
enabled.

But since you have the libarchive.la file on your system you may have
had the USE flag enabled at one point, or the ebuild may have changed
to allow separate dynamic and static building while your package
manager might not have kept up with its records.

So, also check the owner of libarchive.la, and clean up if necessary.
Actually, since you seem to run a great risk of having more than one
orphan .la-file then maybe you should do something like find /usr
-name '*.la' | xargs -r equery belongs or some such generic flush-out
of orphaned .la files.

-- 
Arttu V.



Re: [gentoo-user] Only two people in the gentoo world is having this problem?

2010-03-12 Thread Arttu V.
On 3/12/10, Damian damian.o...@gmail.com wrote:
 Bummer. Are you sure your libarchive.la is not another orphan, just
 like liblzmadec.la was?
 Indeed.  libarchive.la is not owned by any package. Is this a symptom
 of a bigger problem?

Probably not, unless running Gentoo is considered a big problem. :)

You can read many things about the problems of dynamic vs static
linking from, e.g., flameeyes' blog.

 Please check (if you are still interested in hunting down the cause).
 Sure, and I really appreciate the gentoo community help.

Ah, I got the impression that you might have been satisfied with USE=-lzma.

 You should probably only end up with that la file if you have
 USE=static-libs for libarchive -- which (if I'm reading correctly
 the paludis output attached in the bug) you do not have currently
 enabled.
 That's correct. Should I enable static-libs and recompile libarchive?

I don't think so, but I don't know what your system is for. If the box
currently runs without the static libs then I'd guess you don't need
them. I think you might want to hear a third opinion, if someone else
has one to lend.

 But since you have the libarchive.la file on your system you may have
 had the USE flag enabled at one point, or the ebuild may have changed
 to allow separate dynamic and static building while your package
 manager might not have kept up with its records.
 Ok, if that's the case I will report it to the paludis developers.

Given Neil's comment I think it might not be a bug, but rather a nasty
feature, apparently of portage as well (that was news to me).

-- 
Arttu V.



Re: [gentoo-user] Only two people in the gentoo world is having this problem?

2010-03-12 Thread Arttu V.
On 3/12/10, Neil Bothwick n...@digimed.co.uk wrote:
 Emerge won't remove files it installed if they have been
 subsequently modified.

Just checking: anybody know how long has it been like this?

-- 
Arttu V.



Re: [gentoo-user] Only two people in the gentoo world is having this problem?

2010-03-11 Thread Arttu V.
On 3/11/10, Mark Knecht markkne...@gmail.com wrote:
 to determine whether this package provides it. I cannot do that as I
 don't have lzma-utils on my systems anymore.

Well, that can be sort of done with, e.g.:

ebuild /usr/portage/app-arch/lzma-utils/lzma-utils-4.32.7.ebuild install

It will run emerge phases until the system creates the installation
image, but it won't merge the files into their proper locations in the
file system. Listing files in the image directory shows all the five
liblzmadec.* files (or symlinks) that would get installed.

 If you don't have  lzma-utils on your system anymore then erase
 /usr/lib64/liblzmadec.la by hand and run revdep-rebuild -ip again and
 see if it's clean.

Yes, this whole issue smells like an overblown orphaned .la-file
issue. Package manager cannot help much with such, and IMHO it's not a
bug (well maybe in the package manager, but let's not start that
flamewar ;) ).

Anyway, if it were me I'd nuke the file in a heartbeat, but if OP is
too timid for that, he can also quarantine the file first, i.e., move
it to some other path where it won't cause trouble (and then delete
later). Also, (from the bug) his libarchive.la seems to still list the
.la, so he should re-emerge libarchive after moving away the orphaned
.la-file (or use lafilefixer?).

Still, there is something funny with paludis, as so many people using
it seem to have so many problems with orphaned libtool archive files.
Ahem, even the warning from exherbo front page is gone nowadays. Is it
production quality now? o.O

-- 
Arttu V.



Re: [gentoo-user] Only two people in the gentoo world is having this problem?

2010-03-10 Thread Arttu V.
On 3/10/10, Damian damian.o...@gmail.com wrote:
 While ago I reported a bug regarding gvfs:
 https://bugs.gentoo.org/show_bug.cgi?id=302196

 It's been unresolved for quite a long time now, so I was wondering if
 somebody could give me a hint on how to solve this problem.

Are you still using lzma-utils, or have you moved on to xz-utils?

Which package owns your /usr/lib64/liblzmadec.*? (equery belongs
foofile on Gentoo, dunno what is the equivalent on paludis)

-- 
Arttu V.



Re: [gentoo-user] [OT] NoSQL?

2010-03-02 Thread Arttu V.
On 3/2/10, walt w41...@gmail.com wrote:
 This article was a big surprise to me.  Am I the last one to hear about this
 stuff?

 http://news.cnet.com/8301-13505_3-10461670-16.html?part=rssamp;subj=newsamp;tag=2547-1_3-0-20

If you're expecting a discussion then perhaps you'd care to narrow it
down a bit: which part of the article are we expected to feel
surprised about?

-- 
Arttu V.



Re: [gentoo-user] Re: Gentoo down?

2010-03-01 Thread Arttu V.
On 3/1/10, Mark Knecht markkne...@gmail.com wrote:
 On Mon, Mar 1, 2010 at 7:05 AM, Lie Ryan lie.1...@gmail.com wrote:
 On 03/02/10 01:24, Mark Knecht wrote:
 I guess the web site is down this morning? (6:30AM PST) I cannot get
 through anyway.

 - Mark

 Confirmed, though I can still ping it.


 Guess I'll have to wait for some nvidia installation instructions. Thanks!

If you're in a hurry then Google probably has the pages cached. Just
search for gentoo nvidia, and hit the cache-link.

-- 
Arttu V.



Re: [gentoo-user] Re: dev-libs/libgamin-0.1.10-r2 fails to emerge on a multilib profile

2010-02-27 Thread Arttu V.
On 2/27/10, Mick michaelkintz...@gmail.com wrote:
 On Saturday 27 February 2010 19:04:09 walt wrote:
 On 02/27/2010 10:04 AM, Mick wrote:
  Hi All,
 
  I am trying to install Gentoo on a i7 x86_64 arch machine and libgamin
  fails when I try to emerge syslog-ng (it's a dependency of it).  This
  is my first 64bit machine, so I am not sure if I have made more
  mistakes than usual (LOL).  This is the error:
  
 
  libtool: link: x86_64-pc-linux-gnu-gcc -shared  .libs/gamin.o
  -Wl,-rpath
  -Wl,/var/tmp/portage/dev-libs/libgamin-0.1.10-r2/work/gamin-0.1.10/libgam
 in/.libs ../libgamin/.libs/libgamin-1.so /usr/bin /usr/sbin /bin /sbin

^

  -lpthread  -march=core2 -msse4 -mcx16 -msahf -Wl,-O1   -Wl,-soname
  -Wl,_gamin.so -o .libs/_gamin.so
  /usr/bin: file not recognized: Is a directory

 Cool, a new libtool trick.  It's trying to link an object file with a
 directory?  Dunno where the real error is, but I'd start with the old
 shotgun approach by running lafilefixer --justfixit and see if it helps.

 That was my first thought too.  I ran lafixer and revdep-rebuild after
 emerging these and the error shown above came up.

grep for pkg-config inside the config.log (and maybe build.log as
well). I'm betting on pkg-config not being found, although the ebuild
seems to list it as a dependency. (Maybe your chroot settings affect
the path?)

IIRC another package did the same for me some months ago (sorry, can't
remember which). If it couldn't find pkg-config it would still
complete configure phase without errors -- but cflags and libs
variables that were supposed to be filled with various `pkg-config
--libs foo` outputs were in fact filled with the paths from which
pkg-config was searched for (in vain) during configuration. And IIRC
the result looked nearly identical to the situation here.

-- 
Arttu V.



Re: [gentoo-user] Can't unsubscribe

2010-02-25 Thread Arttu V.
On 2/25/10, Johannes Frandsen j...@imento.dk wrote:
 I have tried to unsubscribe from this list a few times now, but it seems to
 have no effect to send a mail to gentoo-user+unsubscr...@lists.gentoo.org.

 Sending a mail to gentoo-user+h...@lists.gentoo.org also has no effect.

 Any ideas or pointers about how to proceed?

Check your spam filter? I think just a few days ago someone was trying
to unsub from one of the gentoo lists, and he hadn't noticed that at
least gmail dumped the responses directly into the spam bin.

-- 
Arttu V.



Re: [gentoo-user] Sandbox violation emerging media-gfx/dcraw-8.73

2010-02-22 Thread Arttu V.
On 2/22/10, John H. Moe john...@optusnet.com.au wrote:
 From the looks of things, it's trying to install a file directly to the
 filesystem outside the /var/tmp sandbox.  I believe this is a bug that
 needs reporting, but before I did that, I thought I'd check to be sure
 it wasn't something I was doing wrong.  Can can someone more
 knowledgeable than me advise?

Could it be bug #306177? Looks a lot like your case.

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

-- 
Arttu V.



Re: [gentoo-user] Problem with installation kde-meta, gnome

2010-02-18 Thread Arttu V.
On 2/17/10, Andrzej Styczeń styczen_andr...@o2.pl wrote:
 Thank you for your help.
 I tried this, what you pointed

 USE=-qt4 emerge --oneshot cmake

 but still there are other not resolved dependicies, I will wait to tomorrow.

 I also try to install 'octave' and got similar problems with circular
 dependencies.

I'm guessing you're stuck with one or more of the regular USE-flag
related circular deps problems: cups, ldap, sasl, kerberos, rle and
what are there (and apparently now I have to add qt4 into the mix as
well). Do you happen to have any of these enabled?

I keep running into them with each and every new desktop system
install. Yes, I'm a greedy pig when it comes to USE flags, I enable
most (if not everything) -- and then keep banging my head on many,
many of these circular deps. Each of those needs a separate emerge
(like the one Neil gave as an example for cmake) to break the cycles
in the dependency tree.

-- 
Arttu V.



Re: [gentoo-user] Re: Running xsane

2010-02-18 Thread Arttu V.
On 2/18/10, Peter Humphrey pe...@humphrey.ukfsn.org wrote:
 No, you miss the point. The name implies saving daylight, not time. Show
 me anyone who can do that. (And I won't ask why Saving has to be
 plural.)

Riddle me this as well: what good does Daylight Savings do in, e.g.,
Scandinavian region countries, which have fair sized slabs of their
landmasses on the North side of the Arctic Circle?

I mean does somebody actually think that seeing Aurora Borealis in the
dark is a proper ersatz light source over sunlight? It's dark 24 hours
a day on the worst days, with only scanty lighting on the days before
and after those. One can turn the clocks upside down or replace the
hands with a 10 000 rpm fan, and it won't squeeze any more sunlight
into the sky due to basic physics.

 This is now way off-topic. It is fun though.

Nihilistic semantics say we're perfectly on topic for the thread (if
not for the list): running without/after sanity ...

-- 
Arttu V.



Re: [gentoo-user] Problem compiling freemind

2010-02-08 Thread Arttu V.
On 2/7/10, Peter Humphrey pe...@humphrey.ukfsn.org wrote:
 Can someone who knows more Java than I do see what's missing?

I claim no knowledge over java on Gentoo (they changed it again when I
just thought I had it figured out).

But you could try running a small sanity check for java: java-check-environment

-- 
Arttu V.



Re: [gentoo-user] libkdegames-3.5 won't compile

2010-02-01 Thread Arttu V.
On 2/1/10, Dale rdalek1...@gmail.com wrote:
 /bin/sh ../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++
 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
 -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG
 -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer
 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
 -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
 -Wl,-O1 -o libkdegames.la -rpath /usr/kde/3.5/lib -L/usr/kde/3.5/lib
 -L/usr/qt/3/lib -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R
 /usr/qt/3/lib -no-undefined -Wl,--no-undefined
 -Wl,--allow-shlib-undefined -version-info 3:0:2 kcarddialog.lo
 kstdgameaction.lo kgamemisc.lo kchatbase.lo kchat.lo kchatdialog.lo
 kgameprogress.lo kcanvasrootpixmap.lo kgamelcd.lo
 highscore/libkhighscore.la kgame/libkgame.la
 kgame/dialogs/libkgamedialogs.la -lkio -lkdnssd

A wild guess which might or might not do any good: cd into the
directory where this happens, copy  paste this monstrosity of a
linking command it prints out, and switch the libs around from the end
(lkio -lkdnssd = -lkdnssd -lkio).

-- 
Arttu V.



Re: [gentoo-user] correct way for unmasking several packages

2010-01-22 Thread Arttu V.
On 1/22/10, Arnau Bria ar...@emergetux.net wrote:
 Hi all,

 I'm wondering which is the correct way for unmasking several
 depending packages when you want to unmask only want.

 Let me explain, I want to unmask xorg-server, and every time I try to
 update, it complains about one package, I unmask it, then it complains
 about other, and so on...

 so, is there a good/correct way for doing so?

You might want to try and emerge autounmask:

http://www.iml.ece.mcgill.ca/~stephan/autounmask

It's not necessarily the right way, and I don't use it, but
apparently some (many?) do.

-- 
Arttu V.



Re: [gentoo-user] dependencies - one more mystery novel

2010-01-21 Thread Arttu V.
On 1/21/10, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
 Upgrading to media-libs/jpeg-8
 poses a new level of difficulty (to me).

 I cannot use  emerge @preserved-rebuild since I still
 have kde-3 packages and still have problems with the
 kde-sunset overlay which I have to resolve lateron.

 Now, I try to find out which packages depend on jpeg-7.
 First idea
 revdep-rebuild -p -L /usr/lib64/libjpeg.so.7

 but this also finds packages which depend on
  /usr/lib64/libjpeg.so.7 AND /usr/lib64/libjpeg.so.8
 probably because they depend on /usr/lib64/libjpeg.so.7
 only indirectly.

 But how to find out these intermediate libraries which depend
 on /usr/lib64/libjpeg.so.7 directly?

I don't know why you wouldn't want to fix the kde3 overlay part ASAP,
but here is a guesswork, which might dig you something useful:

ls /usr/lib64/*.so | xargs -r scanelf -BF%n | grep 'libjpeg\.so\.7' |
awk '{ print $2 }' | xargs -r qfile -qC | uniq

It doesn't understand, e.g., slots, nor is really optimized. For such,
we'd need a separate program, which we'd call ... umm, lemme think ...
is reverse-dependency-rebuilder good? ;)

-- 
Arttu V.



Re: [gentoo-user] Most all KDE 4 emerges fail. Cmake is common.

2010-01-21 Thread Arttu V.
On 1/21/10, Dale rdalek1...@gmail.com wrote:
 CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE):
   ERROR: cmake/modules/FindKDE4Internal.cmake not found in
 Call Stack (most recent call first):
   CMakeLists.txt:6 (find_package)

Ok, so kde4-config is not returning any path for the kde4 data (i.e.,
apps?) dir?

Does kde4-config --path data return anything if you run it from a shell?

-- 
Arttu V.



Re: [gentoo-user] Re: problem compiling Avahi

2010-01-19 Thread Arttu V.
On 1/19/10, walt w41...@gmail.com wrote:
 On 01/19/2010 04:13 AM, SpaceCake wrote:
 Hi,

 I have problem to compile Avahi. As far as I see there was several bugs
 related to this package in the past, so I've tried to perform the steps in
 those bug reports to fix this issue (recompile python, python packages,
 playing with useflags etc).
 Unfortunately I can't make it work, so I removed avahi from useflags, so
 my world compile is ok. However I would like to use it, so if anyone has
 any idea how can I fix it, it could be great

 I think the most important part is

 configure: error: Could not find Python module dbus

 however dbus python is emerged and exists

 however when I import module I've got this

 ImportError: /usr/lib/python2.6/site-packages/_xmlplus/parsers/pyexpat.so:
 undefined symbol: PyUnicodeUCS2_Decode

 An undefined symbol error means that something has changed since that
 library was installed.  The solution is to re-install that library, which 
 means
 re-install the pyexpat package.  I'm guessing that revdep-rebuild would do
 that for you automatically.  You might want to run redep-rebuild anyway
 because you may have other broken libraries on your machine as well.

I think the package is called pyxml? emerge -1 pyxml, then revdep-rebuild.

Also, OP should be aware of the USE flag changes for
ucs2/wide-unicode. A snippet from dev-lang/python's ChangeLog (also
see referred bug report):

  06 Dec 2009; Arfrever Frehtes Taifersar Arahesis arfre...@gentoo.org
  python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.6.2-r1.ebuild,
  python-2.6.2-r2.ebuild, python-2.6.3.ebuild, python-2.6.4.ebuild,
  python-3.1.1-r1.ebuild, metadata.xml:
  Remove ucs2 USE flag and add wide-unicode USE flag (bug #293135).

-- 
Arttu V.



Re: [gentoo-user] Can you rewrite this 1996 qfile command?

2010-01-18 Thread Arttu V.
On 1/18/10, Grant emailgr...@gmail.com wrote:
 I've hit a bug that won't let me start an xfce4 session.  I think it
 was caused by upgrading glibc, and it is pretty well described in this
 nearly 4-year-old bug:

 http://bugs.gentoo.org/125909

 The solution is presented as:

 qlist -o $(qlist -ICv) | scanelf -Bs__guard -qf -  -F%F#s | xargs qfile

 but I get:

 qlist: invalid option -- 'l'
 qlist: invalid option -- '['

 Removing the -l fixes the first invalid option, but I don't know how
 to fix the second.  Does anyone know how to rewrite this command so it
 will work?


 I can't see how you can get those errors, unless you have a broken qlist
 that
 is outputing something dodgy from the qlist -ICv

 If it persists, copy-paste your input and the output from your terminal
 into a
 mail. Or run

 qlist -o $(qlist -ICv) | less

 and examine that closely for errors

 I was making a transcription error before, but after correcting it, it
 still doesn't work:

 # qlist -o $(qlist -ICv) | scanelf -Bs__guard -qf -  -F%F#s | xargs qfile
 Usage: qfile opts filename : list all pkgs owning files

 Options: -[ef:m:oRx:vqChV]
   -e, --exact  * Exact match
   -f, --from arg * Read arguments from file arg (- for stdin)
   -m, --max-args arg * Treat from file arguments by groups of arg
 (defaults to 5000)
   -o, --orphans* List orphan files
   -R, --root-prefix* Assume arguments are already prefixed by $ROOT
   -x, --exclude  arg * Don't look in package arg
   -v, --verbose* Make a lot of noise
   -q, --quiet  * Tighter output; suppress warnings
   -C, --nocolor* Don't output color
   -h, --help   * Print this help and exit
   -V, --version* Print version and exit

 Does anyone know what might be wrong?

Solar's one-liner is likely working perfectly here. The one-liner just
doesn't find any binaries with the ancient SSP symbol, and thus args
for qfile are empty -- leading into qfile printing its usage.

Everything seems to be just fine there, so we might need to back up to
the point where you decided that this bug was a match for your
problem. Did you get the same error? From which program exactly? Have
you installed binaries that are not in portage's installed files'
lists?

-- 
Arttu V.



[gentoo-user] What is this new python error? '--active' option cannot be used

2010-01-12 Thread Arttu V.
Hello,

Can anybody hint what on Earth this following message means, I've
never seen anything like it:

 * Messages for package dev-python/sip-4.9.3-r1:

 * ERROR: dev-python/sip-4.9.3-r1 failed:
 *   PYTHON(): '--active' option cannot be used in ebuilds of packages
supporting installation for multiple versions of Python
 *
 * Call stack:
 * ebuild.sh, line   48:  Called src_install
 *   environment, line 3362:  Called python_need_rebuild
 *   environment, line 3231:  Called PYTHON '-A' '--ABI'
 *   environment, line  205:  Called die
 * The specific snippet of code:
 *   die ${FUNCNAME}(): '--active' option cannot be
used in ebuilds of packages supporting installation for multiple
versions of Python;


I can see the most recent change in the eclass touching this part over
at s.g.o, as well as read the code, but it didn't make me any wiser so
far:

http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/python.eclass?rev=1.82view=log

But then again, it says it fixes something for the 2.1-series portage
users. Is this now broken for us overly brave portage 2.2_rc users?

-- 
Arttu V.



[gentoo-user] Re: What is this new python error? '--active' option cannot be used

2010-01-12 Thread Arttu V.

Arttu V. wrote:

Hello,

Can anybody hint what on Earth this following message means, I've
never seen anything like it:

  * Messages for package dev-python/sip-4.9.3-r1:

  * ERROR: dev-python/sip-4.9.3-r1 failed:
  *   PYTHON(): '--active' option cannot be used in ebuilds of packages
supporting installation for multiple versions of Python
  *
  * Call stack:
  * ebuild.sh, line   48:  Called src_install
  *   environment, line 3362:  Called python_need_rebuild
  *   environment, line 3231:  Called PYTHON '-A' '--ABI'
  *   environment, line  205:  Called die
  * The specific snippet of code:
  *   die ${FUNCNAME}(): '--active' option cannot be
used in ebuilds of packages supporting installation for multiple
versions of Python;


I can see the most recent change in the eclass touching this part over
at s.g.o, as well as read the code, but it didn't make me any wiser so
far:

http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/python.eclass?rev=1.82view=log

But then again, it says it fixes something for the 2.1-series portage
users. Is this now broken for us overly brave portage 2.2_rc users?


Sorry for the noise. A re-sync updated python.eclass, and (hopefully) 
ended up sorting this out. At least the eclass was changed, and now sip 
emerges without complaints.


--
Arttu V.



Re: [gentoo-user] coreutils compilation fail.

2010-01-10 Thread Arttu V.
On 1/10/10, Li fender0107...@gmail.com wrote:
 Hi all:

 I am trying emerge -e world, when the portage emerge coreutils, I got this
 massage:

 Failed to emerge sys-apps/coreutils-7.5-r1, Log file:

  '/var/tmp/portage/sys-apps/coreutils-7.5-r1/temp/build.log'

 * Messages for package sys-apps/coreutils-7.5-r1:

 * Failed Patch: 001_all_coreutils-gen-progress-bar.patch !
 *  (
 *
 /var/tmp/portage/sys-apps/coreutils-7.5-r1/work/patch/001_all_coreutils-gen-progress-bar.patch
 *  )
 *
 * Include in your bugreport the contents of:
 *
 *
 /var/tmp/portage/sys-apps/coreutils-7.5-r1/temp/001_all_coreutils-gen-progress-bar.patch.out
 *
 * ERROR: sys-apps/coreutils-7.5-r1 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_unpack
 * environment, line 2657:  Called epatch
 * environment, line 1248:  Called die
 * The specific snippet of code:
 *   die Failed Patch: ${patchname}!;
 *  The die message:
 *   Failed Patch:
 *   001_all_coreutils-gen-progress-bar.patch!
 *
 * If you need support, post the topmost build error,
 * and the call stack if relevant.
 * A complete build log is located at
 * '/var/tmp/portage/sys-apps/coreutils-7.5-r1/temp/build.log'.
 * The ebuild environment file is located at
 * '/var/tmp/portage/sys-apps/coreutils-7.5-r1/temp/environment'.

 system information:

 uname -a
 Linux PC-686 2.6.31-gentoo-r6 #16 SMP PREEMPT Wed Jan 6 23:55:37 CST
 2010 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ AuthenticAMD
 GNU/Linux

Re-sync portage tree and try again.

eutils.eclass (where epatch is defined) has been changed several times
in the last 24 hours. The last change seems to fix something which
might be the direct cause of your problem (an EPATCH_EXCLUDES handling
bugfix, as according to the ebuild that 001_all_* patch is supposed to
be excluded?).

-- 
Arttu V.



Re: [gentoo-user] skip some package in glsa-check

2009-12-17 Thread Arttu V.
On 12/17/09, Crístian Viana cristiandei...@gmail.com wrote:
 hi,

 I run glsa-check -f affected to update a Gentoo system, but there's one
 specific package I can't update, because it's a C library someone is using
 and the 'secure' version is causing segmentation fault on her program, so I
 added it to packages.mask. but as I run glsa-check in a cron job, if there's
 one package it can't emerge, it won't emerge the rest of them (if only I
 could add --keep-going).

 does anyone have a solution to this? I want to keep running glsa-check to
 update my system, but I don't want to update one specific package.

 thanks!

 --
 Crístian Deives dos Santos Viana [aka CD1]
 Sent from Campinas, SP, Brazil

I don't know this for sure, but I wonder if putting the package in
package.provided would result in what you are looking for? So, unless
someone gets a better idea, I'd try to emerge the properly functioning
version of the package, and then mark it provided:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3chap=5#doc_chap3

-- 
Arttu V.



Re: [gentoo-user] skip some package in glsa-check

2009-12-17 Thread Arttu V.
On 12/17/09, Crístian Viana cristiandei...@gmail.com wrote:
 it didn't work :( although I didn't know about the existence of that file!
 :)

Ouch, too bad. I realized the same as I was reading portage man page
about that file. It requires explicit versions for the provided
packages, and that makes my suggestion a non-working one.

But then I just noticed this in your first email:

 so I added it to packages.mask.

I assume that's just a typo in the email? That file has no s (plural)
before the dot, and if you create one with an s, I think it will just
be silently ignored.

-- 
Arttu V.



Re: [gentoo-user] OT: extract an image from a .doc file?

2009-12-14 Thread Arttu V.
On 12/14/09, Stroller strol...@stellar.eclipse.co.uk wrote:
 It is a 2meg file, but unfortunately, as Mick appears to have
 predicted, it is called simply Object 1 with no file extension.

 Running `file` on it shows it to be a Microsoft Office Document, but
 it's apparently not the kind you can open in Word.

 I suspect this is going to prove a dead loss. Thanks for your help,
 though.

Throwing a wild guess here. Could it be a MODI object?

http://en.wikipedia.org/wiki/MODI

Then you have entered captive markets, might be hard to do much
without software from MS.

-- 
Arttu V.



Re: [gentoo-user] libsamplerate fails to compile

2009-12-13 Thread Arttu V.
On 12/13/09, meino.cra...@gmx.de meino.cra...@gmx.de wrote:
  * Failed Running aclocal !
  *
  * Include in your bugreport the contents of:
  *
  *
 /home/mccramer/data/portagetmp/portage/media-libs/libsamplerate-0.1.4/temp/aclocal.out

What does that file contain?

-- 
Arttu V.



Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-08 Thread Arttu V.
On 12/8/09, Alan McKinnon alan.mckin...@gmail.com wrote:
 Let me emphasise yet again: the way I do things has been successful
 on  2  machines for more than  6  years; it's others who have problems
 doing it their way  regularly seek advice on this list as a result.

 Let me correct you there:

 The experienced old hands here almost uniformly do not have such problems.
 It's the n00bs who don't grok portage just yet, or don't know to look inside
 ebuilds when the ebuild goes wonky, who have such problems. The classic
 cause of problems is mixing stable and testing

I think Mr. Webb might be running his gentoo systems like they were
some Slackware boxes. I sure run mine like they were Windows/Red
Hat/Ubuntu mongrels. Praise the FSM and his noodly appendages for live
cds, for times when installs go bad! :)

Dependency management is left up to the sysadmin, and that's the way
we like it. [1]

[1] http://www.slackbook.org/html/package-management.html

Habits learned on other systems (Red Hat, Slackware, Ubuntu, OS X, MS
Windows etc) are hard to un-learn if they don't break anything in
your current system. You just keep on trucking like before.

-- 
Arttu V.



Re: [gentoo-user] How can I solve emerge @preserved-rebuild loop?

2009-12-08 Thread Arttu V.
On 12/8/09, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Tuesday 08 December 2009 14:08:47 Dale wrote:
 Is this the one where you need to fetch the files first, then un-emerge
 and emerge?  I recall one being that way but not sure if it is this one.

 No, that was a while ago. This is simply a conflict involving e2fsprogs-libs

 Doesn't remove wget

Well, I think Mr. Dalek is entirely correct, this is the same problem.
e2fsprogs-libs nowadays contains the com_err library, missing of which
was (IIRC) causing problems with, e.g., wget in the olden days.

Anyone know how the problem was actually fixed? Did they start linking
wget statically? Or are we relying on portage's new tricks, like
background downloading, which hides 99% of the problem under the rug,
as you will very likely have the sources already downloaded during
previous compiles?

-- 
Arttu V.



Re: [gentoo-user] Valve Steam on gentoo

2009-12-03 Thread Arttu V.
On 12/3/09, Kirill Lipatov kirilllipa...@gmail.com wrote:
 For some reason Steam fails to start any games on my gentoo box. I am using
 wine 1.1.32 with the engine itself and the games all downloaded to gentoo's
 partition (not the ntfs3g problem). Steam itself loads fine, but when I
 click launch the game nothing happens.

 This is very said because Steam is the only reason why I still have to deal
 with Windows :(

 Any ideas?

You have probably already seen this bug and checked if it matches your problem:

http://bugs.gentoo.org/230962

What a lucky discovery the last commenter made there.

-- 
Arttu V.



  1   2   3   >