svn commit: r449632 - head/devel/git-cinnabar
Jan Beich
jbeich at FreeBSD.org
Mon Sep 11 12:57:06 UTC 2017
Author: jbeich
Date: Mon Sep 11 12:57:05 2017
New Revision: 449632
URL: https://svnweb.freebsd.org/changeset/ports/449632
Log:
devel/git-cinnabar: mark BROKEN after r447721
./helper/cinnabar-fast-import.c:95:41: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types]
struct object_entry *oe = find_object((unsigned char *)sha1);
^~~~~~~~~~~~~~~~~~~~~
./helper/fast-import.patched.c:573:59: note: passing argument to parameter 'oid' here
static struct object_entry *find_object(struct object_id *oid)
^
./helper/cinnabar-fast-import.c:105:21: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types]
return find_object((unsigned char *)sha1);
^~~~~~~~~~~~~~~~~~~~~
./helper/fast-import.patched.c:573:59: note: passing argument to parameter 'oid' here
static struct object_entry *find_object(struct object_id *oid)
^
./helper/cinnabar-fast-import.c:230:27: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types]
note = get_note(&hg2git, oid.hash);
^~~~~~~~
./notes.h:144:27: note: passing argument to parameter 'object_oid' here
const struct object_id *object_oid);
^
./helper/cinnabar-fast-import.c:230:7: warning: incompatible pointer types assigning to 'const unsigned char *' from 'const struct object_id *' [-Wincompatible-pointer-types]
note = get_note(&hg2git, oid.hash);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
./helper/cinnabar-fast-import.c:245:18: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types]
e = find_object((unsigned char *)note);
^~~~~~~~~~~~~~~~~~~~~
./helper/fast-import.patched.c:573:59: note: passing argument to parameter 'oid' here
static struct object_entry *find_object(struct object_id *oid)
^
./helper/cinnabar-fast-import.c:247:21: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types]
e = insert_object((unsigned char *)note);
^~~~~~~~~~~~~~~~~~~~~
./helper/fast-import.patched.c:583:61: note: passing argument to parameter 'oid' here
static struct object_entry *insert_object(struct object_id *oid)
^
./helper/cinnabar-fast-import.c:302:24: error: no member named 'sha1' in 'struct branch'
if (!is_null_sha1(b->sha1)) {
~ ^
./helper/cinnabar-fast-import.c:305:37: error: no member named 'sha1' in 'struct branch'
init_notes(notes, sha1_to_hex(b->sha1),
~ ^
./helper/cinnabar-fast-import.c:373:20: warning: incompatible pointer types passing 'unsigned char const[20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types]
c = lookup_commit(oid->hash);
^~~~~~~~~
./commit.h:48:54: note: passing argument to parameter 'oid' here
struct commit *lookup_commit(const struct object_id *oid);
^
./helper/cinnabar-fast-import.c:401:35: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types]
while ((note = get_note(&git2hg, git_id->hash))) {
^~~~~~~~~~~~
./notes.h:144:27: note: passing argument to parameter 'object_oid' here
const struct object_id *object_oid);
^
./helper/cinnabar-fast-import.c:401:15: warning: incompatible pointer types assigning to 'const unsigned char *' from 'const struct object_id *' [-Wincompatible-pointer-types]
while ((note = get_note(&git2hg, git_id->hash))) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./helper/cinnabar-fast-import.c:424:40: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types]
store_object(OBJ_COMMIT, &buf, NULL, git_id->hash, 0);
^~~~~~~~~~~~
./helper/fast-import.patched.c:1086:20: note: passing argument to parameter 'oidout' here
struct object_id *oidout,
^
./helper/cinnabar-fast-import.c:466:32: error: no member named 'sha1' in 'struct pack_idx_entry'
hashcpy(git_id.hash, oe->idx.sha1);
~~~~~~~ ^
./helper/cinnabar-fast-import.c:473:28: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types]
note = get_note(&hg2git, hg_id.hash);
^~~~~~~~~~
./notes.h:144:27: note: passing argument to parameter 'object_oid' here
const struct object_id *object_oid);
^
./helper/cinnabar-fast-import.c:473:8: warning: incompatible pointer types assigning to 'const unsigned char *' from 'const struct object_id *' [-Wincompatible-pointer-types]
note = get_note(&hg2git, hg_id.hash);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./helper/cinnabar-fast-import.c:488:19: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types]
add_note(notes, hg_id.hash, git_id.hash, NULL);
^~~~~~~~~~
./notes.h:124:60: note: passing argument to parameter 'object_oid' here
int add_note(struct notes_tree *t, const struct object_id *object_oid,
^
./helper/cinnabar-fast-import.c:488:31: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types]
add_note(notes, hg_id.hash, git_id.hash, NULL);
^~~~~~~~~~~
./notes.h:125:27: note: passing argument to parameter 'note_oid' here
const struct object_id *note_oid, combine_notes_fn combine_notes);
^
./helper/cinnabar-fast-import.c:520:36: warning: incompatible pointer types passing 'const unsigned char *' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types]
tree_content_set(tree, note_path, note_sha1, mode, NULL);
^~~~~~~~~
./helper/fast-import.patched.c:1549:26: note: passing argument to parameter 'oid' here
const struct object_id *oid,
^
./helper/cinnabar-fast-import.c:534:21: warning: incompatible pointer types passing 'int (const unsigned char *, const unsigned char *, char *, void *)' to parameter of type 'each_note_fn *' (aka 'int (*)(const struct object_id *, const struct object_id *, char *, void *)') [-Wincompatible-pointer-types]
store_each_note, tree))
^~~~~~~~~~~~~~~
./notes.h:208:65: note: passing argument to parameter 'fn' here
int for_each_note(struct notes_tree *t, int flags, each_note_fn fn,
^
./helper/cinnabar-fast-import.c:537:43: error: no member named 'sha1' in 'struct tree_entry_ms'
hashcpy(result->hash, tree->versions[1].sha1);
~~~~~~~~~~~~~~~~~ ^
./helper/cinnabar-fast-import.c:551:49: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types]
store_object(OBJ_BLOB, &file->metadata, NULL, sha1, 0);
^~~~
./helper/fast-import.patched.c:1086:20: note: passing argument to parameter 'oidout' here
struct object_id *oidout,
^
./helper/cinnabar-fast-import.c:553:25: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types]
add_note(&files_meta, file->sha1, sha1, NULL);
^~~~~~~~~~
./notes.h:124:60: note: passing argument to parameter 'object_oid' here
int add_note(struct notes_tree *t, const struct object_id *object_oid,
^
./helper/cinnabar-fast-import.c:553:37: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types]
add_note(&files_meta, file->sha1, sha1, NULL);
^~~~
./notes.h:125:27: note: passing argument to parameter 'note_oid' here
const struct object_id *note_oid, combine_notes_fn combine_notes);
^
./helper/cinnabar-fast-import.c:565:53: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types]
store_object(OBJ_BLOB, &file->content, &last_blob, sha1, 0);
^~~~
./helper/fast-import.patched.c:1086:20: note: passing argument to parameter 'oidout' here
struct object_id *oidout,
^
./helper/cinnabar-fast-import.c:567:20: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types]
add_note(&hg2git, file->sha1, sha1, NULL);
^~~~~~~~~~
./notes.h:124:60: note: passing argument to parameter 'object_oid' here
int add_note(struct notes_tree *t, const struct object_id *object_oid,
^
./helper/cinnabar-fast-import.c:567:32: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types]
add_note(&hg2git, file->sha1, sha1, NULL);
^~~~
./notes.h:125:27: note: passing argument to parameter 'note_oid' here
const struct object_id *note_oid, combine_notes_fn combine_notes);
^
./helper/cinnabar-fast-import.c:569:33: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types]
file->content_oe = find_object(sha1);
^~~~
./helper/fast-import.patched.c:573:59: note: passing argument to parameter 'oid' here
static struct object_entry *find_object(struct object_id *oid)
^
23 warnings and 4 errors generated.
Modified:
head/devel/git-cinnabar/Makefile (contents, props changed)
Modified: head/devel/git-cinnabar/Makefile
==============================================================================
--- head/devel/git-cinnabar/Makefile Mon Sep 11 12:56:57 2017 (r449631)
+++ head/devel/git-cinnabar/Makefile Mon Sep 11 12:57:05 2017 (r449632)
@@ -10,6 +10,8 @@ COMMENT= Git remote helper to interact with Mercurial
LICENSE= GPLv2
+BROKEN= fails to build against git-2.14.*
+
BUILD_DEPENDS= ${NONEXISTENT}:devel/git:configure
RUN_DEPENDS= git:devel/git \
hg:devel/mercurial
More information about the svn-ports-head
mailing list