Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698508 - 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?)
Summary: dev-libs/efl-1.23.1 USE=mono - src/tests/efl_mono/dummy_test_object.eo.cs(198...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-25 09:26 UTC by Robert R. Richter
Modified: 2019-11-16 08:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :\