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

Bug 607120

Summary: =dev-util/rebar-2.6.4 version bump
Product: Gentoo Linux Reporter: Charles Nérot <charles>
Component: Current packagesAssignee: Mira Ressel <aranea>
Status: RESOLVED FIXED    
Severity: normal CC: dan, djc, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
config.log
dev-erlang:fast_tls-1.0.9:20170125-004600.log
emerge-history.txt
environment
etc.portage.tbz2

Description Charles Nérot 2017-01-24 22:09:50 UTC
On ~amd64, building =dev-erlang/fast_tls-1.0.7 or =dev-erlang/fast_tls-1.0.9 with 
=dev-util/rebar-2.6.3 fail with message :

INFO:  sh info:
	cwd: "/var/tmp/portage/dev-erlang/fast_tls-1.0.9/work/fast_tls-1.0.9"
	cmd: cc -c -march=atom -O2 -pipe -mssse3 -mfpmath=sse -DHAS_ERTS_EXIT -march=atom -O2 -pipe -mssse3 -mfpmath=sse -Wall -g -Wall -fPIC -MMD  -I"/usr/lib64/erlang/lib/erl_interface-3.9.1/include" -I"/usr/lib64/erlang/erts-8.1/include"   c_src/p1_sha.c -o c_src/p1_sha.o
Compiling c_src/p1_sha.c
ERROR: compile failed while processing /var/tmp/portage/dev-erlang/fast_tls-1.0.9/work/fast_tls-1.0.9: {'EXIT',
    {function_clause,
        [{lists,reverse,
             [["c_src/p1_sha.o"|
               {["c_src/fast_tls_drv.o"],
                ["{ \"file\"      : \"c_src/fast_tls_drv.c\"\n, \"directory\" : \"/var/tmp/portage/dev-erlang/fast_tls-1.0.9/work/fast_tls-1.0.9\"\n, \"command\"   : \"cc -c -march=atom -O2 -pipe -mssse3 -mfpmath=sse -DHAS_ERTS_EXIT -march=atom -O2 -pipe -mssse3 -mfpmath=sse -Wall -g -Wall -fPIC -MMD -I\\\"/usr/lib64/erlang/lib/erl_interface-3.9.1/include\\\" -I\\\"/usr/lib64/erlang/erts-8.1/include\\\" c_src/fast_tls_drv.c -o c_src/fast_tls_drv.o\"\n}~n"]}]],
             [{file,"lists.erl"},{line,147}]},
         {rebar_port_compiler,compile_each,5,
             [{file,"src/rebar_port_compiler.erl"},{line,240}]},
         {lists,foldl,3,[{file,"lists.erl"},{line,1263}]},
         {rebar_port_compiler,compile_sources,3,
             [{file,"src/rebar_port_compiler.erl"},{line,220}]},
         {rebar_port_compiler,compile,2,
             [{file,"src/rebar_port_compiler.erl"},{line,58}]},
         {rebar_core,run_modules,4,[{file,"src/rebar_core.erl"},{line,493}]},
         {rebar_core,execute,6,[{file,"src/rebar_core.erl"},{line,418}]},
         {rebar_core,maybe_execute,8,
             [{file,"src/rebar_core.erl"},{line,302}]}]}}
 * ERROR: dev-erlang/fast_tls-1.0.9::gentoo failed (compile phase):
 *   rebar compile failed
 * 

Everithing is ok with =dev-util/rebar-2.6.2
Comment 1 Daniel M. Weeks 2017-01-25 00:33:03 UTC
Add >=dev-erlang/fast_xml-1.1.14 to that list. I haven't tested 1.1.3 but the other versions all fail the same way with rebar-2.6.3. They work with 2.6.2.
Comment 2 Daniel M. Weeks 2017-01-25 00:37:03 UTC
I'm not very familiar with rebar but this looks like a regression in 2.6.3 that was fixed a few days later in 2.6.4: https://github.com/rebar/rebar/pull/619
Comment 3 Toralf Förster gentoo-dev 2017-01-25 08:33:44 UTC
same issue ?
Comment 4 Toralf Förster gentoo-dev 2017-01-25 08:33:47 UTC
Created attachment 461330 [details]
emerge-info.txt
Comment 5 Toralf Förster gentoo-dev 2017-01-25 08:33:50 UTC
Created attachment 461332 [details]
config.log
Comment 6 Toralf Förster gentoo-dev 2017-01-25 08:33:53 UTC
Created attachment 461334 [details]
dev-erlang:fast_tls-1.0.9:20170125-004600.log
Comment 7 Toralf Förster gentoo-dev 2017-01-25 08:33:56 UTC
Created attachment 461336 [details]
emerge-history.txt
Comment 8 Toralf Förster gentoo-dev 2017-01-25 08:33:59 UTC
Created attachment 461338 [details]
environment
Comment 9 Toralf Förster gentoo-dev 2017-01-25 08:34:02 UTC
Created attachment 461340 [details]
etc.portage.tbz2
Comment 10 Dirkjan Ochtman (RETIRED) gentoo-dev 2017-01-25 19:39:30 UTC
[master e4cee43] dev-util/rebar: version bump to 2.6.4 (fixes bug 607120)
 2 files changed, 30 insertions(+)
 create mode 100644 dev-util/rebar/rebar-2.6.4.ebuild