[paludis-user] Git syncs broke

denisgolovan denisgolovan at yandex.ru
Mon Jul 12 10:36:25 UTC 2010


Hi Ciaran

All of my git repos are failing now.

12.07.10, 14:10, "Ciaran McCreesh" <ciaran.mccreesh at googlemail.com>:

>  Hrm. Can you try git 1.7? I can't think of anything we're doing that
>  needs an especially new git, but that *might* be it.

I upgraded to git-1.7.1-r1. Same problem.

>  Failing that, could you add a 'set -x' near the top
>  of /usr/libexec/paludis/syncers/dogit and see exactly what it is that's
>  upsetting it?

See both stdout and stderr below. I deleted repository files, made "git init" and tried.

Sync x-mc
+ source /usr/libexec/paludis/echo_functions.bash
++ [[ -z '' ]]
++ PALUDIS_COLOURS=default
++ COLOUR_GREEN=''
++ COLOUR_YELLOW=''
++ COLOUR_RED=''
++ COLOUR_BLUE=''
++ COLOUR_PINK=''
++ COLOUR_CYAN=''
++ COLOUR_BROWN=''
++ COLOUR_PURPLE=''
++ COLOUR_DARK_BLUE=''
++ [[ default == pink ]]
++ COLOUR_GOOD=''
++ COLOUR_WARN=''
++ COLOUR_BAD=''
++ COLOUR_BRACKET=''
++ COLOUR_NORMAL=''
++ PALUDIS_ENDCOL=''
+ old_set=hxB
+ set -a
+ for f in '${PALUDIS_BASHRC_FILES}'
+ [[ -f /etc/paludis/bashrc ]]
+ source /etc/paludis/bashrc
++ CHOST=i686-pc-linux-gnu
++ CFLAGS='-O2 -march=i686 -pipe'
++ CFLAGS_MIN='-O1 -march=i686 -pipe'
++ CFLAGS_MAX='-march=core2 -O2 -pipe -fomit-frame-pointer'
++ CFLAGS_DEBUG='-march=i686 -pipe -ggdb'
++ case "${CATEGORY}/${PN}" in
++ CXXFLAGS='-O2 -march=i686 -pipe'
++ MAKEOPTS=-j3
++ PATH=/usr/lib/ccache/bin/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:/opt/ICAClient:/opt/dmd/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/opt/firebird/bin:/usr/GNUstep/System/Tools:/usr/GNUstep/Local/Tools
++ CCACHE_DIR=/var/tmp/ccache
++ SANDBOX_WRITE=:/var/tmp/ccache
++ umask ug+w
+ [[ hxB == *a* ]]
+ set +a
+ LOCAL=
+ REMOTE=
+ unset LANG LC_ALL LC_NUMERIC
+ export LC_ALL=C
+ LC_ALL=C
+ GIT_CLONE_OPTIONS=()
+ GIT_PULL_OPTIONS=()
+ GIT_FETCH_OPTIONS=()
+ GIT_BRANCH=
+ GIT_USE_RESET=true
+ [[ 2 -gt 0 ]]
+ case "${1}" in
+ [[ -z '' ]]
+ LOCAL=/var/paludis/repositories/mc
+ shift
+ [[ 1 -gt 0 ]]
+ case "${1}" in
+ [[ -z /var/paludis/repositories/mc ]]
+ [[ -z '' ]]
+ REMOTE=git://repo.or.cz/slyfox-gentoo.git
+ shift
+ [[ 0 -gt 0 ]]
+ [[ -z /var/paludis/repositories/mc ]]
+ [[ -z git://repo.or.cz/slyfox-gentoo.git ]]
+ [[ git://repo.or.cz/slyfox-gentoo.git == git+http* ]]
+ [[ git://repo.or.cz/slyfox-gentoo.git == git+rsync* ]]
+ REMOTE=git://repo.or.cz/slyfox-gentoo.git
+ [[ -d /var/paludis/repositories/mc ]]
+ [[ ! -d /var/paludis/repositories/mc/.git ]]
+ [[ -d /var/paludis/repositories/mc ]]
+ cd /var/paludis/repositories/mc
++ git config remote.origin.url
+ OLD_REMOTE=git://repo.or.cz/slyfox-gentoo.git
+ [[ -z git://repo.or.cz/slyfox-gentoo.git ]]
+ [[ git://repo.or.cz/slyfox-gentoo.git != \g\i\t\:\/\/\r\e\p\o\.\o\r\.\c\z\/\s\l\y\f\o\x\-\g\e\n\t\o\o\.\g\i\t ]]
+ cd -
+ [[ -d /var/paludis/repositories/mc/.git ]]
+ true
+ cd /var/paludis/repositories/mc
+ git fetch origin
From git://repo.or.cz/slyfox-gentoo
 * branch            HEAD       -> FETCH_HEAD
+ git reset --hard origin/master
fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
+ exit 128
*** Output log: /var/log/paludis/1278930493-sync-x-mc.out

Sync error:
  * In program paludis --dl-reinstall if-use-changed --log-level warning -s x-mc:
  * When performing sync action from command line:
  * When executing sync task:
  * When syncing repository 'x-mc':
  * When syncing repository 'x-mc':
  * sync of '/var/paludis/repositories/mc' from 'git://repo.or.cz/slyfox-gentoo.git' failed

Sync x-mc failed


Checking for updates (package moves etc):


 * Regenerating cache for installable repositories...
Regenerating cache for virtuals...
Regenerating cache for gentoo...
Regenerating cache for arcon...
Regenerating cache for bazaar...
Regenerating cache for custom-kernels...
Regenerating cache for d-overlay...
Regenerating cache for emacs...
Regenerating cache for game-spring...
Regenerating cache for gentoo_overlay...
Regenerating cache for kde-sunset...
Regenerating cache for kde4-experimental...
Regenerating cache for mozilla...
Regenerating cache for multimedia...
Regenerating cache for overlay...
Regenerating cache for paludis-overlay...
Regenerating cache for portage-overlay...
Regenerating cache for proaudio...
Regenerating cache for sabayon...
Regenerating cache for sunrise...
Regenerating cache for synce...
Regenerating cache for x-mc...
Regenerating cache for x11...
Regenerating cache for xfce-dev...
Regenerating cache for zugaina...
 * Done regenerating cache for installable repositories

 * You have 9 unread news items (use 'eselect news' to read)



P.S. I tried using Paludis 0.48.2 this time.

-- 
Regards,
Denis Golovan aka MageSlayer


More information about the paludis-user mailing list