ygrek / mldonkey

cross-platform multi-network p2p daemon (previously at http://mldonkey.sourceforge.net/)
Other
247 stars 46 forks source link

Fails to build with num 1.4 #61

Closed chusopr closed 3 years ago

chusopr commented 3 years ago

It seems num library was changed again and nums.cma is now gone, which makes the BitTorrent part fail to build again with num 1.4:

/usr/bin/ocamlc.opt -unsafe-string -w +a-3-4-6-27-29-32-35-37-41-44-45-48-60  -linkall -o ocamlpp.byte \
     -custom bigarray.cma unix.cma str.cma -I /usr/lib64/ocaml/num nums.cma -ccopt "-Wl,-O1 -Wl,--as-needed " -cclib "-lz -lpng " -cclib -lbz2 -ccopt "-pthread" \
  \
  \
  \
  \
  \
  \
-I build         tools/ocamlpp.cmo  
File "_none_", line 1:
Error: Cannot find file nums.cma
make: *** [Makefile:3821: ocamlpp.byte] Fehler 2

This was originally reported in Gentoo bug #772920

chusopr commented 3 years ago

Wait, I think this issue may be on Gentoo side...

chusopr commented 3 years ago

Yes, I'm waiting for confirmation for the Gentoo maintainers for the num package, but it looks pretty clear to me the issue is on Gentoo side with changes on the way it's packaged. Sorry for the noise.

I opened downstream bug 775119 to investigate it.

chusopr commented 3 years ago

Yeah, the issue was indeed downstream and it's now fixed. Closing.