I am using ports-mgmt/poudriere to compile packages with just the options I need. These are then exported via a webserver for FreeBSD clients to download. One of the packages I build is lang/php71 (with lang/php71-extensions and lang/mod_php71).
Now I also want to build lang/php70, because some legacy software needs it. I would like to have it in the same package repository as lang/php71, like it is in the official package repository. When I just add it to my port-list, I get the following error when compiling lang/php70-extensions:
My questions are:
I have also played around with WITH_MPM=event in the make.conf, which results in lang/php70 building. For some reason, lang/php71 builds only on one machine without it.
One thing that is left to do is to always use
I would be happy if someone could share his experience with poudriere (and reproducible builds) and building the same package in different versions into the same pkg repository.
Now I also want to build lang/php70, because some legacy software needs it. I would like to have it in the same package repository as lang/php71, like it is in the official package repository. When I just add it to my port-list, I get the following error when compiling lang/php70-extensions:
Code:
pkg-static: php71-7.1.7 conflicts with php70-7.0.21 (installs files into the same place).
Problematic file: /usr/local/bin/php
- Is it possible to compile multiple versions of the same package into the same repository?
- How is it done for the official repository?
I have also played around with WITH_MPM=event in the make.conf, which results in lang/php70 building. For some reason, lang/php71 builds only on one machine without it.
One thing that is left to do is to always use
poudriere -c
before building, even though it would take a lot of time to build then. I am testing that on the machine that builds lang/php71 without WITH_MPM=event, to see if it still worksI would be happy if someone could share his experience with poudriere (and reproducible builds) and building the same package in different versions into the same pkg repository.