ofiwg / fabtests

FROZEN: the master branch has merged with the libfabric git repo

Home Page:http://libfabric.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make dist failure in fabtests

a-ilango opened this issue · comments

Our internal CI picked up a failure in make dist command when building fabtests after the following commit:
1eab4d4

Error logs:

make  dist-bzip2 dist-gzip am__post_remove_distdir='@:'
make[1]: Entering directory `/home/build/buildstore-upstream/psm-rhel7/fabtests/03'
make[1]: *** No rule to make target `common/ft_osd.h', needed by `distdir'.  Stop.
make[1]: Leaving directory `/home/build/buildstore-upstream/psm-rhel7/fabtests/03'
make: *** [dist] Error 2
program finished with exit code 2
elapsedTime=0.042616

cc: @gladkovdmitry17

We will likely need to do something similar to what libfabric does:
https://github.com/ofiwg/libfabric/blob/master/Makefile.am#L59
I didn't notice the osd.h files referenced in the makefile.am. Maybe they need to be added to extra_dist? (I hate this packaging stuff.)

Maybe they need to be added to extra_dist?

Adding the file in EXTRA_DIST fixes the issue. I think that's where it should have been added in the first place. I'll submit a PR for this.

I've added the header file in sources and not EXTRA_DIST. Also moved other header files that were in EXTRA_DIST to sources. This is to mirror the behavior in libfabric. The issue with ft_osd.h was incorrect path.