pkgsrc-Users archive

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

Re: pkg_create fails for lang/mono



On Tue, Mar 11, 2014 at 15:27:06 -0400, Greg Troxel wrote:
> 
> Iain Morgan <Iain.Morgan%nasa.gov@localhost> writes:
> 
> > Installation of lang/mono fails on SLES 11 due to one file not being
> > found by pkg_create.
> >
> > => Automatic manual page handling
> > pkg_create: can't stat 
> > `/nobackupnfs2/imorgan/pkgsrc/cvs/workdir/lang/mono/work/.destdir/nobackupnfs2/imorgan/
> > pkgsrc/cvs/pkg/lib/mono/2.0/mcs.exe.so'
> > => Creating binary package 
> > /nobackupnfs2/imorgan/pkgsrc/cvs/workdir/lang/mono/work/.packages/mono-3.0.10nb4.tg
> > z
> > pkg_create: can't stat 
> > `/nobackupnfs2/imorgan/pkgsrc/cvs/workdir/lang/mono/work/.destdir/nobackupnfs2/imorgan/
> > pkgsrc/cvs/pkg/lib/mono/2.0/mcs.exe.so'
> > pkg_create: lstat failed for file lib/mono/2.0/mcs.exe.so: No such file or 
> > directory
> > *** Error code 2
> >
> > While mcs.exe.so does exist under the 4.5 directory, there is no such file 
> > (or
> > anything beginning with mcs) in the 2.0 directory.
> 
> To fix this, you'll have to figure out whether it's wrong that the file
> wasn't created as part of the build, or whether it's wrong that the
> PLIST says it should be there.

Taking a closer look at pkgsrc, I see that there are actually three
PLIST* files; the only one that refers to lib/mono/2.0/mcs.exe.so is
PLIST.Linux. This makes me suspect that it is cruft.

Fortunately, the source distribution contains an RPM .spec file which
confirms this; the %files section only indicates mcs.exe* under
lib/mono/4.5.

-- 
Iain Morgan


Home | Main Index | Thread Index | Old Index