View Issue Details

IDProjectCategoryView StatusLast Update
0000926SkyChart1-Softwarepublic12-03-04 19:26
ReporterMattia Verga Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Platformx86_64OSLinuxOS Version3
Product Version3.4 
Summary0000926: Rpmlint complains about executable-stack set on binaries
DescriptionI'm repackaging Skychart 3.4 for Fedora (for personal use at present, maybe for upgrading official repositories in the future).
Testing the generated rpm file with rpmlint warns about executable-stack is set on:
varobs/varobs
varobs/varobs_lpv_bulletin
skychart/cdc
skychart/cdcicon

I tried to unset the executable-stack at build stage with 'execstack -c' on those files and it seems to have no effect on program functionality.
Is there any particular reason to have executable-stack set or can be safe switched off?
TagsNo tags attached.

Relationships

related to 0000927 closedPatrick Chevalley Wiki doc as separate subpackage 

Activities

Patrick Chevalley

11-12-31 13:27

administrator   ~0001868

Hi Mattia,

Which version of Freepascal do you use?
I only found this old bug report:
http://62.166.198.202/bug_view_advanced_page.php?bug_id=11563
It is marked as fixed with FPC 2.4

On my system with current dev version and fpc 2.4.4:
$ execstack -q /usr/local/bin/skychart
- /usr/local/bin/skychart


Mattia Verga

11-12-31 14:05

reporter   ~0001869

Strange, the latest Freepascal compiler available in Fedora is:
fpc.x86_64 2.4.2-2.fc15

So it should contain the fix, but building the rpm without manually apply 'execstack -c' to all the binaries gives:
$ rpmlint skychart-3.4-2.fc16.x86_64.rpm
skychart.x86_64: W: executable-stack /usr/bin/varobs
skychart.x86_64: W: executable-stack /usr/bin/varobs_lpv_bulletin
skychart.x86_64: W: executable-stack /usr/bin/skychart
skychart.x86_64: W: no-soname /usr/lib64/libplan404.so
skychart.x86_64: W: no-soname /usr/lib64/libgetdss.so
skychart.x86_64: W: shared-lib-calls-exit /usr/lib64/libgetdss.so exit@GLIBC_2.2.5
skychart.x86_64: W: executable-stack /usr/bin/cdcicon
skychart.x86_64: W: no-manual-page-for-binary cdcicon
skychart.x86_64: W: no-manual-page-for-binary skychart
skychart.x86_64: W: no-manual-page-for-binary varobs
skychart.x86_64: W: no-manual-page-for-binary varobs_lpv_bulletin
1 packages and 0 specfiles checked; 0 errors, 11 warnings.

And :
$ execstack -q /usr/bin/skychart
X /usr/bin/skychart

Maybe the problem is fixed using a more recent version of Freepascal, I will ping the maintainer of that package to ask him to upgrade to Fpc 2.4.

Patrick Chevalley

11-12-31 14:17

administrator   ~0001871

You are right, I check the file for the version 3.4 I build with FPC 2.4.2 and it give the problem. So this is fixed with FPC 2.4.4 only.
This may give a motivation to the Freepascal maintainer to upgrade :-)
Anyway this is strange the skychart package for FC15 was accepted with that ?

Patrick Chevalley

11-12-31 15:26

administrator   ~0001872

Ok, found the real FPC problem this time:
http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=16545

It was fixed in trunk last January and backported to 2.4.4 in May.

Patrick Chevalley

11-12-31 15:31

administrator   ~0001873

I think there is no more to do on this so I close this issue.

Issue History

Date Modified Username Field Change
11-12-31 11:18 Mattia Verga New Issue
11-12-31 12:36 Patrick Chevalley Relationship added related to 0000927
11-12-31 13:27 Patrick Chevalley Note Added: 0001868
11-12-31 13:27 Patrick Chevalley Assigned To => Patrick Chevalley
11-12-31 13:27 Patrick Chevalley Status new => feedback
11-12-31 14:05 Mattia Verga Note Added: 0001869
11-12-31 14:05 Mattia Verga Status feedback => assigned
11-12-31 14:17 Patrick Chevalley Note Added: 0001871
11-12-31 15:26 Patrick Chevalley Note Added: 0001872
11-12-31 15:31 Patrick Chevalley Note Added: 0001873
11-12-31 15:31 Patrick Chevalley Status assigned => resolved
11-12-31 15:31 Patrick Chevalley Resolution open => fixed
12-03-04 19:26 Patrick Chevalley Status resolved => closed