Comments (10)
Two folded. /usr/share/devtools
doesn't set it. If anything it is read from ~/.makepkg.conf
and do you want us to just set MAKEPKG="-j$(nproc)"
by default in the container?
from archlinux-repro.
I think repro should do the same as devtools and keep {SRC,SRCPKG,PKG,LOG}DEST
, MAKEFLAGS
and PACKAGER
from the host makepkg.conf
.
from archlinux-repro.
@FFY00 There is no host makepkg.conf
. Repro does not assume an Arch LInux host, which is why it goes through the current troubles.
from archlinux-repro.
Check in /etc/makepkg.conf
and then ~/.makepkg.conf
. Is there anyone conflicting with us on /etc/makepkg.conf
?
from archlinux-repro.
Well yes. Pacman is packaged in several distros. I'd rather supply nproc or allow MAKEFLAGS
env variables then providing a makepkg.conf
file
from archlinux-repro.
Yes, and why is it not acceptable to read /etc/makepkg.conf
if we document it?
And sorry, I messed up the order. I meant check ~/.makepkg.conf
first and then fallback to /etc/makepkg.conf
.
from archlinux-repro.
The issue of defaulting to one core is that it's going to become a common gotcha because this becomes an extra step in the setup instructions of a rebuilder. People running rebuilders shouldn't be required to have the same level of experience as packagers.
from archlinux-repro.
If packagers can't deal with this then we are all doomed.
I am not thinking of any major reason why we couldn't read /etc/makepkg.conf
in other distributions, at least for getting MAKEFLAGS
. If this is really a problem then we can add a build system flag to disable this behavior.
But anyway, it isn't a big deal.
from archlinux-repro.
Repro isn't suppose to be used by packagers. But by users that want to reproduce their packages.
from archlinux-repro.
Right, very well.
I still think a build system flag to enable/disable this behavior is a good solution.
But maybe we should just default to -j$(nproc)
as a user should not be expected to edit a makepkg.conf
to get large builds to not take forever.
from archlinux-repro.
Related Issues (20)
- Rebuilding certificate stores may fail (can't load libffi)
- Issues with BUILDDIR that does not match the one used in official packages HOT 4
- Restrictive umask causes permission errors HOT 12
- Some nspawn subshells ignore errors
- Rebuild fails with pgp error/prompt (signature from ... is marginal trust) HOT 5
- Fix `make release`
- old keyring in BUILDINFO breaks reproducibillity when requiring sha1-sigs HOT 1
- Delayed appearance of packages on the Archive HOT 2
- Lock the build snapshot HOT 1
- buildinfo can fail in hard to debug ways HOT 1
- Running repro in parallel HOT 6
- Automatically import signing key
- epoch not handled when comparing packages HOT 1
- No clear error when GPG signature errors HOT 1
- galera not building since it uses rsync
- Cannot run repro twice in a row within the same terminal HOT 7
- Packages can fail to build due to expired signing keys in old keyrings HOT 6
- Getting PKGBUILD file can fail due to pacman database lock HOT 2
- Make mirror and remote directory for bootstrap images (more) configurable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from archlinux-repro.