pmem / pmdk

Persistent Memory Development Kit
https://pmem.io
Other
1.35k stars 511 forks source link

Building rpm and dpkg fails. #5105

Closed nedved1 closed 3 years ago

nedved1 commented 3 years ago

ISSUE: Building rpm and dpkg fails.

Environment Information

Please provide a reproduction of the bug:

  1. Download PMDK source
  2. make -j88 rpm PMEMSET_INSTALL=y

How often bug is revealed: (always, often, rare):

always

Actual behavior:

Make command fails:

...
rm -f -r ../../src/test/.sync-dir
rm -f *.synced
rm -f ../../src/test/tools/anonymous_mmap/max_dax_devices
rm -f envconfig.sh envconfig.py
make[3]: Leaving directory '/home/jenkins-slave/workspace/PMDK-PKG-linux/pmdk_0/src/test'
make[2]: Leaving directory '/home/jenkins-slave/workspace/PMDK-PKG-linux/pmdk_0/src'
test -f .skip-doc || make -C doc clobber
make[2]: Entering directory '/home/jenkins-slave/workspace/PMDK-PKG-linux/pmdk_0/doc'
Makefile:131: *** recipe commences before first target.  Stop.
make[2]: Leaving directory '/home/jenkins-slave/workspace/PMDK-PKG-linux/pmdk_0/doc'
make[1]: *** [Makefile:73: clobber] Error 2
make[1]: Leaving directory '/home/jenkins-slave/workspace/PMDK-PKG-linux/pmdk_0'
make: *** [Makefile:122: rpm] Error 2

Expected behavior:

Make command completed successfully, created rpm packages.

Additional information about Priority and Help Requested:

Make fails due to bug in the https://github.com/pmem/pmdk/blob/master/doc/Makefile, in the line 130 - missing " \" Bug happened since https://github.com/pmem/pmdk/pull/4990

Requested priority: (Showstopper, High, Medium, Low) High

nedved1 commented 3 years ago

Thanks @kswiecicki for fixing that issue but there is an another problem. I've created another issue https://github.com/pmem/pmdk/issues/5116