{"thread":{"id":"1178","subject":"cogito Mac OS X compatibility","startedAt":"2005-07-08T23:34:55Z","lastAt":"2005-07-10T14:29:16Z","messageCount":5,"participants":["Bryan Larsen","Martin Langhoff","Sven Verdoolaege","Petr Baudis"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"5838","messageId":"42CF0D9F.8040909@gmail.com","threadId":"1178","inReplyTo":null,"subject":"cogito Mac OS X compatibility","fromName":"Bryan Larsen","fromEmail":"bryan.larsen@gmail.com","sentAt":"2005-07-08T23:34:55Z","receivedAt":"2005-07-08T23:34:55Z","isPatch":false,"sender":{"key":"bryan@larsen.st","avatar":"https://avatars.githubusercontent.com/u/32073?v=4"},"body":"On Mac OS X\n\n$ cg-clone http://www.kernel.org/pub/scm/cogito/cogito.git\ndefaulting to local storage area\n19:11:10 \nURL:http://www.kernel.org/pub/scm/cogito/cogito.git/refs/heads/master \n[41/41] -> \"refs/heads/origin\" [1]\n/Users/blarsen/bin/cg-pull: line 82: 0 + : syntax error: operand \nexpected (error token is \" \")\ncg-pull: objects pull failed\ncg-init: pull failed\n\nThis appears to be some sort of weird shell thing.  I've got bash 3.0 \ncompiling in the background to see if that fixes the problem.\n\nCogito also appears to rely on the gnu tools.  For instance, I've seen \nthe \"-a\" flag used with cp.  OS X's default installation of cp doesn't \nsupport -a.  darwinports coreutils installs gnu cp as \"gcp\".\n\nMyself, I can't live without cp -a, so have linked gcp to cp, but I \npresume we want to be portable, at least to a certain degree.\n\nBryan\n"},{"id":"5866","messageId":"46a038f905070906402c6b543e@mail.gmail.com","threadId":"1178","inReplyTo":"42CF0D9F.8040909@gmail.com","subject":"Re: cogito Mac OS X compatibility","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2005-07-09T13:40:10Z","receivedAt":"2005-07-09T13:40:10Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"On 7/9/05, Bryan Larsen <bryan.larsen@gmail.com> wrote:\n> On Mac OS X\n\nIt also uses on GNU xargs, and the xargs options aren't compatible\nbetween GNU and BSD xargs.\n\nSad thing is, some of the dependencies, like xargs, aren't available\nin fink, so you can build your toolchaing or boot into GNU/LinuxPPC.\nDebian actually has git (cogito?) experimental packages.\n\ncheers,\n\n\nmartin\n"},{"id":"5870","messageId":"20050709165028.GY18608MdfPADPa@garage.linux.student.kuleuven.ac.be","threadId":"1178","inReplyTo":"42CF0D9F.8040909@gmail.com","subject":"Re: cogito Mac OS X compatibility","fromName":"Sven Verdoolaege","fromEmail":"skimo@kotnet.org","sentAt":"2005-07-09T16:50:28Z","receivedAt":"2005-07-09T16:50:28Z","isPatch":false,"sender":{"key":"skimo@kotnet.org","avatar":null},"body":"On Fri, Jul 08, 2005 at 07:34:55PM -0400, Bryan Larsen wrote:\n> This appears to be some sort of weird shell thing.  I've got bash 3.0 \n> compiling in the background to see if that fixes the problem.\n> \nSounds like you're missing \"stat\" from coreutils.\n\nskimo\n"},{"id":"5872","messageId":"42D019BE.5050000@gmail.com","threadId":"1178","inReplyTo":"20050709165028.GY18608MdfPADPa@garage.linux.student.kuleuven.ac.be","subject":"Re: cogito Mac OS X compatibility","fromName":"Bryan Larsen","fromEmail":"bryan.larsen@gmail.com","sentAt":"2005-07-09T18:38:54Z","receivedAt":"2005-07-09T18:38:54Z","isPatch":false,"sender":{"key":"bryan@larsen.st","avatar":"https://avatars.githubusercontent.com/u/32073?v=4"},"body":"\n> Sounds like you're missing \"stat\" from coreutils.\n> \n> skimo\n> \n\nThanks.  I've got it working to the point where it passes \"make test\" \nnow.  All I had to do was install coreutils and findutils from \ndarwinports, and then make gcp, gstat and gnuxargs available under their \nstandard names.\n\nDo the BSD's or Solaris have the same problem?  Last time I used them \nthey didn't have the gnu options available on their standard utils, but \nthat was ages ago.  If current BSD's have the problem, it might be worth \nexpending some effort to make cogito more portable.  If it's only OS X...\n\nBryan\n"},{"id":"5890","messageId":"20050710142916.GA24249@pasky.ji.cz","threadId":"1178","inReplyTo":"42CF0D9F.8040909@gmail.com","subject":"Re: cogito Mac OS X compatibility","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2005-07-10T14:29:16Z","receivedAt":"2005-07-10T14:29:16Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Sat, Jul 09, 2005 at 01:34:55AM CEST, I got a letter\nwhere Bryan Larsen <bryan.larsen@gmail.com> told me that...\n> On Mac OS X\n> \n> $ cg-clone http://www.kernel.org/pub/scm/cogito/cogito.git\n> defaulting to local storage area\n> 19:11:10 \n> URL:http://www.kernel.org/pub/scm/cogito/cogito.git/refs/heads/master \n> [41/41] -> \"refs/heads/origin\" [1]\n> /Users/blarsen/bin/cg-pull: line 82: 0 + : syntax error: operand \n> expected (error token is \" \")\n> cg-pull: objects pull failed\n> cg-init: pull failed\n\nThat's strange. I assume you don't have the stat utility, but that\nshouldn't matter - Cogito has own stat stub to use in those cases. Could\nyou please put some debugging stuff into stat() in cg-Xlib to see what's\ngoing on? (Beware, cg-pull calls it with 2>/dev/null.) Thanks.\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\n<Espy> be careful, some twit might quote you out of context..\n"}]}