Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165300 - app-forensics/tct-1.15 wont emerge - mylseek.c errors
Summary: app-forensics/tct-1.15 wont emerge - mylseek.c errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Forensics Herd [disbanded]
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
: 239999 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-04 17:25 UTC by Ed Wiget
Modified: 2009-04-06 00:17 UTC (History)
4 users (show)

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


Attachments
ebuild for 1.18 (tct-1.18.ebuild,2.53 KB, text/plain)
2008-01-03 18:43 UTC, RB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Wiget 2007-02-04 17:25:38 UTC
trying to compile tct-1.15 errors with mylseek.c problems - couldn't find any related entries in forums or bugs.gentoo.org

Reproducible: Always

Steps to Reproduce:
1. emerge -v tct
2. emerge stops

Also tried to manually compile tct-1.15 and tct-1.16 (not in portage, but same error),
1.  tar xzfv tct-1.15.tar.gz
2.  cd tct*
3.  make
4.  same error
Actual Results:  


ext2fs.c: In function ‘ext2fs_copy_inode’:
ext2fs.c:199: warning: left shift count >= width of type
mylseek.c:32: error: expected declaration specifiers or ‘...’ before ‘_llseek’
mylseek.c:32: error: expected declaration specifiers or ‘...’ before ‘fd’
mylseek.c:32: error: expected declaration specifiers or ‘...’ before ‘offset_high’
mylseek.c:33: error: expected declaration specifiers or ‘...’ before ‘offset_low’
mylseek.c:33: error: expected declaration specifiers or ‘...’ before ‘result’
mylseek.c:34: error: expected declaration specifiers or ‘...’ before ‘origin’
mylseek.c: In function ‘_syscall5’:
mylseek.c:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
mylseek.c:32: error: parameter name omitted
mylseek.c:32: error: parameter name omitted
mylseek.c:32: error: parameter name omitted
mylseek.c:33: error: parameter name omitted
mylseek.c:33: error: parameter name omitted
mylseek.c:34: error: parameter name omitted
mylseek.c:46: error: expected ‘{’ at end of input
make: *** [mylseek.o] Error 1
make: *** [what] Error 2
make: *** [compile] Error 2

!!! ERROR: app-forensics/tct-1.15-r1 failed.
Call stack:
  ebuild.sh, line 1613:   Called dyn_compile
  ebuild.sh, line 970:   Called qa_call 'src_compile'
  environment, line 3051:   Called src_compile
  ebuild.sh, line 644:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-forensics/tct-1.15-r1/temp/build.log'. 

Expected Results:  
successful installation
Also needs a version bump to 1.16 in portage

Portage 2.1.2-r6 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r4 i686)
=================================================================
System uname: 2.6.19-gentoo-r4 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 02 Feb 2007 19:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="${NXDIR}/etc ${NXDIR}/home /etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm/ /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en_US en_GB"
MAKEOPTS="-j2 -s "
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sabayon /usr/portage/local/layman/gentopia /usr/portage/local/layman/sunrise /usr/portage/local/layman/pro-audio /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7Zip X a52 aac accessibility acl acpi ada aiglx aim alsa amarok amr apache2 arts artswrappersuid asf audiofile avahi berkdb bidi bitmap-fonts bluetooth cairo cdda chm clearcase cli codecs commercial config_wizard cpudetection cracklib crypt css cups dbus dga dlloader dri dts dv dvb dvd dvdr dvdread dxr3 eds effects emboss encode esd evo exscalibar ext-man ext-rtf ext-tex extraicons extramodules fame fat ffmpeg fftw firefox flac flash fluidsynth foomatic-db foomaticdb fortran freetype gcj gdbm gif gimpprint glitz gnokii gnome gnutls gphoto2 gpm gs gstreamer gtk gtk2 hal hbci hfs iconv icq ieee1394 imap imlib immqt-bc inkjar ipod iproute2 ipv6 irc irda irmc isdnlog jabber jack jack-tmpfs jackmidi java jfs jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdepim kerberos kexi kipi kqemu krb4 ladspa lame lash lcd libao libcaca libclamav libg++ libsamplerate libwww live livecd lj lm_sensors logitech-mouse lzo mad mail matroska midi mikmod mjpeg mmx mono motif moznocompose moznoirc moznomail mp3 mpeg msn musepack musicbrainz mysql ncurses network new-login nls nptl nptlonly nsplugin ntfs nvidia offensive ofx ogg ole openexr opengl pam pam_console pascal pcmcia pcre pda pdf perl pertty php plotutils plugin plugins png portaudio postgres povray ppds pppd pwdb python qt qt3 qt3support qt4 quicktime quotas rar rdesktop readline real reflection reiser4 reiserfs rss ruby samba samplerate scanner sdl session skins slp sms sndfile speech speex spell spl spreadsheet sql sse sse2 ssl stream streams subversion svg switch_all_desktops sysfs tcpd theora tiff tk truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd visualization voice vorbis vst weather webservices wifi win32codecs winbind wmf wxwindows x264 x86 xcomposite xfs xine xinerama xml xorg xosd xpm xprint xscreensaver xsl xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en_GB" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Black (RETIRED) gentoo-dev 2007-02-18 11:45:39 UTC
known upstream - http://www.porcupine.org/forensics/tct.html

patch seems to correct problem in 1.16 that i'll hopefully add soon.
Comment 2 Daniel Black (RETIRED) gentoo-dev 2007-02-18 12:03:35 UTC
syscall5 defined in the headers in the kernel but not /usr/include/asm/unistd.h (or any /usr/include/*)

Should be like:
/usr/src/linux-2.6.19-gentoo-r5/include/asm/unistd.h:#define _syscall5
Comment 3 RB 2008-01-03 18:43:58 UTC
Created attachment 139983 [details]
ebuild for 1.18

Here's an ebuild for 1.18 (as opposed to 1.16).  I had to modify it a bit from the 1.15-r1 ebuild by removing a few more man page collisions and forcing it to use the tct-1.15-gentoo.patch instead of making an identical copy for every single version.
Comment 4 Ed Wiget 2008-01-09 04:52:45 UTC
this compiled and installed on ~amd64 after I added ~amd64 to KEYWORDS.  I have already tested grave-robber 1.18 on a previous disk image that was checked with another system and compared results.  Great work!!  
Comment 5 RB 2008-04-27 17:12:20 UTC
Still running well.  Would be nice to get this bumped in portage so I don't have to copy my local ebuild repository all over.
Comment 6 Patrick Lauer gentoo-dev 2009-01-05 00:04:40 UTC
+*tct-1.18 (05 Jan 2009)
+
+  05 Jan 2009; Patrick Lauer <patrick@gentoo.org> +tct-1.18.ebuild:
+  Bumping to 1.18, fixes #165300, thanks to RB <aoz.syn@gmail.com>
+
Comment 7 SpanKY gentoo-dev 2009-04-06 00:17:42 UTC
*** Bug 239999 has been marked as a duplicate of this bug. ***