"grep: Docs/INFO_SRC: No such file or directory" in build-ps/build-binary.sh

Bug #1285618 reported by Roel Van de Paar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Medium
Tomislav Plavcic
5.1
Invalid
Undecided
Unassigned
5.5
Fix Released
Undecided
Unassigned
5.6
Fix Released
Medium
Tomislav Plavcic

Bug Description

[roel@qaserver percona-server]$ ./build-ps/build-binary.sh .
grep: Docs/INFO_SRC: No such file or directory <-------------
[...]

Tags: pkg qa
Revision history for this message
Roel Van de Paar (roel11) wrote :

File is not to be found

[roel@qaserver percona-server]$ find . | grep INFO_SRC
[roel@qaserver percona-server]$

iirc, this file is used to give information on revisions of source code. Seems somewhat important. However, seems the issue is historical from input by Raghu.

tags: added: pkg
Revision history for this message
Roel Van de Paar (roel11) wrote :

Alexey, please check and set proposed triage accordingly. Thanks

Revision history for this message
Roel Van de Paar (roel11) wrote :
Revision history for this message
Roel Van de Paar (roel11) wrote :

Some further input

<raghu> Roel: I don't think that is used in current builds though
<Roel> https://bugs.launchpad.net/percona-server/+bug/1005787 is of interest
<raghu> for PS builds it is a bit different, INFO_SRC may be generated during source build
<raghu> so http://jenkins.percona.com/job/percona-server-5.5-source-tarball/lastSuccessfulBuild/artifact/percona-server-5.5.36-34.0.tar.gz has it
<Roel> hmm interesting
<raghu> ie. the source tarball build generates INFO_SRC
<Roel> but the build-binary.sh does not
<raghu> no
<raghu> you will need to do what source build does here http://jenkins.percona.com/job/percona-server-5.5-source-tarball/configure
<raghu> cmake . && make dist
<raghu> one of them generates that file
<raghu> Roel: easier would be to run build-binary on artifact of source-tarball build
<raghu> that is what also pushed to downloads/repos as source tar.gz
<raghu> regarding using build-binary on bzr tree
<raghu> yeah, there it may fail
<raghu> may if/then required there to check for that file etc.
<Roel> ok so the bug is valid but there could be better ways to build. would be good to get build-binary.sh to do the same as Jenkins builds

Revision history for this message
Stewart Smith (stewart) wrote : Re: [Bug 1285618] Re: "grep: Docs/INFO_SRC: No such file or directory" in build-ps/build-binary.sh

Roel Van de Paar <email address hidden> writes:
> <raghu> cmake . && make dist
> <raghu> one of them generates that file
> <raghu> Roel: easier would be to run build-binary on artifact of source-tarball build
> <raghu> that is what also pushed to downloads/repos as source tar.gz
> <raghu> regarding using build-binary on bzr tree
> <raghu> yeah, there it may fail
> <raghu> may if/then required there to check for that file etc.
> <Roel> ok so the bug is valid but there could be better ways to
> build. would be good to get build-binary.sh to do the same as Jenkins
> builds

Yep, should be run from source tarball, as the INFO_SRC thing is
generated by MySQL CMake and used in build for all the version info

--
Stewart Smith

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1481

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.