It seems that after upgrading to linux-headers-3.4, syslinux don't find linux/ext2_fs.h anymore, even if that include file is present in the linux source tree. In file included from syslinux.c:50:0: ../libinstaller/linuxioctl.h:22:44: fatal error: linux/ext2_fs.h: No such file or directory compilation terminated. make[1]: *** [syslinux.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from ../libinstaller/syslxcom.c:33:0: ../libinstaller/linuxioctl.h:22:44: fatal error: linux/ext2_fs.h: No such file or directory compilation terminated. make[1]: *** [syslxcom.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-boot/syslinux-4.05/work/syslinux-4.05/linux' make: *** [installer] Error 2 emake failed * ERROR: sys-boot/syslinux-4.05 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 1872: Called die * The specific snippet of code: * emake CC=$(tc-getCC) installer || die * * If you need support, post the output of `emerge --info '=sys-boot/syslinux-4.05'`, * the complete build log and the output of `emerge -pqv '=sys-boot/syslinux-4.05'`. * The complete build log is located at '/var/tmp/portage/sys-boot/syslinux-4.05/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-boot/syslinux-4.05/temp/environment'. * Working directory: '/var/tmp/portage/sys-boot/syslinux-4.05/work/syslinux-4.05' * S: '/var/tmp/portage/sys-boot/syslinux-4.05/work/syslinux-4.05' Reproducible: Always
Upstream patch: http://git.kernel.org/?p=boot/syslinux/syslinux.git;a=commitdiff;h=a1006762fa6f98750bb77d76dd992cb8ea9f9c99 If anyone wants to commit, feel free. Else I may get to it during the next couple of days.
Created attachment 313019 [details, diff] Patch against LinuxHeaders-3.4 I hit this when recompiling a few things on my system. So I created this patch, which is created from the linked one upstream. The patch presented was actually for 4.06-Pre3, however it is being applied against 4.05 here. This applies cleanly for me and results in a successful compile (however I haven't tested functionality yet).
After discussing with upstream, I added syslinux-4.06_pre4 to the tree and made earlier versions depend on <sys-kernel/linux-headers-3.4.
(In reply to comment #3) > After discussing with upstream, I added syslinux-4.06_pre4 to the tree and > made earlier versions depend on <sys-kernel/linux-headers-3.4. Please reopen: sys-boot/syslinux-3.86 does not need to depend on <sys-kernel/linux-headers-3.4 as it has its own private copy of ext2_fs.h anyway. I just forced linux-headers-3.4 on my system and it rebuilt syslinux-3.86 just fine.
Please reopen. With stable syslinux-4.0.5 and stable linux-headers-3.4 it causes blocking because of syslinux dependency on <sys-kernel/linux-headers-3.4
This bug is fixed and won't be reopened. If you have concerns about stabilizing linux-headers or syslinux, please see bug 423091 and bug 423831.
(In reply to comment #6) > This bug is fixed and won't be reopened. If you have concerns about > stabilizing linux-headers or syslinux, please see bug 423091 and bug 423831. But the dependency on <sys-kernel/linux-headers-3.4 for syslinux-3.86 is not needed, syslinux-3.86 builds just fine with linux-headers-3.4. Please at least revert this change.