View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000926 | SkyChart | 1-Software | public | 11-12-31 11:18 | 12-03-04 19:26 |
| Reporter | Mattia Verga | Assigned To | Patrick Chevalley | ||
| Priority | normal | Severity | minor | Reproducibility | N/A |
| Status | closed | Resolution | fixed | ||
| Platform | x86_64 | OS | Linux | OS Version | 3 |
| Product Version | 3.4 | ||||
| Summary | 0000926: Rpmlint complains about executable-stack set on binaries | ||||
| Description | I'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? | ||||
| Tags | No tags attached. | ||||
| related to | 0000927 | closed | Patrick Chevalley | Wiki doc as separate subpackage |
|
|
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 |
|
|
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. |
|
|
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 ? |
|
|
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. |
|
|
I think there is no more to do on this so I close this issue. |
| 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 |