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

Bug 698508

Summary: dev-libs/efl-1.23.1 USE=mono - src/tests/efl_mono/dummy_test_object.eo.cs(198,48): error CS0266: Cannot implicitly convert type `long' to `int'. An explicit conversion exists (are you missing a cast?)
Product: Gentoo Linux Reporter: Robert R. Richter <duncan>
Component: Current packagesAssignee: Joonas Niilola <juippis>
Status: RESOLVED NEEDINFO    
Severity: normal CC: duncan
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Robert R. Richter 2019-10-25 09:26:00 UTC
dev-libs/efl-1.23.1 fails to build with keyword mono enabled
using mono version 6.4.0.198
and does compile fine if not using keyword mono
----

FAILED: src/tests/efl_mono/efl_mono_test.dll
mcs -optimize+ -optimize+ -target:library -out:src/tests/efl_mono/efl_mono_test.dll -r:src/bindings/mono/efl_mono.dll src/tests/efl_mono/dummy_child.eo.cs src/tests/efl_mono/dummy_numberwrapper.eo.cs src/tests/efl_mono/dummy_test_object.eo.cs src/tests/efl_mono/dummy_test_iface.eo.cs src/tests/efl_mono/dummy_inherit_helper.eo.cs src/tests/efl_mono/dummy_inherit_iface.eo.cs src/tests/efl_mono/dummy_part_holder.eo.cs src/tests/efl_mono/dummy_event_manager.eo.cs src/tests/efl_mono/dummy_constructible_object.eo.cs
src/tests/efl_mono/dummy_test_object.eo.cs(198,48): error CS0266: Cannot implicitly convert type `long' to `int'. An explicit conversion exists (are you missing a cast?)
src/tests/efl_mono/dummy_test_object.eo.cs(206,49): error CS0031: Constant value `4294967288' cannot be converted to a `uint'
Compilation failed: 2 error(s), 0 warnings
ninja: build stopped: subcommand failed.
 * ERROR: dev-libs/efl-1.23.1::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 -C /var/tmp/portage/dev-libs/efl-1.23.1/work/efl-1.23.1-build failed
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-10-25 09:54:43 UTC
Please attach the complete build log to this bug report.
Please post your `emerge --info' output in a comment.
Comment 2 Joonas Niilola gentoo-dev 2019-10-26 10:05:51 UTC
USE="mono" succeeded for me. Could you upload your build.log, and show 
  emerge -pv efl mono
output?
Comment 3 Joonas Niilola gentoo-dev 2019-11-01 12:46:38 UTC
FYI 1.23.2 is out and has a number of mono-related fixes.
Comment 4 Robert R. Richter 2019-11-01 17:11:58 UTC
tested again on 1.23.2 - same error:

src/tests/efl_mono/dummy_test_object.eo.cs(207,48): error CS0266: Cannot implicitly convert type `long' to `int'. An explicit conversion exists (are you missing a cast?)
src/tests/efl_mono/dummy_test_object.eo.cs(214,49): error CS0031: Constant value `4294967288' cannot be converted to a `uint'
Compilation failed: 2 error(s), 0 warnings

the bug(s) seems to be in dummy_test_object.eo.cs
Comment 5 Joonas Niilola gentoo-dev 2019-11-01 17:26:02 UTC
Can you upload build.log?
Comment 6 Joonas Niilola gentoo-dev 2019-11-16 08:21:52 UTC
I can't do much here without additional info, works for me :\