Hi,
I just started using ports-mgmt/poudriere for my port building (quite new to this as well). My project requires me to use gcc(1) to build my ports.
Here is what I would normally do on my build server:
Build gcc(1) with these options:
Then
Now edit my make.conf so that it contains:
Then build any port as I normally do, like Bash, with
This all works.
In Poudriere, I'm a little confused on what happens inside the jail. My procedure from fresh install of Poudriere:
1. build gcc with the same options above using
2. edit the make.conf with the same settings above
3. build Bash using
What am I missing? What is Poudriere doing when it executes "Calculating ports order and dependencies"?
Thanks for helping out a noob.
I just started using ports-mgmt/poudriere for my port building (quite new to this as well). My project requires me to use gcc(1) to build my ports.
Here is what I would normally do on my build server:
Build gcc(1) with these options:
Code:
_OPTIONS_READ=gcc-4.8.3_2
_FILE_COMPLETE_OPTIONS_LIST=BOOTSTRAP JAVA
OPTIONS_FILE_SET+=BOOTSTRAP
OPTIONS_FILE_UNSET+=JAVA
make install clean
.Now edit my make.conf so that it contains:
Code:
.if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc48)
CC=gcc48
CXX=g++48
CPP=cpp48
.endif
USE_GCC=4.8+
OPTIONS_UNSET=EXAMPLES
make install clean
.This all works.
In Poudriere, I'm a little confused on what happens inside the jail. My procedure from fresh install of Poudriere:
1. build gcc with the same options above using
poudriere bulk
2. edit the make.conf with the same settings above
3. build Bash using
poudriere bulk
and I get this error:
Code:
====>> Starting jail 101-RELEASE-default
====>> Loading MOVED
====>> Calculating ports order and dependencies
====>> Computing deps for shells/bash
====>> DEBUG: shells/bash depends on devel/binutils
====>> Computing deps for devel/binutils
====>> DEBUG: devel/binutils depends on devel/binutils
====>> Error: devel/binutils incorrectly depends on itself. Please contact maintainer of the port to fix this.
Thanks for helping out a noob.