mono/mock issue

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

 



Whilst in the process of reviewing "lat" (#177580), I've created a modified spec file that brings the package up to the latest release version and addresses a number of review issues. It builds OK for me on my FC5 desktop but I can't get it to build in mock. The following rather cryptic error message appears:

Making install in gnome-keyring-glue
make[1]: Entering directory `/builddir/build/BUILD/lat-1.0.3/gnome-keyring-glue' /usr/bin/mcs -unsafe -target:library -out:gnome-keyring-glue.dll ./Attribute.cs ./AttributeType.cs ./Found.cs ./Global.cs ./GnomeKeyringSharp.OperationGetIntCallbackNative.cs ./GnomeKeyringSharp.OperationGetListCallbackNative.cs ./ItemType.cs ./NetworkPasswordData.cs ./OperationGetIntCallback.cs ./OperationGetListCallback.cs ./Result.cs -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/art-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp-peditors.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glade-sharp.dll
mono: mono-codeman.c:257: new_codechunk: Assertion `!err' failed.
make[1]: *** [gnome-keyring-glue.dll] Aborted
make[1]: Leaving directory `/builddir/build/BUILD/lat-1.0.3/gnome-keyring-glue'

Spec file attached.

Anyone got any ideas what's wrong? I thought at first it was a missing buildreq but I've tried adding just about every -devel package under the sun and makes not a jot of difference.

Paul.
Name:           lat
Summary:        LDAP Administration Tool
Version:        1.0.3
Release:        1%{?dist}
License:        GPL
Group:          Applications/Productivity
Url:            http://dev.mmgsecurity.com/projects/lat/
Source0:        http://dev.mmgsecurity.com/downloads/lat/lat-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  mono-devel, gtk-sharp2, gnome-keyring-devel, scrollkeeper
Requires:       mono-data, gtk-sharp2

Requires(post):   desktop-file-utils, scrollkeeper
Requires(postun): desktop-file-utils, scrollkeeper

%description
LAT stands for LDAP Administration Tool. The tool allows you to browse
LDAP-based directories and add/edit/delete entries contained within. It can
store profiles for quick access to different servers. There are also
different views available such as Users, Groups and Hosts that allow you to
manage objects easily without having to deal with the intricacies of LDAP.

%prep
%setup -q

%build
export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
%configure --disable-dependency-tracking

%install
%{__rm} -rf %{buildroot}
export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
%{__make} DESTDIR=%{buildroot} install

# remove libtool archives
/usr/bin/find %{buildroot}%{_libdir} -name '*.la' -exec %{__rm} -f {} \;

# Remove scrollkeeper crud (rebuilt in %%post)
%{__rm} -rf %{buildroot}%{_localstatedir}/scrollkeeper

%find_lang %{name}

%clean
%{__rm} -rf %{buildroot}

%post
/usr/bin/update-desktop-database &> /dev/null || :
/usr/bin/scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :

%postun
/usr/bin/update-desktop-database &> /dev/null || :
/usr/bin/scrollkeeper-update -q || :

%files -f %{name}.lang
%{_bindir}/lat
%{_libdir}/lat/
%{_datadir}/application-registry/lat.applications
%{_datadir}/applications/lat.desktop
%{_datadir}/gnome/help/lat/
%{_datadir}/omf/lat/
%{_datadir}/pixmaps/lat.png
%{_mandir}/man1/lat.1*

%changelog
* Tue Mar 28 2006 Paul Howarth <paul@xxxxxxxxxxxx> - 1.0.3-1
- Update to 1.0.3
- Fix URL/Source tag mix-up
- Use Fedora Extras standard buildroot
- Buildreq/Req gtk-sharp2 rather than gtk-sharp
- Consolidate scriptlet deps
- Use --disable-dependency-tracking with configure to speed up build
- Expand %%description
- Remove buildroot unconditionally in %%clean and %%install
- Use explicit paths for all commands
- Remove build-time scrollkeeper data, which contains buildroot traces
- Tidy up %%files section
- Add %%{?dist} tag

* Tue Jan 10 2006 David Malcolm <dmalcolm@xxxxxxxxxx> - 0.8.2-1
- Initial version
-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux