Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[kde-testing] and [kde-crazy] KDE4 overlays thread (part 4)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 34, 35, 36, 37, 38  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Benni123
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2005
Posts: 110

PostPosted: Wed Sep 01, 2010 9:06 am    Post subject: Reply with quote

Seems that the overlay is down since yesterday...
I'm getting only this here:
Quote:
layman -a kde
* Running... # /usr/bin/git clone git://git.overlays.gentoo.org/proj/kde.git /usr/layman/layman/kde
Cloning into /usr/layman/layman/kde...
git.overlays.gentoo.org[0: 66.219.59.40]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
* Running... # /usr/bin/git clone http://git.overlays.gentoo.org/gitroot/proj/kde.git/ /usr/layman/layman/kde
Cloning into /usr/layman/layman/kde...
error: Failed connect to git.overlays.gentoo.org:80; Operation now in progress while accessing http://git.overlays.gentoo.org/gitroot/proj/kde.git/fo/refs

fatal: HTTP request failed
* Running... # /usr/bin/git clone git+ssh://git@git.overlays.gentoo.org/proj/kde.git /usr/layman/layman/kde
Cloning into /usr/layman/layman/kde...
ssh: connect to host git.overlays.gentoo.org port 22: Connection timed out
fatal: The remote end hung up unexpectedly
* Failed to add overlay "kde".
* Error was: Adding overlay "kde" failed!

what is going on here?
Back to top
View user's profile Send private message
rahulthewall
Veteran
Veteran


Joined: 01 Nov 2007
Posts: 1264
Location: Zürich

PostPosted: Wed Sep 01, 2010 10:55 am    Post subject: Reply with quote

Can we have ebuilds for koffice-2.2.2?
_________________
Who shall guard the guards?
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3231
Location: Gainesville, Florida

PostPosted: Wed Sep 01, 2010 11:35 am    Post subject: Reply with quote

Same here. Just tried to add overlay to another box- no luck. :(

On my other box, I'm still wondering if kdepimlibs is now slotted, why 4.4.5 and 4.5.1 can't be installed at the same time? Since kmail and libkdepim currently need to be 4.4.5, apparently that also requires kdepimlibs-4.4.5, which then always wants to uninstall kdepimlibs-4.5.1.

One would think kde-4.5.1 really needs kdepimlibs-4.5.1. Kde-4.5.1 "seems' to be working OK at the outset with the 4.4.5 versions of kdepimlibs, libkdepim, and kmail, but I keep expecting weird things to happen eventually. Hope my concerns are unfounded.

IMO the kde devs should make an all-out effort, basically devoting literally everyone to the task of getting a working kdepim and kmail-4.5.x shipped as-soon-as-possible. It's really odd and frustrating that a major linux desktop environment doesn't have a current mail client in sync with everything else in the environment for months and months.
Seems like this should be a huge, huge priority. Maybe it is, and it's just really really a tough problem, or qt related, or whatever, or I'm just expecting too much, too soon.

I've always used and liked Kmail for many years, but now I'm seriously considering trying to permanently move to a different email client on all my linux boxes, though I still consider kde my DE of choice.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 1700, 3.0GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.29-r2, gcc-9.1.0 kernel-5.0.14-gentoo USE=experimental
Back to top
View user's profile Send private message
Benni123
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2005
Posts: 110

PostPosted: Wed Sep 01, 2010 12:23 pm    Post subject: Reply with quote

Quote:

One would think kde-4.5.1 really needs kdepimlibs-4.5.1. Kde-4.5.1 "seems' to be working OK at the outset with the 4.4.5 versions of kdepimlibs, libkdepim, and kmail, but I keep expecting weird things to happen eventually. Hope my concerns are unfounded
Since I have kde-4.5.0 installed with kmail from 4.4, I can report that there are no weird things or problems. This kmail that is shipped with kde 4.5 compiles against the new kde and runs without problems.

However, I unfortunately have problems to sync the following overlays

* Failed to sync overlay "kde".
* Error was: Syncing overlay "kde" returned status 1!

* Failed to sync overlay "science".
* Error was: Syncing overlay "science" returned status 1!
*
* Failed to sync overlay "anarchy".
* Error was: Syncing overlay "anarchy" returned status 1!
*
* Failed to sync overlay "sunrise".
* Error was: Syncing overlay "sunrise" returned status 1!

my other overlays can get synced, or deleted and then added. As I want to install kde 4.5.1 now, I'm asking what is wrong with the kde overlay....
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Sep 01, 2010 12:24 pm    Post subject: Reply with quote

Benni123 wrote:
Quote:

One would think kde-4.5.1 really needs kdepimlibs-4.5.1. Kde-4.5.1 "seems' to be working OK at the outset with the 4.4.5 versions of kdepimlibs, libkdepim, and kmail, but I keep expecting weird things to happen eventually. Hope my concerns are unfounded
Since I have kde-4.5.0 installed with kmail from 4.4, I can report that there are no weird things or problems. This kmail that is shipped with kde 4.5 compiles against the new kde and runs without problems.

However, I unfortunately have problems to sync the following overlays

* Failed to sync overlay "kde".
* Error was: Syncing overlay "kde" returned status 1!

* Failed to sync overlay "science".
* Error was: Syncing overlay "science" returned status 1!
*
* Failed to sync overlay "anarchy".
* Error was: Syncing overlay "anarchy" returned status 1!
*
* Failed to sync overlay "sunrise".
* Error was: Syncing overlay "sunrise" returned status 1!

my other overlays can get synced, or deleted and then added. As I want to install kde 4.5.1 now, I'm asking what is wrong with the kde overlay....


it's not the kde-overlay - it seems to be the gentoo overlay-server :(

edit:

correct:
Quote:
It's down till about 2000UTC today,Reason seems to be a power failure in the facility.


so calm down, relax and get out into the sun :wink:
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Benni123
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2005
Posts: 110

PostPosted: Wed Sep 01, 2010 12:42 pm    Post subject: Reply with quote

Quote:
the gentoo overlay-serve
They do not have mirrors? Emerge has mirrors, I think.

Perhaps the overlays should also be mirrored somewhere....
Back to top
View user's profile Send private message
Benni123
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2005
Posts: 110

PostPosted: Wed Sep 01, 2010 12:50 pm    Post subject: Reply with quote

Quote:
Seems like this should be a huge, huge priority. Maybe it is, and it's just really really a tough problem, or qt related, or whatever, or I'm just expecting too much, too soon.

I've always used and liked Kmail for many years, but now I'm seriously considering trying to permanently move to a different email client on all my linux boxes, though I still consider kde my DE of choice.
You would not want that Kmail 4.5 whose release is postponed to 4.6. The new Kmail 4.5 eats emails.
The problem with this new kmail is, that they want to put all personalised settings (including email accounts) into akonadi. So they essentially try to remove the core function (managing email accounts) out of kmail and put it into another, but less developed and less mature, software component. Even if Akonadi seems now to be able to handle email accounts somewhat (with many bugs of course), the interplay between akonadi and the new kmail has even more problems and bugs.

All in all, that new kmail stuff is actually bound to eat emails from time to time, since this software has problems with all things related to mail accounts. It is wise to have that dangerous and undeveloped piece of software delayed a bit.
In fact, I do not even understand, why they want to remove account managing from kmail and put it into akonadi. The old version that is shipped with kde 4.5 works nice. There is no need for a change in mail account managing. I think it is better, to get mail accounts handled by the mail program. The reason is that mail accounts are security and privacy relevant things. Mail accounts are not the presonalised settings of a chat program like icq. Mail accounts can be used used in official conversations related to ones job.
I find it problematic that such a security relevant issue like mail account handling should be dealt with by two programs (akonadi +kmail) instead of one program (kmail) only.

Assume, a hacker would have installed some sniffer on your computer. Assume this would be a program which tries to log all communications between the future kmail and akonadi.
That planned approach of Akonadi handling email accounts just may open a load of security risks.

In the current Kmail beta, some of those risks can be seen. Since the interplay between akonadi and kmail does not work properly, kmail and akonadi will just eat emails sometimes...
Back to top
View user's profile Send private message
benneque
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2007
Posts: 134

PostPosted: Wed Sep 01, 2010 2:06 pm    Post subject: Reply with quote

can someone tell me what problem cantor has?
i had the problem now at least in 10 kde4 beta versions and now it appeared again in 4.5.1

it's the following:
cantor compiles until cmake is about at 99% (or 98% or something). From there on it does nothing. It stays there forever (left it like this for about 3 hours)... I personally don't need cantor, but it's ugly if i can't type "emerge -vuDN world" and go away.

Maybe my agressive setup is the reason for this ?!
gcc 4.5.1
CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -fno-ident -ftree-loop-distribution -floop-block -floop-interchange -floop-strip-mine"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1 -Bdirect -Wl,--as-needed"
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3231
Location: Gainesville, Florida

PostPosted: Wed Sep 01, 2010 2:20 pm    Post subject: Reply with quote

Benni123 wrote:
Quote:
In fact, I do not even understand, why they want to remove account managing from Kmail and put it into Akonadi. The old version that is shipped with kde 4.5 works nice. There is no need for a change in mail account managing. I think it is better, to get mail accounts handled by the mail program.
Me neither. It's worked fine for years, so the only reason to change something is to make it better, and in the process have some significant advantage. IMO this is where the "if it ain't broke, don't fix it" philosophy should take precedence. Unless a good reason for placing Kmail personalised settings into Akonadi can be explained, I'll remain unconvinced this is making much sense, considering the delays and problems being experienced.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 1700, 3.0GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.29-r2, gcc-9.1.0 kernel-5.0.14-gentoo USE=experimental
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2860
Location: Bay Area, CA

PostPosted: Wed Sep 01, 2010 3:49 pm    Post subject: Reply with quote

wrc1944 wrote:
Well- Just rebooted back to Gentoo and am now posting from konqueror. I did nothing- just rebooted to Gentoo. It's a mystery to me. It's not just the cold reboot of the box- I did that before to clear all the ram (not just a log out/in) and still had the konqueror problem, but now I don't. Rekonq opened the forum reply box fine.
This reply is from konqueror. Seems to have made it or at least hoping to...;-)
Back to top
View user's profile Send private message
Matteo Azzali
Retired Dev
Retired Dev


Joined: 23 Sep 2004
Posts: 1133

PostPosted: Wed Sep 01, 2010 7:44 pm    Post subject: Reply with quote

Hum, I still don't understand... Everybody says that kdepim-4.4.5 do compile fine with kde-4.5 ....
So why in kde4-meta.eclass we don't change the
"tarball="${KMNAME}-${PV}.tar.${postfix}"
to become "tarball="${KMNAME}-4.4.5.tar.${postfix}" for the missing ones? Is already so in the overlay?
_________________
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Back to top
View user's profile Send private message
dolphinaura
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2010
Posts: 145

PostPosted: Wed Sep 01, 2010 9:01 pm    Post subject: Reply with quote

overlays back up (pingable)
_________________
------------------------
Dolphinaura
http://twitter.com/dolphinaura
http://dolphinaura.com
Back to top
View user's profile Send private message
Kingoftherings
Guru
Guru


Joined: 04 May 2008
Posts: 328

PostPosted: Thu Sep 02, 2010 3:11 am    Post subject: Reply with quote

Surprise suprise, pykde4-4.5.1 won't build.

Code:


[  3%] Built target compile_python_files
[  4%] Generating sip/khtml/sipkhtmlpart0.cpp, sip/khtml/sipkhtmlpart1.cpp, sip/khtml/sipkhtmlpart2.cpp, sip/khtml/sipkhtmlpart3.cpp, sip/khtml/sipkhtmlpart4.cpp, sip/khtml/sipkhtmlpart5.cpp, sip/khtml/sipkhtmlpart6.cpp, sip/khtml/sipkhtmlpart7.cpp                     
                                                                                         
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/dnssd/sipdnssdpart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_dnssd.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/akonadi/sipakonadipart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/all] Error 2
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/kdecore/sipkdecorepart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdecore.dir/all] Error 2
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/khtml/sipkhtmlpart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_khtml.dir/all] Error 2
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/kdeui/sipkdeuipart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdeui.dir/all] Error 2
make: *** [all] Error 2
emake failed
 * ERROR: kde-base/pykde4-4.5.1 failed:
 *   Make failed!
 *
 * Call stack:
 *     ebuild.sh, line   53:  Called src_compile
 *   environment, line 6388:  Called kde4-meta_src_compile
 *   environment, line 3920:  Called kde4-base_src_compile
 *   environment, line 3576:  Called cmake-utils_src_compile
 *   environment, line 1755:  Called _execute_optionaly 'src_compile'
 *   environment, line  662:  Called enable_cmake-utils_src_compile
 *   environment, line 2124:  Called cmake-utils_src_make
 *   environment, line 1774:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *
 * If you need support, post the output of 'emerge --info =kde-base/pykde4-4.5.1',
 * the complete build log and the output of 'emerge -pqv =kde-base/pykde4-4.5.1'.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/kde/eclass/kde4-meta.eclass
 *   /var/lib/layman/kde/eclass/kde4-base.eclass
 *   /var/lib/layman/kde/eclass/kde4-functions.eclass
 *   /var/lib/layman/kde/eclass/cmake-utils.eclass
 * This ebuild is from an overlay named 'kde': '/var/lib/layman/kde/'
 * The complete build log is located at '/var/tmp/portage/kde-base/pykde4-4.5.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/pykde4-4.5.1/temp/environment'.
 * S: '/var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1'
Back to top
View user's profile Send private message
bers
n00b
n00b


Joined: 28 Nov 2008
Posts: 49

PostPosted: Thu Sep 02, 2010 6:43 am    Post subject: kde-l10n-ru Reply with quote

('Filesize does not match recorded size', 3983458, 3986937)
!!! Fetched file: kde-l10n-ru-4.5.1.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 3983458
!!! Expected: 3986937
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Sep 02, 2010 11:05 am    Post subject: Reply with quote

Kingoftherings wrote:
Surprise suprise, pykde4-4.5.1 won't build.

Code:


[  3%] Built target compile_python_files
[  4%] Generating sip/khtml/sipkhtmlpart0.cpp, sip/khtml/sipkhtmlpart1.cpp, sip/khtml/sipkhtmlpart2.cpp, sip/khtml/sipkhtmlpart3.cpp, sip/khtml/sipkhtmlpart4.cpp, sip/khtml/sipkhtmlpart5.cpp, sip/khtml/sipkhtmlpart6.cpp, sip/khtml/sipkhtmlpart7.cpp                     
                                                                                         
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/dnssd/sipdnssdpart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_dnssd.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/akonadi/sipakonadipart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/all] Error 2
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/kdecore/sipkdecorepart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdecore.dir/all] Error 2
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/khtml/sipkhtmlpart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_khtml.dir/all] Error 2
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/kdeui/sipkdeuipart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdeui.dir/all] Error 2
make: *** [all] Error 2
emake failed
 * ERROR: kde-base/pykde4-4.5.1 failed:
 *   Make failed!
 *
 * Call stack:
 *     ebuild.sh, line   53:  Called src_compile
 *   environment, line 6388:  Called kde4-meta_src_compile
 *   environment, line 3920:  Called kde4-base_src_compile
 *   environment, line 3576:  Called cmake-utils_src_compile
 *   environment, line 1755:  Called _execute_optionaly 'src_compile'
 *   environment, line  662:  Called enable_cmake-utils_src_compile
 *   environment, line 2124:  Called cmake-utils_src_make
 *   environment, line 1774:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *
 * If you need support, post the output of 'emerge --info =kde-base/pykde4-4.5.1',
 * the complete build log and the output of 'emerge -pqv =kde-base/pykde4-4.5.1'.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/kde/eclass/kde4-meta.eclass
 *   /var/lib/layman/kde/eclass/kde4-base.eclass
 *   /var/lib/layman/kde/eclass/kde4-functions.eclass
 *   /var/lib/layman/kde/eclass/cmake-utils.eclass
 * This ebuild is from an overlay named 'kde': '/var/lib/layman/kde/'
 * The complete build log is located at '/var/tmp/portage/kde-base/pykde4-4.5.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/pykde4-4.5.1/temp/environment'.
 * S: '/var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1'


yes it does - at least for me ;)

check:
- your C(XX)FLAGS
- dev-python/sip (& stuff)
- akonadi (or akonadi-server)
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
xpace
n00b
n00b


Joined: 20 Feb 2010
Posts: 5

PostPosted: Thu Sep 02, 2010 12:07 pm    Post subject: Reply with quote

Kingoftherings wrote:
Surprise suprise, pykde4-4.5.1 won't build.

Code:


[  3%] Built target compile_python_files
[  4%] Generating sip/khtml/sipkhtmlpart0.cpp, sip/khtml/sipkhtmlpart1.cpp, sip/khtml/sipkhtmlpart2.cpp, sip/khtml/sipkhtmlpart3.cpp, sip/khtml/sipkhtmlpart4.cpp, sip/khtml/sipkhtmlpart5.cpp, sip/khtml/sipkhtmlpart6.cpp, sip/khtml/sipkhtmlpart7.cpp                     
                                                                                         
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/dnssd/sipdnssdpart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_dnssd.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/akonadi/sipakonadipart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/all] Error 2
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/kdecore/sipkdecorepart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdecore.dir/all] Error 2
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/khtml/sipkhtmlpart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_khtml.dir/all] Error 2
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/kdeui/sipkdeuipart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdeui.dir/all] Error 2
make: *** [all] Error 2
emake failed
 * ERROR: kde-base/pykde4-4.5.1 failed:
 *   Make failed!
 *
 * Call stack:
 *     ebuild.sh, line   53:  Called src_compile
 *   environment, line 6388:  Called kde4-meta_src_compile
 *   environment, line 3920:  Called kde4-base_src_compile
 *   environment, line 3576:  Called cmake-utils_src_compile
 *   environment, line 1755:  Called _execute_optionaly 'src_compile'
 *   environment, line  662:  Called enable_cmake-utils_src_compile
 *   environment, line 2124:  Called cmake-utils_src_make
 *   environment, line 1774:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *
 * If you need support, post the output of 'emerge --info =kde-base/pykde4-4.5.1',
 * the complete build log and the output of 'emerge -pqv =kde-base/pykde4-4.5.1'.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/kde/eclass/kde4-meta.eclass
 *   /var/lib/layman/kde/eclass/kde4-base.eclass
 *   /var/lib/layman/kde/eclass/kde4-functions.eclass
 *   /var/lib/layman/kde/eclass/cmake-utils.eclass
 * This ebuild is from an overlay named 'kde': '/var/lib/layman/kde/'
 * The complete build log is located at '/var/tmp/portage/kde-base/pykde4-4.5.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/pykde4-4.5.1/temp/environment'.
 * S: '/var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1'


I had the same problem and find a patch in the gentoo's bugzilla that fix it:
https://bugs.gentoo.org/show_bug.cgi?id=332503
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3231
Location: Gainesville, Florida

PostPosted: Thu Sep 02, 2010 1:36 pm    Post subject: Reply with quote

Stared my big kde-4.5.1 update on my backup ~x86 box and it was looking good, so I went to bed and got up this morning expecting it done, with maybe 1 or 2 little problems. However, looks like I'll be sorting all this out. Curious, as the 4.4.5 to 4.5.0 update went flawlessly on this box a few weeks ago, and I had just updated world with no problems 2days ago.
Code:
* The following 15 packages have failed to build or install:
 *
 *  (kde-base/pykde4-4.5.1, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/kde-base:pykde4-4.5.1:20100902-060418.log'
 *  (kde-base/kdeutils-meta-4.5.1, ebuild scheduled for merge)
 *  (kde-base/kde-meta-4.5.1, ebuild scheduled for merge)
 *  (kde-base/kdeadmin-meta-4.5.1, ebuild scheduled for merge)
 *  (kde-base/kajongg-4.5.1, ebuild scheduled for merge)
 *  (kde-base/superkaramba-4.5.1, ebuild scheduled for merge)
 *  (kde-base/marble-4.5.1, ebuild scheduled for merge)
 *  (kde-base/kdegames-meta-4.5.1, ebuild scheduled for merge)
 *  (kde-base/system-config-printer-kde-4.5.1, ebuild scheduled for merge)
 *  (kde-base/plasma-workspace-4.5.1, ebuild scheduled for merge)
 *  (kde-base/kdeedu-meta-4.5.1, ebuild scheduled for merge)
 *  (kde-base/kdebase-startkde-4.5.1, ebuild scheduled for merge)
 *  (kde-base/printer-applet-4.5.1, ebuild scheduled for merge)
 *  (kde-base/kdebase-meta-4.5.1, ebuild scheduled for merge)
 *  (kde-base/kdeplasma-addons-4.5.1, ebuild scheduled for merge)


EDIT: I'm getting this sip problem with pykde4:
Code:
[  1%] Scanning dependencies of target compile_python_files
Generating sip/dnssd/sipdnssdpart0.cpp, sip/dnssd/sipdnssdpart1.cpp, sip/dnssd/sipdnssdpart2.cpp, sip/dnssd/sipdnssdpart3.cpp, sip/dnssd/sipdnssdpart4.cpp, sip/dnssd/sipdnssdpart5.cpp, sip/dnssd/sipdnssdpart6.cpp, sip/dnssd/sipdnssdpart7.cpp



[  1%] Built target compile_python_files
[  2%] Generating sip/kdecore/sipkdecorepart0.cpp, sip/kdecore/sipkdecorepart1.cpp, sip/kdecore/sipkdecorepart2.cpp, sip/kdecore/sipkdecorepart3.cpp, sip/kdecore/sipkdecorepart4.cpp, sip/kdecore/sipkdecorepart5.cpp, sip/kdecore/sipkdecorepart6.cpp, sip/kdecore/sipkdecorepart7.cpp

sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
make[2]: *** [python/pykde4/sip/dnssd/sipdnssdpart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_dnssd.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [python/pykde4/sip/kdecore/sipkdecorepart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdecore.dir/all] Error 2
make: *** [all] Error 2
emake failed
 * ERROR: kde-base/pykde4-4.5.1 failed:
 *   Make failed!
 *
 * Call stack:
 *     ebuild.sh, line   47:  Called src_compile
 *   environment, line 6356:  Called kde4-meta_src_compile
 *   environment, line 3888:  Called kde4-base_src_compile
 *   environment, line 3544:  Called cmake-utils_src_compile
 *   environment, line 1723:  Called _execute_optionaly 'src_compile'
 *   environment, line  630:  Called enable_cmake-utils_src_compile
 *   environment, line 2092:  Called cmake-utils_src_make
 *   environment, line 1742:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
checking first with revdep-rebuild and maybe a sip rebuild?

EDIT2: Hmm. all revdep-rebuild turned up was xfce-base stuff:
Code:
Calculating dependencies... done!
[ebuild   R   ] xfce-base/libxfcegui4-4.6.4  USE="startup-notification -debug -glade" 0 kB
[ebuild   R   ] xfce-base/exo-0.3.107  USE="hal libnotify python -debug" 0 kB
[ebuild   R   ] xfce-base/libxfce4menu-4.6.2  USE="-debug" 0 kB
[ebuild   R   ] xfce-base/xfce4-panel-4.6.4  USE="startup-notification -debug" 0 kB
[ebuild   R   ] net-print/xfprint-4.6.1-r1  USE="cups -debug" 0 kB
[ebuild   R   ] xfce-base/xfce4-session-4.6.2  USE="-debug -fortune -gnome -gnome-keyring -profile" 0 kB
[ebuild   R   ] xfce-base/thunar-1.0.2  USE="dbus exif hal pcre startup-notification -debug -doc -gnome -test (-trash-plugin%*)" XFCE_PLUGINS="trash%*" 0 kB
[ebuild   R   ] xfce-base/xfdesktop-4.6.2  USE="branding thunar -debug (-doc%) (-menu-plugin%*)" LINGUAS="-be -ca -cs -da -de -el -es -et -eu -fi -fr -he -hu -it -ja -ko -nb_NO -nl -pa -pl -pt_BR -ro -ru -sk -sv -tr -uk -vi -zh_CN -zh_TW" XFCE_PLUGINS="menu%*" 0 kB

Total: 8 packages (8 reinstalls), Size of downloads: 0 kB

_________________
Main box- AsRock x370 Gaming K4
Ryzen 1700, 3.0GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.29-r2, gcc-9.1.0 kernel-5.0.14-gentoo USE=experimental
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3231
Location: Gainesville, Florida

PostPosted: Thu Sep 02, 2010 3:03 pm    Post subject: Reply with quote

:roll: Just realized the other post was also a sip error. :oops:
I looked at the patch posted above, but it doesn't refer to 4.5.1, and involves kdebindings, which I don't have (and apparently never did) installed on this system, and emerge kdebindings returns "no ebuilds."
The patch refers to: trunk/KDE/kdebindings/python/pykde4/sip/kdecore/typedefs.sip (-55 lines)

My error read:
Code:
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module
, so after rebuilding sip I manually removed the exact 55 lines that the patch does (which the exact same lines were where my emerge error refers to (typedefs.sip), and tried FEATURES="keepwork" emerge pykde4, and it still failed.

I thought this should have worked- what am I missing? To actually apply the patch, do we need to actually untar the source file, patch, and re-tar? And, which source file? I currently have no kdebindings.

EDIT: OK- found kdebindings-meta in the keywords list, and am doing this:
Code:
gentoo wrc # emerge -pv kdebindings-meta

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

Calculating dependencies... done!
[ebuild  N    ] kde-base/smoke-4.5.1  USE="phonon -akonadi (-aqua) -attica -debug (-kdeenablefinal) (-kdeprefix) -multimedia -okular -qimageblitz -qscintilla -qwt -semantic-desktop -webkit" 0 kB [1]
[ebuild  N    ] kde-base/krossjava-4.5.1  USE="(-aqua) -debug (-kdeenablefinal) (-kdeprefix)" 0 kB [1]
[ebuild  N    ] kde-base/kdebindings-perl-4.5.1  USE="(-aqua) -debug (-kdeenablefinal) (-kdeprefix) -plasma" 0 kB [1]
[ebuild  NS   ] kde-base/pykde4-4.5.1 [4.4.5] USE="(-aqua) -debug -doc -examples (-kdeenablefinal) (-kdeprefix) -semantic-desktop" 0 kB [1]
[uninstall    ] kde-base/pykde4-4.4.5  USE="(-aqua) -debug -doc -examples (-kdeenablefinal) (-kdeprefix) -semantic-desktop"  [0]
[blocks b     ] kde-base/pykde4:4.5[-kdeprefix] ("kde-base/pykde4:4.5[-kdeprefix]" is blocking kde-base/pykde4-4.4.5)
[blocks b     ] kde-base/pykde4:4.4[-kdeprefix] ("kde-base/pykde4:4.4[-kdeprefix]" is blocking kde-base/pykde4-4.5.1)
[ebuild  N    ] kde-base/kdebindings-meta-4.5.1  USE="java perl python (-aqua) -csharp (-kdeprefix) -ruby" 0 kB [1]

Total: 5 packages (4 new, 1 in new slot, 1 uninstall), Size of downloads: 0 kB
Conflict: 2 blocks
Portage tree and overlays:
 [0] /usr/portage
 [1] /var/lib/layman/kde

Now, pykde4 is in this list, so maybe I'll make some progress here. Any advice is welcome. :)

EDIT2: Nope. :( smoke, kross-java, and kdebindings-perl compiled fine, but pykde4 fails- same error.
Guess I need that patch somewhere, but not yet sure how to proceed. :roll: All help welcome. Didn't run into this on my ~and64 box.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 1700, 3.0GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.29-r2, gcc-9.1.0 kernel-5.0.14-gentoo USE=experimental
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3231
Location: Gainesville, Florida

PostPosted: Thu Sep 02, 2010 5:31 pm    Post subject: Reply with quote

OK- patched kdebindings-4.5.1.tar.bz2 manually by untarring-removing the patch's 55 lines-retarring. Then tried emerge pykde4 and it wouldn't accept my patched version tar.bz2 version, and redownloaded from ftp.kde.org.

Same error occurs. Again, tried the FEATURES="keepwork" emerge pykde4 after removing the 55 lines in /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip.

Now I get:
Code:
>>> Emerging (1 of 1) kde-base/pykde4-4.5.1 from kde
 * kdebindings-4.5.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                               [ ok ]
 * checking auxfile checksums ;-) ...                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                                             [ ok ]
 * CPV:  kde-base/pykde4-4.5.1
 * REPO: kde
 * USE:  elibc_glibc kernel_linux userland_GNU x86
>>> Checking kdebindings-4.5.1.tar.bz2's mtime...
>>> WORKDIR is up-to-date, keeping...
>>> It appears that 'pykde4-4.5.1' is already prepared; skipping.
>>> Remove '/var/tmp/portage/kde-base/pykde4-4.5.1/.prepared' to force prepare.
>>> It appears that 'pykde4-4.5.1' is already configured; skipping.
>>> Remove '/var/tmp/portage/kde-base/pykde4-4.5.1/.configured' to force configuration.
>>> Compiling source in /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1_build"
make -j2
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:77 (INCLUDE):
  include could not find load file:

    /var/tmp/portage/kde-base/pykde4-4.5.1/temp/gentoo_rules.cmake
Call Stack (most recent call first):
  CMakeLists.txt:1 (project)


CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:76 (INCLUDE):
  include could not find load file:

    /var/tmp/portage/kde-base/pykde4-4.5.1/temp/gentoo_rules.cmake
Call Stack (most recent call first):
  CMakeLists.txt:1 (project)


-- Found Qt-Version 4.6.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Found KDE 4.5 include dir: /usr/include
-- Found KDE 4.5 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found Python executable: /usr/bin/python
-- Found Python version: 2.6.5
-- Found Python library: /usr/lib/libpython2.6.so
-- Python Libraries: /usr/lib/libpython2.6.so
-- Python Include Path: /usr/include/python2.6
-- Build Kross Python... yes
-- Found SIP version: 4.11
-- Found PyQt4 version: 4.7.5
-- Found Python executable: /usr/bin/python
-- Found Python version: 2.6.5
-- Found Python library: /usr/lib/libpython2.6.so
-- Found PyQt4 version: 4.7.5
-- KDE_VERSION: 4.5.1
-- KDE4_INCLUDE_DIR: /usr/include
-- KDE4_LIB_DIR: /usr/lib
-- PYTHON_SITE_PACKAGES_DIR: /usr/lib/python2.6/site-packages
-- Build PyKDE4... yes

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * libattica - LibAttica
   * QImageBlitz - QImageBlitz library
   * Phonon - Phonon multimedia framework
   * Akonadi - Akonadi libraries
   * Okular - Okular libraries

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * Qwt5 for Qt4  <http://qwt.sourceforge.net>
     Qwt5 libraries for Qt4
     Needed to compile Qwt5 bindings
   * Soprano  <http://soprano.sourceforge.net>
     Soprano libraries
     Needed to compile Soprano bindings
   * Nepomuk  <http://www.kde.org>
     Nepomuk libraries
     Needed to compile Nepomuk bindings
   * kdepimlibs  <http://www.kde.org>
     KDE PIM libraries
     Needed to compile Akonadi bindings
   * QScintilla2  <http://www.riverbankcomputing.co.uk/software/qscintilla/intro>
     QScintilla2 libraries
     Needed to compile QScintilla2 bindings
   * Soprano  <kdesupport>
     Soprano Libraries
     Required for Soprano Python bindings.
   * Nepomuk  <kdesupport>
     Nepomuk Libraries
     Required for Nepomuk Python bindings.
   * Kdepimlibs  <kdepimlibs>
     KDE pim Libraries
     Required for Akonadi Python bindings.
   * Polkit-Qt  <kdesupport>
     Qt Wrapper around PolicyKit
     Required to build PolicyKit-Qt support

-----------------------------------------------------------------------------

-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -O2 -march=athlon-xp -frename-registers -fweb -pipe -fomit-frame-pointer -fno-ident -ftree-vectorize  -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common
C++             -O2 -march=athlon-xp -frename-registers -fweb -pipe -fomit-frame-pointer -fno-ident -ftree-vectorize -fvisibility-inlines-hidden -fno-enforce-eh-specs  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden
Linker flags:
Executable      -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu
Module          -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu
Shared          -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu

-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Error 1
emake failed
 * ERROR: kde-base/pykde4-4.5.1 failed:
 *   Make failed!
 *
 * Call stack:
 *     ebuild.sh, line   47:  Called src_compile
 *   environment, line 6364:  Called kde4-meta_src_compile
 *   environment, line 3896:  Called kde4-base_src_compile
 *   environment, line 3552:  Called cmake-utils_src_compile
 *   environment, line 1731:  Called _execute_optionaly 'src_compile'
 *   environment, line  638:  Called enable_cmake-utils_src_compile
 *   environment, line 2100:  Called cmake-utils_src_make
 *   environment, line 1750:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *
 * If you need support, post the output of 'emerge --info =kde-base/pykde4-4.5.1',
 * the complete build log and the output of 'emerge -pqv =kde-base/pykde4-4.5.1'.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/kde/eclass/kde4-meta.eclass
 *   /var/lib/layman/kde/eclass/kde4-base.eclass
 *   /var/lib/layman/kde/eclass/kde4-functions.eclass
 *   /var/lib/layman/kde/eclass/cmake-utils.eclass
 * This ebuild is from an overlay named 'kde': '/var/lib/layman/kde/'
 * The complete build log is located at '/var/log/portage/kde-base:pykde4-4.5.1:20100902-170818.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/pykde4-4.5.1/temp/environment'.
 * S: '/var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1'

>>> Failed to emerge kde-base/pykde4-4.5.1, Log file:

>>>  '/var/log/portage/kde-base:pykde4-4.5.1:20100902-170818.log'

Stuff like this has worked for me before, but obviously I'm doing something wrong (highly likely), or (far less likely) the patch isn't working as advertised. :? :roll:

EDIT: OK- tried this solution with downgrading sip, and got same error, so I went back to 4.11. https://forums.gentoo.org/viewtopic-p-6410518.html#6410518

However, I noticed that sip message said I should rebuild PyQt4 and qscintilla-python after updating sip, so I did.

Then pykde4 still fails with same problem. This is going nowhere fast. :evil:

Can't really get a usable kde-4.5.1 without pykde4 which is required by plasma-workspace and startkde, so I'm apparently stuck at this point without more insight into the problem. Must be something on this system I'm not seeing. Almost ready to give up on 4.5.1 and give pure qt and kde live a try. Pretty disappointing so far on ~x86.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 1700, 3.0GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.29-r2, gcc-9.1.0 kernel-5.0.14-gentoo USE=experimental
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Thu Sep 02, 2010 9:38 pm    Post subject: Reply with quote

Hi,

here is what I did to make it work:

1) download the patch, put it to /var/lib/layman/kde/kde-base/pykde4/files
2) edit the ebuild, append a line
Code:
epatch "${FILESDIR}"/pykde4.patch

in the src_prepare() section.
3) prepare the ebuild:
Code:
cd var/lib/layman/kde/kde-base/pykde4/
ebuild pykde4-4.5.1.ebuild manifest

4) emerge pykde4

here is the complete ebuild

Code:

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

EAPI="3"

KMNAME="kdebindings"
KMMODULE="python/pykde4"
OPENGL_REQUIRED="always"
PYTHON_USE_WITH="threads"
RESTRICT_PYTHON_ABIS="2.4"
inherit python kde4-meta

DESCRIPTION="Python bindings for KDE4"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="debug doc examples semantic-desktop"

# blocker added due to compatibility issues and error during compile time
DEPEND="
        !dev-python/pykde
        $(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
        semantic-desktop? ( $(add_kdebase_dep kdepimlibs 'semantic-desktop') )
        aqua? ( >=dev-python/PyQt4-4.7[dbus,sql,svg,webkit,aqua] )
        !aqua? ( >=dev-python/PyQt4-4.7[dbus,sql,svg,webkit,X] )
"
RDEPEND="${DEPEND}"

pkg_setup() {
        python_pkg_setup
        kde4-meta_pkg_setup
}

src_prepare() {
        epatch "${FILESDIR}"/pykde4.patch
        kde4-meta_src_prepare

        if ! use examples; then
                sed -e '/^ADD_SUBDIRECTORY(examples)/s/^/# DISABLED /' -i python/${PN}/CMakeLists.txt \
                        || die "Failed to disable examples"
        fi

        # See bug 322351
        use arm && epatch "${FILESDIR}/${PN}-4.4.4-arm-sip.patch"
}

src_configure() {
        mycmakeargs=(
                -DWITH_QScintilla=OFF
                -DWITH_PolkitQt=OFF
                $(cmake-utils_use_with semantic-desktop Soprano)
                $(cmake-utils_use_with semantic-desktop Nepomuk)
                $(cmake-utils_use_with semantic-desktop KdepimLibs)
        )

        kde4-meta_src_configure
}

src_install() {
        use doc && HTML_DOCS=("${S}/python/pykde4/docs/html/")

        kde4-meta_src_install

        python_convert_shebangs -q -r $(python_get_version) "${ED}"
        python_clean_installation_image -q
}

pkg_postinst() {
        kde4-meta_pkg_postinst

        python_mod_optimize PyKDE4 PyQt4

        if use examples; then
                echo
                elog "PyKDE4 examples have been installed to"
                elog "${EKDEDIR}/share/apps/${PN}/examples"
                echo
        fi
}

pkg_postrm() {
        kde4-meta_pkg_postrm

        python_mod_cleanup PyKDE4 PyQt4
}


Most likely, this way is not in accordance to some policies about writing / changing ebuilds, and most likely the ebuild will be removed in the next sync, but at least for me it works.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3231
Location: Gainesville, Florida

PostPosted: Thu Sep 02, 2010 10:25 pm    Post subject: Reply with quote

Gh0str1d3r,
Can't thank you enough! :D
Created the pykde4.patch file, and followed your directions. I had done similar things with ebuild digest items many times, but never knew it also worked with manifest, or that was the correct procedure this time. Am now emerging pykd4-4.5.1 (at 39%). Looks good so far. It paused about 60 seconds at 2% like before on the failures, and I thought it wasn't going to work, but then it resumed normally.

Again, can't thank you enough. 8)
Let's inform those on the other thread about this problem how to fix this. (I'm assuming it will continue on and install OK)

AH! I see it's already done- great. :D
_________________
Main box- AsRock x370 Gaming K4
Ryzen 1700, 3.0GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.29-r2, gcc-9.1.0 kernel-5.0.14-gentoo USE=experimental
Back to top
View user's profile Send private message
Kingoftherings
Guru
Guru


Joined: 04 May 2008
Posts: 328

PostPosted: Fri Sep 03, 2010 2:44 am    Post subject: Reply with quote

The patch from bugzilla worked for me too.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2860
Location: Bay Area, CA

PostPosted: Fri Sep 03, 2010 2:53 am    Post subject: Reply with quote

Surprisingly, I did not run into issues compiling pykde4-4.5.1. I have no idea why. I never applied any patches. Upgraded kde 4.5.1 in one shot straight.
Back to top
View user's profile Send private message
OPelerin
Guru
Guru


Joined: 17 Jul 2004
Posts: 354
Location: Belgium

PostPosted: Fri Sep 03, 2010 5:21 am    Post subject: Reply with quote

Thanks for the tip. Now it compile without problems
_________________
Olivier PELERIN
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3231
Location: Gainesville, Florida

PostPosted: Fri Sep 03, 2010 12:49 pm    Post subject: Reply with quote

devsk wrote:
Quote:
Surprisingly, I did not run into issues compiling pykde4-4.5.1. I have no idea why. I never applied any patches. Upgraded kde 4.5.1 in one shot straight.
That's very surprising, but a nice event. Even more surprising is that it seems to only be happening on a few systems, apparently only Gentoo AFAIK.

I'm wondering what those systems that have this pykde4 problem have in common that the others don't. Since it doesn't seem to be being addressed in the ebuild yet (the patch involved), it would seem the maintainer isn't aware of it, or knows it's a local machine problem not requiring the patch workaround for anyone else.

I'm really pleased to found out about the patch, but since others don't need it I'm still convinced my system is somehow misconfigured. :? Wish I had the answer. Just rebooted to kde-4.5.1 on this ~x86 box, and things are going great so far. :)

EDIT: Kingoftherings, the bugzilla patch (apparently from what the bugzilla page said, kdebindings) was what I used too. I copy/pasted it from the website into a blank text file, and named it pykde4.patch, and put it in the ptkde4-4.5.1 ebuild, as instucted. Previously, I had been manually editing the kdebindings-4.5.1 source file, or editing the portage work file (sipdefs) by removing the exact same 55 lines showed by the patch, and using FEATURES="keepwork" emerge pykde-4.5.1. Seemed logical, but it didn't work, whereas the pykde4 ebuild method does. Still unclear as to why my original procedure was wrong. :roll:
_________________
Main box- AsRock x370 Gaming K4
Ryzen 1700, 3.0GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.29-r2, gcc-9.1.0 kernel-5.0.14-gentoo USE=experimental
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 34, 35, 36, 37, 38  Next
Page 35 of 38

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum