pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rust-1.20 'make package' failure



It appears that all files are present, but with different hex strings for those which have them. I was able to do a 'make package' after I created a script which renamed them to the values expected in the PLIST and was able to install the package. However, as many of those are .so files, the executables linked to them refuse to run, as expected, so it appears the correct way to proceed is to modify PLIST with the names of the actually created files. 

I don't know a lot (actually, very little) about rust and its build system - I wanted to compile firefox-56 in this case. Is this the right approach or am I missing again something obvious? 

Chavdar Ivanov 

On Sun, 1 Oct 2017 at 01:15 Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
Hi, 

Firefox-56 brought us to rust-1.20, which fails to package on -current amd64 - the generated .so library files have different names than the expected in the PLIST. 'make' completes apparently OK. 'make package' gives:
---
=> Bootstrap dependency digest>=20010302: found digest-20160304
=> Creating binary package /usr/pkgsrc/lang/rust/work/.packages/rust-1.20.0.tgz
pkg_create: can't stat `/usr/pkgsrc/lang/rust/work/.destdir/usr/pkg/lib/libarena-f5f78bba81916a46.so'
pkg_create: can't stat `/usr/pkgsrc/lang/rust/work/.destdir/usr/pkg/lib/libfmt_macros-0b9124250167dd63.so'
pkg_create: can't stat `/usr/pkgsrc/lang/rust/work/.destdir/usr/pkg/lib/libgraphviz-9a58d125030e538c.so'
pkg_create: can't stat `/usr/pkgsrc/lang/rust/work/.destdir/usr/pkg/lib/libproc_macro-adb45ea4da914940.so'
pkg_create: can't stat `/usr/pkgsrc/lang/rust/work/.destdir/usr/pkg/lib/librustc-6a534897b169ca84.so'
---
and many more. work/.destdir/usr/pkg/lib/libarena-732860ab4dbd6111.so is, as an example, the name of the present file - for the first missing. 

Have I missed something? I updated a few other packages which got bumped up with rust, e.g. llvm, but haven't gone to full update of the pkgsrc tree - I dread the prospect of recompiling about 1700 packages on an old ThinkPad T61p... 

Chavdar Ivanov


Home | Main Index | Thread Index | Old Index