[Mono-dev] Packaging NAnt

Mirco Bauer meebey at meebey.net
Sat Jul 15 08:32:07 EDT 2006


Hi Wade,

inline

On Thu, 2006-07-13 at 19:52 -0600, Wade Berrier wrote:
> Hi,
> 
> In trying to build and package nant, I've found that nant has some
> internal libraries that reference the 1.0 profile of .NET:
> 
> berrier:/usr/src/packages/SPECS # rpm
> -i ../RPMS/noarch/nant-0.85_rc4-1.noarch.rpm
> 
> error: Failed dependencies:
>  mono(System) = 1.0.3300.0 is needed by nant-0.85_rc4-1.noarch
>  mono(System.Data) = 1.0.3300.0 is needed by nant-0.85_rc4-1.noarch
>  mono(System.Web) = 1.0.3300.0 is needed by nant-0.85_rc4-1.noarch
>  mono(System.Windows.Forms) = 1.0.3300.0 is needed by
> nant-0.85_rc4-1.noarch
>  mono(System.Xml) = 1.0.3300.0 is needed by nant-0.85_rc4-1.noarch
>  mono(mscorlib) = 1.0.3300.0 is needed by nant-0.85_rc4-1.noarch

> ...

> Suggestions?

To me this sounds like you try to package binaries, which is bad for
different reasons. One reason you just found, you can't predict the
references that will be used.
If you compile nant correctly from source, you will have the expected
1.0.5000.0 refs and your RPM scripts will be happy.
I discovered the same problem with MonoDevelop, because it ships a
binary stetic library that was compiled against Gtk# 2.4 but Debian uses
Gtk# 2.8, so the dependency tracker script cries about references that
can't be found in the Debian system.

-- 
Regards,

Mirco 'meebey' Bauer

PGP-Key:
http://keyserver.noreply.org/pks/lookup?op=get&search=0xEEF946C8

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d s-:+ a-- C++ UL++++$ P L++$>+++$ E- W+++$ N o? K- w++>! O---- M-
V? PS
PE+ Y- PGP++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r->++ y?
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060715/36702a9c/attachment.bin 


More information about the Mono-devel-list mailing list