pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
git-cinnabar: add some dependencies
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By: wiz
Date: Sat Apr 29 21:26:08 2023 +0200
Changeset: 53a2ea8325d27805a79e9b7969258be4c9a57ccd
Modified Files:
git-cinnabar/Makefile
Added Files:
git-cinnabar/TODO
Log Message:
git-cinnabar: add some dependencies
Add upstream bug report about current failure.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=53a2ea8325d27805a79e9b7969258be4c9a57ccd
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
git-cinnabar/Makefile | 7 ++++++
git-cinnabar/TODO | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
diffs:
diff --git a/git-cinnabar/Makefile b/git-cinnabar/Makefile
index 4fa24e2abb..33aa1aa706 100644
--- a/git-cinnabar/Makefile
+++ b/git-cinnabar/Makefile
@@ -10,6 +10,13 @@ HOMEPAGE= https://github.com/glandium/git-cinnabar/
COMMENT= Remote helper to use mercurial repositories with git
LICENSE= mpl-2.0 AND gnu-gpl-v2
+DEPENDS+= git-base-[0-9]*:../../devel/git-base
+
+USE_TOOLS+= gmake
+
+do-build:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE}
+
.include "cargo-depends.mk"
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/git-cinnabar/TODO b/git-cinnabar/TODO
new file mode 100644
index 0000000000..db0fdb899f
--- /dev/null
+++ b/git-cinnabar/TODO
@@ -0,0 +1,63 @@
+Fails to build:
+
+https://github.com/glandium/git-cinnabar/issues/313
+
+error: failed to run custom build command for `git-cinnabar v0.6.1 (/scratch/wip/git-cinnabar/work/git-cinnabar-0.6.1)`
+
+Caused by:
+ process didn't exit successfully: `/scratch/wip/git-cinnabar/work/git-cinnabar-0.6.1/target/release/build/git-cinnabar-1195f9ca7f690327/build-script-build` (exit status: 101)
+ --- stdout
+ OPT_LEVEL = Some("3")
+ TARGET = Some("x86_64-unknown-netbsd")
+ HOST = Some("x86_64-unknown-netbsd")
+ cargo:rerun-if-env-changed=CC_x86_64-unknown-netbsd
+ CC_x86_64-unknown-netbsd = None
+ cargo:rerun-if-env-changed=CC_x86_64_unknown_netbsd
+ CC_x86_64_unknown_netbsd = None
+ cargo:rerun-if-env-changed=HOST_CC
+ HOST_CC = None
+ cargo:rerun-if-env-changed=CC
+ CC = Some("gcc")
+ cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-netbsd
+ CFLAGS_x86_64-unknown-netbsd = None
+ cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_netbsd
+ CFLAGS_x86_64_unknown_netbsd = None
+ cargo:rerun-if-env-changed=HOST_CFLAGS
+ HOST_CFLAGS = None
+ cargo:rerun-if-env-changed=CFLAGS
+ CFLAGS = Some("-O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-clash-protection -I/usr/pkg/include")
+ cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
+ CRATE_CC_NO_DEFAULTS = None
+ DEBUG = Some("false")
+ CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
+ cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-netbsd
+ cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_netbsd
+ cargo:rerun-if-env-changed=CFLAGS
+ cargo:rerun-if-env-changed=TARGET_CFLAGS
+ cargo:rerun-if-env-changed=DEP_CURL_INCLUDE
+ cargo:rerun-if-env-changed=DEP_CURL_STATIC
+ cargo:rerun-if-env-changed=DEP_Z_INCLUDE
+ cargo:rerun-if-env-changed=CC_x86_64-unknown-netbsd
+ cargo:rerun-if-env-changed=CC_x86_64_unknown_netbsd
+ cargo:rerun-if-env-changed=CC
+ cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
+ gmake[1]: Entering directory '/scratch/wip/git-cinnabar/work/git-cinnabar-0.6.1/target/release/build/git-cinnabar-57c10060bfb9abfb/out'
+ echo "ifndef FAKE_INCLUDE" > config.mak.uname
+ echo "#!/bin/sh" > detect-compiler
+ git -C /scratch/wip/git-cinnabar/work/git-cinnabar-0.6.1 submodule sync
+ echo "include /scratch/wip/git-cinnabar/work/git-cinnabar-0.6.1/git-core/config.mak.uname" >> config.mak.uname
+ echo ". /scratch/wip/git-cinnabar/work/git-cinnabar-0.6.1/git-core/detect-compiler" >> detect-compiler
+ chmod +x detect-compiler
+ echo "endif" >> config.mak.uname
+ echo "ifndef FAKE_INCLUDE" > config.mak.dev
+ echo "include /scratch/wip/git-cinnabar/work/git-cinnabar-0.6.1/git-core/config.mak.dev" >> config.mak.dev
+ echo "endif" >> config.mak.dev
+ gmake[1]: Leaving directory '/scratch/wip/git-cinnabar/work/git-cinnabar-0.6.1/target/release/build/git-cinnabar-57c10060bfb9abfb/out'
+
+ --- stderr
+ fatal: not a git repository (or any parent up to mount point /)
+ Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
+ gmake[1]: *** [/scratch/wip/git-cinnabar/work/git-cinnabar-0.6.1/src/build.mk:17: /scratch/wip/git-cinnabar/work/git-cinnabar-0.6.1/git-core/Makefile] Error 128
+ thread 'main' panicked at 'assertion failed: cmd.env(\"MAKEFLAGS\",\n format!(\"-j {}\",\n env(\"CARGO_MAKEFLAGS\"))).current_dir(&out_dir).status().expect(\"Failed to execute GNU make\").success()', build.rs:229:5
+ note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
+warning: build failed, waiting for other jobs to finish...
Home |
Main Index |
Thread Index |
Old Index