Re: head / poudriere && devel/llvm37 Killing timed out build after 86400 seconds

2016-05-07 Thread 小野寛生
Hello,

> [2712/3947] Generating html Sphinx documentation for clang into 
> "/wrkdirs/usr/ports/devel/llvm37/work/.build/tools/clang/docs/html"
> >> Killing timed out build after 86400 seconds

> What can I do? Launch this again as a single poudriere task (normally I
> started with 4 engines)? Set somewhere the timeout value? Any idea why
> this port takes so long to build?

poudriere kills the job if it does not end in a specific amount of time.
You can configure MAX_EXECUTION_TIME and NOHANG_TIME.
See /usr/local/etc/poudriere.conf.sample.

86400 seconds (which is one day) is the default value of
MAX_EXECUTION_TIME, so putting
MAX_EXECUTION_TIME=172800
(2 days) or whatever value larger than 86400 may solve the problem for you.

There are other timeout values which are fixed to 3600 seconds.
If you are using poudriere on a (very) slow machine like me, you might need to
change them by hand. They are set in
  /usr/local/share/poudriere/common.sh
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: head / poudriere && devel/llvm37 Killing timed out build after 86400 seconds

2016-05-05 Thread Matthias Apitz
El día Wednesday, May 04, 2016 a las 03:19:53PM -0700, Don Lewis escribió:

> I see sporadic failures when building docs.  I attributed the failures
> to my use of parallel jobs.  My package build box has 32 GB of RAM and 8
> CPU cores and ALLOW_MAKE_JOBS=yes in poudriere.conf.  My build errors
> look like this:
> 
> Exception occurred:
>   File "/usr/local/lib/python2.7/os.py", line 157, in makedirs
> mkdir(name, mode)
> OSError: [Errno 17] File exists: 
> '/wrkdirs/usr/ports/devel/llvm37/work/.build/do
> cs/_doctrees/Frontend'
> The full traceback has been saved in /tmp/sphinx-err-eHsAw7.log, if you want 
> to
> report the issue to the developers.
> 
> 
> 

My error situation seems to be other: The build is in step 2712 of 3947 and 
gets killed
by puoudriere:

/usr/bin/ld: warning: libclangToolingCore.so.3.7, needed by 
lib/libclangTooling.so.3.7.1, not found
(try using -rpath or -rpath-link)
[2712/3947] Generating html Sphinx documentation for clang into 
"/wrkdirs/usr/ports/devel/llvm37/wor
k/.build/tools/clang/docs/html"
>> Killing timed out build after 86400 seconds
>> Cleaning up wrkdir
===>  Cleaning for llvm37-3.7.1_2
FAILED: cd /wrkdirs/usr/ports/devel/llvm37/work/.build/tools/clang/docs && 
/usr/local/bin/sphinx-bui
ld -b html -d 
/wrkdirs/usr/ports/devel/llvm37/work/.build/tools/clang/docs/_doctrees -q 
/wrkdirs/usr
/ports/devel/llvm37/work/llvm-3.7.1.src/tools/clang/docs 
/wrkdirs/usr/ports/devel/llvm37/work/.build
/tools/clang/docs/html

Exception occurred:
  File "/usr/local/lib/python2.7/genericpath.py", line 62, in getmtime
  return os.stat(filename).st_mtime
  OSError: [Errno 2] No such file or directory: 
'/wrkdirs/usr/ports/devel/llvm37/work/llvm-3.7.1.src/tools/clang/docs/ReleaseNotes.rst'

As the build line 2712 has not timestamp, it's impossible to say how long
this lasted already. I could re-launch this later with DOCS enabled, doing a 
tail -f
on the log file and writing it to some other file with time stamps, like this:

tail -f llvm37-3.7.1_2.log |\
while read line; do \
   echo -n "$(date '+%T'): ";  \
   echo $line ;\
done > llvm37-3.7.1_2.log.timestamped

We will see...

-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
¡Dios querido denos otra vez los problemas de ayer, los que tuvimos en la RDA!
My Lord, give us back the problems of yesterday, those we have had in the GDR.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: head / poudriere && devel/llvm37 Killing timed out build after 86400 seconds

2016-05-04 Thread Don Lewis
On  3 May, Matthias Apitz wrote:
> El día Tuesday, May 03, 2016 a las 10:11:44AM +0100, Bob Eager escribió:
> 
>> I was forced to build llvm37 without documentation. It worked then.
> 
> My poudriere oven at home is a Dell M4400 with 2 CPUs and 4 GB RAM. I
> have built devel/llvm37 right now outside of poudriere in some VM on the same
> system as the jail, but DOCS disabled. The build of the the package took
> around 90 minutes. The VM has only 3 GB RAM.
> 
> I'm now a bit confused. 
> 
> I will re-run the single port in my poudriere oven, as well with DOCS
> disabled, and report back.

I see sporadic failures when building docs.  I attributed the failures
to my use of parallel jobs.  My package build box has 32 GB of RAM and 8
CPU cores and ALLOW_MAKE_JOBS=yes in poudriere.conf.  My build errors
look like this:

Exception occurred:
  File "/usr/local/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: '/wrkdirs/usr/ports/devel/llvm37/work/.build/do
cs/_doctrees/Frontend'
The full traceback has been saved in /tmp/sphinx-err-eHsAw7.log, if you want to
report the issue to the developers.

but with different directories each time.

Most times I get a successful build, but it takes quite a while.


___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: head / poudriere && devel/llvm37 Killing timed out build after 86400 seconds

2016-05-04 Thread Matthias Apitz
El día Tuesday, May 03, 2016 a las 02:46:15PM +0200, Matthias Apitz escribió:

> El día Tuesday, May 03, 2016 a las 10:11:44AM +0100, Bob Eager escribió:
> 
> > I was forced to build llvm37 without documentation. It worked then.
> 
> My poudriere oven at home is a Dell M4400 with 2 CPUs and 4 GB RAM. I
> have built devel/llvm37 right now outside of poudriere in some VM on the same
> system as the jail, but DOCS disabled. The build of the the package took
> around 90 minutes. The VM has only 3 GB RAM.
> 
> I'm now a bit confused. 
> 
> I will re-run the single port in my poudriere oven, as well with DOCS
> disabled, and report back.

On my M4400 in poudriere as single port it took 3:32h. When I'm through
will all ports, I will build it without poudriere again to compare it.

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
¡Dios querido denos otra vez los problemas de ayer, los que tuvimos en la RDA!
My Lord, give us back the problems of yesterday, those we have had in the GDR.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: head / poudriere && devel/llvm37 Killing timed out build after 86400 seconds

2016-05-03 Thread Brooks Davis
On Tue, May 03, 2016 at 02:46:15PM +0200, Matthias Apitz wrote:
> El d??a Tuesday, May 03, 2016 a las 10:11:44AM +0100, Bob Eager escribi??:
> 
> > I was forced to build llvm37 without documentation. It worked then.
> 
> My poudriere oven at home is a Dell M4400 with 2 CPUs and 4 GB RAM. I
> have built devel/llvm37 right now outside of poudriere in some VM on the same
> system as the jail, but DOCS disabled. The build of the the package took
> around 90 minutes. The VM has only 3 GB RAM.
> 
> I'm now a bit confused. 
> 
> I will re-run the single port in my poudriere oven, as well with DOCS
> disabled, and report back.

3GB is likely enough if nothing else is going on and you're not
presenting more than one virtual CPU.  With two CPUs and other builds
going on, you're likely swapping which is going to hurt even more in a
vm.  You might consider turning off OPTIONS you don't need beyond doc
(in particular LLDB is large and hard for our ancient linker to link).

-- Brooks

P.S. build time on a lightly loaded 24-core machine with SSD and 256GB
of RAM exceeds 10 minutes and performs several GB of disk IO so taking
more than a day seems long, but not completely implausible on your
system.


signature.asc
Description: PGP signature


Re: head / poudriere && devel/llvm37 Killing timed out build after 86400 seconds

2016-05-03 Thread Michelle Sullivan

Matthias Apitz wrote:

El día Tuesday, May 03, 2016 a las 10:11:44AM +0100, Bob Eager escribió:


I was forced to build llvm37 without documentation. It worked then.

My poudriere oven at home is a Dell M4400 with 2 CPUs and 4 GB RAM. I
have built devel/llvm37 right now outside of poudriere in some VM on the same
system as the jail, but DOCS disabled. The build of the the package took
around 90 minutes. The VM has only 3 GB RAM.


FYI I was on 4G RAM - went to 10G.. thought I'd gone with no Docs but 
checking my global make.conf for each jail it appears I didn't.


Michelle


I'm now a bit confused.

I will re-run the single port in my poudriere oven, as well with DOCS
disabled, and report back.

matthias



--
Michelle Sullivan
http://www.mhix.org/

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: head / poudriere && devel/llvm37 Killing timed out build after 86400 seconds

2016-05-03 Thread Matthias Apitz
El día Tuesday, May 03, 2016 a las 10:11:44AM +0100, Bob Eager escribió:

> I was forced to build llvm37 without documentation. It worked then.

My poudriere oven at home is a Dell M4400 with 2 CPUs and 4 GB RAM. I
have built devel/llvm37 right now outside of poudriere in some VM on the same
system as the jail, but DOCS disabled. The build of the the package took
around 90 minutes. The VM has only 3 GB RAM.

I'm now a bit confused. 

I will re-run the single port in my poudriere oven, as well with DOCS
disabled, and report back.

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
¡Dios querido denos otra vez los problemas de ayer, los que tuvimos en la RDA!
My Lord, give us back the problems of yesterday, those we have had in the GDR.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: head / poudriere && devel/llvm37 Killing timed out build after 86400 seconds

2016-05-03 Thread Bob Eager
I was forced to build llvm37 without documentation. It worked then.


On Tue, 03 May 2016 10:48:52 +0200
Michelle Sullivan  wrote:

> Matthias Apitz wrote:
> > Hello,
> >
> > I started my poudriere on amd64 to build "my" 1800 ports from SVN
> > head (r414411 as of 1st of May). While it makes good progress, it
> > has already built around 900 of the 1800, last night the building
> > of devel/llvm37 failed with 'Killing timed out build after 86400'
> > which is 24h.
> >
> > The log below shows that it was 2/3 way through:
> >
> > [2712/3947] Generating html Sphinx documentation for clang into
> > "/wrkdirs/usr/ports/devel/llvm37/work/.build/tools/clang/docs/html"
> > >> Killing timed out build after 86400 seconds
> 
> I see this everytime...  was worse (used to time out twice) before I 
> chucked another 8G RAM into the VM...  not saying it's memory related 
> but everytime I look its swapping like a bitch with ARC using most of 
> the memory available to it (I have about 1250 ports.)
> 
> Regards,
> 
> Michelle
> 
> >
> > What can I do? Launch this again as a single poudriere task
> > (normally I started with 4 engines)? Set somewhere the timeout
> > value? Any idea why this port takes so long to build?
> >
> > I'm attaching the start of the log (for env and options) and the
> > last lines.
> >
> > Thanks
> >
> > matthias
> >
> > >> Building devel/llvm37
> > build started at Sun May  1 22:07:36 CEST 2016
> > port directory: /usr/ports/devel/llvm37
> > building for: FreeBSD freebsd-r292778-ports-20160501-job-03
> > 11.0-CURRENT FreeBSD 11.0-CURRENT r292777 amd64 maintained by:
> > bro...@freebsd.org Makefile ident:  $FreeBSD:
> > head/devel/llvm37/Makefile 413231 2016-04-13 21:54:46Z brooks $
> > Poudriere version: 3.2-pre Host OSVERSION: 1100092
> > Jail OSVERSION: 1100092
> >
> > ---Begin Environment---
> > SHELL=/bin/csh
> > UNAME_v=FreeBSD 11.0-CURRENT r292777
> > UNAME_r=11.0-CURRENT
> > BLOCKSIZE=K
> > MAIL=/var/mail/root
> > STATUS=1
> > OPSYS=FreeBSD
> > ARCH=amd64
> > SAVED_TERM=xterm
> > MASTERMNT=/usr/local/poudriere/data/.m/freebsd-r292778-ports-20160501/ref
> > UID=0
> > FORCE_PACKAGE=yes
> > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
> > _JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
> > POUDRIERE_BUILD_TYPE=bulk
> > PKGNAME=llvm37-3.7.1_2
> > OSREL=11.0
> > _OSRELEASE=11.0-CURRENT
> > PYTHONBASE=/usr/local
> > JAVA_OPTS=-XX:-UseCompressedClassPointers -Xms512m -Xmx2048m
> > OLDPWD=/
> > _SMP_CPUS=2
> > PWD=/usr/local/poudriere/data/.m/freebsd-r292778-ports-20160501/ref/.p/pool
> > HAVE_COMPAT_IA32_KERN=YES LINUX_OSRELEASE=2.6.32
> > MASTERNAME=freebsd-r292778-ports-20160501
> > SCRIPTPREFIX=/usr/local/share/poudriere
> > _JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
> > USER=root
> > HOME=/root
> > POUDRIERE_VERSION=3.2-pre
> > SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
> > CONFIGURE_MAX_CMD_LEN=262144
> > LIBEXECPREFIX=/usr/local/libexec/poudriere
> > LOCALBASE=/usr/local
> > PACKAGE_BUILDING=yes
> > MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m
> > _JAVA_OS_LIST_REGEXP=native\|linux
> > OSVERSION=1100092
> > ---End Environment---
> >
> > ---Begin OPTIONS List---
> > ===> The following configuration options are available for
> > llvm37-3.7.1_2: CLANG=on: Build clang
> >   COMPILER_RT=on: Build compiler-rt (sanitizers)
> >   DOCS=on: Build and/or install documentation
> >   EXTRAS=on: Extra clang tools
> >   GOLD=on: Build the LLVM Gold plugin for LTO
> >   LIT=on: Install lit and FileCheck test tools
> >   LLD=on: Install lld, the LLVM linker
> >   LLDB=on: Install lldb, the LLVM debugger (ignored on 9.x)
> >   OPENMP=on: Install libomp, the LLVM OpenMP runtime library
> > ===> Use 'make config' to modify these settings
> > ---End OPTIONS List---
> >
> > --CONFIGURE_ARGS--
> >
> > --End CONFIGURE_ARGS--
> >
> > --CONFIGURE_ENV--
> > CMAKE_PREFIX_PATH="/usr/local" ac_cv_path_PERL=/usr/local/bin/perl
> > ac_cv_path_PERL_PATH=/usr/local/bin/perl
> > PYTHON="/usr/local/bin/python2.7"
> > XDG_DATA_HOME=/wrkdirs/usr/ports/devel/llvm37/work
> > XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/llvm37/work
> > HOME=/wrkdirs/usr/ports/devel/llvm37/work TMPDIR="/tmp"
> > SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV--
> >
> > --MAKE_ENV--
> > XDG_DATA_HOME=/wrkdirs/usr/ports/devel/llvm37/work
> > XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/llvm37/work
> > HOME=/wrkdirs/usr/ports/devel/llvm37/work TMPDIR="/tmp" NO_PIE=yes
> > WITHOUT_DEBUG_FILES=yes WITHOUT_KERNEL_SYMBOLS=yes SHELL=/bin/sh
> > NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/devel/llvm37/work/stage
> > PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"
> > CC="clang" CFLAGS="-O2 -pipe  -isystem /usr/local/include
> > -fstack-protector -fno-strict-aliasing"  CPP="clang-cpp"
> > CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -L/usr/local/lib
> > -fstack-protector" LIBS="libclangApplyReplacements  libclangQuery
> > libclangRename  

Re: head / poudriere && devel/llvm37 Killing timed out build after 86400 seconds

2016-05-03 Thread Michelle Sullivan

Matthias Apitz wrote:

Hello,

I started my poudriere on amd64 to build "my" 1800 ports from SVN head
(r414411 as of 1st of May). While it makes good progress, it has already
built around 900 of the 1800, last night the building of devel/llvm37
failed with 'Killing timed out build after 86400' which is 24h.

The log below shows that it was 2/3 way through:

[2712/3947] Generating html Sphinx documentation for clang into 
"/wrkdirs/usr/ports/devel/llvm37/work/.build/tools/clang/docs/html"
>> Killing timed out build after 86400 seconds


I see this everytime...  was worse (used to time out twice) before I 
chucked another 8G RAM into the VM...  not saying it's memory related 
but everytime I look its swapping like a bitch with ARC using most of 
the memory available to it (I have about 1250 ports.)


Regards,

Michelle



What can I do? Launch this again as a single poudriere task (normally I
started with 4 engines)? Set somewhere the timeout value? Any idea why
this port takes so long to build?

I'm attaching the start of the log (for env and options) and the last
lines.

Thanks

matthias

>> Building devel/llvm37
build started at Sun May  1 22:07:36 CEST 2016
port directory: /usr/ports/devel/llvm37
building for: FreeBSD freebsd-r292778-ports-20160501-job-03 11.0-CURRENT 
FreeBSD 11.0-CURRENT r292777 amd64
maintained by: bro...@freebsd.org
Makefile ident:  $FreeBSD: head/devel/llvm37/Makefile 413231 2016-04-13 
21:54:46Z brooks $
Poudriere version: 3.2-pre
Host OSVERSION: 1100092
Jail OSVERSION: 1100092

---Begin Environment---
SHELL=/bin/csh
UNAME_v=FreeBSD 11.0-CURRENT r292777
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
OPSYS=FreeBSD
ARCH=amd64
SAVED_TERM=xterm
MASTERMNT=/usr/local/poudriere/data/.m/freebsd-r292778-ports-20160501/ref
UID=0
FORCE_PACKAGE=yes
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
_JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=llvm37-3.7.1_2
OSREL=11.0
_OSRELEASE=11.0-CURRENT
PYTHONBASE=/usr/local
JAVA_OPTS=-XX:-UseCompressedClassPointers -Xms512m -Xmx2048m
OLDPWD=/
_SMP_CPUS=2
PWD=/usr/local/poudriere/data/.m/freebsd-r292778-ports-20160501/ref/.p/pool
HAVE_COMPAT_IA32_KERN=YES LINUX_OSRELEASE=2.6.32
MASTERNAME=freebsd-r292778-ports-20160501
SCRIPTPREFIX=/usr/local/share/poudriere
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
USER=root
HOME=/root
POUDRIERE_VERSION=3.2-pre
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
CONFIGURE_MAX_CMD_LEN=262144
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m
_JAVA_OS_LIST_REGEXP=native\|linux
OSVERSION=1100092
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for llvm37-3.7.1_2:
  CLANG=on: Build clang
  COMPILER_RT=on: Build compiler-rt (sanitizers)
  DOCS=on: Build and/or install documentation
  EXTRAS=on: Extra clang tools
  GOLD=on: Build the LLVM Gold plugin for LTO
  LIT=on: Install lit and FileCheck test tools
  LLD=on: Install lld, the LLVM linker
  LLDB=on: Install lldb, the LLVM debugger (ignored on 9.x)
  OPENMP=on: Install libomp, the LLVM OpenMP runtime library
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
CMAKE_PREFIX_PATH="/usr/local" ac_cv_path_PERL=/usr/local/bin/perl 
ac_cv_path_PERL_PATH=/usr/local/bin/perl PYTHON="/usr/local/bin/python2.7" 
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/llvm37/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/llvm37/work  
HOME=/wrkdirs/usr/ports/devel/llvm37/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/llvm37/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/llvm37/work  HOME=/wrkdirs/usr/ports/devel/llvm37/work TMPDIR="/tmp" NO_PIE=yes 
WITHOUT_DEBUG_FILES=yes WITHOUT_KERNEL_SYMBOLS=yes SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/devel/llvm37/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  
CC="clang" CFLAGS="-O2 -pipe  -isystem /usr/local/include -fstack-protector -fno-strict-aliasing"  CPP="clang-cpp" CPPFLAGS="-isystem /usr/local/include"  
LDFLAGS=" -L/usr/local/lib -fstack-protector" LIBS="libclangApplyReplacements  libclangQuery  libclangRename  libclangTidy  libclangTidyGoogleModule  libclangTidyLLVMModule  
libclangTidyMiscModule  libclangTidyReadabilityModule  libclangTidyUtils  libmodernizeCore"  CXX="clang++" CXXFLAGS="-O2 -pipe -isystem /usr/local/include -fstack-protector 
-fno-strict-aliasing  -isystem /usr/local/include"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB=

"install  -s -m 444"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 
0644"  BSD_INSTALL_MAN="install  -m 444"

--End MAKE_ENV--

--PLIST_SUB--
LLVM_RELEASE=3.7.1
CLANG=""
NO_CLANG="@comment
"

head / poudriere && devel/llvm37 Killing timed out build after 86400 seconds

2016-05-03 Thread Matthias Apitz

Hello,

I started my poudriere on amd64 to build "my" 1800 ports from SVN head
(r414411 as of 1st of May). While it makes good progress, it has already
built around 900 of the 1800, last night the building of devel/llvm37
failed with 'Killing timed out build after 86400' which is 24h.

The log below shows that it was 2/3 way through:

[2712/3947] Generating html Sphinx documentation for clang into 
"/wrkdirs/usr/ports/devel/llvm37/work/.build/tools/clang/docs/html"
>> Killing timed out build after 86400 seconds

What can I do? Launch this again as a single poudriere task (normally I
started with 4 engines)? Set somewhere the timeout value? Any idea why
this port takes so long to build? 

I'm attaching the start of the log (for env and options) and the last
lines.

Thanks

matthias

>> Building devel/llvm37
build started at Sun May  1 22:07:36 CEST 2016
port directory: /usr/ports/devel/llvm37
building for: FreeBSD freebsd-r292778-ports-20160501-job-03 11.0-CURRENT 
FreeBSD 11.0-CURRENT r292777 amd64
maintained by: bro...@freebsd.org
Makefile ident:  $FreeBSD: head/devel/llvm37/Makefile 413231 2016-04-13 
21:54:46Z brooks $
Poudriere version: 3.2-pre
Host OSVERSION: 1100092
Jail OSVERSION: 1100092

---Begin Environment---
SHELL=/bin/csh
UNAME_v=FreeBSD 11.0-CURRENT r292777
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
OPSYS=FreeBSD
ARCH=amd64
SAVED_TERM=xterm
MASTERMNT=/usr/local/poudriere/data/.m/freebsd-r292778-ports-20160501/ref
UID=0
FORCE_PACKAGE=yes
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
_JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=llvm37-3.7.1_2
OSREL=11.0
_OSRELEASE=11.0-CURRENT
PYTHONBASE=/usr/local
JAVA_OPTS=-XX:-UseCompressedClassPointers -Xms512m -Xmx2048m
OLDPWD=/
_SMP_CPUS=2
PWD=/usr/local/poudriere/data/.m/freebsd-r292778-ports-20160501/ref/.p/pool
HAVE_COMPAT_IA32_KERN=YES LINUX_OSRELEASE=2.6.32
MASTERNAME=freebsd-r292778-ports-20160501
SCRIPTPREFIX=/usr/local/share/poudriere
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
USER=root
HOME=/root
POUDRIERE_VERSION=3.2-pre
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
CONFIGURE_MAX_CMD_LEN=262144
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m
_JAVA_OS_LIST_REGEXP=native\|linux
OSVERSION=1100092
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for llvm37-3.7.1_2:
 CLANG=on: Build clang
 COMPILER_RT=on: Build compiler-rt (sanitizers)
 DOCS=on: Build and/or install documentation
 EXTRAS=on: Extra clang tools
 GOLD=on: Build the LLVM Gold plugin for LTO
 LIT=on: Install lit and FileCheck test tools
 LLD=on: Install lld, the LLVM linker
 LLDB=on: Install lldb, the LLVM debugger (ignored on 9.x)
 OPENMP=on: Install libomp, the LLVM OpenMP runtime library
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
CMAKE_PREFIX_PATH="/usr/local" ac_cv_path_PERL=/usr/local/bin/perl 
ac_cv_path_PERL_PATH=/usr/local/bin/perl PYTHON="/usr/local/bin/python2.7" 
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/llvm37/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/llvm37/work  
HOME=/wrkdirs/usr/ports/devel/llvm37/work TMPDIR="/tmp" SHELL=/bin/sh 
CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/llvm37/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/llvm37/work  
HOME=/wrkdirs/usr/ports/devel/llvm37/work TMPDIR="/tmp" NO_PIE=yes 
WITHOUT_DEBUG_FILES=yes WITHOUT_KERNEL_SYMBOLS=yes SHELL=/bin/sh NO_LINT=YES 
DESTDIR=/wrkdirs/usr/ports/devel/llvm37/work/stage PREFIX=/usr/local  
LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="clang" CFLAGS="-O2 -pipe  -isystem 
/usr/local/include -fstack-protector -fno-strict-aliasing"  CPP="clang-cpp" 
CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -L/usr/local/lib 
-fstack-protector" LIBS="libclangApplyReplacements  libclangQuery  
libclangRename  libclangTidy  libclangTidyGoogleModule  libclangTidyLLVMModule  
libclangTidyMiscModule  libclangTidyReadabilityModule  libclangTidyUtils  
libmodernizeCore"  CXX="clang++" CXXFLAGS="-O2 -pipe -isystem 
/usr/local/include -fstack-protector -fno-strict-aliasing  -isystem 
/usr/local/include"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 
555"  BSD_INSTALL_LIB="install  -s -m 444"  BSD_INSTALL_SCRIPT="install  -m 
555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
LLVM_RELEASE=3.7.1
CLANG=""
NO_CLANG="@comment
"
COMPILER_RT=""
NO_COMPILER_RT="@comment
"
DOCS=""
NO_DOCS="@comment
"
EXTRAS=""
NO_EXTRAS="@comment
"
GOLD=""
NO_GOLD="@comment
"
LIT=""
NO_LIT="@comment
"
LLD=""
NO_LLD="@comment
"
LLDB=""
NO_LLDB="@comment
"
OPENMP=""
NO_OPENMP="@comment
"
CMAKE_BUILD_TYPE="release"
PYTHON_INCLUDEDIR=include/python2.7