Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Update 0.1.4.0_beta10 [git] --toolchain, --perl
View unanswered posts
View posts from last 24 hours

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


Joined: 16 Mar 2005
Posts: 160
Location: Europe

PostPosted: Sun Mar 23, 2008 9:19 pm    Post subject: Reply with quote

I think it would be useful to have MD5 checksums together with the source file (e.g. update-20080110 and update-20080110.md5, warning-20071019 and warning-20071019.md5, etc) in the main repository.
_________________
RedHat -> SuSE -> Debian -> Gentoo
Back to top
View user's profile Send private message
creidiki
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 283
Location: Varese (Italy)

PostPosted: Tue Mar 25, 2008 1:24 pm    Post subject: Reply with quote

Nice script - I was wondering what the exact correct order of toolchain rebuild is? I'm trying to do something that takes care of that for paludis :)
_________________
'((eINIT) (soor overlay))
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2767
Location: Pittsburgh, PA, USA

PostPosted: Mon Apr 07, 2008 3:53 pm    Post subject: Reply with quote

Anyone set update to work with bash completion?
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


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

PostPosted: Tue Apr 15, 2008 5:17 pm    Post subject: Reply with quote

Bleh just to let you know that update isn't dead (though I feel like it ;) I've been offline for a few weeks.

@Sysa: yeah when we get this version finished (bugs, depclean and bit more error-handling) we'll do an ebuild for sunrise.

@creidiki: If you haven't seen it check out Guenther's upgrade script which has a good discussion as well as emwrap.sh (both are mentioned by update if there's a X.Y.z upgrade for gcc.) Opinions vary, but you're looking at least at gcc, glibc, binutils, linux-headers; auto{hell} and the like come into it (considering upgrade) wrt full rebuild as well.
We have added hooks for paludis, but I don't know the options. Development version of script is kinda in flux atm, but it'd be cool to finish paludis support so we could compare and contrast (pkgcore seems to be working with it fine.)

@drescherjm: Never used it tbh; how would that work given that it's pretty much all short flags?

Anyhow, thanks for using it, sorry for hiatus. Should have a new version by next week.
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2767
Location: Pittsburgh, PA, USA

PostPosted: Tue Apr 15, 2008 6:50 pm    Post subject: Reply with quote

Quote:
@drescherjm: Never used it tbh; how would that work given that it's pretty much all short flags?


What I miss most that if I type emerge -av sa and hit tab the bash completion gives me a list of all packages that start with sa to choose from. Similar to tab completion for filenames.
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
creidiki
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 283
Location: Varese (Italy)

PostPosted: Tue Apr 15, 2008 7:31 pm    Post subject: Reply with quote

steveL wrote:
@creidiki: If you haven't seen it check out Guenther's upgrade script which has a good discussion as well as emwrap.sh (both are mentioned by update if there's a X.Y.z upgrade for gcc.) Opinions vary, but you're looking at least at gcc, glibc, binutils, linux-headers; auto{hell} and the like come into it (considering upgrade) wrt full rebuild as well.
We have added hooks for paludis, but I don't know the options. Development version of script is kinda in flux atm, but it'd be cool to finish paludis support so we could compare and contrast (pkgcore seems to be working with it fine.)

I'd love to swap notes when you're done with the next version, though I never planned to release my script - it was mainly something to hack in scheme to keep me sane during my java university course last trimester :)

I'll take a look at those links you mentioned.

Currently I'm running:

linux-headers glibc binutils (gmp mpfr) gcc glibc binutils (gmp mpfr) gcc

GMP and MPFR are dependent on the version of gcc detected, and - for versions
earlier than 4.3 - whether the fortran USE-flag is enabled.

After that I add libstdc++-v3 or gcc 3.3 if detected.

Do you really think AutoHELL/libtool are necessary, given that they're running on interpreters? It might be a good idea to rebuild m4, however ... *ponders*
_________________
'((eINIT) (soor overlay))
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


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

PostPosted: Fri Apr 18, 2008 9:05 pm    Post subject: Reply with quote

creidiki wrote:
I'd love to swap notes when you're done with the next version, though I never planned to release my script - it was mainly something to hack in scheme to keep me sane during my java university course last trimester :)

Heh, well feel free to drop by #friendly-coders on irc.freenode.org if you want to chat about it. If you're into scheme, I'm sure hkBst would love to hear from you; he's normally in #gentoo-lisp (there isn't a scm channel yet.) There's #scheme #bigloo and #chicken too; #roadsend-php is a php compiler built using scheme/bigloo.
Quote:
Currently I'm running:

linux-headers glibc binutils (gmp mpfr) gcc glibc binutils (gmp mpfr) gcc

GMP and MPFR are dependent on the version of gcc detected, and - for versions
earlier than 4.3 - whether the fortran USE-flag is enabled.

After that I add libstdc++-v3 or gcc 3.3 if detected.

Do you really think AutoHELL/libtool are necessary, given that they're running on interpreters? It might be a good idea to rebuild m4, however ... *ponders*

Well it's more a case of if stuff gets updated, although with autoHell newer versions can be problematic. It'd be cool to work on a list to build on an -e world or system though; update has had auxTC (around line 89) for a while which is: zlib gnuconfig gcc-config patch m4 flex binutils-config bison binutils autoconf libtool gettext, but it's not being used yet; it's just where I'm gathering stuff (and I'd like to do binutils a couple of times at least.) Maybe we could work on that?
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


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

PostPosted: Wed Apr 30, 2008 1:04 pm    Post subject: New! Improved!! ;P 0.1.4_pre1 with empty tree TC handling Reply with quote

OK, new version with improved toolchain handling for -e system|world|foo:
wget -O /sbin/update http://dev.gentooexperimental.org/~igli/src/update/update-20080430
Current MD5: a640aaa196a735f7e417a6ac2fa9438a

It's been streamlined internally so it should be more efficient. As ever, any bugs can be reported in #friendly-coders on irc.freenode.org if you want a quick response, or in this thread. Once it's been tested and debugged I'll put it on front page.

Blame creidiki for this one ;)

Anyone using portage-2.2 yet? I'm reinstalling laptop atm using update -e system; the toolchain handling is nice :D
Oh I added category exclusions using catx array in /etc/update (see update -h config). I think we need to update /etc/warning for baselayout and openRC too, since they need user attendance. If there's anything else that should go in there let us know.

edit: fixed a typo which meant post-install actions weren't getting run.
edit2: deglitching sometimes need quite tricky changes ;p
edit3: more bugfixes, should be pretty close now.
edit4: fix glsa option, thanks Mats.
edit5: changed it back to old one as 0505 was buggy; 0507 is below and does autounmask but needs work on USE editing (will be done soon.)


Last edited by steveL on Thu May 08, 2008 12:27 pm; edited 5 times in total
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


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

PostPosted: Wed Apr 30, 2008 1:10 pm    Post subject: Reply with quote

drescherjm wrote:
What I miss most that if I type emerge -av sa and hit tab the bash completion gives me a list of all packages that start with sa to choose from. Similar to tab completion for filenames.

Wow that sounds cool! No reason we couldn't use same config for update, although I've never used completion. Some of the folks in #bash use it though. The bash man page is confusing, but does have lots of info.

http://tiswww.tis.case.edu/~chet/bash/bashref.html is pretty good too, if you haven't seen it. I'd be glad to help getting it going but I'm not going to take responsibility for doing so, simply as I've never used it. If you want to collaborate on it (it helps to talk about stuff ime) you know the channel ;)
_________________
creaker wrote:
systemd. It is a really ass pain

update - "a most excellent portage wrapper"

#friendly-coders -- We're still here for you™ ;)
Back to top
View user's profile Send private message
m_gustafsson
Apprentice
Apprentice


Joined: 18 Mar 2007
Posts: 243
Location: Sweden

PostPosted: Mon May 05, 2008 7:54 am    Post subject: Reply with quote

Hi,

I am using update version 0.1.4.0_pre and it works fine :-)
One question though...
It seems like execution of GLSA check has changed from -S to -A.
Code:
# update -h
=================================================================
            update
     an emerge wrapper to cut cruft and retry failed packages
=================================================================
 Usage: update <options> [target list]
 Options: -eapqvurnDNo[bB][gG][kK]imsfFlRCSMhxXWYzc
          -eapunDNo[bB][kK][gG] : same as emerge
   update --version for version string
=================================================================
   -a ask before installing
   -s sync first (does eix if installed)
   -S sync only sync tree and quit
   -f fetch files first (no parallel-fetch)
   -F fetch only quit after fetching
   -i install target/s to world
   (use emerge -q --depclean <pkg> to uninstall)
   -r resume (after -p|a, ctrl-c, or halt)
   -m use tmp-fs for build
   -c disable colour

   -A GLSA check -- after update

But I can't get it to work...
Code:
# update -A
 Usage: update <options> [target list]
 Options: -eapqvurnDNo[bB][gG][kK]imsfFlRCSMhxXWYzc
or update -h or -? (command-line) or --help for help.
!! update: Unknown option -A chosen.


/Mats
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


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

PostPosted: Mon May 05, 2008 9:47 pm    Post subject: Reply with quote

Oops sorry about that Mats. Try this one:
[edit: dead link]
edit: changed link as older one was much buggier (transition.) This version still needs work on USE editing (we changed the internals a lot) but does autounmask and has some of the lib code from work. We'll get this feature complete and working then start cutting the script back.
edit2: oops forgot to change md5.


Last edited by steveL on Mon May 12, 2008 4:31 am; edited 3 times in total
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


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

PostPosted: Mon May 05, 2008 9:59 pm    Post subject: Reply with quote

Oh BTW autounmask infinite loop is hitting me atm; quick workaround given by Marco Clocchiatti is, in /usr/bin/autounmask, at line 42:
Code:
#my $arch                = $pxs->getArch(); # comment line 42
my $arch                = 'amd64'; # put here your arch.
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


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

PostPosted: Wed May 07, 2008 11:22 pm    Post subject: autounmask from BASH :p Reply with quote

[edit: dead link]

USE editing has regressed, but this gets rid of need for autounmask (and dependency on perl) as I just couldn't get it working on amd64/core2. [edit this is fixed I had an old debug line in that skipped USE editing doh]

A good example is: update -ia xmonad # if you're not into haskell as that needs a couple of other things unmasked.
[If you do want to emerge it, I suggest you
echo dev-lang/ghc >> /etc/portage/package.keywords
..as well.]


Last edited by steveL on Mon May 12, 2008 4:30 am; edited 1 time in total
Back to top
View user's profile Send private message
m_gustafsson
Apprentice
Apprentice


Joined: 18 Mar 2007
Posts: 243
Location: Sweden

PostPosted: Thu May 08, 2008 5:55 am    Post subject: Reply with quote

Steve, thanks for your quick reply :D

Best regards, Mats
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


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

PostPosted: Sat May 10, 2008 1:49 am    Post subject: Reply with quote

You're welcome Mats :-) Here's a better version, which does unmask (just did startkde-3.5.9 which was about 10 or 12 dependents as well) and USE editing is back.

[edit: dead link]

This is nearly done (I hope!) so once any UI changes are done, I'll post it to front page. Really need to do the error detection and check what's up with tmpfs. I'd like to finish cleaning up the backend some more as well, though my partner-in-crime reckons we should just switch it all over to the lib code. We'll see.


Last edited by steveL on Mon May 12, 2008 4:29 am; edited 1 time in total
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


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

PostPosted: Mon May 12, 2008 4:08 am    Post subject: Reply with quote

wget -O /sbin/update http://dev.gentooexperimental.org/~igli/src/update/update-20080512
md5sum /sbin/update

Current md5: 696359e55c0a6b104009e90cca36d65e

It's getting close to "release" (ie push to front page) so speak now if you found any bugs :)

Next version will be error analysis (and that tmpfs thing I feel bad about that, it's been on list for ages.) Then I need depclean and once that's working we'll call 0.1.4 done and move on to using lib code and focus on portage 2.2.

edit: portage d/l output changed.
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1291
Location: Netherlands

PostPosted: Mon May 12, 2008 10:46 am    Post subject: Reply with quote

Installed it and it works so far but spits out this error msg after installing all packages:

Code:
/usr/local/bin/update: line 4037: restoreTitle: command not found

Greetz
swimmer

Edit: After running revdep-rebuild (as part of the script) it spits out a similar msg:
Code:
/usr/local/bin/update: line 2285: restoreTitle: command not found
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


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

PostPosted: Tue May 13, 2008 12:24 am    Post subject: Reply with quote

Hi swimmer, yeah noticed that today; version on front page (Griz's; same URL) has just changed; there was some USE glitching (barfed if you edit global USE, resolve then change it back) as well. Still has minor UI wrinkle: displays as changed when you just view the USE, but installing ok.

Also added short atom form for easy unmask; eg update -ia kview-3.5.9 (reinstalling machine it was doing my fingers no good typing kde-base over and over ;)
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


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

PostPosted: Sun May 18, 2008 1:09 am    Post subject: Reply with quote

Bump bugfix was quite a bad one, due to new Merging and temp title stuff. There's a hard to trigger bug in USE editing which we need to sort out before we move on. Might be a couple of days.
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2767
Location: Pittsburgh, PA, USA

PostPosted: Wed May 21, 2008 2:22 pm    Post subject: Reply with quote

I am still using my patched version of update 0.1.4.0_beta3b to support rebuilding libraries with unresolved symbols and I found that with this version I can not stop gcc from rebuilding even though I have it in my /etc/update

Code:
Total: 485 packages (1 upgrade, 1 in new slot, 483 reinstalls), Size of downloads: 84 kB
Fetch Restriction: 1 package
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/JMDGentooOverlay/gentoo-overlay
 [2] /usr/portage/local/layman/masterdriverz
Not compiling sys-devel/gcc-config-1.4.0-r4
Not rebuilding (1)
Not compiling www-client/mozilla-firefox-bin-2.0.0.14
Not compiling sys-kernel/gentoo-sources-2.6.25-r4
Not compiling sys-devel/gcc-4.2.3
Not compiling sys-libs/glibc-2.6.1
* 485 in total
Checking dev-libs/expat-2. Warn         dev-libs/expat-2.
Checking dev-libs/expat-2. Warn         dev-libs/expat-2.
** Toolchain: rebuilding portage
* Checking dependencies for sys-apps/portage-2.1.4.4..done
Checking sys-apps/portage-2.1.4.4 Toolchain     sys-apps/portage-2.1.4.4
[Toolchain] Rebuilding sys-apps/portage
* Checking portage-2.1.4.tar.bz2 RMD160 SHA1 SHA256
* Checking portage-2.1.4.4.patch.bz2 RMD160 SHA1 SHA256
* Unpacking portage-2.1.4.tar.bz2 to sys-apps/portage-2.1.4.4
* Unpacking portage-2.1.4.4.patch.bz2 to sys-apps/portage-2.1.4.4
* Patching:.done
* Setting portage.VERSION to 2.1.4.4 ...
** Compiling Source ...
** Installing sys-apps/portage-2.1.4.4
* If you have an overlay then you should remove **/files/digest-* files
* (Manifest1) because they are no longer supported. If earlier versions
* of portage will be used to generate manifests for your overlay then you
* should add a file named manifest1_obsolete to the root of the repository
* in order to disable generation of the Manifest1 digest files.
* For help with using portage please consult the Gentoo Handbook
* at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3
** sys-apps/portage-2.1.4.4 installed successfully.
Packages installed so far: 1 of 1.      484 remaining
** Toolchain: rebuilding gcc
* Checking dependencies for sys-devel/gcc-4.2.3..done
Checking sys-devel/gcc-4.2.3 Toolchain  sys-devel/gcc-4.2.3
[Toolchain] Rebuilding sys-devel/gcc
update: user cancelled: Install sys-devel/gcc-4.2.3
* Terminating..done.
# Skipped: sys-devel/gcc-config-1.4.0-r4 [R]  www-client/mozilla-firefox-bin-2.0.0.14 sys-kernel/gentoo-sources-2.6.25-r4 sys-devel/gcc-4.2.3 sys-libs/glibc-2.6.1


Is this known?
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2767
Location: Pittsburgh, PA, USA

PostPosted: Thu May 22, 2008 6:39 pm    Post subject: Reply with quote

steveL wrote:
drescherjm wrote:
What I miss most that if I type emerge -av sa and hit tab the bash completion gives me a list of all packages that start with sa to choose from. Similar to tab completion for filenames.

Wow that sounds cool! No reason we couldn't use same config for update, although I've never used completion. Some of the folks in #bash use it though. The bash man page is confusing, but does have lots of info.

http://tiswww.tis.case.edu/~chet/bash/bashref.html is pretty good too, if you haven't seen it. I'd be glad to help getting it going but I'm not going to take responsibility for doing so, simply as I've never used it. If you want to collaborate on it (it helps to talk about stuff ime) you know the channel ;)


For gentoo bash completion this is handled with

app-shells/gentoo-bashcomp

and is configurable with

eselect bashcomp

I am not sure how (and do not have the time) to extend this to work with update. I was hoping that someone had already done this and not as much asking for a new feature.
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 4111
Location: Removed by Neddy

PostPosted: Fri Jun 06, 2008 6:09 pm    Post subject: Reply with quote

There exists an ebuild for this (and the warning's file). Am trying to get it into sunrise atm since there is no point manually fetching an ebuild for something like this
_________________
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
StephanX
n00b
n00b


Joined: 29 Oct 2007
Posts: 19
Location: Germany

PostPosted: Thu Jun 12, 2008 8:50 pm    Post subject: Reply with quote

Hello,

as I accidentally deleted my /usr/share/apps folder, I wanted to emerge -e world.
Unfortunately, update -e does not work for me. I get the following output:

Code:
Total: 470 packages (470 reinstalls), Size of downloads: 1,622 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/portage/local/layman/font-overlay
!! update: Bad param to compare: sys-apps/shadow
Internal error in verCompare(5107) :operMatch(3833) :isABI(695) :readList(3285) :getList(3243) :checkList(3571) :checkListRetry(5533) : line 6943


Btw., I am using that file: http://dev.gentooexperimental.org/~igli/src/update/update-20080607. Anyways, the same output occurs, when I use update-20080605.

Any hints?
Back to top
View user's profile Send private message
deefster
n00b
n00b


Joined: 19 Apr 2004
Posts: 64

PostPosted: Sun Jun 15, 2008 4:48 pm    Post subject: package with a license agreement hangs Reply with quote

update version: 0.1.4_pre

update =app-emulation/virtualbox-additions-1.6.2

The install appears to hang. It is actually prompting to read and accept a license prior to installation.
A case like this is fairly rare, but I thought I'd report it just the same.

Also, a general feature request:
It would be nice to see the download progress that you get when using emerge.

I've been using this script since 0.1.3.2 and love it.

Thanks,
Darren
Back to top
View user's profile Send private message
UberPinguin
Guru
Guru


Joined: 20 Nov 2005
Posts: 510
Location: 2416.94 Miles From Home

PostPosted: Thu Jun 19, 2008 1:24 pm    Post subject: Reply with quote

Just tried out latest update, SteveL. I really like the new feedback method - showing the currently-running build command is a nice compromise between being informative and eliminating cruft. Well done! 8)
@StephenX: You have a buggy version of update. It has been repaired, and the link is updated. Try again :)
@drescherjm: Try update -h error. And isn't it about time you joined us on IRC? irc.freenode.net/#friendly-coders
@deefster: update does have a progress bar. Are you using axel by chance? We're a bit stuck on the vbox stuff and are looking for ideas.
@all: Sorry for the buggy versions. We should have the normal flow of things back on track soon.
_________________
aidanjt wrote:
You see, instead of arguing from ignorance, and fear, there is only one way to verify a theory. And that's not by clutching a black book and begging the sky fairy for deliverance from the mad scientists and their big machines.
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 ... 5, 6, 7 ... 9, 10, 11  Next
Page 6 of 11

 
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