rra / wallet

Secure data management system
https://www.eyrie.org/~eagle/software/wallet/
Other
5 stars 6 forks source link

Wallet 1.4 build fails on debian #76

Open whm opened 6 years ago

whm commented 6 years ago

I am attempting to build Wallet 1.4 for Xenial and hitting a problem. Here is what I have done:

  1. Cloned you github repo.
  2. Used git-archive to create a tar ball from master
  3. Used import-orig to pull the tar ball into the debian/master branch
  4. Attempt a package build using the command: gbp buildpackage --git-debian-branch=debian/master

The build fails. The last few lines of the build output are:

sed 's|\@PERL\@|/usr/bin/perl|' <./server/wallet-report.in >server/wallet-report
chmod a+x server/wallet-report
make[2]: *** No rule to make target 'client/wallet.1', needed by 'all-am'.  Stop.
make[2]: Leaving directory '/build/wallet-1.4'
Makefile:728: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/build/wallet-1.4'
dh_auto_build: make -j1 returned exit code 2
debian/rules:14: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
I: copying local configuration
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
 -> Cleaning COW directory
  forking: rm -rf /var/cache/pbuilder/build/cow.11658
gbp:error: '/usr/bin/git-pbuilder' failed: it exited with 1

The build fails for both Xenial and Sid. I have attached a full build log. wallet_1.4-1_amd64.build.gz

Bill

rra commented 6 years ago

You can't use git archive to create an upstream tarball. It will be missing tons of files that the build system expects to exist. You would need to either run make dist or import the changes since 1.3 as patches.

macrotex commented 4 years ago

@whm Did you ever get a Debian package built for version 1.4?

rra commented 4 years ago

If all you care about is 1.4 as released, Debian packages are available from my personal archive (and have been since the release). https://www.eyrie.org/~eagle/software/debian.html

Bill is trying to build a modified version, which is different.

whm commented 4 years ago

The problems with building where the fault of my debian packing skills. I finally have gotten back to working on wallet, but I have not attempted to merge my changes back into master yet. I am making my changes as patches to the debian/master branch for now. Once I have finished testing my changes I will merge into master and create a pull request for Russ.

My recent changes are to add the checksum command, allow the definition of the characters to use when generating a password, and to implement a method for encrypting file objects on disk. Checksums will allow configuration managers to detect changes in file objects without having to download the files. The default character set for password generation created passwords that were difficult to type which is a problem for root passwords on VMware consoles. Encrypting file objects will make disk backups less sensitive. The encryption requires that the secret be stored in an LDAP directory. Again, the encryption has not been tested yet, I will start on that tomorrow.

My fork is at: https://github.com/whm/wallet.