cpuinfo icon indicating copy to clipboard operation
cpuinfo copied to clipboard

clog in both cpuinfo and nnpack...

Open jiapei100 opened this issue 7 years ago • 3 comments

If I install one package, I''ll fail the other with the following ERROR message:

Unpacking cpuinfo (20180706-6) ...
dpkg: error processing archive ....../cpuinfo/build/cpuinfo_20180706-6_amd64.deb (--install):
 trying to overwrite '/usr/local/include/clog.h', which is also in package nnpack 20180706-6
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:

Any suggestions?

jiapei100 avatar Jul 06 '18 10:07 jiapei100

NNPACK and cpuinfo are, generally, not expected to be installed through system packaging mechanisms, instead, they are designed to be imported via add_subdirectory in CMake and statically linked to projects using them, e.g. PyTorch.

Maratyszcza avatar Jul 08 '18 21:07 Maratyszcza

@Maratyszcza Should I install Caffe2 independently?

It seems Caffe2 is NOW integrated with PyTorch, should I build PyTorch directly? But, I'm using Ubuntu 18.04 with GCC 7.3.0, I failed to build current PyTorch...

Any other suggestions?

jiapei100 avatar Jul 09 '18 07:07 jiapei100

@jiapei100 May I ask where is that .deb package from? I'm going to package pytorch for Debian.

cdluminate avatar Sep 08 '18 23:09 cdluminate

Fixed in #129

Maratyszcza avatar Jul 18 '23 22:07 Maratyszcza