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

Out of tree builds are impossible with config.h in source dir #154

Open
phirestalker opened this issue Aug 5, 2018 · 6 comments
Open

Out of tree builds are impossible with config.h in source dir #154

phirestalker opened this issue Aug 5, 2018 · 6 comments

Comments

@phirestalker
Copy link
Contributor

I noticed this error while compiling and it shows up in your automated compiles as well. Is this going to cause any issues for the nvrcli sample or any custom apps?

[ 65%] Performing configure step for 'ffmpeg' cd /home/travis/build/ozonesecurity/ozonebase/ffmpeg-prefix/src/ffmpeg-build && PKG_CONFIG_PATH=/home/travis/build/ozonesecurity/ozonebase/buildroot/home/travis/ozoneroot/lib/pkgconfig /home/travis/build/ozonesecurity/ozonebase/externals/ffmpeg/configure --enable-shared --libdir=/home/travis/build/ozonesecurity/ozonebase/buildroot/home/travis/ozoneroot/lib --prefix=/home/travis/build/ozonesecurity/ozonebase/buildroot/home/travis/ozoneroot --enable-libopenh264 --extra-ldflags=-L/home/travis/build/ozonesecurity/ozonebase/buildroot/home/travis/ozoneroot/lib --extra-cflags=-I/home/travis/build/ozonesecurity/ozonebase/buildroot/home/travis/ozoneroot/include/wels --pkg-config-flags=--define-variable=libdir=/home/travis/build/ozonesecurity/ozonebase/buildroot/home/travis/ozoneroot/lib --pkg-config-flags=--define-variable=includedir=/home/travis/build/ozonesecurity/ozonebase/buildroot/home/travis/ozoneroot/include Out of tree builds are impossible with config.h in source dir. If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solve the problem. make[2]: *** [ffmpeg-prefix/src/ffmpeg-stamp/ffmpeg-configure] Error 1 make[2]: Leaving directory /home/travis/build/ozonesecurity/ozonebase'
make[1]: *** [CMakeFiles/ffmpeg.dir/all] Error 2
make[1]: Leaving directory /home/travis/build/ozonesecurity/ozonebase' make: *** [all] Error 2

@pliablepixels
Copy link
Contributor

I don't see this whilst using the build script ./ozone-build.sh (I haven't applied your patches). How exactly are you building?

@phirestalker
Copy link
Contributor Author

phirestalker commented Aug 6, 2018

I saw it in the automated builds. Doesn't the automated travisci use the build script? I am using the ./ozone-build.sh script as well. You have to scroll through, this is not at the bottom as it is for one of the external builds I believe.

@pliablepixels
Copy link
Contributor

pliablepixels commented Aug 6, 2018

Yes, travis also uses ./ozone-build.sh ref here. Maybe something that changed in travis - will check

@pliablepixels
Copy link
Contributor

I just did a test build on travis here and did not experience any errors. Maybe that error was transient? In the past I've noticed travis VMs randomly failed at some point or the other.

@phirestalker
Copy link
Contributor Author

from your link, it is here.
screenshot 2018-08-06 13 47 56

@pliablepixels
Copy link
Contributor

Ok thanks - we can ignore this for now. Doesn't affect our build process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants