[LU-8869] Fix building of DEB packages and updating changelog Created: 29/Nov/16  Updated: 23/Dec/16  Resolved: 23/Dec/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.9.0
Fix Version/s: Lustre 2.10.0

Type: Improvement Priority: Minor
Reporter: Thomas Stibor Assignee: Dmitry Eremin (Inactive)
Resolution: Fixed Votes: 0
Labels: easy
Environment:

Debian or Ubuntu


Epic/Theme: build, patch
Epic: interoperability
Rank (Obsolete): 9223372036854775807

 Description   

Building Debian/Ubuntu packages with command make debs fails
on current Debian/Ubuntu systems, e.g. with errors:

...
...
dh_install: lustre-dev missing files (debian/tmp/usr/lib/*.so.*), aborting
make[1]: *** [binary-lustre-dev] Error 2

or

dpkg-checkbuilddeps: Unmet build dependencies: module-assistant libsnmp-dev linux-headers-generic | linux-headers
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
autoMakefile:1114: recipe for target 'debs' failed
make: *** [debs] Error 3
...
...


 Comments   
Comment by Peter Jones [ 29/Nov/16 ]

Dmitry

Could you please assist with this one?

Thanks

Peter

Comment by Gerrit Updater [ 29/Nov/16 ]

Thomas Stibor (t.stibor@gsi.de) uploaded a new patch: http://review.whamcloud.com/23999
Subject: LU-8869 build: Fix building of DEB packages
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 1d0fdf960334a1caebcb8d8a5d15cc16b2121fa0

Comment by Thomas Stibor [ 29/Nov/16 ]

A patch is created at http://review.whamcloud.com/#/c/23999/

Comment by Bob Glossman (Inactive) [ 01/Dec/16 ]

In the past I solved conflicts and confusion about multiple versions of lustre modules in /lib/modules by just removing the set I didn't want. If there was a set from drivers/staging, I just removed them, then installed the set from our .deb build.
With only one set of lustre modules present depmod and module loads could not pick the wrong ones.

The solution in this mod is much more elegant, doesn't require manual intervention.

Comment by Gerrit Updater [ 23/Dec/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/23999/
Subject: LU-8869 build: Fix building of DEB packages
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b896484e990667e428e35681552276012d4e444f

Comment by Dmitry Eremin (Inactive) [ 23/Dec/16 ]

Landed for 2.10

Generated at Sat Feb 10 02:21:15 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.