Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 558934

Summary: =net-irc/smuxi-0.11.1 not working with dev-lang/mono-4.0.3.20
Product: Gentoo Linux Reporter: Markus Rathgeb <maggu2810>
Component: Current packagesAssignee: dotnet project <dotnet>
Status: RESOLVED WONTFIX    
Severity: normal CC: gentoo-bugs, treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.smuxi.org/main/
Whiteboard: Pending removal: 2016-12-27
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 580316    

Description Markus Rathgeb 2015-08-27 13:43:58 UTC
Compilation of smuxi failed:


Time Elapsed 00:00:01.7475930
/usr/bin/xbuild /toolsversion:4.0 /p:TargetFrameworkVersion=v4.0 /p:Configuration=Debug /p:SignAssembly=false /p:WarningLevel=0 /p:Warn=0 /p:OutputPath=/var/tmp/portage/net-irc/smuxi-0.11.1/work/smuxi-0.11.1/bin/debug /p:BaseIntermediateOutputPath=/var/tmp/portage/net-irc/smuxi-0.11.1/work/smuxi-0.11.1/bin/debug/obj/ /p:IntermediateOutputPath=/var/tmp/portage/net-irc/smuxi-0.11.1/work/smuxi-0.11.1/bin/debug/obj/ /p:DocumentationFile= /property:DefineConstants="NET_3_5,MONO,EMBEDDED" ./db4o-net/Db4objects.Db4o/Db4objects.Db4o-2008.csproj
XBuild Engine Version 12.0
Mono, Version 4.0.3.0
Copyright (C) 2005-2013 Various Mono authors

Build started 8/27/2015 3:27:56 PM.
__________________________________________________
:  warning : Default tasks file /usr/lib64/mono/3.5/Microsoft.Common.tasks not found, ignoring.
./db4o-net/Db4objects.Db4o/Db4objects.Db4o-2008.csproj: error : /var/tmp/portage/net-irc/smuxi-0.11.1/work/smuxi-0.11.1/lib/db4o-net/Db4objects.Db4o/Db4objects.Db4o-2008.csproj: /var/tmp/portage/net-irc/smuxi-0.11.1/work/smuxi-0.11.1/lib/db4o-net/Db4objects.Db4o/Db4objects.Db4o-2008.csproj could not import "$(MSBuildBinPath)\Microsoft.CSharp.targets"
Build FAILED.

Warnings:

:  warning : Default tasks file /usr/lib64/mono/3.5/Microsoft.Common.tasks not found, ignoring.

Errors:

./db4o-net/Db4objects.Db4o/Db4objects.Db4o-2008.csproj: error : /var/tmp/portage/net-irc/smuxi-0.11.1/work/smuxi-0.11.1/lib/db4o-net/Db4objects.Db4o/Db4objects.Db4o-2008.csproj: /var/tmp/portage/net-irc/smuxi-0.11.1/work/smuxi-0.11.1/lib/db4o-net/Db4objects.Db4o/Db4objects.Db4o-2008.csproj could not import "$(MSBuildBinPath)\Microsoft.CSharp.targets"

         1 Warning(s)
         1 Error(s)

Time Elapsed 00:00:00.1075060
Makefile:955: recipe for target '../bin/debug/Db4objects.Db4o.dll' failed
make[2]: *** [../bin/debug/Db4objects.Db4o.dll] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-irc/smuxi-0.11.1/work/smuxi-0.11.1/lib'
Makefile:716: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-irc/smuxi-0.11.1/work/smuxi-0.11.1/lib'
Makefile:621: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1




I could compile it by edit:
/var/tmp/portage/net-irc/smuxi-0.11.1/work/smuxi-0.11.1/lib/db4o-net/Db4objects.Db4o/Db4objects.Db4o-2008.csproj: /var/tmp/portage/net-irc/smuxi-0.11.1/work/smuxi-0.11.1/lib/db4o-net/Db4objects.Db4o/Db4objects.Db4o-2008.csproj

I changed "$(MSBuildBinPath)\Microsoft.CSharp.targets" to "/usr/lib/mono/4.5/Microsoft.CSharp.targets".

But this needs a cleaner solution.

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2016-12-31 13:51:59 UTC
dropped