Solved Error compiling llvm40

Devel/llvm40 fails to compile with:

Code:
Exception occurred:
  File "/usr/local/lib/python2.7/site-packages/docutils/io.py", line 367, in open
    self.destination_path)
OutputError: [Errno 2] No such file or directory: u'/ram/usr/ports/devel/llvm40/work/.build/docs/man/llvm-nm.1'

Someone know this error?
 
Maybe. following that graphic/OpenShadingLanguage failed also with:
Code:
src/liboslexec/liboslexec.so: undefined reference to `typeinfo for llvm::Instruction'
src/liboslexec/liboslexec.so: undefined reference to `typeinfo for llvm::SectionMemoryManager'
src/liboslexec/liboslexec.so: undefined reference to `typeinfo for llvm::CmpInst'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
 
I'm not fully familiar with the error, but it does make me wonder if you're already familiar with the new FLAVOR construct within the ports collection? See /usr/ports/UPDATING, in particular entry 20171130, which is also the reason I mentioned it considering that the error mentions Python.
 
No I am not familiar with FLAVOR. I was two weeks off, and was yesterday back. I don't know what really is to do and what FLAVOR causes.
 
In the moment I have two ports devel/llvm40 (and I fear all llvm versions) and graphics/gimp-app ends up compilation in the port like:

Code:
*** Error code 70

Stop.
make[2]: stopped in /usr/ports/graphics/gimp-app
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/gimp-app
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/gimp-app

And no other error message. With devel/llvm40 now also without any other error message.

If it is caused by FLAVORS, I have no chance to find the python port or ports who causes it. It will be hard to deinstall and reinstall 80 python ports.

The two ports are no real problem. But if it will be more in the next days it will be a problem.
Then will the ports-tree be broken.

Any way out of this. I hope there is another way as to reinstall 80 ports by hand.

And why error code 70?
 
Can't help you with your ports trouble but at least with the error code
Code:
% man errno | grep -A4 70
     70 ESTALE Stale NFS file handle. An attempt was made to access an open file (on an NFS
             file system) which is now unavailable as referenced by the file descriptor.
             This may indicate the file was deleted on the NFS server or some other
             catastrophic event occurred.
 
I have read man errno. But I think this will tell me nothing. If I do in the same port make deinstall and make install it works.
 
I would try to clean up and start over with with make clean and make rmconfig or eventually make rmconfig-recursive
Then update the ports tree and try again.
 
Ok, it's no big problem. First I guessed deeper troubles but it is not so. Some user reported the same problem on pipermail.

An explanation is here:
https://lists.freebsd.org/pipermail/freebsd-ports/2017-December/111569.html
and
https://github.com/freebsd/pkg/commit/7991c49665419916210ad589d4a85fd2a7f58b37

You have to run: make deinstall reinstall.

Bapt wrote:
Code:
because it should have always been like that, the real reinstallation was make deinstall reinstall, the fact one needs not to run deinstall first was a bug introduced very very long ago
 
Back
Top