Hi David,

The new darcs is out, bug that problem is still there and it prevent me to build the package for both mandriva i586 and x86_64.
Can you help me to find how to solve it ?

Thanks,

Gaetan

On Sat, 12 Nov 2005 18:25:01 +0100, Gaetan Lehmann <[EMAIL PROTECTED]> wrote:

On Saturday 12 November 2005 15:51, David Roundy wrote:
On Sat, Nov 12, 2005 at 11:24:18AM +0100, Gaetan Lehmann wrote:
> send.sh still fail
> it seems that the sendmail command is not run at all.

Can you see what happens if you add

export DARCS_EDITOR=echo

to the top of send.sh? I'm speculating that perhaps on your system (what OS
is it, btw?)

it's linux mandriva cooker x86_64. ghc 6.4.1

the editor is failing when called by a darcs which is called
by a script.


[EMAIL PROTECTED] darcs]$ export DARCS_EDITOR=echo
[EMAIL PROTECTED] darcs]$ cd tests/
[EMAIL PROTECTED] tests]$ sh send.sh

test $DARCS || DARCS=$PWD/../darcs

rm -rf temp1 temp2
mkdir temp1 temp2

cd temp2
$DARCS init

# setup test
cd ../temp1
$DARCS init
touch foo bar
$DARCS add foo bar
$DARCS record -a -m add_foo_bar -A x
Finished recording patch 'add_foo_bar'

# Test that a default preference value is not needed to send
$DARCS send --author=me -a [EMAIL PROTECTED] "--sendmail-command=cat
%<" ../temp2 | grep -x "To: [EMAIL PROTECTED]"
[EMAIL PROTECTED] tests]
[EMAIL PROTECTED] tests]$ cd temp1/
[EMAIL PROTECTED] temp1]$ ../../darcs send --author=me -a [EMAIL PROTECTED]
"--sendmail-command=echo AAAAAAAAAAAAAAAAAAA" ../temp2
Creating patch to "../temp2"...
Successfully sent patch bundle to: [EMAIL PROTECTED]
[EMAIL PROTECTED] temp1]$

the command seems to not be run :-/


here is the env, if it can help:

[EMAIL PROTECTED] temp1]$ env
LESSKEY=/etc/.less
HOSTNAME=deborah.mandriva.com
PVM_RSH=/usr/bin/rsh
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
TMPDIR=/home/glehmann/tmp
SSH_CLIENT=192.168.2.6 56275 22
GNUSTEP_LOCAL_ROOT=/usr/GNUstep/Local
QTDIR=/usr/lib/qt3/
ICECREAMDIR=/usr/lib64/icecream
SSH_TTY=/dev/pts/17
GNUSTEP_HOST=x86_64-unknown-linux-gnu
USER=glehmann
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
LD_LIBRARY_PATH=/home/glehmann/GNUstep/Library/Libraries:/usr/GNUstep/Local/Library/Libraries:/usr/GNUstep/System/Library/Libraries
GUILE_LOAD_PATH=/home/glehmann/GNUstep/Library/Libraries/Guile:/usr/GNUstep/Local/Library/Libraries/Guile:/usr/GNUstep/System/Library/Libraries/Guile
GNUSTEP_NETWORK_ROOT=/usr/GNUstep/Local
GNUSTEP_MAKEFILES=/usr/GNUstep/System/Library/Makefiles
GNUSTEP_ROOT=/usr/GNUstep
PVM_ROOT=/usr/share/pvm3
GNUSTEP_FLATTENED=yes
GNUSTEP_HOST_OS=linux-gnu
SCREENDIR=/home/glehmann/tmp
PVM_ARCH=
XDG_CONFIG_DIRS=/var/lib/menu-xdg
GNUSTEP_HOST_VENDOR=unknown
NLSPATH=/usr/share/locale/%l/%N
MAIL=/var/spool/mail/glehmann
PATH=/usr/lib64/icecream/bin:/home/glehmann/GNUstep/Tools:/usr/GNUstep/Local/Tools:/usr/GNUstep/System/Tools:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/usr/share/pvm3/:/home/glehmann/bin
SECURE_LEVEL=3
PVM_TMP=/var/run/pvm3
INPUTRC=/etc/inputrc
PWD=/home/glehmann/darcs/tests/temp1
PYTHONSTARTUP=/etc/pythonrc.py
GNUSTEP_HOST_CPU=x86_64
[EMAIL PROTECTED] \W]\$
HISTCONTROL=ignoredups
LESSCHARSET=koi8-r
SHLVL=1
HOME=/home/glehmann
XPVM_ROOT=/usr/X11R6/lib/xpvm/
GNUSTEP_USER_ROOT=/home/glehmann/GNUstep
GCONF_TMPDIR=/tmp
GNUSTEP_SYSTEM_ROOT=/usr/GNUstep/System
TMP=/home/glehmann/tmp
LESS=-MM
[EMAIL PROTECTED]
LOGNAME=glehmann
GNUSTEP_PATHLIST=/home/glehmann/GNUstep:/usr/GNUstep/Local:/usr/GNUstep/System
DARCS_EDITOR=echo
XDG_DATA_DIRS=/var/lib/menu-xdg:/usr/share
CLASSPATH=/home/glehmann/GNUstep/Library/Libraries/Java:/usr/GNUstep/Local/Library/Libraries/Java:/usr/GNUstep/System/Library/Libraries/Java
SSH_CONNECTION=192.168.2.6 56275 192.168.2.67 22
LIBRARY_COMBO=gnu-gnu-gnu
LESSOPEN=|/usr/bin/lesspipe.sh %s
LADSPA_PATH=/usr/lib64/ladspa/
PVMD_NOHOLD=ON
_=/bin/env
OLDPWD=/home/glehmann/darcs/tests
[EMAIL PROTECTED] temp1]$



--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to