View previous topic :: View next topic |
Author |
Message |
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Wed Mar 14, 2007 10:42 am Post subject: Update 0.1.4.0_beta10 [git] --toolchain, --perl |
|
|
You can now get ebuilds (including a git ebuild) at:
http://weaver.gentooexperimental.org/update-dl-install.html
Manual method: (honestly just use the git ebuild;) This will be updated soon, once we have feedback on current version.
wget http://weaver.gentooexperimental.org/src/update/update-20121210.tar.bz2
md5sum update-20121210.tar.bz2
MD5: 9428c80ebeece7e47489d0786bbf8fb6
tar xjf update-20121210.tar.bz2
cd update-20121210
make install
If you prefer to keep a manual git clone (this will make a git directory 'update' in your current working directory):
Code: | git clone git://weaver.gentooexperimental.org/update.git update |
Bug reports: http://weaver.gentooexperimental.org/trac/update/
-- or come and chat in #friendly-coders on chat.freenode.net
The script is effectively just a wrapper to emerge (apart from needing to use -i to install to world.) It always runs an emerge -pv first so you can see what is about to happen, and any USE or SLOT changes (this is of course recommended practice.)
Using it on its own as update (or by shortcut eg update -s to sync first) means it will emerge -uD --changed-use world (or @system @world if you're on portage-2.2), then check GLSAs, depclean and revdep-rebuild. It will then run the config-updater if needed (one of: etc-proposals cfg-update dispatch-conf or etc-update - you can set your own in /etc/update; they are searched in that order, but just putting in configUpdater=/path/blah will override.)
update -h is your friend ;) update --help explains a bit more, and the long-options like --python.
To install something, use update -ia pkg.
It works with --jobs/-j in config, or at command-line. For single or toolchain packages, or if you're not using --jobs, or for revdep-rebuilds, haskell and python updates, you'll see that it makes it much easier to read einfo and ewarns. (This is useful if you want more output than --jobs, nicely filtered.) It also deals with failed packages by leaving them til the end and retrying. Any packages in the list which would need a failed package are also deferred til the end, when another pass will be made over all failed pkgs. It stops when either all the packages have been successfully emerged, or when no packages could be emerged in the pass.
This version has list and USE editing in conjunction with a dialog-based list editor. USE editing is only for single-file package.use and it complains if the pkg (or the slot being emerged) is listed twice. This covers my uses fine; we will add multi-file/multi-line soon, it's just not something I've needed. There is also special toolchain handling when you use -e. I've used this a couple of times already. It also does unmasking based on portage output, prompting you to confirm an unmask of required packages (which you can then unmask just for that version, or the slot/package name.)
We've been working on getting ABI upgrades automated, and it works fine. It picks up whenever a package needs a revdep-rebuild and also has a config file (/etc/warning) for more complicated cases like libpng. Since I have been advocating binhosts for a while, it seemed like a good time to make sure it worked ok. This script will deal nicely with binhosts across the web. (We needed this to test the ABI upgrades in chroot without constantly recompiling; it really is nice :D It's really odd to watch portage install packages as quickly as rpms on other systems.)
You just set PORTAGE_BINHOST and PKGDIR in make.conf (see man make.conf for info) Eg:
Code: | PORTAGE_BINHOST="http://packages.gentooexperimental.org/packages/amd64-stable/"
PKGDIR="/var/pkg" |
is what I would use for amd64. http://tinderbox.dev.gentoo.org/default-linux/ is the officially-unsupported one with less packages, but more secure compilation options.
Then you run with -g or -G. You can also put binHost=1 or binOnly=1 in /etc/update to do this on every run. See the new help for more details (update -h --help and -h config are three separate options.
You can also specify additional binhosts in <dir>/binHosts -- default dir is /root/emerge. It will use the portage binhost first, then check the hosts listed in the binHosts file, one per line. Thus we can use the gentoo tinderbox by default, and fall back to the experimental one for desktop or missing packages. We removed the genpkgindex support, since many web binhosts don't generate the file; we may add this back later. update -h config
Critical packages are protected from removal, see criticalPkg in update -h config; pre and post etc actions are new (testing appreciated, as ever.) If you want to add custom error handling, see update -h error (blame drescherjm ;)
It's been in development since January 2007, and it's been tested to death ;)
We've also debugged it on a couple of clean installs over screen, as well as in a chroot. It really does make life easier.
HTH,
igli#friendly-coders@chat.freenode.net _________________
creaker wrote: | systemd. It is a really ass pain |
update - "a most excellent portage wrapper"
#friendly-coders -- We're still here for you™ ;)
Last edited by steveL on Tue Sep 17, 2013 2:51 pm; edited 63 times in total |
|
Back to top |
|
|
hyakuhei Retired Dev
Joined: 10 Mar 2006 Posts: 11 Location: Wales / Switzerland
|
Posted: Wed Mar 14, 2007 4:47 pm Post subject: |
|
|
Its really interesting, giving it a spin now.
Looks like a typo on line 492.
Cheers
-Rob _________________ * Gentoo Linux Developer
* GPG : 0x2217D168 |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Wed Mar 14, 2007 6:44 pm Post subject: |
|
|
hyakuhei wrote: | Its really interesting, giving it a spin now.
Looks like a typo on line 492. | Thanks for trying it.
Yeah it does dunnit?
Code: | done < <(grep '^\[.*[fF].*\]' "$emergeFile"|sed 's_\[[^/]*\] __g') |
< input redirector <(..) process substitution as input to the while loop. Took me ages to get that out of #bash ;) It's the only way to avoid a subshell and still filter the output, afaik. It's used much more later in the script in installPkg.
edit: it's process subst, not cmd subst which is $(cmd) which is the new (approved ;) way to do `cmd` (nests better, yadda yadda..)
edit2: an example of nesting (thanks to twkm on #bash) is:
Code: | latestKernel=$(set -- $(urpmi --fuzzy kernel 2>&1 |grep -iE "^kernel-2.6"|awk -F '.' '{ print $4 }' | sort -n | awk -F 'mdv' '{ print $1 }'); echo ${!#}) |
edit3: It turns out this is most likely due to running script with 'sh update'; when run as sh BASH goes into POSIX mode aiui; it doesn't support all the bashisms that the script needs. So if you aren't sure about chmod u+x'ing it, run it with 'bash update'.
Last edited by steveL on Tue Jul 03, 2007 2:57 pm; edited 1 time in total |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Wed Mar 21, 2007 1:15 am Post subject: autounmask |
|
|
This is output from a recent update (October 2011: upgrade of texlive from 2008 to 2011) to show unmasking behaviour, with a large set to unmask.
Note that I only have to confirm the unmask of one package, dev-texlive/texlive-latex, for it to also unmask all dependencies. Additionally since I used 'p' to always unmask the package or slot, not its version, there is nothing more to ask me.
Code: | Total: 296 packages (181 upgrades, 92 new, 4 in new slots, 19 reinstalls, 2 uninstalls), Size of downloads: 829,824 kB
Conflict: 14 blocks
The following keyword changes are necessary to proceed:
#required by dev-tex/latex-beamer-3.10-r1, required by app-text/texlive-2011, required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-latex-2011 ~amd64
#required by app-text/texlive-2011[publishers], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-publishers-2011 ~amd64
#required by app-text/texlive-2011[doc,linguas_en], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-documentation-english-2011 ~amd64
#required by dev-tex/dot2texi-3.0, required by app-text/texlive-2011[graphics], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-latexrecommended-2011 ~amd64
#required by app-text/texlive-2011[linguas_en,linguas_en_GB], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-langenglish-2011 ~amd64
#required by app-text/texlive-core-2011-r4, required by dev-texlive/texlive-formatsextra-2011, required by app-text/texlive-2011[extra], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-tex/bibtexu-3.71_p20110705 ~amd64
#required by dev-texlive/texlive-formatsextra-2011, required by app-text/texlive-2011[extra], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=app-text/texlive-core-2011-r4 ~amd64
#required by app-text/texlive-core-2011-r4, required by dev-texlive/texlive-formatsextra-2011, required by app-text/texlive-2011[extra], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=app-text/dvipsk-5.991_p20110705 ~amd64
#required by dev-texlive/texlive-mathextra-2011, required by app-text/texlive-2011[extra], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-fontsrecommended-2011 ~amd64
#required by app-text/texlive-2011[extra], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-fontsextra-2011 ~amd64
#required by app-text/texlive-2011[xetex], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-xetex-2011 ~amd64
#required by dev-texlive/texlive-texinfo-2011, required by app-text/texlive-2011, required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-genericrecommended-2011 ~amd64
#required by app-text/texlive-2011[doc,linguas_fr], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-documentation-french-2011 ~amd64
#required by dev-texlive/texlive-latexextra-2011, required by app-text/texlive-2011[extra], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-pictures-2011 ~amd64
#required by app-text/texlive-2011[extra], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-genericextra-2011 ~amd64
#required by app-text/texlive-2011[linguas_de], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-langgerman-2011 ~amd64
#required by app-text/texlive-2011, required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-metapost-2011 ~amd64
#required by app-text/texlive-2011[extra], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-plainextra-2011 ~amd64
#required by app-text/texlive-2011[extra], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-mathextra-2011 ~amd64
#required by app-text/texlive-2011, required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-texinfo-2011 ~amd64
#required by app-text/texlive-2011[extra], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-formatsextra-2011 ~amd64
#required by dev-texlive/texlive-science-2011, required by app-text/texlive-2011[science], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-pstricks-2011 ~amd64
#required by app-text/texlive-2011[science], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-science-2011 ~amd64
#required by app-text/texlive-2011[extra], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-bibtexextra-2011 ~amd64
#required by app-text/texlive-core-2011-r4, required by dev-texlive/texlive-formatsextra-2011, required by app-text/texlive-2011[extra], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=app-text/ps2pkm-1.5_p20110705 ~amd64
#required by app-text/texlive-2011[xml], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-htmlxml-2011 ~amd64
#required by app-text/texlive-2011, required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-fontutils-2011 ~amd64
#required by app-text/texlive-2011[extra], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-latexextra-2011 ~amd64
#required by dev-texlive/texlive-documentation-english-2011, required by app-text/texlive-2011[doc,linguas_en], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-documentation-base-2011 ~amd64
#required by app-text/texlive-2011[-linguas_eu,linguas_fr], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-langfrench-2011 ~amd64
#required by app-text/texlive-2011[doc,linguas_de], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-documentation-german-2011 ~amd64
#required by app-text/texlive-2011[context], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-context-2011 ~amd64
#required by dev-tex/luatex-0.70.1, required by app-text/texlive-core-2011-r4, required by dev-texlive/texlive-formatsextra-2011, required by app-text/texlive-2011[extra], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-libs/kpathsea-6.0.1_p20110705 ~amd64
#required by dev-texlive/texlive-langgerman-2011, required by app-text/texlive-2011[linguas_de], required by app-doc/doxygen-1.7.3[latex], required by app-text/htmltidy-20090325-r1[doc], required by dev-lang/php-5.3.8[tidy], required by www-servers/lighttpd-1.4.29-r3[php], required by @selected, required by @world (argument)
>=dev-texlive/texlive-basic-2011 ~amd64
NOTE: This --autounmask behavior can be disabled by setting
EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf.
@ Unmask only dev-texlive/texlive-latex ver 2011?
N to unmask slot/pkg V to always unmask version, P to always unmask pkg/slot
(Y n v p) P
* Checking dev-texlive/texlive-latex
# Adding dev-texlive/texlive-latex to package.keywords
* Checking dev-texlive/texlive-publishers
# Adding dev-texlive/texlive-publishers to package.keywords
* Checking dev-texlive/texlive-documentation-english
# Adding dev-texlive/texlive-documentation-english to package.keywords
* Checking dev-texlive/texlive-latexrecommended
# Adding dev-texlive/texlive-latexrecommended to package.keywords
* Checking dev-texlive/texlive-langenglish
# Adding dev-texlive/texlive-langenglish to package.keywords
* Checking dev-tex/bibtexu
# Adding dev-tex/bibtexu to package.keywords
* Checking app-text/texlive-core
# Adding app-text/texlive-core to package.keywords
* Checking app-text/dvipsk
# Adding app-text/dvipsk to package.keywords
* Checking dev-texlive/texlive-fontsrecommended
# Adding dev-texlive/texlive-fontsrecommended to package.keywords
* Checking dev-texlive/texlive-fontsextra
# Adding dev-texlive/texlive-fontsextra to package.keywords
* Checking dev-texlive/texlive-xetex
# Adding dev-texlive/texlive-xetex to package.keywords
* Checking dev-texlive/texlive-genericrecommended
# Adding dev-texlive/texlive-genericrecommended to package.keywords
* Checking dev-texlive/texlive-documentation-french
# Adding dev-texlive/texlive-documentation-french to package.keywords
* Checking dev-texlive/texlive-pictures
# Adding dev-texlive/texlive-pictures to package.keywords
* Checking dev-texlive/texlive-genericextra
# Adding dev-texlive/texlive-genericextra to package.keywords
* Checking dev-texlive/texlive-langgerman
# Adding dev-texlive/texlive-langgerman to package.keywords
* Checking dev-texlive/texlive-metapost
# Adding dev-texlive/texlive-metapost to package.keywords
* Checking dev-texlive/texlive-plainextra
# Adding dev-texlive/texlive-plainextra to package.keywords
* Checking dev-texlive/texlive-mathextra
# Adding dev-texlive/texlive-mathextra to package.keywords
* Checking dev-texlive/texlive-texinfo
# Adding dev-texlive/texlive-texinfo to package.keywords
* Checking dev-texlive/texlive-formatsextra
# Adding dev-texlive/texlive-formatsextra to package.keywords
* Checking dev-texlive/texlive-pstricks
# Adding dev-texlive/texlive-pstricks to package.keywords
* Checking dev-texlive/texlive-science
# Adding dev-texlive/texlive-science to package.keywords
* Checking dev-texlive/texlive-bibtexextra
# Adding dev-texlive/texlive-bibtexextra to package.keywords
* Checking app-text/ps2pkm
# Adding app-text/ps2pkm to package.keywords
* Checking dev-texlive/texlive-htmlxml
# Adding dev-texlive/texlive-htmlxml to package.keywords
* Checking dev-texlive/texlive-fontutils
# Adding dev-texlive/texlive-fontutils to package.keywords
* Checking dev-texlive/texlive-latexextra
# Adding dev-texlive/texlive-latexextra to package.keywords
* Checking dev-texlive/texlive-documentation-base
# Adding dev-texlive/texlive-documentation-base to package.keywords
* Checking dev-texlive/texlive-langfrench
# Adding dev-texlive/texlive-langfrench to package.keywords
* Checking dev-texlive/texlive-documentation-german
# Adding dev-texlive/texlive-documentation-german to package.keywords
* Checking dev-texlive/texlive-context
# Adding dev-texlive/texlive-context to package.keywords
* Checking dev-libs/kpathsea
# Adding dev-libs/kpathsea to package.keywords
* Checking dev-texlive/texlive-basic
# Adding dev-texlive/texlive-basic to package.keywords
Not rebuilding dev-libs/libusb-1.0.8 USE="-debug -doc -static-libs%"
Not rebuilding sys-devel/libtool-2.4-r1 USE="-test% -vanilla"
Not rebuilding x11-apps/xmessage-1.0.3 USE="(-debug%)"
Not rebuilding sys-devel/llvm-2.8-r2 USE="(-alltargets%) -debug libffi -llvm-gcc -multitarget% -ocaml -test -udis86"
Not compiling www-client/firefox-7.0.1-r1
** Installing 291/296 packages
* Uninstall dev-texlive/texlive-latex3(2008) before dev-texlive/texlive-latexrecommended(2011)
* Uninstall dev-tex/translator(1.00) before dev-tex/latex-beamer(3.10-r1)
@ About to cancel? Y to proceed, E to edit list(N y e) Y |
Now, that's what I call handy.
Last edited by steveL on Tue Jul 16, 2013 12:16 am; edited 3 times in total |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Wed Mar 21, 2007 2:15 pm Post subject: |
|
|
This shows what happens when you just run update on its own:
Code: | update
Emerging -uDN world then running revdep-rebuild.
You will be asked for confirmation; CTRL-C to abort at any time.
Resolving...
These are the packages that would be merged, in order:
Calculating world dependencies... done!
[ebuild N ] app-text/iso-codes-0.58 4,322 kB
[ebuild R ] media-sound/jack-audio-connection-kit-0.101.1-r1 USE="alsa jack-tmpfs* mmx netjack portaudio sndfile sse (-altivec) -caps (-coreaudio) -cpudetection -debug -doc -oss" 0 kB
[ebuild R ] gnome-extra/libgsf-1.14.2 USE="bzip2 python -debug -doc -gnome (-static%)" 0 kB
[ebuild N ] x11-libs/libwnck-2.16.2 USE="-debug -doc" 457 kB
[ebuild R ] gnome-base/libgnomecanvas-2.14.0 USE="X -debug -doc (-static%)" 0 kB
[ebuild N ] x11-libs/libsexy-0.1.10 USE="-debug -doc" 379 kB
[ebuild N ] x11-misc/notification-daemon-0.3.6-r1 USE="-debug" 393 kB
[ebuild N ] x11-libs/libnotify-0.4.3 USE="-doc" 381 kB
[ebuild R ] gnome-extra/zenity-2.16.2 USE="libnotify* -debug" 0 kB
[ebuild U ] app-office/openoffice-2.1.0-r1 [2.1.0] USE="branding cairo cups dbus eds gstreamer gtk java kde ldap odk pam sound webdav -binfilter -debug -firefox -gnome -seamonkey" LINGUAS="en_GB -af -ar -as_IN -be_BY -bg -bn -bs -ca -cs -cy -da -de -el -en -en_US -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -lt -lv -mk -nb -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 4,157 kB
Total: 10 packages (1 upgrade, 5 new, 4 reinstalls), Size of downloads: 10,087 kB
Not compiling app-office/openoffice.
About to cancel (y to proceed)?
** Installing app-text/iso-codes-0.58 - 1 of 9.
Downloading iso-codes-0.58.tar.bz2
(586.70 KB/s) - `/usr/portage/distfiles/iso-codes-0.58.tar.bz2' saved [4425093/4425093]
* Automake used for the package (1.9.6) differs from
* the installed version (1.10).
>>> Emerging (1 of 1) app-text/iso-codes-0.58 to /
** app-text/iso-codes-0.58 installed successfully.
Packages installed so far: 1 of 1. 8 remaining.
** Rebuilding media-sound/jack-audio-connection-kit-0.101.1-r1 - 2 of 9.
* including support for experimental netjack, see http://netjack.sourceforge.net/
Patching:..done
>>> Emerging (1 of 1) media-sound/jack-audio-connection-kit-0.101.1-r1 to /
** media-sound/jack-audio-connection-kit-0.101.1-r1 installed successfully.
Packages installed so far: 2 of 2. 7 remaining.
** Rebuilding gnome-extra/libgsf-1.14.2 - 3 of 9.
Patching:done
* Installing GNOME 2 GConf schemas
>>> Emerging (1 of 1) gnome-extra/libgsf-1.14.2 to /
** gnome-extra/libgsf-1.14.2 installed successfully.
Packages installed so far: 3 of 3. 6 remaining.
** Installing x11-libs/libwnck-2.16.2 - 4 of 9.
Downloading libwnck-2.16.2.tar.bz2
(508.91 KB/s) - `/usr/portage/distfiles/libwnck-2.16.2.tar.bz2' saved [467230/467230]
Patching:done
* Installing GNOME 2 GConf schemas
>>> Emerging (1 of 1) x11-libs/libwnck-2.16.2 to /
** x11-libs/libwnck-2.16.2 installed successfully.
Packages installed so far: 4 of 4. 5 remaining.
** Rebuilding gnome-base/libgnomecanvas-2.14.0 - 5 of 9.
Patching:done
* Installing GNOME 2 GConf schemas
>>> Emerging (1 of 1) gnome-base/libgnomecanvas-2.14.0 to /
** gnome-base/libgnomecanvas-2.14.0 installed successfully.
Packages installed so far: 5 of 5. 4 remaining.
** Installing x11-libs/libsexy-0.1.10 - 6 of 9.
Downloading libsexy-0.1.10.tar.gz
(489.24 KB/s) - `/usr/portage/distfiles/libsexy-0.1.10.tar.gz' saved [387337/387337]
Patching:done
* Installing GNOME 2 GConf schemas
>>> Emerging (1 of 1) x11-libs/libsexy-0.1.10 to /
** x11-libs/libsexy-0.1.10 installed successfully.
Packages installed so far: 6 of 6. 3 remaining.
** Installing x11-misc/notification-daemon-0.3.6-r1 - 7 of 9.
Downloading notification-daemon-0.3.6.tar.gz
(513.67 KB/s) - `/usr/portage/distfiles/notification-daemon-0.3.6.tar.gz' saved [402426/402426]
Patching:.done
* Installing GNOME 2 GConf schemas
>>> Emerging (1 of 1) x11-misc/notification-daemon-0.3.6-r1 to /
** x11-misc/notification-daemon-0.3.6-r1 installed successfully.
Packages installed so far: 7 of 7. 2 remaining.
** Installing x11-libs/libnotify-0.4.3 - 8 of 9.
Downloading libnotify-0.4.3.tar.gz
(486.48 KB/s) - `/usr/portage/distfiles/libnotify-0.4.3.tar.gz' saved [389402/389402]
>>> Emerging (1 of 1) x11-libs/libnotify-0.4.3 to /
** x11-libs/libnotify-0.4.3 installed successfully.
Packages installed so far: 8 of 8. 1 remaining.
** Rebuilding gnome-extra/zenity-2.16.2 - 9 of 9.
Patching:.done
* Installing GNOME 2 GConf schemas
>>> Emerging (1 of 1) gnome-extra/zenity-2.16.2 to /
** gnome-extra/zenity-2.16.2 installed successfully.
** All packages compiled successfully
Configuring search environment for revdep-rebuild
Checking reverse dependencies...
Packages containing binaries and libraries broken by a package update
will be emerged.
Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)
Checking dynamic linking consistency...
done.
(/root/.revdep-rebuild.3_rebuild)
Assigning files to ebuilds... Nothing to rebuild
Evaluating package order... done.
(/root/.revdep-rebuild.5_order)
Dynamic linking on your system is consistent... All done.
Skipped update to: app-office/openoffice
|
NB: There may be an issue with using this to install (update -i) in that we've had a report of it installing deps to world as well; so just use it for updating at the moment. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sun Mar 25, 2007 5:04 am Post subject: |
|
|
Minor update to fix bug above. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Mon Apr 02, 2007 2:09 pm Post subject: |
|
|
steveL@portage m-l wrote: | The changes so far planned are to give full dependency information without two pretend emerges, switch to Bash 3.2
regexes, better CTRL-C handling, and some more sensible handling of blockers:
<dev>: I think it'd be great to have an optional feature to not unmerge until the new package is built when dealing with blockers.
Not sure if that can be handled by our script, but I'd like to add some sort of binary handling, and I know my coder mate has got an algorithm somewhere to handle unmasking interactively which a user suggested. It wouldn't take much to add a USE flag lookup, I'm sure. |
So we're thinking to add that stuff; any other things you think should be added, please post in this topic, as we're going to start work on the next version soon. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sat May 12, 2007 12:02 pm Post subject: |
|
|
Man that took a while ;)
Now it's working with 3.2 we can start to move ahead with the fun stuff ;D |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sun May 13, 2007 1:16 pm Post subject: |
|
|
Minor bugfix as it wasn't handling no-rebuild packages (showed up as php insisted on rebuild due to apache use flag being obsolesced, and i had only built it the day before..) Thanks to jakub and kloeri for bugfixing python |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Mon May 14, 2007 6:31 am Post subject: |
|
|
Moved from Documentation, Tips & Tricks to Unsupported Software.
Edit: And back.
Last edited by desultory on Mon Jun 18, 2007 2:17 am; edited 1 time in total |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Mon May 14, 2007 6:49 am Post subject: |
|
|
Er sorry about that, posted it in same forum as Guenther's script (which probably got moved too after I had it bookmarked.) |
|
Back to top |
|
|
deefster Tux's lil' helper
Joined: 19 Apr 2004 Posts: 77
|
Posted: Wed May 16, 2007 9:08 pm Post subject: update script |
|
|
Great script, although it fails on packages with fetch restriction.
ex.
Code: |
dev-java/java-sdk-docs-1.5.0-r1
|
|
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Wed May 16, 2007 10:19 pm Post subject: Re: update script |
|
|
deefster wrote: | Great script, although it fails on packages with fetch restriction. |
Bleh, sorry about that; did you try with -f ? I'll have a look at it tomorrow (after some shuteye :) Sorry for inconvenience. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Thu May 17, 2007 2:39 pm Post subject: |
|
|
OK fixed, it was using the old file format there. This is what happens with fetch-restriction btw (using this is an example):
Code: | # update -ia java-sdk-docs
Resolving...
These are the packages that would be merged, in order:
Calculating dependencies ..... ..... ..... ... done!
[ebuild N F ] dev-java/java-sdk-docs-1.5.0-r1 45,109 kB
Total: 1 package (1 new), Size of downloads: 45,109 kB
Fetch Restriction: 1 package (1 unsatisfied)
Installing to world
Targets: java-sdk-docs.
** update: You have fetch restricted packages which need to be downloaded.
* Please download jdk-1_5_0-doc.zip from
* http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jdk-1.5.0-doc-oth-JPR&SiteId=JSC&TransactionId=noreg
* and place it in /usr/portage/distfiles named as
* jdk-1_5_0-doc-r1.zip. Notice the r1. Because Sun changes the doc zip file
* without changing the filename, we have to resort to renaming to keep
* the md5sum verification working existing and new downloads.
*
* If emerge fails because of a md5sum error it is possible that Sun
* has again changed the upstream release, try downloading the file
* again or a newer revision if available. Otherwise report this to
* http://bugs.gentoo.org/67266 and we will make a new revision.
|
And after downloading the file (using -r to resume; note you could add -v or -q to r):
Code: | ~ # update -r
resume: This will attempt to emerge all packages listed in /root/emerge/emergeList.
Installing to world
Targets: java-sdk-docs.
[ebuild N F ] dev-java/java-sdk-docs-1.5.0-r1 45,109 kB
There were fetch-restricted packages..
About to proceed (N to cancel)?
** Installing dev-java/java-sdk-docs-1.5.0-r1 - 1 of 1.
Installing dev-java/java-sdk-docs-1.5.0-r1 to world.
Completed compile
>>> Recording dev-java/java-sdk-docs in "world" favorites file...
** dev-java/java-sdk-docs-1.5.0-r1 installed successfully.
** All packages compiled successfully
|
HTH. |
|
Back to top |
|
|
tanderson Retired Dev
Joined: 11 Apr 2007 Posts: 193
|
Posted: Fri May 18, 2007 3:23 pm Post subject: |
|
|
Hey, I am trying to get this working so I downloaded the code.
However, I am getting a syntax error:
Code: | ./emerge.sh: line 730: unexpected argument `(' to conditional binary operator
./emerge.sh: line 730: syntax error near `(['
./emerge.sh: line 730: ` elif [[ $l =~ ([0-9]*%) ]]; then echo -en "\r${BASH_REMATCH[1]}"'
|
Any idea what is up with that? _________________ No Man is Just a Number!
--The Prisoner |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sat May 19, 2007 6:45 am Post subject: |
|
|
Code: | ./emerge.sh: line 730: unexpected argument `(' to conditional binary operator
./emerge.sh: line 730: syntax error near `(['
./emerge.sh: line 730: ` elif [[ $l =~ ([0-9]*%) ]]; then echo -en "\r${BASH_REMATCH[1]}"'
|
Man sorry about that; it's working fine on my stable install, but looks like the kind of thing you might get on Bash 3.1. (Regex changes were the major problem for getting the thing working in 3.2.) I've posted an updated version that should work okay on 3.1 as well (i had to add yet another regex variable at line 560.. I really don't like what they did to regexes in 3.2 </rant>)
If you still get errors please post them (as I'm curious anyhow) and try updating to 3.2 with emerge. |
|
Back to top |
|
|
tanderson Retired Dev
Joined: 11 Apr 2007 Posts: 193
|
Posted: Sat May 19, 2007 12:11 pm Post subject: |
|
|
No, I am running bash-3.2.
I don't know though, maybe I was running 3.1 when I had that error. However, I now have this problem:
Anyway, it is working great now. Thanks! _________________ No Man is Just a Number!
--The Prisoner |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Tue May 22, 2007 10:19 am Post subject: |
|
|
Er just to let you know there may be a minor bug with toolchain handling; I'll get it fixed tonight. I'm having a weird error with samba, passing LDFLAGS incorrectly, but it's a good example of the error handling:
Code: | ~ # update
Emerging -uDN world then running revdep-rebuild.
You will be asked for confirmation; CTRL-C to abort at any time.
Resolving...
These are the packages that would be merged, in order:
Calculating world dependencies ..... ..... ..... ....... done!
[ebuild U ] media-libs/freetype-2.3.4-r2 [2.3.3] USE="X zlib -bindist -debug -doc" 1,445 kB
[ebuild R ] dev-lang/php-5.2.2-r1 USE="apache2 berkdb bzip2 calendar cdb cli crypt curl curlwrappers doc flatfile ftp gd gdbm iconv imap java-external kerberos ldap libedit mhash mssql mysql mysqli ncurses odbc pcre posix postgres reflection session sharedext simplexml soap sockets spell spl sqlite ssl sysvipc threads tidy tokenizer truetype unicode wddx xml xmlreader xmlrpc xmlwriter xpm xsl zip zlib -adabas -bcmath -birdstep -cgi -cjk -concurrentmodphp -ctype -db2 -dbase -dbmaker -debug -discard-path -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -force-cgi-redirect -frontbase -gd-external -gmp -hash -inifile -interbase -iodbc -ipv6 -json -ldap-sasl -mcve -msql -nls -oci8 -oci8-instant-client -pcntl -pdo -pdo-external -pic -qdbm -readline -recode -sapdb -sharedmem -snmp -solid -suhosin -sybase -sybase-ct -yaz -zip-external (-apache%)" 0 kB
[ebuild U ] net-fs/samba-3.0.24-r2 [3.0.24] USE="cups fam kerberos ldap pam python readline syslog -acl -async -automount -caps -doc -examples -oav -quotas (-selinux) -swat -winbind" LINGUAS="-ja -pl" 0 kB
[ebuild U ] dev-util/git-1.5.2 [1.5.1.5] USE="curl doc gtk perl tk webdav -bash-completion -emacs -mozsha1 (-ppcsha1)" 1,777 kB
[ebuild U ] app-office/openoffice-2.2.0 [2.1.0] USE="branding cairo cups dbus eds gstreamer gtk java kde ldap mono%* odk pam sound webdav -binfilter -debug -firefox -gnome -seamonkey" LINGUAS="en_GB -af -ar -as_IN -be_BY -bg -bn -br% -bs -ca -cs -cy -da -de -dz% -el -en -en_US -en_ZA -eo% -es -et -fa -fi -fr -ga% -gl% -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku% -lt -lv -mk -ml_IN% -mr_IN% -nb -ne% -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss% -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk% -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 228,380 kB
Total: 5 packages (4 upgrades, 1 reinstall), Size of downloads: 231,601 kB
Not rebuilding (1) dev-lang/php
Not compiling app-office/openoffice.
Removing /root/emerge/failList
About to cancel (Y to proceed)?
** Upgrading to media-libs/freetype-2.3.4-r2 from 2.3.3 - 1 of 3.
Downloading freetype-2.3.4.tar.bz2
(2.60 KB/s) - `/usr/portage/distfiles/freetype-2.3.4.tar.bz2' saved [1277929/1277929]
Downloading ft2demos-2.3.4.tar.gz
(2.07 KB/s) - `/usr/portage/distfiles/ft2demos-2.3.4.tar.gz' saved [201627/201627]
Patching:.....done
* Elibtoolize: unix
Patching:..done
* module: truetype (Windows/Mac font files with extension *.ttf or *.ttc)
* module: type1 (Postscript font files with extension *.pfa or *.pfb)
* module: cff (OpenType fonts with extension *.otf)
* module: cid (Postscript CID-keyed fonts, no known extension)
* module: pfr (PFR/TrueDoc font files with extension *.pfr)
* module: type42 (Type 42 font files with no known extension)
* module: winfnt (Windows bitmap fonts with extension *.fnt or *.fon)
* module: pcf (pcf bitmap fonts)
* module: bdf (bdf bitmap fonts)
* module: sfnt (helper module for TrueType & OpenType formats)
* module: autofit (automatic hinting module)
* module: pshinter (Postscript hinter module)
* module: raster (monochrome bitmap renderer)
* module: smooth (anti-aliased bitmap renderer)
* module: smooth (anti-aliased bitmap renderer for LCDs)
* module: smooth (anti-aliased bitmap renderer for vertical LCDs)
* module: gxvalid (TrueTypeGX/AAT validation module)
* module: otvalid (OpenType validation module)
* module: psaux (Postscript Type 1 & Type 2 helper module)
* module: psnames (Postscript & Unicode Glyph name handling)
Completed compile
Uninstalling media-libs/freetype-2.3.3
** media-libs/freetype-2.3.4-r2 installed successfully.
** Upgrading to net-fs/samba-3.0.24-r2 from 3.0.24 - 2 of 3.
Patching:................done
!!! ERROR: net-fs/samba-3.0.24-r2 failed.
!!! SAMBA make everything error
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/net-fs:samba-3.0.24-r2:20070521-201408.log'.
Completed compile
** net-fs/samba-3.0.24-r2 failed to install.
** Upgrading to dev-util/git-1.5.2 from 1.5.1.5 - 3 of 3.
Checking dependencies..done
Downloading git-1.5.2.tar.bz2
(2.26 KB/s) - `/usr/portage/distfiles/git-1.5.2.tar.bz2' saved [1180424/1180424]
Downloading git-manpages-1.5.2.tar.bz2
(3.70 KB/s) - `/usr/portage/distfiles/git-manpages-1.5.2.tar.bz2' saved [138905/138905]
Downloading git-htmldocs-1.5.2.tar.bz2
(2.11 KB/s) - `/usr/portage/distfiles/git-htmldocs-1.5.2.tar.bz2' saved [499796/499796]
Patching:...done
* new build flags or prefix
* new Tcl/Tk interpreter location
* new locations or Tcl/Tk interpreter
* These additional scripts need some dependencies:
* git-archimport : dev-util/tla
* git-cvsimport : >=dev-util/cvsps-2.1
* git-svnimport : dev-util/subversion(USE=perl)
* git-svn : dev-util/subversion(USE=perl) dev-perl/libwww-perl
* git-quiltimport : dev-util/quilt
* git-cvsserver : dev-perl/DBI dev-perl/DBD-SQLite
* git-instaweb : || ( www-servers/lighttpd net-www/apache(SLOT=2) )
* git-send-email : USE=perl
* git-remote : USE=perl
Completed compile
Uninstalling dev-util/git-1.5.1.5
** dev-util/git-1.5.2 installed successfully.
net-fs/samba-3.0.24-r2: tail -n30 /var/log/portage/net-fs:samba-3.0.24-r2:20070521-201408.log
Retrying 1 package:
net-fs/samba-3.0.24-r2
.
** Upgrading to net-fs/samba-3.0.24-r2 from 3.0.24 - 1 of 1.
Patching:................done
!!! ERROR: net-fs/samba-3.0.24-r2 failed.
!!! SAMBA make everything error
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/net-fs:samba-3.0.24-r2:20070521-204355.log'.
Completed compile
** net-fs/samba-3.0.24-r2 failed to install.
No packages compiled successfully on this run, aborting..
Run revdep-rebuild?
About to cancel (Y to proceed)?
Configuring search environment for revdep-rebuild
Checking reverse dependencies...
Packages containing binaries and libraries broken by a package update
will be emerged.
Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)
Checking dynamic linking consistency...
broken /usr/lib/gpac/gm_ffmpeg_in.so (requires libavformat.so.50)
done.
(/root/.revdep-rebuild.3_rebuild)
Assigning files to packages...
/usr/lib/gpac/gm_ffmpeg_in.so -> media-video/gpac
done.
(/root/.revdep-rebuild.4_packages_raw, /root/.revdep-rebuild.4_package_owners)
Cleaning list of packages to rebuild... done.
(/root/.revdep-rebuild.4_packages)
Assigning packages to ebuilds... done.
(/root/.revdep-rebuild.4_ebuilds)
Evaluating package order... done.
(/root/.revdep-rebuild.5_order)
Dynamic linking on your system is consistent... All done.
Please check /root/emerge/failList and /root/emerge/failReasons.
Compiling modules/getdate.c with -fPIC
Compiling modules/vfs_cap.c with -fPIC
Compiling modules/vfs_expand_msdfs.c with -fPIC
Compiling modules/vfs_shadow_copy.c with -fPIC
Compiling modules/CP850.c with -fPIC
Compiling modules/CP437.c with -fPIC
Compiling auth/auth_script.c with -fPIC
Compiling pam_smbpass/pam_smb_auth.c with -fPIC
Compiling pam_smbpass/pam_smb_passwd.c with -fPIC
Compiling pam_smbpass/pam_smb_acct.c with -fPIC
Compiling pam_smbpass/support.c with -fPIC
PYTHON_OBJS="dynconfig.po param/loadparm.po param/params.po lib/sharesec.po lib/version.po lib/charcnv.po lib/debug.po lib/fault.po lib/getsmbpass.po lib/interface.po lib/md4.po lib/interfaces.po lib/pidfile.po lib/replace.po lib/replace1.po lib/repdir.po lib/timegm.po lib/signal.po lib/system.po lib/sendfile.po lib/time.po lib/ufc.po lib/genrand.po lib/username.po lib/util_pw.po lib/access.po lib/smbrun.po lib/bitmap.po lib/crc32.po lib/snprintf.po lib/dprintf.po lib/xfile.po lib/wins_srv.po lib/util_str.po lib/clobber.po lib/util_sid.po lib/util_uuid.po lib/util_unistr.po lib/util_file.po lib/data_blob.po lib/util.po lib/util_sock.po lib/sock_exec.po lib/util_sec.po lib/talloc.po lib/substitute.po lib/fsusage.po lib/ms_fnmatch.po lib/select.po lib/messages.po lib/tallocmsg.po lib/dmallocmsg.po libsmb/smb_signing.po lib/md5.po lib/hmacmd5.po lib/arc4.po lib/iconv.po nsswitch/wb_client.po nsswitch/wb_common.po lib/pam_errors.po intl/lang_tdb.po lib/adt_tree.po lib/gencache.po tdb/tdb.po tdb/spinlock.po tdb/tdbutil.po tdb/tdbback.po lib/module.po lib/events.po lib/ldap_escape.po lib/secdesc.po lib/util_seaccess.po lib/secace.po lib/secacl.po lib/socket_wrapper.po libads/krb5_errs.po lib/system_smbd.po lib/audit.po lib/dummysmbd.po lib/dummyroot.po libsmb/clientgen.po libsmb/cliconnect.po libsmb/clifile.po libsmb/clikrb5.po libsmb/clispnego.po libsmb/asn1.po libsmb/clirap.po libsmb/clierror.po libsmb/climessage.po libsmb/clireadwrite.po libsmb/clilist.po libsmb/cliprint.po libsmb/clitrans.po libsmb/clisecdesc.po libsmb/clidgram.po libsmb/clistr.po libsmb/cliquota.po libsmb/clifsinfo.po libsmb/clidfs.po libsmb/smberr.po libsmb/credentials.po libsmb/pwd_cache.po libsmb/clioplock.po libsmb/errormap.po libsmb/clirap2.po libsmb/doserr.po rpc_parse/parse_prs.po rpc_parse/parse_misc.po rpc_parse/parse_sec.po libsmb/nterr.po libsmb/dcerpc_err.po libsmb/smbdes.po libsmb/smbencrypt.po libsmb/ntlm_check.po libsmb/ntlmssp.po libsmb/ntlmssp_parse.po libsmb/ntlmssp_sign.po libsmb/unexpected.po libsmb/namecache.po libsmb/nmblib.po libsmb/namequery.po libsmb/conncache.po libads/dns.po rpc_parse/parse_lsa.po rpc_parse/parse_net.po rpc_parse/parse_reg.po rpc_parse/parse_rpc.po rpc_parse/parse_samr.po rpc_parse/parse_srv.po rpc_parse/parse_wks.po rpc_parse/parse_ds.po rpc_parse/parse_spoolss.po rpc_parse/parse_dfs.po rpc_parse/parse_echo.po rpc_parse/parse_shutdown.po rpc_parse/parse_svcctl.po rpc_parse/parse_eventlog.po rpc_parse/parse_buffer.po rpc_parse/parse_ntsvcs.po registry/reg_objects.po rpc_client/cli_lsarpc.po rpc_client/cli_samr.po rpc_client/cli_netlogon.po rpc_client/cli_srvsvc.po rpc_client/cli_wkssvc.po rpc_client/cli_dfs.po rpc_client/cli_reg.po rpc_client/cli_pipe.po rpc_client/cli_spoolss.po rpc_client/cli_spoolss_notify.po rpc_client/cli_ds.po rpc_client/cli_echo.po rpc_client/cli_shutdown.po rpc_client/cli_svcctl.po passdb/pdb_get_set.po passdb/passdb.po passdb/pdb_interface.po passdb/util_wellknown.po passdb/util_builtin.po passdb/pdb_compat.po passdb/util_unixsids.po passdb/lookup_sid.po passdb/login_cache.po passdb/pdb_ldap.po passdb/pdb_nds.po passdb/pdb_smbpasswd.po passdb/pdb_tdb.po lib/account_pol.po lib/privileges.po lib/util_nscd.po groupdb/mapping.po passdb/secrets.po passdb/machine_sid.po libads/kerberos.po libads/ads_status.po lib/smbldap.po lib/smbldap_util.po" \
PYTHON_CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -falign-jumps=4 -falign-labels=4 -falign-loops=4 -D_SAMBA_BUILD_ -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED -O2 -march=athlon-xp -pipe -fomit-frame-pointer -falign-jumps=4 -falign-labels=4 -falign-loops=4 -D_SAMBA_BUILD_ -I/var/tmp/portage/net-fs/samba-3.0.24-r2/work/samba-3.0.24/source/iniparser/src -Iinclude -I/var/tmp/portage/net-fs/samba-3.0.24-r2/work/samba-3.0.24/source/include -I/var/tmp/portage/net-fs/samba-3.0.24-r2/work/samba-3.0.24/source/tdb -I. -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED -I/var/tmp/portage/net-fs/samba-3.0.24-r2/work/samba-3.0.24/source -D_SAMBA_BUILD_ " \
LIBS="-Wl,-rpath -Wl,/usr/lib -O1 -Wl,-O1 -lcrypt -lresolv -lresolv -lnsl -ldl -lldap -llber -L/usr/lib -Wl,-rpath -Wl,/usr/lib -O1 -L/usr/lib -Wl,-rpath -Wl,/usr/lib -O1 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lldap -llber " \
python python/setup.py build
Unknown entry '-O1' in $LIBS variable passed to setup.py
make: *** [python_ext] Error 1
make: *** Waiting for unfinished jobs....
!!! ERROR: net-fs/samba-3.0.24-r2 failed.
Call stack:
ebuild.sh, line 1615: Called dyn_compile
ebuild.sh, line 972: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
samba-3.0.24-r2.ebuild, line 128: Called die
!!! SAMBA make everything error
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/net-fs:samba-3.0.24-r2:20070521-204355.log'.
Skipped app-office/openoffice
|
You'll see it carried on with the other packages, in this case dev-util/git, checking that samba wasn't a dependency that git needed first. Then at the end, it retried samba which failed again. Since no packages were installed on that run, it stopped, and asked if I wanted to run the revdep (since there had been an error.) It did that, then printed out the last part of the error log for samba. If multiple packages had failed, it would have given me a list of tail commands to run to see the same output for each package, based on its logfile. (If you have PORT_LOGDIR="/path" in make.conf; I have it set at /var/log/portage which is standard.)
That's plenty for me to report a bug with (as well as my emerge --info of course :) |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Fri May 25, 2007 3:04 am Post subject: |
|
|
Very nice script indeed
Is there a possibility to support cfg-update as well since this is my favorite config-updater?
I tried already to put "/usr/bin/cfg-update -u" in line 48 but it was not well received
Greetz
swimmer |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Fri May 25, 2007 3:31 am Post subject: |
|
|
Since I'm not really a bash guru I did not dare to fix it myself initially but hey I'll give it a try anyway
Here's my patch created with "diff -n":
Code: | d904 1
a904 5
if [[ $configUpdater == '/usr/bin/cfg-update' ]]; then
$configUpdater -u
else
$configUpdater
fi |
Could you check whether it's ok and perhaps implement it?
Thanks for the good work
swimmer |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Fri May 25, 2007 5:40 pm Post subject: |
|
|
swimmer wrote: | Since I'm not really a bash guru I did not dare to fix it myself initially but hey I'll give it a try anyway ;-) |
Cool! It's always good to dive in :)
Quote: | Here's my patch created with "diff -n":
Code: | d904 1
a904 5
if [[ $configUpdater == '/usr/bin/cfg-update' ]]; then
$configUpdater -u
else
$configUpdater
fi |
Could you check whether it's ok and perhaps implement it? |
Done; it's on line 919 in the new version (and you'll see on l 957 that i changed it to use a path lookup rather than the /usr/sbin directory.) I added a regex so you don't see the message on every ebuild (unless you use -v of course.) There's a coupla bugfixes too.
Quote: | Thanks for the good work |
Thanks for the feedback; cfg-update looks nice too, never tried it before :D |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Wed May 30, 2007 8:54 am Post subject: SKIP='foo/bar baz/blah' |
|
|
Just a minor tweak, as portage was being downgraded due to a bug that doesn't affect me USE="-*" destroys USE_EXPAND variables and according to the ChangeLog, 2.2.8 fixed some other bugs. So I added an environment variable check for $SKIP, which can be used to specify additional packages to skip on a temporary basis.
You can either use:
Code: | SKIP=sys-apps/portage update
update -r |
Or, if you notice a package and want to skip it with resume you can do so eg:
Code: | update
export SKIP=sys-apps/portage
update -r |
assuming that you cancelled the first update on seeing the downgrade message. Note that if SKIP is set at the time of resolving eg SKIP='foo/blah baz/bar' update then any resume will not need the variable set. You can also set it as above, after the initial resolve, but it will then need to be set for every resume (hence the export).
Please note that SKIP is only for temporary fixes and is not recommended as a general solution; the nc (no compile) and nr (no rebuild) arrays at the top of the script are for more permanent changes.
There was also a minor fix to the cfgUpdate regex to catch both types of message. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Fri Jun 15, 2007 4:25 pm Post subject: |
|
|
Hi,
Bugfix to sort out blocker handling; we haven't had a block in ages so we didn't realise it wasn't working Anyhow fixed now, and sorted out SKIP so you can actually skip more than one package eg with SKIP='cat-foo/bar cat-baz/qux' update.
Good time to show how blockers are handled (basically it's up to you whether to continue, skipping the blocked package.) Hopefully for the next release we'll have the blockers sorted out automatically.
Code: | # update
Emerging -uDN world then running revdep-rebuild.
You will be asked for confirmation; CTRL-C to abort at any time.
Resolving...
These are the packages that would be merged, in order:
Calculating world dependencies ..... ..... ..... ........ done!
[ebuild U ] app-arch/cpio-2.7-r2 [2.7-r1] USE="-nls" 0 kB
[ebuild U ] app-arch/gzip-1.3.12 [1.3.11] USE="-nls -pic -static" 452 kB
[ebuild U ] sys-apps/hdparm-7.3 [6.9-r1] 60 kB
[ebuild U ] dev-db/sqlite-3.3.17 [3.3.12] USE="tcl -debug -doc -nothreadsafe -soundex%" 2,062 kB
[ebuild U ] media-libs/libexif-0.6.16 [0.6.15] USE="-doc -nls" 676 kB
[ebuild U ] sys-apps/ed-0.5 [0.4] 53 kB
[ebuild U ] sys-apps/man-pages-2.53 [2.44] USE="-nls" 1,756 kB
[ebuild U ] sys-apps/diffutils-2.8.7-r2 [2.8.7-r1] USE="-nls -static" 0 kB
[ebuild U ] sys-apps/coreutils-6.9-r1 [6.7-r1] USE="-acl -nls (-selinux) -static -xattr" 5,307 kB
[ebuild N ] dev-haskell/quickcheck-1.0-r1 USE="-doc -profile" 1,969 kB
[ebuild U ] dev-haskell/html-1.0-r1 [1.0] USE="-doc% -profile%" 0 kB
[ebuild U ] x11-wm/blackbox-0.70.1 [0.70.0] USE="truetype -debug -nls" 481 kB
[ebuild R ] dev-lang/php-5.2.2-r1 USE="apache2 berkdb bzip2 calendar cdb cli crypt curl curlwrappers doc flatfile ftp gd gdbm iconv imap java-external kerberos ldap libedit mhash mssql mysql mysqli ncurses odbc pcre posix postgres reflection session sharedext simplexml soap sockets spell spl sqlite ssl sysvipc threads tidy tokenizer truetype unicode wddx xml xmlreader xmlrpc xmlwriter xpm xsl zip zlib -adabas -bcmath -birdstep -cgi -cjk -concurrentmodphp -ctype -db2 -dbase -dbmaker -debug -discard-path -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -force-cgi-redirect -frontbase -gd-external -gmp -hash -inifile -interbase -iodbc -ipv6 -json -ldap-sasl -mcve -msql -nls -oci8 -oci8-instant-client -pcntl -pdo -pdo-external -pic -qdbm -readline -recode -sapdb -sharedmem -snmp -solid -suhosin -sybase -sybase-ct -yaz -zip-external (-apache%)" 0 kB
[ebuild U ] net-fs/samba-3.0.24-r3 [3.0.24] USE="cups fam kerberos ldap pam python readline syslog -acl -async -automount -caps -doc -examples -oav -quotas (-selinux) -swat -winbind" LINGUAS="-ja -pl" 0 kB
[ebuild U ] x11-libs/cairo-1.4.6 [1.4.4] USE="X directfb svg -debug -doc -glitz -xcb" 3,108 kB
[ebuild UD] dev-lang/ghc-6.4.2 [6.6] USE="X%* doc openal%* opengl%* test%*" 7,953 kB
[ebuild U ] x11-libs/gtk+-2.10.13 [2.10.12] USE="X jpeg tiff -debug -doc -xinerama" 14,809 kB
[ebuild U ] dev-util/darcs-1.0.9 [1.0.8-r1] USE="doc" 1,035 kB
[ebuild U ] gnome-extra/evolution-data-server-1.8.3-r5 [1.8.3-r4] USE="kerberos ldap nntp ssl -debug -doc -ipv6 -keyring -krb4" 0 kB
[ebuild U ] app-office/openoffice-2.2.1 [2.1.0] USE="branding cairo cups dbus eds gstreamer gtk java kde ldap mono%* odk pam sound webdav -binfilter -debug -firefox -gnome -seamonkey" LINGUAS="en_GB -af -ar -as_IN -be_BY -bg -bn -br% -bs -ca -cs -cy -da -de -dz% -el -en -en_US -en_ZA -eo% -es -et -fa -fi -fr -ga% -gl% -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku% -lt -lv -mk -ml_IN% -mr_IN% -nb -ne% -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss% -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk% -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 229,048 kB
[blocks B ] >=dev-lang/ghc-6.6 (is blocking dev-haskell/html-1.0)
Total: 20 packages (17 upgrades, 1 downgrade, 1 new, 1 reinstall, 1 block), Size of downloads: 268,761 kB
Not rebuilding (1) dev-lang/php.
Not compiling app-office/openoffice.
Not compiling net-fs/samba.
* 17 in total.
** 1 Downgrade:
[ UD] dev-lang/ghc-6.4.2 [6.6] USE="X%* doc openal%* opengl%* test%*" 7,953 kB
There are blocking packages:.
[blocks B ] >=dev-lang/ghc-6.6 (is blocking dev-haskell/html-1.0)
Skipping: dev-haskell/html-1.0
About to cancel (Y to proceed)?
Not rebuilt: dev-lang/php
Skipped: app-office/openoffice net-fs/samba
dev-haskell/html-1.0 blocked by >=dev-lang/ghc-6.6
|
And yeah, this is because I've been running unstable, masked software. Apart from cases like that, I have had no blockers with Gentoo for ages. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Mon Jun 18, 2007 10:12 pm Post subject: |
|
|
Just an example of the kind of info I always used to miss (and an idea of how we might make the -q output look):
Code: |
** 1 Downgrade:
[ UD] app-portage/eix-0.8.8 [0.9.1] USE="sqlite" 0 kB
About to cancel (Y to proceed)?
** Downgrading app-portage/eix-0.8.8 - 2 of 10.
* As of >=eix-0.5.4, "metadata" is the new default cache.
* It's independent of the portage-version and the cache used by portage.
** Upgrading to net-misc/neon-0.26.3 from 0.26.1-r1 - 4 of 10.
Downloading neon-0.26.3.tar.gz
(112.64 KB/s) - `/usr/portage/distfiles/neon-0.26.3.tar.gz' saved [789289/789289]
* Elibtoolize: neon-0.26.3
Patching:.done
* Enabling SSL library thread-safety using POSIX threads...
* There are new features in this version; please beware that
* upstream considers the socks support experimental. If you
* experience test failures (eg, bug 135863) then try rebuilding
* glibc.
* Neon has a policy of breaking API across versions, this means
* that any packages that link against neon will be broken after
* updating. They will remain broken until they are ported to the
* new API. You can downgrade neon to the previous version by doing:
* emerge --oneshot '<net-misc/neon-0.26'
* You may also have to downgrade any packages that have already been
* ported to the new API.
Completed compile
** Upgrading to sys-apps/hal-0.5.9-r1 from 0.5.7.1-r5 - 5 of 10.
Downloading hal-0.5.9.tar.gz
(304.12 KB/s) - `/usr/portage/distfiles/hal-0.5.9.tar.gz' saved [1587364/1587364]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.20-gentoo-r8
Patching:...........................................done
* Eautoreconf: hal-0.5.9
* Elibtoolize: hal-0.5.9
Patching:.done
* The HAL daemon needs to be running for certain applications to
* work. Suggested is to add the init script to your start-up
* scripts, this should be done like this :
* `rc-update add hald default`
* Looking for automounting support? Add yourself to the plugdev group
** Installing dev-libs/apr-util-1.2.8 - 7 of 10.
Downloading apr-util-1.2.8.tar.gz
(101.95 KB/s) - `/usr/portage/distfiles/apr-util-1.2.8.tar.gz' saved [646379/646379]
* Elibtoolize: conftools
Patching:..done
* Found db version 4.5
* Found db version 4.5
Completed compile
** Upgrading to dev-util/subversion-1.3.2-r4 from 1.3.2-r3 - 8 of 10.
* Using: sun-jdk-1.5
Patching:...........done
* Elibtoolize: ac-helpers
Patching:..done
* Subversion Server Notes
* -----------------------
* If you intend to run a server, a repository needs to be created using
* svnadmin (see man svnadmin) or the following command to create it in
* /var/svn:
* emerge --config =dev-util/subversion-1.3.2-r4
* If you upgraded from an older version of berkely db and experience
* problems with your repository then run the following commands as root:
* db4_recover -h /var/svn/repos
* chown -Rf apache:apache /var/svn/repos
* Subversion has multiple server types, take your pick:
* - svnserve daemon:
* 1. edit /etc/conf.d/svnserve
* 2. start daemon: /etc/init.d/svnserve start
* 3. make persistent: rc-update add svnserve default
* - svnserve via xinetd:
* 1. edit /etc/xinetd.d/svnserve (remove disable line)
* 2. restart xinetd.d: /etc/init.d/xinetd restart
* - svn over ssh:
* 1. Fix the repository permissions:
* groupadd svnusers
* chown -R root:svnusers /var/svn/repos/
* chmod -R g-w /var/svn/repos
* chmod -R g+rw /var/svn/repos/db
* chmod -R g+rw /var/svn/repos/locks
* 2. create an svnserve wrapper in /usr/local/bin to set the umask you
* want, for example:
* #!/bin/bash
* umask 002
* exec /usr/bin/svnserve "$@"
* - http-based server:
* 1. edit /etc/conf.d/apache2 to include both "-D DAV" and "-D SVN"
* 2. create an htpasswd file:
* htpasswd2 -m -c /var/svn/conf/svnusers USERNAME
* If you intend to use svn-hot-backup, you can specify the number of
* backups to keep per repository by specifying an environment variable.
* If you want to keep e.g. 2 backups, do the following:
* echo '# hot-backup: Keep that many repository backups around' > /etc/env.d/80subversion
* echo 'SVN_HOTBACKUP_NUM_BACKUPS=2' >> /etc/env.d/80subversion
** Upgrading to app-emulation/wine-0.9.39 from 0.9.38 - 9 of 10.
Downloading wine-0.9.39.tar.bz2
(126.37 KB/s) - `/usr/portage/distfiles/wine-0.9.39.tar.bz2' saved [12093172/12093172]
Patching:.done
* ~/.wine/config is now deprecated. For configuration either use
* winecfg or regedit HKCU\Software\Wine
** Upgrading to dev-util/git-1.5.2.2 from 1.5.2.1 - 10 of 10.
Downloading git-manpages-1.5.2.2.tar.bz2
(75.06 KB/s) - `/usr/portage/distfiles/git-manpages-1.5.2.2.tar.bz2' saved [139718/139718]
Downloading git-1.5.2.2.tar.bz2
(71.51 KB/s) - `/usr/portage/distfiles/git-1.5.2.2.tar.bz2' saved [1190255/1190255]
Downloading git-htmldocs-1.5.2.2.tar.bz2
(93.11 KB/s) - `/usr/portage/distfiles/git-htmldocs-1.5.2.2.tar.bz2' saved [505023/505023]
Patching:.done
* new build flags or prefix
* new Tcl/Tk interpreter location
* new locations or Tcl/Tk interpreter
* These additional scripts need some dependencies:
* git-archimport : dev-util/tla
* git-cvsimport : >=dev-util/cvsps-2.1
* git-svnimport : dev-util/subversion(USE=perl)
* git-svn : dev-util/subversion(USE=perl) dev-perl/libwww-perl dev-perl/TermReadKey
* git-quiltimport : dev-util/quilt
* git-cvsserver : dev-perl/DBI dev-perl/DBD-SQLite
* git-instaweb : || ( www-servers/lighttpd net-www/apache(SLOT=2) )
* git-send-email : USE=perl
* git-remote : USE=perl
|
I've missed out some packages that had nothing interesting of course. It's a good way of seeing what's going on in the tree imo, stuff you miss when there are thousands of lines of compiler output. Note that you can do something similar with portage's bashrc and iirc the MAKE var, but it's not as nice imo (although it is something to explore) since you direct to /dev/null and lose the log aiui. |
|
Back to top |
|
|
mudrii l33t
Joined: 26 Jun 2003 Posts: 789 Location: Singapore
|
Posted: Mon Jun 18, 2007 11:54 pm Post subject: |
|
|
steveL
Thank you for the interesting and useful script I will jump to play with it
Regards _________________ www.gentoo.ro |
|
Back to top |
|
|
|
|
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
|
|