Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178138 - dev-lang/gnat-gcc fails on QA Notice - installed in ${D}/${D}
Summary: dev-lang/gnat-gcc fails on QA Notice - installed in ${D}/${D}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: ada team [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-12 03:25 UTC by Bobby D. Bryant
Modified: 2007-05-18 13:52 UTC (History)
0 users

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


Attachments
scanelf-execstack.log, as mentioned in the emerge abort message (scanelf-execstack.log,905 bytes, text/plain)
2007-05-12 03:29 UTC, Bobby D. Bryant
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bobby D. Bryant 2007-05-12 03:25:53 UTC
Attempts to build gnat-gcc bomb off with a QA Notice.

Reproducible: Always

Steps to Reproduce:
1. emerge --unmerge gnat
2. unset ADA_INCLUDE_PATH ADA_OBJECTS_PATH
3. ACCEPT_KEYWORDS=~x86 emerge -va gnat-gcc

Actual Results:  
 * QA Notice: The following files contain executable stacks
 *  Files with executable stacks will not work properly (or at all!)
 *  on some architectures/operating systems.  A bug should be filed
 *  at http://bugs.gentoo.org/ to make sure the file is fixed.
 *  For more information, see http://hardened.gentoo.org/gnu-stack.xml
 *  Please include this file in your report:
 *  /home/saves/portage/temp/portage/dev-lang/gnat-gcc-4.1.2/temp/scanelf-execstack.log
 * RWX --- --- usr/libexec/gnat-gcc/i686-pc-linux-gnu/4.1/gnat1
RWX --- --- usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adalib/libgnat-4.1.so
RWX --- --- usr/i686-pc-linux-gnu/gnat-gcc-bin/4.1/gnatbind
RWX --- --- usr/i686-pc-linux-gnu/gnat-gcc-bin/4.1/gnatls
RWX --- --- usr/i686-pc-linux-gnu/gnat-gcc-bin/4.1/gnatmake

 * QA Notice: // installed in ${D}/${D}
 * QA Notice: //usr installed in ${D}/${D}

!!! ERROR: dev-lang/gnat-gcc-4.1.2 failed.
Call stack:
  misc-functions.sh, line 570:   Called install_qa_check
  misc-functions.sh, line 212:   Called die

!!! Aborting due to QA concerns: 2 files installed in /home/saves/portage/temp/portage/dev-lang/gnat-gcc-4.1.2/image///home/saves/portage/temp/portage/dev-lang/gnat-gcc-4.1.2/image/
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/home/saves/portage/logs/dev-lang:gnat-gcc-4.1.2:20070512-025141.log'.

!!! install_qa_check failed; exiting.


Expected Results:  
Successful emerge.

I will attach the file as suggested in the abort message.

I left the hardware as 'all', but have actually only tried it on three x86 archictures (AMD desktop, Intel desktop, and Intel mobile).

I synched and -uvaD'd world before attempting the installation.

The unmerge of dev-lang/gnat did not leave anything in /etc/env.d
Comment 1 Bobby D. Bryant 2007-05-12 03:29:07 UTC
Created attachment 118960 [details]
scanelf-execstack.log, as mentioned in the emerge abort message
Comment 2 Kevin F. Quinn (RETIRED) gentoo-dev 2007-05-12 22:22:00 UTC
Just to confirm - I see the same - with gnat-gcc-4.1.2:

 * QA Notice: // installed in ${D}/${D}
 * QA Notice: //usr installed in ${D}/${D}

Interesting that on gnat-gcc, just '/' and '/usr' are installed into ${D}/${D} (i.e. nothing of any consequence) - with gnat-gpl there's a pile of stuff there.
Comment 3 George Shapovalov (RETIRED) gentoo-dev 2007-05-18 13:52:44 UTC
Just added a change to gnatbuild.eclass as in #178140. Should fix this bug.