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

Bug #1285618 reported by Roel Van de Paar on 2014-02-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server
Status tracked in 5.6
5.1
Undecided
Unassigned
5.5
Undecided
Unassigned
5.6
Medium
Tomislav Plavcic

Bug Description

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

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
Roel Van de Paar (roel11) wrote :

Alexey, please check and set proposed triage accordingly. Thanks

Roel Van de Paar (roel11) wrote :
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

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

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

Other bug subscribers