Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78482 - both syslinux-[2.13,3.07] compilation fails.
Summary: both syslinux-[2.13,3.07] compilation fails.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: solar (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-18 02:26 UTC by François-Xavier LAMARE
Modified: 2005-01-25 15:57 UTC (History)
3 users (show)

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


Attachments
emerge syslinux results (results,54.70 KB, text/plain)
2005-01-18 02:27 UTC, François-Xavier LAMARE
Details
syslinux-3.07-solar.patch (syslinux-3.07-solar.patch,9.03 KB, patch)
2005-01-18 07:11 UTC, solar (RETIRED)
Details | Diff
syslinux-3.07.ebuild.patch (syslinux-3.07.ebuild.patch,853 bytes, patch)
2005-01-18 07:22 UTC, solar (RETIRED)
Details | Diff
syslinux-3.07.ebuild.patch (syslinux-3.07.ebuild.patch,955 bytes, patch)
2005-01-19 17:34 UTC, solar (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description François-Xavier LAMARE 2005-01-18 02:26:29 UTC
I need syslinux for mondo-rescue but installation fails.
HP Proliant ML350@3GHz, 1GB RAM, RAID-5.
Linux 2.6.10-hardened-r1



Reproducible: Always
Steps to Reproduce:
1.emerge syslinux
2.
3.



Expected Results:  
see attached file

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1,
 2.6.10-hardened-r1 i686)
=================================================================
System uname: 2.6.10-hardened-r1 i686 Intel(R) Xeon(TM) CPU 3.00GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.b
elnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="apache2 apm avi berkdb bitmap-fonts cdr crypt cups encode f77 font-server f
oomaticdb fortran gdbm gif gpm gtk2 hardened imlib jpeg ldap libg++ libwww mad m
aildir mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl pn
g python quicktime readline sdl slang snmp spell sse sse2 ssl svga tcpd truetype
 truetype-fonts type1-fonts x86 xml2 xmms xv zlib"
Comment 1 François-Xavier LAMARE 2005-01-18 02:27:14 UTC
Created attachment 48818 [details]
emerge syslinux results
Comment 2 SpanKY gentoo-dev 2005-01-18 05:39:12 UTC
iggy claims the patch isnt needed anymore
Comment 3 solar (RETIRED) gentoo-dev 2005-01-18 06:00:18 UTC
Build failures confirmed with hardened specs (somebody remove the filterting of fstack) ;/

I'll hack on it and post something here
Comment 4 solar (RETIRED) gentoo-dev 2005-01-18 06:19:31 UTC
re comment #2 iggy is wrong. A patch is still needed. But now it's missing ~!@#$%^ and cvs.gentoo.org seems to be down.
If I recall right every makefile needs to have -fno-stack-protector added and memdisk/dos utils have to be disabled.
I'll hunt for the old patch to see what I had todo before.
Comment 5 solar (RETIRED) gentoo-dev 2005-01-18 07:11:51 UTC
Created attachment 48838 [details, diff]
syslinux-3.07-solar.patch

First patch for testing
Comment 6 solar (RETIRED) gentoo-dev 2005-01-18 07:12:21 UTC
Note:  make  BSUBDIRS="" installer
Comment 7 solar (RETIRED) gentoo-dev 2005-01-18 07:22:07 UTC
Created attachment 48839 [details, diff]
syslinux-3.07.ebuild.patch

patch to use to build it.
Comment 8 solar (RETIRED) gentoo-dev 2005-01-18 08:43:16 UTC
We can remove the  BSUBDIRS="" if we append -fno-pie to the makefiles of the programs that have the BREG errors.
Comment 9 solar (RETIRED) gentoo-dev 2005-01-19 17:05:29 UTC
Comment on attachment 48839 [details, diff]
syslinux-3.07.ebuild.patch

the logic is wrong here for the src_unpack()
Comment 10 solar (RETIRED) gentoo-dev 2005-01-19 17:29:39 UTC
I ment the src_compile() vs the src_unpack()
Anyway just tested again.. 
And oddly enough the BREG errors are not showing up that I noticed before.
so the first patch is all that appears to be needed at this time. (perhaps I got it to as a result of doing a make clean before a make)
Comment 11 solar (RETIRED) gentoo-dev 2005-01-19 17:30:48 UTC
(doing a make clean before building yeilds the following results)

nasm -f bin -o comecho.com -l comecho.lst comecho.asm
/bin/sh: pngtopnm: command not found
gcc -m32 -ffreestanding -W -Wall -fno-stack-protector -march=i386 -Os -fomit-frame-pointer -I../com32/include -c -o conio.o conio.c
../ppmtolss16: stdin is not a PNM file at ../ppmtolss16 line 215.
make[1]: *** [syslogo.lss] Error 9
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/space/portage-tmp/portage/syslinux-3.07/work/syslinux-3.07/sample'
Comment 12 solar (RETIRED) gentoo-dev 2005-01-19 17:34:30 UTC
Created attachment 49005 [details, diff]
syslinux-3.07.ebuild.patch

you can rename -solar to -nossp if you want to follow suit how it used to be
named the last time I did a patch for syslinux.
Comment 13 solar (RETIRED) gentoo-dev 2005-01-19 17:36:27 UTC
spanky.. Should this ebuild which does not use autotools at all make use of the toolchain-func.eclass ? 
Comment 14 solar (RETIRED) gentoo-dev 2005-01-25 07:11:17 UTC
spanky says no toolchain-funcs needed here.
Comment 15 solar (RETIRED) gentoo-dev 2005-01-25 15:10:34 UTC
iggy I'm hijacking this bug from you.
Comment 16 solar (RETIRED) gentoo-dev 2005-01-25 15:57:38 UTC
3.07 patches InCVS