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

Matthias Apitz guru at unixarea.de
Thu May 5 07:39:54 UTC 2016

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
====>> 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

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, ✉ guru at 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.

More information about the freebsd-ports mailing list