Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Update 0.1.4.0_rc6 [a year on]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 204
Location: Stockholm, Sweden

PostPosted: Sat Mar 26, 2011 2:24 pm    Post subject: Reply with quote

Thanks for the effort! I've been using update almost since the beginning. Still works great!
Back to top
View user's profile Send private message
Jennel
n00b
n00b


Joined: 28 Mar 2011
Posts: 1

PostPosted: Mon Mar 28, 2011 5:27 am    Post subject: Reply with quote

hyakuhei wrote:
Its really interesting, giving it a spin now.

Looks like a typo on line 492.

Cheers
-Rob



Good but not enough! need more improvement!
Back to top
View user's profile Send private message
steveL
Veteran
Veteran


Joined: 13 Sep 2006
Posts: 1673
Location: The Peanut Gallery

PostPosted: Fri Aug 05, 2011 9:40 am    Post subject: Reply with quote

iMike wrote:
Thanks for the effort! I've been using update almost since the beginning. Still works great!

Thanks :D that's always the best feeling, when someone says they like your work.

Jennel wrote:
Good but not enough! need more improvement!

You realise that error was due to it being run under sh and not bash? And that it was _ages_ ago? ;)

Anyway, there's a new version linked on front page.

Sorry I haven't been about and that the DNS was down. It's now pointing at a new server, so hopefully it'll stay up. We'll sort the bug tracker out soon as well.

Be aware that you can't set -j or --jobs in EMERGE_DEFAULT_OPTS as it messes with the output displayed by update. That option is next on the agenda; rather than just masking it, I'd like to use it properly, along with --keep-going.
Back to top
View user's profile Send private message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 204
Location: Stockholm, Sweden

PostPosted: Tue Aug 09, 2011 7:16 pm    Post subject: Reply with quote

Once again, thank you for the good work! Looks like your current update solves the recent problems like
Code:
Internal error in checkType(1837) :installList(5797) : line 8537
!! update: Unknown install type for dev-python/sqlalchemy-0.7.1: U~

Now, no problems using under Gentoo portage 2.1.10.3 and Funtoo variant 2.3-r4!

You made my day! :D
Back to top
View user's profile Send private message
steveL
Veteran
Veteran


Joined: 13 Sep 2006
Posts: 1673
Location: The Peanut Gallery

PostPosted: Wed Aug 10, 2011 11:50 pm    Post subject: Reply with quote

iMike wrote:
Once again, thank you for the good work! Looks like your current update solves the recent problems like
Code:
Internal error in checkType(1837) :installList(5797) : line 8537
!! update: Unknown install type for dev-python/sqlalchemy-0.7.1: U~

Yeah I was actually chasing that bug when interactive packages came up (triggering the same error.)
iMike wrote:
Now, no problems using under Gentoo portage 2.1.10.3 and Funtoo variant 2.3-r4!

You made my day! :D

Glad to be of help :-)

The bug tracker is back up btw:
http://weaver.gentooexperimental.org/trac/update/
Back to top
View user's profile Send private message
steveL
Veteran
Veteran


Joined: 13 Sep 2006
Posts: 1673
Location: The Peanut Gallery

PostPosted: Sat Aug 13, 2011 8:06 pm    Post subject: Reply with quote

Just to let you know we have a new homepage, thanks to Griz64:
http://weaver.gentooexperimental.org/update.html
..from where you can get ebuilds for both the latest tar.bz2 release and a live update-9999.ebuild using git.

I've added an eixSyncFlags config variable (to git) as unstable eix doesn't like -m any more; use eixSyncFlags='-MN' or eixSyncFlags='-M0 -N' in /etc/update if you're on unstable eix.

One of those will become the default when current (0.22.5) eix is no longer around. I'm not sure what -M0 vs -M does, as I'm still on stable; the error message from the new versions says to use -M0 instead of -m. We'll leave that config variable as an option, since things might change in the future, and you might want to change how eix-sync is run.

BTW don't add -q (unless you really want to;) as that's normally added when -q or -x is used to update.

Another thing to note is that (in git) we now install to /usr; the script has been changed to allow its install anywhere and it looks for the lib file (libIgli;) in /usr/lib or current directory (or you can export libIgli='/some/path' before running.) So, I recommend:
rm /sbin/update /lib/libIgli
after you've installed from either the ebuild or make install in the git checkout, if you have an existing version.
Back to top
View user's profile Send private message
schwarzygesetzlos
n00b
n00b


Joined: 11 Dec 2004
Posts: 69
Location: Funeralopolis

PostPosted: Tue Aug 30, 2011 3:07 pm    Post subject: Reply with quote

A great tool! Really works fine!
Back to top
View user's profile Send private message
steveL
Veteran
Veteran


Joined: 13 Sep 2006
Posts: 1673
Location: The Peanut Gallery

PostPosted: Tue Sep 06, 2011 1:03 am    Post subject: Reply with quote

Thanks schwarzygesetzlos :-)

Just to let you know I've pushed a couple of bugfixes to git (emerge default option processing had an extra $ on line 8253 and it was bailing on portage-9999 version.)

I've been offline for a couple of weeks, but I am getting back to sorting out the new portage autounmask and then --jobs support.
Back to top
View user's profile Send private message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 204
Location: Stockholm, Sweden

PostPosted: Tue Sep 06, 2011 7:45 am    Post subject: Reply with quote

Just noticed your new page with a regular ebuild. Is there any chance you might consider putting this in an overlay (e.g., git.overlays.gentoo.org) so we could just pick it up by adding the overlay in layman instead of needing to put it in our own local overlay?

/iMike
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 3930
Location: UK - Birmingham

PostPosted: Tue Sep 06, 2011 1:31 pm    Post subject: Reply with quote

yes update is getting some long overdue loven
as to overlay, the 9999 ebuild is the prefered so an overlay isn't needed, but if specific releases occur (as well as other weaver projects) then yes an overlay is worth concidering

https://weaver.gentooexperimental.org/trac/update
_________________
A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen.
Back to top
View user's profile Send private message
steveL
Veteran
Veteran


Joined: 13 Sep 2006
Posts: 1673
Location: The Peanut Gallery

PostPosted: Fri Oct 21, 2011 8:22 am    Post subject: New release Reply with quote

Just to let you know I've pushed a new release to help with the libpng-1.5 ABI upgrade, for those who haven't done it already. This also brings in quite a few bugfixes since last release in August, if you're not using the live ebuild.

Portage --jobs support is much better, tho it still needs a bit of tweaking as I haven't had a package fail on me yet while using it, so I'm not even sure what that looks like. It also needs to pick up on config updates, which I'll fix in next few days; I just wanted to get the ABI fix out to people who don't upgrade every day or two.

Meantime the libpng upgrade is handled pretty effectively imo. The only bit you'll need, after the whole shebang including world update (after ABI and its revdep) and main depclean/ revdep (ie: after update -s or update -r has run to completion), is to run the command from the forum post about it (slightly modded; all on one line):
Code:
pkg=$(find /usr -type f \( -name '*.la' -o -name '*.pc' -o -name '*-config' -o -name '*.pm' \) -exec grep -qF png14 {} \; -exec qfile -CSq {} + | uniq ); echo "$pkg"

If that outputs any package:slot's (there were only two here, after all the packages update had already sorted out) then run:
Code:
update $pkg

I'd run another update -CR after that, just to make sure (for some reason kword didn't get picked up til then here.)

Be careful to let the ABI upgrades run to completion; only start again with update -r once you've seen [ABI Stage N] running. We need to make it more robust; at the moment it'll get rid of the ABI files if you start another update: if libpng has been upgraded (and it's only the second in a whole load that do) then it won't come to the program's attention again.

As usual, bug reports welcome.
Back to top
View user's profile Send private message
steveL
Veteran
Veteran


Joined: 13 Sep 2006
Posts: 1673
Location: The Peanut Gallery

PostPosted: Fri Oct 21, 2011 9:22 am    Post subject: Reply with quote

Just to show you what the ABI output looks like (so you can see what stuff gets upgraded for libpng; note I am on a KDE box):
Code:

** update ABI Upgrade -- Packages:
x11-libs/gdk-pixbuf-2.24.0-r1
media-libs/libpng-1.5.5
x11-libs/cairo:0 x11-libs/gdk-pixbuf:2
* Before Revdep:
x11-libs/gtk+:2 app-doc/doxygen:0 app-text/dvipdfm:0 app-text/dvipng:0 app-text/ghostscript-gpl:0 app-text/poppler:0 app-text/texlive-core:0 app-text/xdvipdfmx:0 dev-lang/php:5.3 dev-tex/luatex:0 kde-base/kdelibs:4 kde-base/ksplash:4 media-gfx/autotrace:0 media-gfx/graphviz:0 media-gfx/imagemagick:0 media-gfx/pstoedit:0 media-gfx/tuxpaint:0 media-libs/gd:2 media-libs/ming:0 media-libs/plotutils:0 media-libs/sdl-image:0 media-sound/timidity++:0 net-analyzer/rrdtool:0 net-print/cups:0 sys-libs/slang:0 www-client/firefox:0 x11-libs/qt-gui:4
** Revdep Libraries:
 libpng14.so.14
@ Proceed with ABI Upgrades (after toolchain) (Y/n)?Y
Back to top
View user's profile Send private message
steveL
Veteran
Veteran


Joined: 13 Sep 2006
Posts: 1673
Location: The Peanut Gallery

PostPosted: Wed Nov 16, 2011 4:12 pm    Post subject: Reply with quote

Just to let you know I've pushed an update to the git repo which deals with new default --quiet-build=y setting in emerge. This only affects the output when you're not using --jobs or -j in default-opts, or you run update with -j1 (or --jobs=1 if you like that sorta thing;)

I've also improved the list editor, primarily so we can reselect packages skipped by the configuration. There are a couple of display tweaks; eg package description in USE editor as well as main list (check the status bar if you don't know what I'm on about.)

In addition useless C++ rebuilds are skipped along with the usual suspects (ie: if you have not set skipUseless=0 in /etc/update and don't pass --build-useless to update.) This is for the recent removal of nocxx flag in favour of cxx across the board. Don't worry: it's perfectly safe! It's tied to a very tight formula, of the only change being cxx%* addition at the same time as (-nocxx%) or -nocxx. The latter is for gcc which is keeping the flag during the transition precisely for people like us who don't want to rebuild it for no use.

I'd like to roll this into a release so please try it out if you're using the git ebuild and shout if something breaks. If you want anything fixed bug reports are better, especially if you want something unusual done for your own needs (file as 'enhancement') or you want to be able to chase it along. ;-)
Back to top
View user's profile Send private message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 204
Location: Stockholm, Sweden

PostPosted: Mon Jan 09, 2012 10:12 pm    Post subject: Reply with quote

I get:
Code:
AttributeError: Cannot find an implementation of the "IPasswordHashMethod" interface named "HtDigestHashMethod". Please update the option account-manager.hash_method in trac.ini.
when trying to log in to trac for bug reporting, so I will leave this report here. When building (some?) packages with the java flag, I get when using the update script:
Code:
! Failed so far: dev-vcs/subversion-1.6.17
! -1 packages, 1 processed.
    return w.wrap(text)
  File "/usr/lib/python2.7/textwrap.py", line 321, in wrap
    return self._wrap_chunks(chunks)
  File "/usr/lib/python2.7/textwrap.py", line 250, in _wrap_chunks
    raise ValueError("invalid width %r (must be > 0)" % self.width)
ValueError: invalid width -27 (must be > 0)
 *
 * Can't run java-config --help
 * Have you upgraded python recently but haven't
 * run python-updater yet?
 * ERROR: dev-vcs/subversion-1.6.17 failed (setup phase):
 *   Can't run java-config --help
 *
 * Call stack:
 *                  ebuild.sh, line  84:  Called pkg_setup
 *   subversion-1.6.17.ebuild, line 133:  Called java-pkg-opt-2_pkg_setup
 *      java-pkg-opt-2.eclass, line  47:  Called java-pkg_init
 *        java-utils-2.eclass, line 2155:  Called die
 * The specific snippet of code:
 *              die "Can't run java-config --help"
 *
. However, the same packages compile without problem just using regular emerge.
Back to top
View user's profile Send private message
steveL
Veteran
Veteran


Joined: 13 Sep 2006
Posts: 1673
Location: The Peanut Gallery

PostPosted: Thu Mar 01, 2012 6:13 am    Post subject: Reply with quote

Hi iMike,

Sorry I've been offline last couple of months. I don't have java on my system but I've looked at what subversion wants, and I'll play with it now. I'm going to use the opportunity to add a rough ebuild data thing to the dialog, so I can look at deps for virtual/java as I'd like to be able to quickly see what my options are without having to dig out the ebuild.

I pushed an update to git yesterday that deals with SLOT-blockers as I was getting hit on the KDE upgrade. (I was in the middle of other stuff, so it took a while to sort it out.)

There's also a small fix to deal with the new kernel-3 series. Effectively all 2.6 and 3.x kernels are the same for purposes of system upgrades, so linux-headers 2.6.39 is fine on kernel 3.1 and linux-headers 3.1 are fine on 3.2. (This doesn't affect versioning, so 3.1 headers will still not be allowed on a 2.6.39 kernel as usual, to avoid headers which provide symbols the kernel doesn't know about.)

With respect to the java thing, I have a feeling if you ran:
Code:
while read -r line; do printf '%s\n' "$line"; done < <(emerge subversion 2>&1)

then you'd get a similar error. I reckon it's to with the command being run without a terminal on stdout or stderr, in other words.

I'm guessing that's why the python textrap.py script is getting a negative self.width for the width of the window. Really it should default to a sane value like 80, as this means java-config can't be run as part of a script. java-config could check for it itself, I suppose, but it's something I'd fix at the lower layer, as that's what is allowing the value in.

If the above does give you an error (I'll know in a while when I get through all the preliminary installation) then we'll probably best file a bug against java-config which devs can punt upstream if they agree. Even if I work round it for update (which I'm kinda wondering about, given that parallel builds would need to be broken up) it's going to stop any script which wraps emerge as above from working; and I know zmedico takes scripting with emerge seriously.
Back to top
View user's profile Send private message
schwarzygesetzlos
n00b
n00b


Joined: 11 Dec 2004
Posts: 69
Location: Funeralopolis

PostPosted: Sun Dec 09, 2012 5:20 pm    Post subject: Reply with quote

Just wanted to ask about any updates for update. ;) Last non-git ebuild is a year old.
Back to top
View user's profile Send private message
steveL
Veteran
Veteran


Joined: 13 Sep 2006
Posts: 1673
Location: The Peanut Gallery

PostPosted: Mon Dec 10, 2012 4:20 am    Post subject: Reply with quote

Hi schwarzygesetzlos,

Yeah, sorry about that, I tend to just work on the git version. I have been feeling for a while I should put out a release, so thanks for prodding me (I couldn't believe it's been over a year though ;) Anyhow, here it is: update-20121210.ebuild

I haven't made any changes and been using that version quite happily for a couple of weeks, so it's a good time to release it. God only knows what bugs have been fixed in that time :-)

Also, I have some changes I've been wanting for ages, to sort out gcc-config on upgrade (there's an old code branch in the git repo that has a prior attempt at it, that I completely forgot about til I reviewed recently) which I haven't put in (they're sitting in a WIP branch locally) as I haven't had a gcc upgrade to test them with. I'll push them to git though, now that a release is out, as it's disabled by default atm, til I can be sure it does the right thing.

Bear in mind that you need to use repoman manifest nowadays to get the digest. I guess we really should think about doing an overlay, but I have nfc how to set up what iMike suggested, if I'm honest about it.

Anyway, HTH, and thanks again for prodding me. It's nice to know people are using it :-)

Regards,
steveL.
Back to top
View user's profile Send private message
schwarzygesetzlos
n00b
n00b


Joined: 11 Dec 2004
Posts: 69
Location: Funeralopolis

PostPosted: Wed Dec 12, 2012 12:40 pm    Post subject: Reply with quote

steveL wrote:

Anyway, HTH, and thanks again for prodding me. It's nice to know people are using it :-)


No prob. Nice to know people are writing and updating it! :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10
Page 10 of 10

 
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