Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635500 - dev-lang/spark-2017 fails to compile: gnat2why.gpr:2:06: unknown project file: "gnatcoll"
Summary: dev-lang/spark-2017 fails to compile: gnat2why.gpr:2:06: unknown project file...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-26 14:55 UTC by Jaak Ristioja
Modified: 2017-10-29 16:40 UTC (History)
0 users

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


Attachments
build.log (build.log,4.75 KB, text/x-log)
2017-10-26 14:55 UTC, Jaak Ristioja
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2017-10-26 14:55:51 UTC
Created attachment 500192 [details]
build.log

gprbuild  -Pgnat2why -j0 -cargs -O2 -pipe -march=native -ggdb -largs -Wl,-O1 -Wl,--as-needed
gnat2why.gpr:2:06: unknown project file: "gnatcoll"
gprbuild: "gnat2why" processing failed
make[1]: *** [Makefile:66: build] Error 4
make[1]: Leaving directory '/var/tmp/portage/dev-lang/spark-2017/work/spark-gpl-2017-src/gnat2why'

# emerge --info '=dev-lang/spark-2017::gentoo'
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/emerge", line 50, in <module>
    retval = emerge_main()
  File "/usr/lib64/python3.4/site-packages/_emerge/main.py", line 1250, in emerge_main
    return run_action(emerge_config)
  File "/usr/lib64/python3.4/site-packages/_emerge/actions.py", line 3255, in run_action
    emerge_config.trees, emerge_config.opts, valid_atoms)
  File "/usr/lib64/python3.4/site-packages/_emerge/actions.py", line 1654, in action_info
    head_commit = sync.retrieve_head(options=options)
AttributeError: 'WebRsync' object has no attribute 'retrieve_head'
# emerge -pqv '=dev-lang/spark-2017::gentoo'
[ebuild  N    ] dev-lang/spark-2017
Comment 1 Jaak Ristioja 2017-10-26 14:58:01 UTC
# emerge -pqv gnat-gpl gnatcoll gprbuild
[ebuild   R   ] dev-lang/gnat-gpl-2017  USE="cxx doc hardened nptl (pie) sanitize (ssp) vtv (-altivec) -awt bootstrap -cilk -debug (-fixed-point) -fortran -gcj -go -graphite -jit -libssp -mpx (-multilib) -nls -objc -objc++ -objc-gc -openmp (-pch) -pgo -regression-test -vanilla" 
[ebuild   R   ] dev-ada/gprbuild-2017  USE="bootstrap gnat_2017 -gnat_2016 -shared -static -static-pic" 
[ebuild   R   ] dev-ada/gnatcoll-2017  USE="gmp gnat_2017 gtk iconv projects readline sqlite -gnat_2016 -postgresql -pygobject -shared -static -syslog -tools" PYTHON_TARGETS="python2_7"
Comment 2 Tupone Alfredo gentoo-dev 2017-10-29 16:40:23 UTC
dev-ada/gnatcoll should be built with shared or static use flag enabled.

Thanks for report. Fixed