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

Bug 243502 (tc-directly)

Summary: [TRACKER] Packages calling cc/gcc directly as CC (and similar issues)
Product: Quality Assurance Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: TrackersAssignee: Gentoo Quality Assurance Team <qa>
Status: CONFIRMED ---    
Severity: normal CC: bertrand, drizzt, lssndrbarbieri, matsuu, miki3, n-roeser, nikoli, sam
Priority: High Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=724454
https://bugs.gentoo.org/show_bug.cgi?id=427672
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 448352, 463846, 504702, 583920, 588334, 602444, 630072, 652172, 662552, 717680, 718048, 718052, 718078, 718124, 720890, 720964, 721504, 721880, 721886, 722016, 722020, 722172, 722350, 722370, 722470, 722614, 722932, 722934, 722936, 722938, 722946, 722950, 722968, 722970, 723134, 723238, 723558, 723714, 723752, 724078, 724240, 724250, 724406, 724702, 724710, 724732, 724762, 724764, 724834, 724840, 724856, 724914, 724930, 724970, 725028, 725030, 725032, 725034, 725098, 725102, 725158, 725160, 725188, 725192, 725198, 725218, 725244, 725254, 725260, 725282, 725328, 725424, 725426, 725428, 725440, 725472, 725612, 725618, 725626, 725628, 725726, 725754, 725758, 725772, 725780, 725792, 725800, 725812, 725820, 725980, 725990, 726022, 726034, 726096, 726112, 726186, 727144, 727248, 727806, 727808, 727926, 728638, 729110, 729116, 729162, 729548, 729686, 729694, 729890, 730002, 730004, 730008, 730314, 730798, 731030, 731034, 731152, 731202, 731230, 731252, 731686, 731700, 731882, 731902, 732062, 732218, 732368, 732530, 733214, 733380, 733384, 733770, 738108, 738118, 739182, 740144, 740146, 742737, 743046, 743049, 743583, 744043, 744319, 744322, 745120, 745267, 745273, 745495, 753605, 757927, 758035, 760594, 761694, 763840, 763843, 764182, 765601, 766692, 767466, 769815, 770736, 770889, 773241, 774099, 779781, 779823, 782391, 782619, 782712, 783105, 783666, 784527, 784620, 785499, 785709, 786639, 792249, 792252, 792984, 794013, 802180, 808540, 809725, 815514, 816243, 816759, 827010, 828989, 829678, 830677, 831100, 832185, 832570, 833771, 834485, 835657, 840451, 842414, 844907, 857885, 863521, 864953, 866719, 868363, 876289, 888936, 892555, 893956, 901273, 902001, 907944, 908827, 908828, 909499, 909500, 911636, 911945, 913850, 923128, 925129, 926125, 926802, 927011, 927163, 927240, 927933, 928245, 204117, 243308, 243310, 243312, 243316, 243318, 243320, 243322, 243324, 243326, 243328, 243504, 243506, 243508, 243510, 243512, 243514, 243516, 243518, 243520, 243522, 243524, 243526, 243528, 243530, 243532, 243534, 243536, 243538, 243540, 243542, 243544, 243546, 243548, 243550, 243552, 243554, 243556, 243558, 243560, 243562, 243564, 243566, 243568, 243570, 243572, 243574, 243576, 243578, 243580, 243582, 243584, 243586, 243588, 243590, 243592, 243594, 243596, 243598, 243600, 243602, 243604, 243606, 243608, 243610, 243612, 243614, 243616, 243618, 243620, 243622, 243624, 243626, 243628, 243630, 243632, 243634, 243636, 243638, 243640, 243642, 243644, 243646, 243648, 243650, 243652, 243654, 243656, 243658, 243660, 243662, 243664, 243666, 243668, 243670, 243672, 243674, 243676, 243678, 243680, 243682, 243684, 243686, 243688, 243690, 243692, 243694, 243696, 243698, 243700, 243702, 243704, 243706, 243708, 243712, 243714, 243716, 243718, 243720, 243722, 243724, 243726, 243728, 243730, 243732, 243734, 243736, 243738, 243740, 243742, 243744, 243746, 243748, 243750, 243752, 243756, 243758, 243760, 243762, 243764, 243766, 243768, 243770, 243772, 243774, 243862, 243864, 243866, 243868, 243870, 243872, 243874, 243876, 243878, 243880, 243882, 243884, 243886, 243888, 243890, 243892, 243894, 243896, 243900, 243902, 243904, 243906, 243908, 243910, 243912, 243914, 243916, 243920, 243922, 243924, 243926, 243928, 243930, 243932, 243934, 243936, 243938, 243940, 243942, 243944, 243946, 243948, 243950, 243952, 243954, 243956, 243958, 243960, 243962, 243964, 243966, 243968, 243970, 243972, 243974, 243976, 243978, 243984, 243986, 243988, 243990, 243992, 243994, 243996, 244000, 244002, 244004, 244006, 244008, 244010, 244012, 244014, 244032, 244034, 244036, 244038, 244040, 244042, 244044, 244046, 244048, 244050, 244052, 244054, 244058, 244060, 244062, 244064, 244066, 244068, 244070, 244072, 244074, 244076, 244078, 244080, 244082, 244084, 244086, 244088, 244090, 244092, 244094, 244096, 244098, 244100, 244102, 244104, 244106, 244108, 244112, 244114, 244116, 244118, 244120, 244122, 244124, 244126, 244128, 244130, 244132, 244134, 244136, 244138, 244140, 244142, 244144, 244146, 244148, 244150, 244152, 244154, 244156, 244158, 244160, 244162, 244164, 244166, 244168, 244170, 244172, 246621, 246819, 294369, 296741, 296742, 336109, 355055, 377757, 378793, 378813, 378963, 379273, 380063, 380199, 380743, 380747, 383973, 389745, 393109, 395043, 396277, 396715, 397441, 397871, 398821, 401099, 401907, 401937, 401955, 402737, 403117, 408481, 408523, 410673, 411075, 413277, 427448, 428188, 428388, 431450, 431682, 432142, 435052, 435780, 435784, 435932, 436008, 436010, 436070, 436088, 436646, 436650, 436758, 437152, 437190, 437980, 438040, 438124, 438156, 438160, 438312, 438326, 438332, 438426, 438632, 439016, 439044, 439312, 439352, 439460, 439980, 440024, 440256, 440260, 440262, 440264, 440266, 440268, 440270, 440272, 440274, 440338, 440570, 440900, 441770, 441772, 442094, 442132, 442606, 442780, 443122, 443126, 443136, 443152, 443454, 443526, 443694, 443840, 443842, 443846, 443848, 443850, 443852, 444026, 444030, 444032, 444034, 444042, 444046, 444068, 444070, 444074, 444076, 444078, 444080, 444082, 444084, 444086, 444088, 444090, 444092, 444282, 444372, 444374, 444376, 444548, 444624, 444926, 444942, 444944, 445524, 445700, 445794, 445988, 446277, 446350, 446472, 446594, 446596, 446598, 446600, 446728, 446754, 446902, 447026, 447492, 447494, 447496, 447514, 447612, 447620, 447622, 447624, 447728, 447750, 447814, 447816, 447858, 448526, 448678, 448904, 449028, 449514, 449518, 449764, 450164, 450702, 450934, 451086, 451184, 451388, 452082, 452092, 452096, 452200, 452798, 452838, 453148, 453174, 453244, 453588, 453914, 454136, 455194, 455196, 455206, 455212, 455294, 455296, 455420, 455422, 455424, 456142, 456148, 456150, 456850, 456926, 457512, 457540, 457542, 457544, 457608, 457610, 457612, 457734, 457912, 458084, 458482, 459058, 459138, 459174, 459280, 459720, 459800, 459844, 459846, 459848, 459878, 460420, 460656, 461254, 461256, 461646, 461722, 461730, 462758, 462836, 462968, 462974, 462976, 463330, 463816, 463862, 463980, 464386, 464390, 464710, 465260, 465558, 465746, 466014, 466016, 466202, 466206, 466466, 466600, 466690, 466790, 466802, 467172, 467174, 467176, 467222, 467640, 468018, 468114, 468156, 468170, 468172, 468174, 468176, 468178, 468180, 468182, 468186, 468188, 468190, 468192, 468662, 468664, 468666, 469800, 469806, 469808, 469810, 469812, 469814, 469816, 469970, 470066, 470068, 470622, 470624, 471436, 473030, 474528, 474530, 474532, 474534, 474764, 474766, 474784, 474786, 474788, 475006, 475008, 475144, 475256, 475320, 475322, 475612, 475682, 475732, 475946, 476002, 476004, 476010, 476576, 476686, 476770, 477580, 477608, 477614, 477676, 478514, 478790, 480158, 480394, 481480, 482188, 483120, 483278, 483342, 483344, 483716, 483734, 483738, 483740, 483742, 483744, 483746, 483748, 483752, 484200, 484452, 484852, 484854, 484856, 484858, 484860, 484862, 484864, 484866, 484868, 484870, 484872, 484874, 484974, 485568, 485592, 486470, 486472, 489734, 500864, 502076, 507082, 507574, 510722, 511100, 514866, 517176, 517512, 517634, 518576, 521742, 524816, 525088, 536100, 536102, 542932, 546668, 557880, 563492, 565894, 587408, 593630, 593668, 600246, 605910, 607468, 608032, 643106, 651528, 669000, 675278, 683024, 684728, 686064, 696964, 704232, 715092, 717698, 717720, 717736, 718010, 718028, 718030, 718032, 718050, 718072, 718126, 718128, 718132, 718134, 718138, 718158, 718168, 718356, 718368, 718370, 718566, 718570, 718592, 718594, 718616, 718660, 718662, 718664, 718666, 718696, 718868, 718872, 718874, 718876, 718888, 718892, 718908, 718912, 719054, 719060, 719064, 719158, 719160, 719212, 719784, 719934, 720450, 720698, 720700, 720710, 720712, 720782, 720784, 720786, 720788, 720792, 720794, 720820, 720850, 720884, 720886, 720966, 720968, 721028, 721030, 721032, 721034, 721036, 721038, 721236, 721238, 721240, 721242, 721272, 721394, 721470, 721492, 721500, 721506, 721592, 721606, 721792, 721882, 721902, 721904, 721908, 721910, 721914, 721916, 721918, 721926, 721928, 722014, 722022, 722024, 722026, 722028, 722030, 722034, 722036, 722040, 722044, 722050, 722054, 722162, 722166, 722314, 722316, 722320, 722322, 722324, 722326, 722328, 722330, 722338, 722340, 722342, 722346, 722348, 722356, 722410, 722436, 722438, 722474, 722598, 722600, 722602, 722604, 722610, 722628, 722632, 722638, 722686, 722948, 722952, 722956, 722958, 722960, 722964, 722966, 723024, 723028, 723032, 723034, 723036, 723040, 723060, 723136, 723138, 723142, 723144, 723148, 723152, 723154, 723158, 723216, 723264, 723608, 723666, 723704, 723726, 723734, 723790, 724034, 724042, 724154, 724244, 724246, 724252, 724256, 724258, 724262, 724268, 724270, 724272, 724276, 724324, 724326, 724328, 724400, 724408, 724410, 724412, 724416, 724418, 724420, 724448, 724558, 724560, 724568, 724662, 724664, 724666, 724670, 724674, 724678, 724680, 724682, 724684, 724686, 724690, 724698, 724706, 724708, 724712, 724714, 724716, 724718, 724720, 724726, 724728, 724730, 724738, 724740, 724744, 724748, 724756, 724758, 724760, 724766, 724802, 724824, 724836, 724838, 724842, 724844, 724846, 724854, 724858, 724860, 724912, 724918, 724924, 724926, 724932, 724934, 724936, 724956, 724964, 724966, 724968, 724972, 724974, 725026, 725036, 725044, 725100, 725104, 725154, 725156, 725162, 725164, 725166, 725170, 725172, 725174, 725178, 725180, 725182, 725186, 725194, 725196, 725200, 725202, 725204, 725208, 725210, 725212, 725216, 725220, 725234, 725240, 725262, 725270, 725272, 725274, 725280, 725284, 725292, 725298, 725300, 725306, 725314, 725316, 725318, 725320, 725324, 725326, 725330, 725378, 725406, 725432, 725434, 725438, 725444, 725450, 725454, 725488, 725540, 725588, 725590, 725592, 725598, 725600, 725606, 725608, 725616, 725712, 725714, 725718, 725720, 725736, 725746, 725748, 725760, 725762, 725768, 725784, 725786, 725788, 725794, 725798, 725804, 725808, 725814, 725818, 725826, 725838, 725846, 725852, 725878, 725956, 725978, 725992, 726000, 726018, 726020, 726028, 726030, 726032, 726070, 726074, 726094, 726140, 726176, 726180, 726184, 726200, 726208, 726210, 726212, 726214, 726216, 726218, 726220, 726222, 726224, 726226, 726230, 726232, 726234, 726236, 726238, 726240, 726242, 726244, 726248, 726252, 726254, 726256, 726258, 726260, 726262, 726264, 726282, 726284, 726286, 726288, 726292, 726304, 726428, 726714, 727160, 727226, 727250, 727280, 727288, 727296, 727384, 727412, 727414, 727478, 727480, 727640, 727804, 727938, 727944, 728018, 728020, 728070, 728218, 728280, 728330, 728332, 728364, 728366, 728426, 728564, 728722, 728724, 728732, 728734, 728980, 729026, 729126, 729258, 729260, 729264, 729274, 729294, 729378, 729424, 729550, 729554, 729564, 729598, 729630, 729714, 729740, 729830, 729878, 729884, 729896, 729998, 730022, 730388, 730554, 730714, 730778, 730788, 730790, 730796, 730800, 730804, 730808, 730810, 730812, 730814, 730818, 730830, 730832, 730842, 730844, 730846, 730850, 730858, 730878, 730926, 730928, 731020, 731036, 731038, 731044, 731104, 731690, 731694, 731762, 731874, 731906, 731932, 731938, 732030, 732036, 732202, 732260, 732280, 732428, 732432, 732792, 733068, 733388, 733416, 733814, 733940, 734040, 734140, 734176, 734302, 735966, 735984, 736036, 736601, 737832, 738060, 738106, 738110, 738116, 738476, 738806, 738880, 739104, 739138, 739278, 739662, 739666, 739706, 740138, 740340, 740492, 740518, 740770, 740772, 740774, 742497, 742662, 742683, 742731, 742743, 742941, 743883, 744421, 744424, 744919, 745291, 745327, 745375, 745486, 746095, 746254, 747217, 747370, 747880, 748447, 748729, 749276, 750128, 750317, 750911, 750914, 751052, 751274, 753446, 753776, 754861, 754999, 756004, 756040, 756046, 756406, 756787, 756850, 758272, 759307, 759310, 759760, 760591, 760636, 761754, 761757, 762169, 762232, 762235, 762595, 762778, 762796, 763828, 763915, 764914, 764917, 765754, 766069, 766072, 766354, 766492, 769515, 770481, 770739, 771036, 771849, 771852, 773502, 773505, 773511, 773541, 776817, 778590, 779139, 779541, 779655, 779925, 779928, 779952, 779973, 779976, 780450, 780453, 780456, 780462, 780693, 780936, 782394, 784227, 784230, 784233, 784308, 784314, 784917, 787485, 787494, 787497, 787557, 788157, 789135, 789687, 790611, 792027, 792237, 792378, 792585, 792987, 792990, 793128, 793740, 794877, 794919, 795168, 796278, 796599, 797454, 798489, 798717, 799269, 799440, 800962, 801073, 802108, 803035, 804486, 804951, 805344, 806130, 806274, 809047, 809509, 809512, 810601, 812197, 814017, 816555, 816558, 818154, 818487, 823695, 823866, 825050, 826678, 827215, 827972, 828510, 828889, 829225, 829311, 829656, 829696, 829701, 829745, 830175, 831090, 831291, 831320, 831337, 831862, 831863, 831993, 832187, 832411, 833024, 833602, 833770, 833788, 833979, 833990, 833993, 834846, 834874, 834951, 835436, 835552, 835555, 835656, 835735, 836246, 836247, 836275, 836687, 838841, 839318, 839888, 840296, 842369, 843059, 847031, 848498, 849761, 852680, 852683, 854354, 854885, 855167, 855458, 855587, 856487, 856664, 857843, 857927, 858572, 858698, 859559, 860039, 860222, 864557, 866398, 866722, 867622, 867766, 867880, 869656, 870031, 874339, 876933, 879319, 882445, 883967, 884529, 884533, 889646, 890477, 891947, 892429, 892469, 893258, 894150, 895288, 895290, 899742, 905269, 906117, 910051, 910281, 912301, 913610, 913665, 913704, 918967, 923129, 924038, 924938, 927934, 928309, 930357    
Bug Blocks:    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-23 23:51:23 UTC
Just a way to track down the packages failing this further QA test.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-28 12:13:49 UTC
These issues can be catched by using:
sys-devel/gcc-config -native-symlinks
sys-devel/binutils-config -native-symlinks

Remember that they must be also in /etc/portage/profile/package.use.force
Comment 2 Larry the Git Cow gentoo-dev 2020-08-30 07:58:46 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c7f716876fc9d0460cee1faa4935836688f3c6e

commit 1c7f716876fc9d0460cee1faa4935836688f3c6e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-08-30 07:10:07 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-08-30 07:58:20 +0000

    kde-apps/yakuake: 20.04.3-r1 amd64 stable
    
    Bug: https://bugs.gentoo.org/243502
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/yakuake/yakuake-20.04.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2020-09-06 12:28:13 UTC
To ease debugging and fixing direct tool invocations toolchain@ created a few docs and helpers to reproduce and fix the bugs:
    https://wiki.gentoo.org/wiki/Project:Toolchain/use_native_symlinks

The caveat is that qa@ has not yet decided what exactly this bug should be about (bug #726034).
Comment 4 Larry the Git Cow gentoo-dev 2021-08-14 01:43:05 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=d0bced7586bcab1a00a8db11baae895bd4f0a646

commit d0bced7586bcab1a00a8db11baae895bd4f0a646
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-01 02:28:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-14 01:42:58 +0000

    ebuild-writing/functions/src_compile/building: don't call CC directly
    
    Bug: https://bugs.gentoo.org/243502
    Bug: https://bugs.gentoo.org/726034
    Signed-off-by: Sam James <sam@gentoo.org>
    Closes: https://github.com/gentoo/devmanual/pull/243
    Signed-off-by: Sam James <sam@gentoo.org>

 ebuild-writing/functions/src_compile/building/text.xml | 9 +++++++++
 1 file changed, 9 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2022-12-02 15:18:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d34150a8ad5a986519809b2e8e4c15ba04ef9464

commit d34150a8ad5a986519809b2e8e4c15ba04ef9464
Author:     Christoph Junghans <junghans@gentoo.org>
AuthorDate: 2022-12-02 15:17:38 +0000
Commit:     Christoph Junghans <junghans@gentoo.org>
CommitDate: 2022-12-02 15:18:18 +0000

    sys-apps/nawk: fix CC usage
    
    Closes: https://bugs.gentoo.org/243502
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Christoph Junghans <junghans@gentoo.org>

 sys-apps/nawk/nawk-20220122-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)