Closed nedved1 closed 3 years ago
PMDK package version(s): https://github.com/pmem/pmdk/commit/7472202fac1efb4f57b0fa7e72e84dc364547d52 OS(es) version(s): fedora31, fedora33, ubuntu20.04, rhel8.3 ndctl version(s): 69 kernel version(s): 5.8.10-100.fc31.x86_64
Download PMDK source make -j88 rpm PMEMSET_INSTALL=y
always
... librpmem/rpmem_check_version.3.gz librpmem/rpmem_errormsg.3.gz librpmem/rpmem_deep_persist.3.gz librpmem/rpmem_flush.3.gz librpmem/rpmem_drain.3.gz /home/jenkins-slave/workspace/PMDK-PKG-linux/pmdk_0/rpmbuild/BUILDROOT/pmdk-1.10+git150.g7472202fa-1.fc31.x86_64/usr/share/man/man3 [2021-02-15T18:06:56.056Z] install: will not overwrite just-created '/home/jenkins-slave/workspace/PMDK-PKG-linux/pmdk_0/rpmbuild/BUILDROOT/pmdk-1.10+git150.g7472202fa-1.fc31.x86_64/usr/share/man/man3/pmemset_part_map_drop.3.gz' with 'libpmemset/pmemset_part_map_drop.3.gz' [2021-02-15T18:06:56.056Z] make[2]: *** [Makefile:289: install] Error 1 [2021-02-15T18:06:56.056Z] make[2]: Leaving directory '/home/jenkins-slave/workspace/PMDK-PKG-linux/pmdk_0/rpmbuild/BUILD/pmdk-1.10+git150.g7472202fa/doc' [2021-02-15T18:06:56.056Z] make[1]: *** [Makefile:136: install] Error 2 [2021-02-15T18:06:56.056Z] make[1]: Leaving directory '/home/jenkins-slave/workspace/PMDK-PKG-linux/pmdk_0/rpmbuild/BUILD/pmdk-1.10+git150.g7472202fa' [2021-02-15T18:06:56.056Z] error: Bad exit status from /var/tmp/rpm-tmp.YkDzJz (%install) [2021-02-15T18:06:56.056Z] [2021-02-15T18:06:56.056Z] [2021-02-15T18:06:56.056Z] RPM build errors: [2021-02-15T18:06:56.056Z] Bad exit status from /var/tmp/rpm-tmp.YkDzJz (%install) [2021-02-15T18:06:56.056Z] make: *** [Makefile:128: rpm] Error 1
or
librpmem/rpmem_check_version.3.gz librpmem/rpmem_errormsg.3.gz librpmem/rpmem_deep_persist.3.gz librpmem/rpmem_flush.3.gz librpmem/rpmem_drain.3.gz /home/jenkins-slave/workspace/PMDK-PKG-linux/pmdk_0/dpkgbuild/pmdk-1.10+git150.g7472202fa/debian/tmp/usr/share/man/man3 [2021-02-15T12:25:36.916Z] install: will not overwrite just-created '/home/jenkins-slave/workspace/PMDK-PKG-linux/pmdk_0/dpkgbuild/pmdk-1.10+git150.g7472202fa/debian/tmp/usr/share/man/man3/pmemset_part_map_drop.3.gz' with 'libpmemset/pmemset_part_map_drop.3.gz' [2021-02-15T12:25:36.916Z] make[3]: *** [Makefile:289: install] Error 1 [2021-02-15T12:25:36.916Z] make[3]: Leaving directory '/home/jenkins-slave/workspace/PMDK-PKG-linux/pmdk_0/dpkgbuild/pmdk-1.10+git150.g7472202fa/doc' [2021-02-15T12:25:36.916Z] make[2]: *** [Makefile:136: install] Error 2 [2021-02-15T12:25:36.916Z] make[2]: Leaving directory '/home/jenkins-slave/workspace/PMDK-PKG-linux/pmdk_0/dpkgbuild/pmdk-1.10+git150.g7472202fa' [2021-02-15T12:25:36.916Z] dh_auto_install: error: make -j1 install DESTDIR=/home/jenkins-slave/workspace/PMDK-PKG-linux/pmdk_0/dpkgbuild/pmdk-1.10\+git150.g7472202fa/debian/tmp AM_UPDATE_INFO_DIR=no EXPERIMENTAL=n prefix=/usr libdir=/usr/lib/x86_64-linux-gnu includedir=/usr/include docdir=/usr/share/doc man1dir=/usr/share/man/man1 man3dir=/usr/share/man/man3 man5dir=/usr/share/man/man5 man7dir=/usr/share/man/man7 sysconfdir=/etc bashcompdir=/usr/share/bash-completion/completions NORPATH=1 NDCTL_ENABLE=y SRCVERSION=1.10\+git150.g7472202fa PMEM2_INSTALL=y PMEMSET_INSTALL=y returned exit code 2 [2021-02-15T12:25:36.916Z] make[1]: *** [debian/rules:13: override_dh_auto_install] Error 25 [2021-02-15T12:25:36.916Z] make[1]: Leaving directory '/home/jenkins-slave/workspace/PMDK-PKG-linux/pmdk_0/dpkgbuild/pmdk-1.10+git150.g7472202fa' [2021-02-15T12:25:36.916Z] make: *** [debian/rules:4: binary] Error 2 [2021-02-15T12:25:36.916Z] dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2 [2021-02-15T12:25:36.916Z] debuild: fatal error at line 1182: [2021-02-15T12:25:36.916Z] dpkg-buildpackage -us -uc -ui -b failed [2021-02-15T12:25:36.916Z] make: *** [Makefile:128: dpkg] Error 29
Make command completed successfully, created rpm packages.
It looks like there is a duplicate file of: "pmemset_part_map_drop.3.gz" Requested priority: (Showstopper, High, Medium, Low) : High
Fixed here https://github.com/pmem/pmdk/pull/5145
Please verify the issue and close.
This issue has been fixed.
ISSUE: Building rpm and dpkg fails - duplicated file: pmemset_part_map_drop.3.gz
Environment Information
PMDK package version(s): https://github.com/pmem/pmdk/commit/7472202fac1efb4f57b0fa7e72e84dc364547d52 OS(es) version(s): fedora31, fedora33, ubuntu20.04, rhel8.3 ndctl version(s): 69 kernel version(s): 5.8.10-100.fc31.x86_64
Please provide a reproduction of the bug:
Download PMDK source make -j88 rpm PMEMSET_INSTALL=y
How often bug is revealed: (always, often, rare):
always
Actual behavior:
or
Expected behavior:
Make command completed successfully, created rpm packages.
Details
It looks like there is a duplicate file of: "pmemset_part_map_drop.3.gz" Requested priority: (Showstopper, High, Medium, Low) : High