git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: problem installing latest cogito

From
DMdave morgan <morgad@eclipse.co.uk>
Date
Jan 21, 2006, 20:08 UTC
Message-ID
<ep45t15q8ojs215f39ir9sli98163m4b87@4ax.com>
In-Reply-To
<20060121194826.GK28365@pasky.or.cz>
On Sat, 21 Jan 2006 20:48:26 +0100, Petr Baudis <pasky@suse.cz> wrote:
Show 16 quoted lines
>Dear diary, on Sat, Jan 21, 2006 at 03:08:27PM CET, I got a letter
>where dave morgan <morgad@eclipse.co.uk> said that...
>>                 sed -e
>> 's/\${COGITO_LIB}/\${COGITO_LIB:-\/home\/david\/lib\/cogito\/}/g; \
>> 
>> s/\${COGITO_SHARE}/\${COGITO_SHARE:-\/home\/david\/share\/cogito\/}/g'
>> \
>>                        $file > $file.new; \
>>                 cat $file.new > $file; rm $file.new; \
>>         done
>> sed: -e expression #1, char 145: unterminated address regex
>
>(145 is the total expression length.) Now, I'm at loss - this works here
>and I can see nothing wrong on the regexp - does anyone have any idea?
>
>What is your sed version?

~/cogito$ sed --version GNU sed version 4.1.2

(from Debian/testing)
Show 7 quoted lines
>
>> net result - a pile of zero length files in /home/david/bin/   :-(
>> 
>> can I just copy the cg-files from to cogito directory over?
>
>No, you would have to also set $COGITO_LIB and $COGITO_SHARE (or put
>cg-X* scripts to your bin directory as well).
I blundered about for 30 minutes with git-reset, and ended up here -

david@tower2:~/cogito$ cg-log | head commit a9c75f3b8b1adb01859ff2c9b028f72a247837c6 tree c0c2b743d5dbacc33bced6ace62347724664c817 parent 653b039dbf989696160db56bb196a1584932fdeb author Petr Baudis <pasky@suse.cz> Sat, 21 Jan 2006 02:28:30 +0100 committer Petr Baudis <xpasky@machine.or.cz> Sat, 21 Jan 2006 02:28:30 +0100

    Add support for cg-update -v
    Makes it call cg-fetch with -v as well, to list all the changes
being
    pulled.

and then make-install worked, and I seem to have a working cogito ... but 'make test' fails -

*** t9400-clean.sh ***
*   ok 1: initialize repo
*   ok 2: cg-clean -n in top-level dir
*   ok 3: cg-clean -Ddxqn in top-level dir
*   ok 4: cg-clean -n in subdir
* FAIL 5: cg-clean in subdir
        (cd 'repo dir' && cg-clean && check_loss)
*   ok 6: cg-clean -d in subdir
* FAIL 7: cg-clean -x in subdir
        (cd 'repo dir' && cg-clean -x && check_loss)
* FAIL 8: cg-clean in top-level dir
        (cg-clean && check_loss)
* FAIL 9: cg-clean -x in top-level dir
        (cg-clean -x && check_loss)
* FAIL 10: cg-clean -d in top-level dir
        (cg-clean -d && check_loss)
*   ok 11: cg-clean -D in top-level dir
* failed 5 among 11 test(s)
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/david/cogito/t'
make: *** [test] Error 2
is this expected?

best regards Dave

Previous: dave morganNext: Petr Baudis
Message 7 of 10 in “problem installing latest cogito”
  1. dave morganJan 21, 2006
  2. Petr BaudisJan 21, 2006
  3. seanJan 21, 2006
  4. Junio C HamanoJan 21, 2006
  5. Petr BaudisJan 21, 2006
  6. dave morganJan 21, 2006
  7. dave morganJan 21, 2006
  8. Petr BaudisJan 21, 2006
  9. Petr BaudisJan 21, 2006
  10. seanJan 21, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.