Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: admin/build-doc: make paths absolute #7119

Merged
merged 1 commit into from Jan 6, 2016
Merged

Conversation

dmick
Copy link
Member

@dmick dmick commented Jan 5, 2016

Build failure on docs.dhc because pip apparently was changing directory
before building rbd with cython, causing the relative library path
references to fail. Bite the bullet and make everything absolute (since
we already have TOPDIR to use).

Signed-off-by: Dan Mick dan.mick@redhat.com

@dmick
Copy link
Member Author

dmick commented Jan 5, 2016

@ktdreyer


if [ ! -e $vdir ]; then
virtualenv --system-site-packages $vdir
fi
$vdir/bin/pip install --quiet -r ../admin/doc-requirements.txt
$vdir/bin/pip install --quiet -r $TOPDIR/admin/doc-requirements.txt

install -d -m0755 \
output/html \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should these be absolute too?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep

@jdurgin
Copy link
Member

jdurgin commented Jan 6, 2016

lgtm

Build failure on docs.dhc because pip apparently was changing directory
before building rbd with cython, causing the relative library path
references to fail.  Bite the bullet and make everything absolute (since
we already have TOPDIR to use).

Signed-off-by: Dan Mick <dan.mick@redhat.com>
jdurgin added a commit that referenced this pull request Jan 6, 2016
admin/build-doc: make paths absolute

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
@jdurgin jdurgin merged commit 7dc7c42 into ceph:master Jan 6, 2016
@gregsfortytwo
Copy link
Member

@gregsfortytwo
Copy link
Member

Actually, hmm, maybe something just didn't get set right for the first build. Stuff on top of the commit seems to be getting past that point (http://gitbuilder.sepia.ceph.com/gitbuilder-ceph-rpm-centos7-amd64-basic/log.cgi?log=ca07d1db3edb9e59d485a3a5799c2ff9c13bcadf) so we may be good

@ktdreyer
Copy link
Member

ktdreyer commented Jan 6, 2016

Thanks @dmick for fixing this

@ghost ghost changed the title admin/build-doc: make paths absolute doc: admin/build-doc: make paths absolute Feb 10, 2016
@ghost ghost added the documentation label Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants