datalad / git-annex

A non-official clone of git-annex established for DataLad purposes. No PRs will be merged, but could be used to test perspective git-annex patches. Official git-annex repository: https://git.kitenet.net/index.cgi/git-annex.git/
16 stars 3 forks source link

linux build needs another dependency to the image? #149

Closed yarikoptic closed 1 year ago

yarikoptic commented 1 year ago

has been failing

dch warning: new version (10.20221212+git69-g45e71edc1-1~ndall+1) is less than
the current version number (10.20221213).
dch warning: Previous package version was Debian native whilst new version is not
dch: Did you see those 2 warnings?  Press RETURN to continue...
 dpkg-source --before-build .
dpkg-checkbuilddeps: error: Unmet build dependencies: libghc-git-lfs-dev (>= 1.2.0)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
make: *** [Makefile:190: dpkg-buildpackage-S] Error 3
jwodder commented 1 year ago

@yarikoptic It appears that the latest version of libghc-git-lfs-dev available in bullseye's repositories is 1.1.0-3+b3, yet the error message indicates that 1.2.0 or higher is required.

yarikoptic commented 1 year ago

unfortunately my attempt at naive backport build errored out with

 debian/rules build-arch
test -x debian/rules
mkdir -p "."
CDBS WARNING:    DEB_DH_STRIP_ARGS is deprecated since 0.4.85
CDBS WARNING:    DEB_COMPRESS_EXCLUDE is deprecated since 0.4.85
. /usr/share/haskell-devscripts/Dh_Haskell.sh && \
make_setup_recipe
Could not find a suitable Setup.hs file
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:138: debian/hlibrary.setup] Error 1
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
I: copying local configuration
E: Failed autobuilding of package

:-/ I am not yet ready to "give up" and switch to use testing (bookwarm) for the build image. @joeyh -- any hints/help on backporting that libghc-git-lfs-dev for bullseye?

joeyh commented 1 year ago

I've reverted the change that added that build dep. Will revisit after next stable release.

yarikoptic commented 1 year ago

cool, thanks! let's then just expect next build to succeed.

yarikoptic commented 1 year ago

FTR: it did succeed https://github.com/datalad/git-annex/actions/runs/3843433377 . Our state is entirely green -- woohoo -- we should celebrate! ;-)