Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193415 - app-admin/ctcs-1.3.0 fails to build w/ sanitized linux headers
Summary: app-admin/ctcs-1.3.0 fails to build w/ sanitized linux headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard: Pending removal 04 Apr 2008
Keywords: PMASKED
Depends on:
Blocks: sane-linux-headers
  Show dependency tree
 
Reported: 2007-09-22 14:20 UTC by Evil Compile Person
Modified: 2008-03-31 09:47 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evil Compile Person 2007-09-22 14:20:27 UTC
make[3]: Entering directory `/var/tmp/portage/app-admin/ctcs-1.3.0/work/ctcs-1.3.0/runin/src/memtst.src'
cc -O2 -march=i686 -pipe  sizeofint.c -o sizeofint
sh -c "./sizeofint > sizeofint.h"
cc -O2 -march=i686 -pipe -fno-unroll-loops -fno-unroll-all-loops -c memory.c -o memory.o
cc -O2 -march=i686 -pipe -fno-unroll-loops -fno-unroll-all-loops -c memtst.c -o memtst.o
memtst.c:12:22: error: asm/page.h: No such file or directory
memtst.c: In function 'kmemscan':
memtst.c:351: error: 'PAGE_SIZE' undeclared (first use in this function)
memtst.c:351: error: (Each undeclared identifier is reported only once
memtst.c:351: error: for each function it appears in.)
make[3]: *** [memtst] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-admin/ctcs-1.3.0/work/ctcs-1.3.0/runin/src/memtst.src'
make[2]: *** [memtst] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-admin/ctcs-1.3.0/work/ctcs-1.3.0/runin/src'
make[1]: *** [src-all] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-admin/ctcs-1.3.0/work/ctcs-1.3.0/runin'
make: *** [all] Error 2
 
ERROR: app-admin/ctcs-1.3.0 failed.

Reproducible: Always




Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.18-vs2.1.1-gentoo-r1 i686)
=================================================================
System uname: 2.6.18-vs2.1.1-gentoo-r1 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Fri, 21 Sep 2007 18:20:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="X acl berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2008-01-09 15:03:09 UTC
Last released 2003, let's remove it, please vote

+1
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-01-09 15:33:48 UTC
+1 on removal... 

After fixing this in two files, I get prestripped binaries warning because the thing is doing something like `gcc -m32 -s ...` on a bunch of files, crosscompile will as well and the shipped Makefile is unusable for install so the whole ebuild is quite horrible.

In case someone really want to fix this dead thing, just stick the following to src_unpack():

sed -i -e "s:#include <asm/page.h>:#define PAGE_SIZE sysconf(_SC_PAGE_SIZE):" \
               runin/src/memtst.src/memtst.c runin/src/memtst.src/maxalloc.c \
               || die "sed failed"
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2008-01-17 01:20:34 UTC
Yes for removal.
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2008-02-04 21:24:35 UTC
# Raúl Porcel <armin76@gentoo.org> (04 Feb 2008)
# Masked for removal in 60 days. That is, 04 Apr 2008
# For treecleaners,
# doesn't compile, last release in 2002,
# bug #152044
dev-libs/tinyq
# Various bugs, upstream dead, gtk-1, last release 2003
# bug 205481
net-ftp/gtkfxp
# Last release 2003, unfixable, doesn't compile
# bug #193415
app-admin/ctcs
# Doesn't compile, useless, bug #152493
net-libs/libhttpd-persistent
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2008-03-31 09:47:08 UTC
Removed