httpd/carddav from git sources
ellie timoney
ellie at fastmail.com
Sun Jun 26 20:02:18 EDT 2016
Hi Johan,
I don't know how your git repository got into that state...
> $ git describe
> cyrus-imapd-2.5-snapshot-autoconf-and-automake-3857-g4049dd2
This says that the nearest tag your git can find is
"cyrus-imapd-2.5-snapshot-autoconf-and-automake"(which is over four
years old), and that your branch is 3857 commits ahead of that tag (but
the "cyrus-imapd-2.5.0" release tag is only 1796 commits ahead, so why
didn't describe find that, instead?), and that the commit id of your
branch tip is "4049dd2" (which I don't have, presumably because it's
your local commit containing your changes).
You probably want to refetch entirely I suspect [but keep reading first]
> * remote origin
> Fetch URL: git://git.cyrusimap.org/cyrus-imapd
> Push URL: git://git.cyrusimap.org/cyrus-imapd
> HEAD branch: master
I think these URLs are wrong/old. If you can even fetch from them
anymore, do they update? Look at the dates on the recent commits -- are
they ancient? ('git log --format=fuller' to see commit dates).
But anyway, we just moved our repositories to github last week, so
anything you get from your old origin is going to be stale now
regardless. https://github.com/cyrusimap/cyrus-imapd is the github page
with the clone/fork/etc links.
> I got this all from
> https://cyrusimap.org/mediawiki/index.php/Contribute#Anonymous_GIT_Access;
> the text indicates that development is actually happening elsewhere, but
> it has never been clear to me what the relationship between the
> repositories is.
Okay, that mediawiki is ancient -- I actually thought it was gone
already -- so that explains the old info. I guess you got there from
Google, because it hasn't been linked from cyrusimap.org for ages.
Anyway, I suspect once you set up the correct git remote, and fetch from
that, your build troubles will go away.
Cheers,
ellie
On Fri, Jun 24, 2016, at 11:33 PM, Johan Hattne wrote:
> Hi Ellie;
>
> $ git remote show origin | head -n 4
> * remote origin
> Fetch URL: git://git.cyrusimap.org/cyrus-imapd
> Push URL: git://git.cyrusimap.org/cyrus-imapd
> HEAD branch: master
> $ git describe
> cyrus-imapd-2.5-snapshot-autoconf-and-automake-3857-g4049dd2
>
> I got this all from
> https://cyrusimap.org/mediawiki/index.php/Contribute#Anonymous_GIT_Access;
> the text indicates that development is actually happening elsewhere, but
> it has never been clear to me what the relationship between the
> repositories is.
>
> // Best wishes; Johan
>
> > On Jun 23, 2016, at 19:08, ellie timoney via Info-cyrus <info-cyrus at lists.andrew.cmu.edu> wrote:
> >
> > Hi Johan,
> >
> > What revision are these patches against?
> >
> > The Makefile.am patch is unnecessary, and doesn't apply cleanly anyway,
> > so I suspect you're looking at an old revision.
> >
> > I haven't studied the httpd patch in depth yet.
> >
> > Cheers,
> >
> > ellie
> >
> > On Thu, Jun 23, 2016, at 12:59 AM, Johan Hattne via Info-cyrus wrote:
> >> Dear all;
> >>
> >> To make carddav run from git sources
> >> (git://git.cyrusimap.org/cyrus-imapd) I had to apply attached tiny
> >> patches; the Makefile.am patch addresses a use-before-definition issue
> >> which causes automake-1.14.1 to fall over, the httpd patch ensures that
> >> the sasl_http_request_t structure which is set as a property of
> >> httpd_saslconn does not go out of scope before it is used (I suppose this
> >> behavior is a tad system-dependent). Apologies if both these issues have
> >> already been addressed elsewhere.
> >>
> >> // Best wishes; Johan
> >>
> >> ----
> >> Cyrus Home Page: http://www.cyrusimap.org/
> >> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> >> To Unsubscribe:
> >> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
> >> Email had 2 attachments:
> >> + imap-httpd.patch
> >> 1k (text/plain)
> >> + imap-makefile.patch
> >> 1k (text/plain)
> > ----
> > Cyrus Home Page: http://www.cyrusimap.org/
> > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> > To Unsubscribe:
> > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
>
More information about the Info-cyrus
mailing list