Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235621 - sys-boot/syslinux-3.52 fails on Hardened
Summary: sys-boot/syslinux-3.52 fails on Hardened
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: QAcanfix
Depends on: 251816
Blocks:
  Show dependency tree
 
Reported: 2008-08-24 16:26 UTC by Attila Tóth
Modified: 2008-12-21 21:30 UTC (History)
4 users (show)

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


Attachments
Modified ebuild applies two patches (syslinux-3.52-r1.ebuild,1.09 KB, text/plain)
2008-08-24 16:29 UTC, Attila Tóth
Details
nopie patch taken from an upcoming ebuild version (syslinux-3.52-nopie.patch,987 bytes, patch)
2008-08-24 16:30 UTC, Attila Tóth
Details | Diff
Let portage strip the files to be installed (syslinux-3.52-nostrip.patch,2.01 KB, patch)
2008-08-24 16:31 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2008-08-24 16:26:05 UTC
Recently stabilized sys-boot/syslinux-3.52 fails because of low-level asm code nopie compile options were not taken care of.

Reproducible: Always

Steps to Reproduce:
The ebuild dropped support for patches used in previous ebuilds for this purpose, but don't apply the new-style patch already included in the upcoming syslinux-3.70 ebuild.
Comment 1 Attila Tóth 2008-08-24 16:29:06 UTC
Created attachment 163717 [details]
Modified ebuild applies two patches

and some minor modifications to the documentation installation section
Comment 2 Attila Tóth 2008-08-24 16:30:11 UTC
Created attachment 163719 [details, diff]
nopie patch taken from an upcoming ebuild version

works without modifications
Comment 3 Attila Tóth 2008-08-24 16:31:33 UTC
Created attachment 163720 [details, diff]
Let portage strip the files to be installed

Taken from an upcoming ebuild, with some modifications.
Comment 4 Attila Tóth 2008-08-24 16:34:15 UTC
Please find a proposed stable ebuild for syslinus-3.52. It applies nopie Makefile modifications patch, nostrip patch and install some additional documentation and a licence files in the doc directory. The patches had been modified based on syslinux-3.70 and its related patches.
Comment 5 Attila Tóth 2008-08-25 04:19:16 UTC
Another option would be to stabilize syslinux-3.70.
Comment 6 Jan Marten Simons 2008-08-26 13:40:21 UTC
I can confirm the compile failure and vote for either stabilising 3.70 or applying the patch.
Comment 7 Jan Marten Simons 2008-11-09 19:42:19 UTC
As this issue is open for a long tim despite the easy fix and most likely causes problems for new hardened installs QA should take a look at this bug.

So the reporter should add "hardened@gentoo.org" and "qa@gentoo.org" to the cc and perhapps "QAcanfix" to the keywords.
Comment 8 Attila Tóth 2008-11-10 06:07:48 UTC
Thx for the suggestion.
qa@ and hardened@ are already in cc, so I've just added QAcanfix to the keywords.

Regards,
Dw.
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-12-21 21:30:40 UTC
3.71 is in stable now. not backporting.