Project

General

Profile

Issue #512

checksum.so regen doesn't work

Added by Jonathan Davies over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
build
Affected version:
dr|rc|master
Resolution:
No feedback

Description

So, per the solution on #491, I have this in my debian/rules file.

override_dh_strip:                                                               
    dh_strip --dbg-package=strongswan-dbg                                    
    # Regenerate checksum.so after dh_strip for integrity checking.          
    make -C src/checksum clean install DESTDIR=$(CURDIR)/debian/tmp/

However, looking at the attached build log file, this doesn't seem to have an affect - both checksum runs have the same numbers.

last_operation.log (1.39 MB) last_operation.log Jonathan Davies, 10.02.2014 01:47

Related issues

Related to Bug #491: dh_strip breaking integrity test checksumsClosed17.01.2014

History

#1 Updated by Tobias Brunner over 6 years ago

  • Status changed from New to Feedback

Apparently, make install is called with /tmp/buildd/strongswan-5.1.2~dr3+git20130120/debian/tmp/ as DESTDIR.

Before running dh_strip, dh_install is executed and this seems to copy the built files for each package to /tmp/buildd/strongswan-5.1.2~dr3+git20130120/debian/<package-name>/.

I guess these are then the directories dh_strip operates on.

So unless you can change the order (i.e. let dh_strip run before dh_install - perhaps via --after/--before/--remaining/--until options? - so it operates on the original build directory, if it is at all able to do so) this won't work. So you probably have to either disable the integrity checks (not sure if they add that much value, as something similar could be achieved via e.g. debsums), or don't call dh_strip at all.

#2 Updated by Tobias Brunner over 6 years ago

  • Related to Bug #491: dh_strip breaking integrity test checksums added

#3 Updated by Tobias Brunner over 2 years ago

  • Category set to build
  • Status changed from Feedback to Closed
  • Resolution set to No feedback

Closing old issues. If this is still a problem, please reopen.

Also available in: Atom PDF