| Summary: | toolchain.eclass calls internal function gcc-lang-supported() before emerge does unpack() | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Bill Prendergast <dek.devel> |
| Component: | Eclasses | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | trivial | CC: | phmagic |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** This bug has been marked as a duplicate of bug 391369 *** *** Bug 391405 has been marked as a duplicate of this bug. *** |
this grep is performed in gcc-lang-supported() (line 574 for svn-1.481 toolchain.eclass) grep ^language=\"${1}\" "${S}"/gcc/*/config-lang.in > /dev/null || return 1 however the workdir has not yet been created at the first invocation (as it is run before unpack) >>> Emerging (1 of 1) sys-devel/gcc-4.5.3-r1 * gcc-4.5.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * gcc-4.5.3-uclibc-patches-1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * gcc-4.5.3-patches-1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * gcc-4.5.3-piepatches-v0.4.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * gcc-4.4.3-specs-0.2.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * ecj-4.5.jar RMD160 SHA1 SHA256 size ;-) ... [ ok ] grep: /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/*/config-lang.in: No such file or directory * Obj-C++ requires a C++ compiler, disabled due to USE="-cxx" * GCJ requires a C++ compiler, disabled due to USE="-cxx" >>> Unpacking source... Reproducible: Always Steps to Reproduce: 1. emerge -v1 sys-devel/gcc Actual Results: warnings emitted:- * Obj-C++ requires a C++ compiler, disabled due to USE="-cxx" * GCJ requires a C++ compiler, disabled due to USE="-cxx" c++, gcj and obj-c++ appear to built regardless Expected Results: the warnings not to be emitted while the erroneous warning may be harmless, it did resulted in me rebuilding sys-devel/gcc twice as I had thought that c++ was not built.