I'm having trouble figuring out how to patch some Makefile.am files to fix the symlink paths during staging,
For some reason $(DESTDIR) isn't getting prefixed with ${STAGEDIR}.
I tried a few different things like adding MAKE_ENV+=DESTDIR=${STAGEDIR}${PREFIX} or doing the same with MAKE_ARGS. I tried adding "USES=pathfix" and "USES=desthack". None of that seems to have any effect.
The full port (unfinished) can be found at:
An example of one of these Makefile.am files can be found at:
The
make stage-qa
displays these warnings:
Code:
====> Running Q/A tests (stage-qa)
Warning: Bad symlink '/var/db/glusterd/hooks/1/delete/post/S57glusterfind-delete-post' pointing to an absolute pathname '/usr/local/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.py'
Warning: Bad symlink '/usr/local/sbin/gfind_missing_files' pointing to an absolute pathname '/usr/local/libexec/glusterfs/gfind_missing_files/gfind_missing_files.sh'
Warning: Bad symlink '/usr/local/sbin/glustereventsd' pointing to an absolute pathname '/usr/local/libexec/glusterfs/gfevents/glustereventsd.py'
Warning: Bad symlink '/usr/local/sbin/gluster-eventsapi' pointing to an absolute pathname '/usr/local/libexec/glusterfs/peer_eventsapi.py'
For some reason $(DESTDIR) isn't getting prefixed with ${STAGEDIR}.
Code:
install-data-local:
$(mkdir_p) $(DESTDIR)$(GLUSTERD_WORKDIR)/glusterfind/.keys
$(mkdir_p) $(DESTDIR)$(GLUSTERD_WORKDIR)/hooks/1/delete/post/
rm -f $(DESTDIR)$(GLUSTERD_WORKDIR)/hooks/1/delete/post/S57glusterfind-delete-post
ln -s $(GLUSTERFS_LIBEXECDIR)/glusterfind/S57glusterfind-delete-post.py \
$(DESTDIR)$(GLUSTERD_WORKDIR)/hooks/1/delete/post/S57glusterfind-delete-post
I tried a few different things like adding MAKE_ENV+=DESTDIR=${STAGEDIR}${PREFIX} or doing the same with MAKE_ARGS. I tried adding "USES=pathfix" and "USES=desthack". None of that seems to have any effect.
The full port (unfinished) can be found at:
tuaris/freebsd-glusterfs
FreeBSD port for GlusterFS. Contribute to tuaris/freebsd-glusterfs development by creating an account on GitHub.
github.com
An example of one of these Makefile.am files can be found at:
glusterfs/tools/glusterfind/Makefile.am at v7.6 · gluster/glusterfs
Gluster Filesystem : Build your distributed storage in minutes - gluster/glusterfs
github.com
The
poudriere testport
log can be found at (ignore the pkg-list errors, I haven't worked on pkg-list yet):