phantomjs-rpms icon indicating copy to clipboard operation
phantomjs-rpms copied to clipboard

Add missing (build?) dependencies

Open tholewebgods opened this issue 12 years ago • 4 comments

I guess there are undeclared dependencies.

Can anyone confirm this?

  • X11-devel
  • freetype-devel
  • sqlite-devel
  • openssl-devel

I didn't realized they're missing until now as I'm building on a machine where almost everything is installed. ;)

I noticed that (at least) freetype-devel is missing as the build failed on another system.

tholewebgods avatar Jan 04 '13 23:01 tholewebgods

I fear this can be true. I have specific build hosts, which are used to build multiple projects. When these other projects are built first, they will make me install the -devel pkgs.

What about using a Vagrantbox to build? It could be destroyed after every build.

jbraeuer avatar Jan 06 '13 16:01 jbraeuer

I fear this can be true. I have specific build hosts, which are used to build multiple projects.

I do this the same way except that I don't administer the build host and almost everything of the base channel is installed.

Good time to try Vagrant out. Or maybe Mock. Mock will download an locally "install" dependencies as normal user during build.

I'd suggest to do this after #9, because it might take a liitle while for me to setup the appropriate environment.

tholewebgods avatar Jan 06 '13 20:01 tholewebgods

I have very good experience with Vagrant - it can be used in different context. So I could provide some help here. On the other hand mock would be the tool, that was written for exactly this purpose.

Is mock available on RHEL/SL?

jbraeuer avatar Jan 06 '13 21:01 jbraeuer

I have very good experience with Vagrant [...]

I heard about Vagrant one year ago but didn't find the time to try it out. Three months ago I saw a nice usage example (prototyping) on a conference and that had me convinced. ;) If I remember, there's also a public service that allows you to create Vagrant instances ina cloud just by uploading a configuration (you know that probably).

Is mock available on RHEL/SL?

No, not in RH, but in EPEL. I'm not sure if it is OK to use EPEL on a build host that should build clean EL packages, but on the other hand that's what Mock is for: creating a separate build environment.

I didn't use it yet, I read about it recently and will try it as soon as possible.

tholewebgods avatar Jan 06 '13 22:01 tholewebgods