Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Building on Ubuntu Precise fails on LOGIMPORT.3.gz #8
Comments
|
Is it possible this Ubuntu version is not using gzipped man pages? (maybe uses xz, bz2 or some other compression, perhaps). The PCP build infrastructure assumes, via debian/libpcp3-dev.install contents, that gzipped is being used since thats what all Debian distros have traditionally done. That's a guess though - could be some other reason that .gz file is not being generated. Might be worth looking into the configure.ac file and determining which style of compressed man page is being built on your system. |
natoscott
added
bug
help wanted
labels
Jun 3, 2015
|
I cannot reproduce this. On my QA machine where the build runs to completion (and has been doing so twice a week, forever), and after I install the packages ... kenj@vm00:~$ dpkg -S /usr/share/man/man3/LOGIMPORT.3.gz So, unless gwillem can provide us with some more information (the Logs/pcp file would be a helpful start), I'm inclined to close this. |
|
Not reproduced on any of the several Ubuntu variants I have here either, so closing as per Kens comment. |
natoscott
closed this
Jan 8, 2016
spiermar
commented
Apr 27, 2016
•
|
@gwillem have you managed to solve this? having the same issue on Trusty |
|
@spiermar re your earlier mention of "(chroot)" - that might be the key - if you append ", manpages" to the Build-Depends line in debian/control does that fix it? |
natoscott
added a commit
that referenced
this issue
Apr 28, 2016
spiermar
commented
Apr 28, 2016
|
Tried installing manually and building from current master again, same problem. This is Jenkins slave and there's probably something different about it. Just not sure what yet. |
spiermar
commented
Apr 28, 2016
•
|
Is "build/deb/pcp-3.11.2/debian/pcp/usr/share/man/man3/LOGIMPORT.3.gz" the expected path? The file is there, just not UPPERCASE. |
|
On the build slave, it'd be worth checking build/deb/pcp-3.x.y/src/include/builddefs file - it must end up with HAVE_GZIPPED_MANPAGES=true. |
spiermar
commented
Apr 28, 2016
|
|
Yes, that's expected - the INSTALL_MAN macro in builddefs ensures the appropriate case happens based on the contents/headers within each file. |
spiermar
commented
Apr 28, 2016
|
But the cp command is trying "LOGIMPORT.3.gz", and that doesn't exist. Just the lowercase version, "logimport.3.gz". |
|
Yeah, IIRC that INSTALL_MAN macro picks out the correct name to use (can be multiple, can be a mix of upper/lower case) from the ".sh NAME" section in the man page, and uses that. For logimport.3 it's: .SH NAME ... that's where the upper casing comes from. Somehow though we are ending up with the destination file missing from below build/deb/pcp-3.x.y/debian/libpcp3-dev/ though. |
natoscott
added a commit
that referenced
this issue
May 10, 2016
|
@spiermar Martin, I've still not reproduced this, but working on someone's machine who had, I think git pcp master may offer some relief on this issue. Please let me know, either way? Thanks! |
spiermar
commented
May 10, 2016
|
I can try again. I managed to reproduce it consistently, but only on Jenkins. Directly on host, it builds just fine. I'll try it later today and let you know. |
spiermar
commented
May 11, 2016
|
@natoscott apparently it helped. I managed to build PCP on our Jenkins nodes just fine now. |
|
@spiermar great, thanks Martin. I have another person also reporting a now-working build, so looks like this one is finally resolved. |
gwillem commentedApr 9, 2015
Vanilla Ubuntu Precise install with required deps installed.
I have not figured out why it isn't built yet.