Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 442090 - www-client/opera-12.10.1652 : usr/lib64/opera/opera contains RWX sections
Summary: www-client/opera-12.10.1652 : usr/lib64/opera/opera contains RWX sections
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
: 448846 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-11-06 19:37 UTC by Agostino Sarubbo
Modified: 2012-12-28 16:04 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2012-11-06 19:37:34 UTC
* QA Notice: The following files contain writable and executable sections
 *  Files with such sections 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 issue is fixed.
 *  For more information, see http://hardened.gentoo.org/gnu-stack.xml
 *  Please include the following list of files in your report:
 *  Note: Bugs should be filed for the respective maintainers
 *  of the package in question and not hardened@g.o.
 * RWX --- --- usr/lib64/opera/opera

Since it is a bin, please hide it.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-06 21:25:56 UTC
I would have fixed that already but it seems QA_EXECSTACK is ignored, so I can't think I can simply "hide" it.
Comment 2 Zac Medico gentoo-dev 2012-11-07 07:43:45 UTC
The QA_EXECSTACK variable is supposed to be handled by scanelf from app-misc/pax-utils, but it seems like some of its handling for QA_* variables has been broken in recent releases. What version of pax-utils do you observe the problem with?
Comment 3 SpanKY gentoo-dev 2012-11-08 03:01:50 UTC
use QA_PREBUILT rather than setting specific QA vars
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-08 04:56:45 UTC
(In reply to comment #3)

  24 Sep 2012; Mike Frysinger <vapier@gentoo.org> opera-12.02.1578.ebuild:
  QA_DT_HASH (old/deprecated) -> QA_FLAGS_IGNORED (new hotness).

So what was that? Is that now old too?
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-08 04:59:07 UTC
Fixed in every opera{,-next} ebuild that will stick around for a while.
Comment 6 SpanKY gentoo-dev 2012-11-08 07:22:47 UTC
(In reply to comment #4)

that was purely mechanical to remove a variable that's been deprecated for a long time.  i wanted to finally clean it up since people weren't doing it themselves.  i didn't look at anything else in packages other than grepping the tree and running sed.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-27 16:16:19 UTC
*** Bug 448846 has been marked as a duplicate of this bug. ***
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-27 16:17:42 UTC
So should it be set in the global scope of the ebuild now? I get different results on different systems with QA_* exported in src_prepare().
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-12-27 16:21:27 UTC
I think it was always supposed to be global-scope.
Comment 10 Zac Medico gentoo-dev 2012-12-27 20:30:25 UTC
The QA_* variables have always been intended to be set in global scope. People who set the variables in phases typically do it in order to specify the exact paths of files, but they should really be using wildcards to match them instead.
Comment 11 SpanKY gentoo-dev 2012-12-27 21:20:04 UTC
(In reply to comment #9)

^^^ that
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-28 16:04:51 UTC
OK, should be fixed now.