Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE CVS/Subversion Split Ebuilds (Replies Part 1)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 24, 25, 26 ... 38, 39, 40  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
superstoned
Guru
Guru


Joined: 17 Dec 2004
Posts: 432

PostPosted: Sun Jul 31, 2005 4:40 pm    Post subject: Reply with quote

mario wrote:
superstoned wrote:
great work guys! of course i'm on the playground :D

and i found eclass-helper-svn borks here...

Code:
emerge unsermake
Calculating dependencies ...done!
>>> emerge (1 of 1) kde-base/unsermake-7-r1 to /
>>> md5 files   ;-) unsermake-7-r1.ebuild
>>> md5 files   ;-) files/digest-unsermake-7-r1
>>> Unpacking source...
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 5, in ?
    import svn
ImportError: No module named svn

!!! ERROR: kde-base/unsermake-7-r1 failed.
!!! Function subversion_src_fetch, Line 110, Exitcode 1
!!! python /usr/lib64/python2.4/site-packages/eclass-helper-svn.py  --repository=svn://anonsvn.kde.org/home/kde --work-base=/usr/portage/distfiles/svn-src/ --revdb-out=/var/tmp//portage/unsermake-7-r1/temp/SVNREVS --deep=trunk/kdenonbeta/unsermake has failed with exit code 1
!!! If you need support, post the topmost build error, NOT this status message.


I created a new release, but keep in mind, that in the future I may need to import svn when they fix their bindings. So at some point, subversion.eclass may enforce subversion to be installed +python.
well, i DO have python in my useflags, and subversion is installed with python. so, what's wrong? and it still doesn't work...
Code:
wietbak superstoned # emerge kdelibs certmanager kmail
Calculating dependencies ...done!
>>> emerge (1 of 3) kde-base/kdelibs-7-r1 to /
>>> md5 files   ;-) kdelibs-7-r1.ebuild
>>> md5 files   ;-) kdelibs-7.ebuild
>>> md5 files   ;-) files/digest-kdelibs-7
>>> md5 files   ;-) files/digest-kdelibs-7-r1
>>> Unpacking source...
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 15, in ?
    from svn import core, client
  File "/usr/lib/python2.4/svn/core.py", line 19, in ?
    from libsvn.core import *
ImportError: No module named libsvn.core

!!! ERROR: kde-base/kdelibs-7-r1 failed.
!!! Function subversion_src_fetch, Line 110, Exitcode 1
!!! python /usr/lib64/python2.4/site-packages/eclass-helper-svn.py  --repository=svn://anonsvn.kde.org/home/kde --work-base=/usr/portage/distfiles/svn-src/ --revdb-out=/var/tmp//portage/kdelibs-7-r1/temp/SVNREVS --deep=branches/KDE/3.5/kde-common/admin --deep=branches/KDE/3.5/kdelibs --deep=trunk/l10n/nl/messages/kdelibs --deep=trunk/l10n/en_GB/messages/kdelibs has failed with exit code 1
!!! If you need support, post the topmost build error, NOT this status message.
edit: by the way, mario, you've got some seriously cool idea :D
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Sun Jul 31, 2005 5:30 pm    Post subject: Reply with quote

superstoned wrote:
edit: by the way, mario, you've got some seriously cool idea :D

Which one?

I have released yet another version, I hope this one works for you.
Back to top
View user's profile Send private message
superstoned
Guru
Guru


Joined: 17 Dec 2004
Posts: 432

PostPosted: Sun Jul 31, 2005 5:42 pm    Post subject: Reply with quote

mario wrote:
superstoned wrote:
edit: by the way, mario, you've got some seriously cool idea :D

Which one?

I have released yet another version, I hope this one works for you.

i'm really sorry... it DID work, but i got nervous when it hung so long on 'unpacking source' i hit ctrl-C - now it won't continue (talking about kdelibs, btw). another package is now compiling, so it was just because i hit ctrl-c i guess...

Code:
>>> Unpacking source...
 * Synchronizing with repository at svn://anonsvn.kde.org/home/kde
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 346, in ?
    update_modules(ancestries, revdb_out)
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 249, in update_modules
    update_modules(ancestry[1], svnrevs)
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 249, in update_modules
    update_modules(ancestry[1], svnrevs)
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 249, in update_modules
    update_modules(ancestry[1], svnrevs)
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 249, in update_modules
    update_modules(ancestry[1], svnrevs)
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 242, in update_modules
    if info.modifiedP():
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 83, in modifiedP
    return (not self.existsP(False)) or (self.existsP(True) and self.revision(False) != self.revision(True))
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 102, in revision
    return self.tags[remote]["Last Changed Rev"]
KeyError: 'Last Changed Rev'

!!! ERROR: kde-base/kdelibs-7-r1 failed.
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Sun Jul 31, 2005 6:09 pm    Post subject: Reply with quote

Ok, no more need for a package called eclass-svn-helper, I figured out a way to find out where the scripts directory is via $FILESDIR (kludgy but works), and now the script will be updated on gensync.
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Sun Jul 31, 2005 6:13 pm    Post subject: Reply with quote

superstoned wrote:

i'm really sorry... it DID work, but i got nervous when it hung so long on 'unpacking source' i hit ctrl-C - now it won't continue (talking about kdelibs, btw). another package is now compiling, so it was just because i hit ctrl-c i guess...


All I can say is...HAHAHAHA! Nya-nya-nya-nya-nya!

But seriously, it is obviously a bug in the script, but if you don't send me your entire svn-src or give me shell access to it somehow I probably won't be able to figure it out.
Back to top
View user's profile Send private message
superstoned
Guru
Guru


Joined: 17 Dec 2004
Posts: 432

PostPosted: Sun Jul 31, 2005 6:46 pm    Post subject: Reply with quote

mario wrote:
superstoned wrote:

i'm really sorry... it DID work, but i got nervous when it hung so long on 'unpacking source' i hit ctrl-C - now it won't continue (talking about kdelibs, btw). another package is now compiling, so it was just because i hit ctrl-c i guess...


All I can say is...HAHAHAHA! Nya-nya-nya-nya-nya!

But seriously, it is obviously a bug in the script, but if you don't send me your entire svn-src or give me shell access to it somehow I probably won't be able to figure it out.
i love you.

and - damn.
i removed /usr/portage/distfiles/blabla/kdelibs and then re-emerged it. now it did update lots of SVN, but it got stuck again. here it is:
Code:
  SVN: A    kde/branches/KDE/3.5/kdelibs/admin/acinclude.m4.in
   SVN: A    kde/branches/KDE/3.5/kdelibs/admin/configure.in.bot.end
   SVN: A    kde/branches/KDE/3.5/kdelibs/admin/install-sh
   SVN: A    kde/branches/KDE/3.5/kdelibs/admin/ylwrap
   SVN: U   kde/branches/KDE/3.5/kdelibs/admin
   SVN: Updated external to revision 441709.
   SVN:
   SVN: Updated to revision 441702.
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 346, in ?
    update_modules(ancestries, revdb_out)
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 249, in update_modules
    update_modules(ancestry[1], svnrevs)
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 249, in update_modules
    update_modules(ancestry[1], svnrevs)
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 249, in update_modules
    update_modules(ancestry[1], svnrevs)
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 249, in update_modules
    update_modules(ancestry[1], svnrevs)
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 242, in update_modules
    if info.modifiedP():
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 83, in modifiedP
    return (not self.existsP(False)) or (self.existsP(True) and self.revision(False) != self.revision(True))
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 102, in revision
    return self.tags[remote]["Last Changed Rev"]
KeyError: 'Last Changed Rev'

!!! ERROR: kde-base/kdelibs-7-r1 failed.
what can i do to (help) solve this?
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Sun Jul 31, 2005 7:45 pm    Post subject: Reply with quote

superstoned wrote:
what can i do to (help) solve this?


Hmm, try doing an svn cleanup, I can't replicate your error even with the same languages (en_GB, nl)

Try editing the python script and put before line 102 the following:
print "Remote: " + str(remote) + " Tags: " + str(self.tags[remote])

And then provide me with the output of that right before the error
Back to top
View user's profile Send private message
superstoned
Guru
Guru


Joined: 17 Dec 2004
Posts: 432

PostPosted: Sun Jul 31, 2005 7:55 pm    Post subject: Reply with quote

mario wrote:
superstoned wrote:
what can i do to (help) solve this?


Hmm, try doing an svn cleanup, I can't replicate your error even with the same languages (en_GB, nl)

Try editing the python script and put before line 102 the following:
print "Remote: " + str(remote) + " Tags: " + str(self.tags[remote])

And then provide me with the output of that right before the error

sure this is not what you expected, i guess:
Code:
>>> Unpacking source...
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 103
    return self.tags[remote]["Last Changed Rev"]
    ^
SyntaxError: invalid syntax

!!! ERROR: kde-base/kdelibs-7-r1 failed.
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Sun Jul 31, 2005 8:03 pm    Post subject: Reply with quote

superstoned wrote:

return self.tags[remote]["Last Changed Rev"]
^
SyntaxError: invalid syntax

!!! ERROR: kde-base/kdelibs-7-r1 failed.[/code]


Make sure you align the line properly to the line starting with return, and you have to use tabs to do it, not spaces.
Back to top
View user's profile Send private message
superstoned
Guru
Guru


Joined: 17 Dec 2004
Posts: 432

PostPosted: Sun Jul 31, 2005 9:41 pm    Post subject: Reply with quote

mario wrote:
superstoned wrote:

return self.tags[remote]["Last Changed Rev"]
^
SyntaxError: invalid syntax

!!! ERROR: kde-base/kdelibs-7-r1 failed.[/code]


Make sure you align the line properly to the line starting with return, and you have to use tabs to do it, not spaces.
damn, never knew there where languages where spacing made a difference... well, i don't write code anyway, so thats not that strange. now here's a bunch of the output:
Code:
   SVN: Updated to revision 441760.
Remote: False Tags: {'Schedule': 'normal', 'URL': 'svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kdelibs', 'Last Changed Date': '2005-07-31 22:59:49 +0200 (zo, 31 jul 2005)', 'Node Kind': 'directory', 'Last Changed Author': 'woebbe', 'Properties Last Updated': '2005-07-31 20:19:30 +0200 (zo, 31 jul 2005)', 'Repository UUID': '283d02a7-25f6-0310-bc7c-ecb5cbfe19da', 'Path': 'kde/branches/KDE/3.5/kdelibs', 'Last Changed Rev': '441755', 'Revision': '441760'}
Remote: False Tags: {'Schedule': 'normal', 'URL': 'svn://anonsvn.kde.org/home/kde/trunk', 'Last Changed Date': '2005-07-31 21:37:43 +0200 (zo, 31 jul 2005)', 'Node Kind': 'directory', 'Last Changed Author': 'mpyne', 'Repository UUID': '283d02a7-25f6-0310-bc7c-ecb5cbfe19da', 'Path': 'kde/trunk', 'Last Changed Rev': '441734', 'Revision': '441736'}
Remote: True Tags: {'Node Kind': 'directory', 'URL': 'svn://anonsvn.kde.org/home/kde/trunk', 'Last Changed Date': '2005-07-31 23:29:35 +0200 (zo, 31 jul 2005)', 'Repository Root': 'svn://anonsvn.kde.org/home/kde', 'Last Changed Author': 'woebbe', 'Repository UUID': '283d02a7-25f6-0310-bc7c-ecb5cbfe19da', 'Path': 'trunk', 'Last Changed Rev': '441760', 'Revision': '441760'}
 * Updating working copy of kde/trunk
   SVN: At revision 441760.
Remote: False Tags: {'Schedule': 'normal', 'URL': 'svn://anonsvn.kde.org/home/kde/trunk', 'Last Changed Date': '2005-07-31 23:29:35 +0200 (zo, 31 jul 2005)', 'Node Kind': 'directory', 'Last Changed Author': 'woebbe', 'Repository UUID': '283d02a7-25f6-0310-bc7c-ecb5cbfe19da', 'Path': 'kde/trunk', 'Last Changed Rev': '441760', 'Revision': '441760'}
Remote: False Tags: {'Schedule': 'normal', 'URL': 'svn://anonsvn.kde.org/home/kde/trunk/l10n', 'Last Changed Date': '2005-07-31 20:28:12 +0200 (zo, 31 jul 2005)', 'Node Kind': 'directory', 'Last Changed Author': 'vignaud', 'Properties Last Updated': '2005-07-31 19:37:44 +0200 (zo, 31 jul 2005)', 'Repository UUID': '283d02a7-25f6-0310-bc7c-ecb5cbfe19da', 'Path': 'kde/trunk/l10n', 'Last Changed Rev': '441713', 'Revision': '441714'}
Remote: True Tags: {'Node Kind': 'directory', 'URL': 'svn://anonsvn.kde.org/home/kde/trunk/l10n', 'Last Changed Date': '2005-07-31 23:04:58 +0200 (zo, 31 jul 2005)', 'Repository Root': 'svn://anonsvn.kde.org/home/kde', 'Last Changed Author': 'vignaud', 'Repository UUID': '283d02a7-25f6-0310-bc7c-ecb5cbfe19da', 'Path': 'l10n', 'Last Changed Rev': '441758', 'Revision': '441760'}
 * Updating working copy of kde/trunk/l10n
   SVN: At revision 441760.
Remote: False Tags: {'Schedule': 'normal', 'URL': 'svn://anonsvn.kde.org/home/kde/trunk/l10n', 'Last Changed Date': '2005-07-31 23:04:58 +0200 (zo, 31 jul 2005)', 'Node Kind': 'directory', 'Last Changed Author': 'vignaud', 'Properties Last Updated': '2005-07-31 19:37:44 +0200 (zo, 31 jul 2005)', 'Repository UUID': '283d02a7-25f6-0310-bc7c-ecb5cbfe19da', 'Path': 'kde/trunk/l10n', 'Last Changed Rev': '441758', 'Revision': '441760'}
Remote: False Tags: {'Schedule': 'normal', 'URL': 'svn://anonsvn.kde.org/home/kde/trunk/l10n/nl', 'Last Changed Date': '2005-07-31 07:32:01 +0200 (zo, 31 jul 2005)', 'Node Kind': 'directory', 'Last Changed Author': 'scripty', 'Properties Last Updated': '2005-07-31 19:37:46 +0200 (zo, 31 jul 2005)', 'Repository UUID': '283d02a7-25f6-0310-bc7c-ecb5cbfe19da', 'Path': 'kde/trunk/l10n/nl', 'Last Changed Rev': '441482', 'Revision': '441698'}
Remote: True Tags: {'Node Kind': 'directory', 'URL': 'svn://anonsvn.kde.org/home/kde/trunk/l10n/nl', 'Last Changed Date': '2005-07-31 07:32:01 +0200 (zo, 31 jul 2005)', 'Repository Root': 'svn://anonsvn.kde.org/home/kde', 'Last Changed Author': 'scripty', 'Repository UUID': '283d02a7-25f6-0310-bc7c-ecb5cbfe19da', 'Path': 'nl', 'Last Changed Rev': '441482', 'Revision': '441760'}
Remote: False Tags: {'Schedule': 'normal', 'URL': 'svn://anonsvn.kde.org/home/kde/trunk/l10n/nl', 'Last Changed Date': '2005-07-31 07:32:01 +0200 (zo, 31 jul 2005)', 'Node Kind': 'directory', 'Last Changed Author': 'scripty', 'Properties Last Updated': '2005-07-31 19:37:46 +0200 (zo, 31 jul 2005)', 'Repository UUID': '283d02a7-25f6-0310-bc7c-ecb5cbfe19da', 'Path': 'kde/trunk/l10n/nl', 'Last Changed Rev': '441482', 'Revision': '441698'}
Remote: False Tags: {'Schedule': 'normal', 'URL': 'svn://anonsvn.kde.org/home/kde/trunk/l10n/nl/messages', 'Last Changed Date': '2005-07-31 07:32:01 +0200 (zo, 31 jul 2005)', 'Node Kind': 'directory', 'Last Changed Author': 'scripty', 'Properties Last Updated': '2005-07-31 19:37:49 +0200 (zo, 31 jul 2005)', 'Repository UUID': '283d02a7-25f6-0310-bc7c-ecb5cbfe19da', 'Path': 'kde/trunk/l10n/nl/messages', 'Last Changed Rev': '441482', 'Revision': '441698'}
Remote: True Tags: {'Node Kind': 'directory', 'URL': 'svn://anonsvn.kde.org/home/kde/trunk/l10n/nl/messages', 'Last Changed Date': '2005-07-31 07:32:01 +0200 (zo, 31 jul 2005)', 'Repository Root': 'svn://anonsvn.kde.org/home/kde', 'Last Changed Author': 'scripty', 'Repository UUID': '283d02a7-25f6-0310-bc7c-ecb5cbfe19da', 'Path': 'messages', 'Last Changed Rev': '441482', 'Revision': '441760'}
Remote: False Tags: {'Schedule': 'normal', 'URL': 'svn://anonsvn.kde.org/home/kde/trunk/l10n/nl/messages', 'Last Changed Date': '2005-07-31 07:32:01 +0200 (zo, 31 jul 2005)', 'Node Kind': 'directory', 'Last Changed Author': 'scripty', 'Properties Last Updated': '2005-07-31 19:37:49 +0200 (zo, 31 jul 2005)', 'Repository UUID': '283d02a7-25f6-0310-bc7c-ecb5cbfe19da', 'Path': 'kde/trunk/l10n/nl/messages', 'Last Changed Rev': '441482', 'Revision': '441698'}
Remote: False Tags: {'URL': 'svn://anonsvn.kde.org/home/kde/trunk/l10n/nl/messages/kdelibs', 'Path': 'kde/trunk/l10n/nl/messages/kdelibs', 'Node Kind': 'directory', 'Schedule': 'normal', 'Revision': '441698'}
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 347, in ?
    update_modules(ancestries, revdb_out)
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 250, in update_modules
    update_modules(ancestry[1], svnrevs)
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 250, in update_modules
    update_modules(ancestry[1], svnrevs)
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 250, in update_modules
    update_modules(ancestry[1], svnrevs)
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 250, in update_modules
    update_modules(ancestry[1], svnrevs)
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 243, in update_modules
    if info.modifiedP():
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 83, in modifiedP
    return (not self.existsP(False)) or (self.existsP(True) and self.revision(False) != self.revision(True))
  File "/usr/lib64/python2.4/site-packages/eclass-helper-svn.py", line 103, in revision
    return self.tags[remote]["Last Changed Rev"]
KeyError: 'Last Changed Rev'

!!! ERROR: kde-base/kdelibs-7-r1 failed.
!!! Function subversion_src_fetch, Line 110, Exitcode 1
!!! python /usr/lib64/python2.4/site-packages/eclass-helper-svn.py  --repository=svn://anonsvn.kde.org/home/kde --work-base=/usr/portage/distfiles/svn-src/ --revdb-out=/var/tmp//portage/kdelibs-7-r1/temp/SVNREVS --deep=branches/KDE/3.5/kde-common/admin --deep=branches/KDE/3.5/kdelibs --deep=trunk/l10n/nl/messages/kdelibs --deep=trunk/l10n/en_GB/messages/kdelibs has failed with exit code 1
!!! If you need support, post the topmost build error, NOT this status message.


hope it helps.
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Sun Jul 31, 2005 10:18 pm    Post subject: Reply with quote

superstoned wrote:

hope it helps.


May I ask which subversion client you are using? I guess I will add code that uses Revision instead of Last Changed Rev, but that is probably not good for the autoskipcvs stuff as Revision contains the overall repository revision, so it is kind of useless. What is the output of ls /usr/portage/distfiles/svn-src/kde/trunk/l10n/nl/messages/kdelibs
and of svn info /usr/portage/distfiles/svn-src/kde/trunk/l10n/nl/messages/kdelibs?

EDIT: just added a kludge to look at Revision if Last Changed Rev can't be found, but you should know that that's not the right solution functionality wise, just temporary kludge.

I also had to remove the code that checked whether a module was up-to-date in the working copy before updating, because if a file was deleted, it wouldn't be restored as the revision would still be the same. So the output will be more clogged right now.


Last edited by mario on Sun Jul 31, 2005 10:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Sun Jul 31, 2005 10:31 pm    Post subject: Reply with quote

Just added in playground is support for elibtoolize patches. Let's hope it fixes more issues than it causes. I hope some linking errors will disappear. I saw that some patches were successfully applied, thus it might be useful. Let me know if you have problems with it.

To know whether that was the source of the problem, find out ESVN_BOOTSTRAP in kde-source.eclass and comment it and try emerging again.
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Mon Aug 01, 2005 12:43 am    Post subject: NEW FEATURE Reply with quote

NEW FEATURE: ability to just check for changed logs since last install, just run scripts/checklogs, it is just a copy of updateKDEsvn with a different feature set (logonly). You might want to run it to know whether you should bother installing something. Obviously will only work if there has been previously recorded data, otherwise the log would be too long. This is of course, in playground only.
Back to top
View user's profile Send private message
superstoned
Guru
Guru


Joined: 17 Dec 2004
Posts: 432

PostPosted: Mon Aug 01, 2005 12:45 am    Post subject: Reply with quote

mario wrote:
superstoned wrote:

hope it helps.


May I ask which subversion client you are using? I guess I will add code that uses Revision instead of Last Changed Rev, but that is probably not good for the autoskipcvs stuff as Revision contains the overall repository revision, so it is kind of useless. What is the output of ls /usr/portage/distfiles/svn-src/kde/trunk/l10n/nl/messages/kdelibs

Code:
wietbak superstoned #  ls /usr/portage/distfiles/svn-src/kde/trunk/l10n/nl/messages/kdelibs
desktop_kde-i18n.po  kabc_net.po           kcmshell.po           kmcop.po                       ktexteditor_kdatatool.po
desktop_kdelibs.po   kabcformat_binary.po  kdelibs.po            ktexteditor_autobookmarker.po  timezones.po
kabc_ldapkio.po      katepart.po           kfileaudiopreview.po  ktexteditor_isearch.po

mario wrote:
and of svn info /usr/portage/distfiles/svn-src/kde/trunk/l10n/nl/messages/kdelibs?

Code:
wietbak superstoned # svn info /usr/portage/distfiles/svn-src/kde/trunk/l10n/nl/messages/kdelibs
Path: /usr/portage/distfiles/svn-src/kde/trunk/l10n/nl/messages/kdelibs
URL: svn://anonsvn.kde.org/home/kde/trunk/l10n/nl/messages/kdelibs
Revision: 441698
Node Kind: directory
Schedule: normal


mario wrote:
EDIT: just added a kludge to look at Revision if Last Changed Rev can't be found, but you should know that that's not the right solution functionality wise, just temporary kludge.

I also had to remove the code that checked whether a module was up-to-date in the working copy before updating, because if a file was deleted, it wouldn't be restored as the revision would still be the same. So the output will be more clogged right now.

i'll try again.

edit: one [/quote] too many :D now its still there, but doesnt look that ugly :P
Back to top
View user's profile Send private message
superstoned
Guru
Guru


Joined: 17 Dec 2004
Posts: 432

PostPosted: Mon Aug 01, 2005 1:06 am    Post subject: Reply with quote

kdelibs is compiling, so i guess the problem is solved. now see if it compiles :D
but, in 2 hours (when i sleep) updateKDEsvn will start, i'll tell tomorow if it did work. and tuesday i leave for holiday, a week.

hey, mario: great job! thanx for all the time you're spending on this...
Back to top
View user's profile Send private message
tgurr
Retired Dev
Retired Dev


Joined: 27 Jan 2004
Posts: 571
Location: germany

PostPosted: Mon Aug 01, 2005 3:00 am    Post subject: Reply with quote

Switched to playground now, too and deleted my /usr/portage/distfiles/svn* before, just to make sure there goes nothing wrong with it. Now I get this msg on initial checkout:
Code:
>>> Unpacking source...
 * Synchronizing with repository at svn://anonsvn.kde.org/home/kde
 * Performing initial checkout of svn://anonsvn.kde.org/home/kde
   SVN: Ausgecheckt, Revision 441821.
Traceback (most recent call last):
  File "/usr/local/overlay-kde/scripts/eclass-helper-svn.py", line 367, in ?
    update_modules(ancestries, revdb_out)
  File "/usr/local/overlay-kde/scripts/eclass-helper-svn.py", line 240, in update_modules
    if info.directoryP():
  File "/usr/local/overlay-kde/scripts/eclass-helper-svn.py", line 87, in directoryP
    return self.type(remote) == "directory"
  File "/usr/local/overlay-kde/scripts/eclass-helper-svn.py", line 79, in type
    return self.tags[remote]["Node Kind"]
KeyError: 'Node Kind'

!!! ERROR: x11-libs/qt-7 failed.
!!! Function subversion_src_fetch, Line 121, Exitcode 1
!!! /usr/local/overlay-kde/scripts/eclass-helper-svn.py  --repository=svn://anonsvn.kde.org/home/kde --work-base=/usr/portage/distfiles/svn-src/ --revdb-out=/var/tmp/portage/qt-7/temp/SVNREVS --deep=branches/qt/3.3/qt-copy has failed with exit code 1
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Mon Aug 01, 2005 3:10 am    Post subject: Reply with quote

Psy' wrote:
Switched to playground now, too and deleted my /usr/portage/distfiles/svn* before, just to make sure there goes nothing wrong with it. Now I get this msg on initial checkout:


Can you do svn info /usr/portage/distfiles/svn-src/kde for me, then try to do the same, but export the following first:
export LANG=en_US

Paste both results here
Back to top
View user's profile Send private message
cron0
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2004
Posts: 132
Location: Montreal, Quebec

PostPosted: Mon Aug 01, 2005 3:47 am    Post subject: Trying to unmerge kde-live packages Reply with quote

I am trying to unmerge kde-live packages and I get that error for EVERY packages.
I fear I won't be able to unmerge any of them!

Does anybody have any clues on how to fix this or how I could unmerge them regardless of the error?

<code>
emerge -C "kde-base/libkpimexchange-7"
[...]

>>> Unmerging kde-base/libkpimexchange-7...
No package files given... Grabbing a set.

QA Notice: ECLASS 'qt3' inherited illegally in kde-base/libkpimexchange-7


QA Notice: ECLASS 'versionator' inherited illegally in kde-base/libkpimexchange-7

!!! error: qtver-from-kdever called with invalid parameter: "7", please report bug
!!! FAILED prerm: 1
</code>

Thanks in advance!
Regards,
cron0
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Mon Aug 01, 2005 3:51 am    Post subject: Reply with quote

ok, get ready for the coolest feature ever (in playground):

enable keepobj in your features and there will not be any more recompiles unless a source file has changed
enable confcache in addition to that, and a configure cache will be kept as well, but beware, mpyne recently disabled it from kdesvn-build, claiming lots of BOOM during compiles

the objects will be kept in /var/tmp/portage/objects and may fill up your drive.

if you are like me and sometimes purify /var/tmp/portage via rm -rf, you can set PORTAGE_OBJDIR in your make.conf

for example I have it set to
PORTAGE_OBJDIR=/var/tmp/objects

Testers are needed as ebuild-specific things might be needed for ebuilds who do custom src_compile

EDIT: In addition, kdeenablefinal is not used if keepobj is enabled, since keepobj wouldn't work otherwise.
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Mon Aug 01, 2005 4:42 am    Post subject: Re: Trying to unmerge kde-live packages Reply with quote

JF_Cron0 wrote:
I am trying to unmerge kde-live packages and I get that error for EVERY packages.
I fear I won't be able to unmerge any of them!
Code:

!!! error: qtver-from-kdever called with invalid parameter: "7", please report bug
!!! FAILED prerm: 1


Thanks in advance!
Regards,
cron0


Seems that the incorrect kde-functions is used. You need to have the correct kde-live repository as it contains a modified kde-functions.eclass.

But seriously...NOBODY UNINSTALLS KDE-SVN EBUILDS. You have sold your soul to us, and there is no coming out of your obligations.
Back to top
View user's profile Send private message
alinv
Guru
Guru


Joined: 19 Nov 2002
Posts: 395
Location: Bucharest

PostPosted: Mon Aug 01, 2005 8:31 am    Post subject: Reply with quote

amarok wants a newer version of taglib, which fails miserably:
Code:
>>> Unpacking source...
 * Synchronizing with repository at svn://anonsvn.kde.org/home/kde
 * Updating working copy of kde
   SVN: At revision 441952.
 * Bootstrapping with elibtoolize
find: /var/tmp/portage/taglib-7/work/trunkkdesupport: No such file or directory
find: /var/tmp/portage/taglib-7/work/trunkkdesupport: No such file or directory
 * Applying uClibc/libtool patches ...
mv: cannot stat `/var/tmp/portage/taglib-7/work/KDE/kde-common/admin': No such file or directory
>>> Source unpacked.
/usr/local/overlays/kde-live/media-libs/taglib/taglib-7.ebuild: line 33: cd: /var/tmp/portage/taglib-7/work/trunkkdesupport: No such file or directory
make: Makefile.cvs: No such file or directory
make: *** No rule to make target `Makefile.cvs'.  Stop.
aclocal: `configure.ac' or `configure.in' is required

!!! ERROR: media-libs/taglib-7 failed.
!!! Function src_compile, Line 38, Exitcode 1
!!! autotools failed
!!! If you need support, post the topmost build error, NOT this status message.


(using playground tree)

Thanks,
Alin
_________________
Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B.
Back to top
View user's profile Send private message
superstoned
Guru
Guru


Joined: 17 Dec 2004
Posts: 432

PostPosted: Mon Aug 01, 2005 10:20 am    Post subject: Re: Trying to unmerge kde-live packages Reply with quote

mario wrote:
But seriously...NOBODY UNINSTALLS KDE-SVN EBUILDS. You have sold your soul to us, and there is no coming out of your obligations.

MARIO IS GOD. hail mario!

:twisted:

lol
Back to top
View user's profile Send private message
cron0
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2004
Posts: 132
Location: Montreal, Quebec

PostPosted: Mon Aug 01, 2005 11:21 am    Post subject: Re: Trying to unmerge kde-live packages Reply with quote

mario wrote:
JF_Cron0 wrote:
I am trying to unmerge kde-live packages and I get that error for EVERY packages.
I fear I won't be able to unmerge any of them!
Code:

!!! error: qtver-from-kdever called with invalid parameter: "7", please report bug
!!! FAILED prerm: 1


Thanks in advance!
Regards,
cron0


Seems that the incorrect kde-functions is used. You need to have the correct kde-live repository as it contains a modified kde-functions.eclass.

But seriously...NOBODY UNINSTALLS KDE-SVN EBUILDS. You have sold your soul to us, and there is no coming out of your obligations.


I had to copy over the eclasses from the kde-live repository over the ones in the regular portage set so that emerge would use them when unmerging...
I'm constantly changing desktop DE/WM, that's why I'm uninstalling kde-live. But don't worry, I will probably come back to it later :-)

THanks

cron0
Back to top
View user's profile Send private message
tgurr
Retired Dev
Retired Dev


Joined: 27 Jan 2004
Posts: 571
Location: germany

PostPosted: Mon Aug 01, 2005 11:50 am    Post subject: Reply with quote

mario wrote:

Can you do svn info /usr/portage/distfiles/svn-src/kde for me, then try to do the same, but export the following first:
export LANG=en_US
Paste both results here

export LANG="de_DE@euro"
export LANGUAGE="de_DE@euro"
export LINGUAS="de"
LC_ALL="de_DE@euro"
Code:
nexus psy # svn info /usr/portage/distfiles/svn-src/kde
Pfad: /usr/portage/distfiles/svn-src/kde
URL: svn://anonsvn.kde.org/home/kde
UUID des Projektarchivs: 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Revision: 442030
Knotentyp: Verzeichnis
Plan: normal
Letzter Autor: mlaurent
Letzte geänderte Rev: 442030
Letztes Änderungsdatum: 2005-08-01 13:25:38 +0200 (Mo, 01 Aug 2005)

Emerge quits with the error posted above.

export LANG="en_US"
export LANGUAGE="en_US"
export LINGUAS="en_US""
LC_ALL="en_US"
Code:
nexus psy # svn info /usr/portage/distfiles/svn-src/kde
Path: /usr/portage/distfiles/svn-src/kde
URL: svn://anonsvn.kde.org/home/kde
Repository UUID: 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Revision: 442030
Node Kind: directory
Schedule: normal
Last Changed Author: mlaurent
Last Changed Rev: 442030
Last Changed Date: 2005-08-01 13:25:38 +0200 (Mon, 01 Aug 2005)

Code:
>>> Unpacking source...
 * Synchronizing with repository at svn://anonsvn.kde.org/home/kde
 * Performing initial checkout of svn://anonsvn.kde.org/home/kde
   SVN: Checked out revision 442030.
 * Updating working copy of kde/branches
   SVN: A    kde/branches
   SVN: Updated to revision 442030.
 * Updating working copy of kde/branches/qt
   SVN: A    kde/branches/qt
   SVN: Updated to revision 442030.
 * Updating working copy of kde/branches/qt/3.3
   SVN: A    kde/branches/qt/3.3
   SVN: Updated to revision 442030.
 * Updating working copy of kde/branches/qt/3.3/qt-copy recursively
   SVN: A    kde/branches/qt/3.3/qt-copy
   SVN: A    kde/branches/qt/3.3/qt-copy/configure

Works.
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Mon Aug 01, 2005 2:18 pm    Post subject: Reply with quote

Psy' wrote:

Works.


I can add all those to the eclass, just tell me which of all exports make a difference.
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 ... 24, 25, 26 ... 38, 39, 40  Next
Page 25 of 40

 
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