Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628308 - dev-lang/julia-0.6.0 w/ >=libunwind-1.2.1: julia_internal.h:646:35:error: floating constant in preprocessor expression
Summary: dev-lang/julia-0.6.0 w/ >=libunwind-1.2.1: julia_internal.h:646:35:error: flo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-19 16:48 UTC by Anton Kochkov
Modified: 2017-09-25 06:44 UTC (History)
2 users (show)

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


Attachments
full build log (julia_build.log,205.90 KB, text/x-log)
2017-08-19 16:48 UTC, Anton Kochkov
Details
emerge --info output (emerge_info.log,6.39 KB, text/x-log)
2017-08-19 16:50 UTC, Anton Kochkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kochkov 2017-08-19 16:48:29 UTC
Created attachment 489684 [details]
full build log

In file included from [01m[K/usr/include/x86_64-pc-linux-gnu/libunwind-x86_64.h:129:0[m[K,
                 from [01m[K/usr/include/x86_64-pc-linux-gnu/libunwind.h:25[m[K,
                 from [01m[K/usr/include/libunwind.h:10[m[K,
                 from [01m[K/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/src/julia_internal.h:642[m[K,
                 from [01m[K/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/src/builtins.c:25[m[K:
[01m[K/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/src/julia_internal.h:646:35:[m[K [01;31m[Kerror: [m[Kfloating constant in preprocessor expression
        (UNW_VERSION_MAJOR == 1 && UNW_VERSION_MINOR > 1))
[01;32m[K                                   ^[m[K
In file included from [01m[K/usr/include/x86_64-pc-linux-gnu/libunwind-x86_64.h:129:0[m[K,
                 from [01m[K/usr/include/x86_64-pc-linux-gnu/libunwind.h:25[m[K,
                 from [01m[K/usr/include/libunwind.h:10[m[K,
                 from [01m[K/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/src/julia_internal.h:642[m[K,
                 from [01m[K/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/src/typemap.c:7[m[K:
[01m[K/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/src/julia_internal.h:646:35:[m[K [01;31m[Kerror: [m[Kfloating constant in preprocessor expression
        (UNW_VERSION_MAJOR == 1 && UNW_VERSION_MINOR > 1))
[01;32m[K                                   ^[m[K
In file included from [01m[K/usr/include/x86_64-pc-linux-gnu/libunwind-x86_64.h:129:0[m[K,
                 from [01m[K/usr/include/x86_64-pc-linux-gnu/libunwind.h:25[m[K,
                 from [01m[K/usr/include/libunwind.h:10[m[K,
                 from [01m[K/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/src/julia_internal.h:642[m[K,
                 from [01m[K/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/src/ast.c:15[m[K:
[01m[K/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/src/julia_internal.h:646:35:[m[K [01;31m[Kerror: [m[Kfloating constant in preprocessor expression
        (UNW_VERSION_MAJOR == 1 && UNW_VERSION_MINOR > 1))
[01;32m[K                                   ^[m[K
In file included from [01m[K/usr/include/x86_64-pc-linux-gnu/libunwind-x86_64.h:129:0[m[K,
                 from [01m[K/usr/include/x86_64-pc-linux-gnu/libunwind.h:25[m[K,
                 from [01m[K/usr/include/libunwind.h:10[m[K,
                 from [01m[K/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/src/julia_internal.h:642[m[K,
                 from [01m[K/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/src/jltypes.c:15[m[K:
[01m[K/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/src/julia_internal.h:646:35:[m[K [01;31m[Kerror: [m[Kfloating constant in preprocessor expression
        (UNW_VERSION_MAJOR == 1 && UNW_VERSION_MINOR > 1))
[01;32m[K                                   ^[m[K
In file included from [01m[K/usr/include/x86_64-pc-linux-gnu/libunwind-x86_64.h:129:0[m[K,
                 from [01m[K/usr/include/x86_64-pc-linux-gnu/libunwind.h:25[m[K,
                 from [01m[K/usr/include/libunwind.h:10[m[K,
                 from [01m[K/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/src/julia_internal.h:642[m[K,
                 from [01m[K/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/src/gf.c:15[m[K:
[01m[K/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/src/julia_internal.h:646:35:[m[K [01;31m[Kerror: [m[Kfloating constant in preprocessor expression
        (UNW_VERSION_MAJOR == 1 && UNW_VERSION_MINOR > 1))
[01;32m[K                                   ^[m[K
make[1]: *** [Makefile:128: typemap.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:128: gf.o] Error 1
make[1]: *** [Makefile:128: jltypes.o] Error 1
make[1]: *** [Makefile:128: builtins.o] Error 1
make[1]: *** [Makefile:128: ast.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/src'
make: *** [Makefile:94: julia-src-release] Error 2
Comment 1 Anton Kochkov 2017-08-19 16:50:07 UTC
Created attachment 489686 [details]
emerge --info output
Comment 2 Harris Landgarten 2017-08-19 17:13:51 UTC
same here. Could be related to glibc upgrade. Looks something like weston bug
Comment 3 Harris Landgarten 2017-08-19 19:45:29 UTC
problem is caused by upgrade of libunwind to 1.2.1

downgrading libunwind to 1.2 allows julia-0.6 to build.


There seems to be a problem with julia_internal.h:642 use of 
UNW_VERSION_MINOR > 1 in a macro which is generating an error with libunwind-1.2.1
Comment 4 Patrick Lauer gentoo-dev 2017-09-25 06:44:45 UTC
Fixed by narrowing dep to <libunwind-1.2.1