Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227903 - www-servers/tux-3.2.16-r1 fails to build
Summary: www-servers/tux-3.2.16-r1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-17 17:27 UTC by Evil Compile Person
Modified: 2009-12-07 12:16 UTC (History)
2 users (show)

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


Attachments
3.2.16-syscall.patch (3.2.16-syscall.patch,826 bytes, patch)
2008-09-20 23:21 UTC, michael@smith-li.com
Details | Diff
tux-3.2.16-r1.ebuild.diff (tux-3.2.16-r1.ebuild.diff,1.28 KB, patch)
2008-09-20 23:29 UTC, michael@smith-li.com
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Evil Compile Person 2008-06-17 17:27:58 UTC
>>> Compiling source in /var/tmp/portage/www-servers/tux-3.2.16-r1/work/tux-3.2.16 ...
ln -s tux3.h tux.h
gcc -O2 -march=i686 -pipe -Wall -I. -DINTERFACE_VERSION=3 -D_LARGEFILE64_SOURCE  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -c tux.c
tux.c:51: error: expected declaration specifiers or '...' before 'tux'
tux.c:51: error: expected declaration specifiers or '...' before 'action'
tux.c:51: error: expected declaration specifiers or '...' before 'req'
tux.c:55: warning: return type defaults to 'int'
tux.c: In function '_syscall2':
tux.c:74: error: storage class specified for parameter 'nr_threads'
tux.c:75: error: storage class specified for parameter 'shared_buf'
tux.c:76: error: storage class specified for parameter 'shared_idx'
tux.c:76: error: parameter 'shared_idx' is initialized
tux.c:78: error: storage class specified for parameter 'max_module_idx'
tux.c:78: error: parameter 'max_module_idx' is initialized
tux.c:79: error: storage class specified for parameter 'handle_events_array'
tux.c:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
tux.c:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
tux.c:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
tux.c:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
tux.c:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
tux.c:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
tux.c:159: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
tux.c:260: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
tux.c:265: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
tux.c:274: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
tux.c:324: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
tux.c:341: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
tux.c:358: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
tux.c:363: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
tux.c:376: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
tux.c:623: error: old-style parameter declarations in prototyped function definition
tux.c:51: error: parameter name omitted
tux.c:51: error: parameter name omitted
tux.c:51: error: parameter name omitted
tux.c:623: error: expected '{' at end of input
make: *** [tux.o] Error 1
 *
 * ERROR: www-servers/tux-3.2.16-r1 failed.

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.20-vs2.2.0-gentoo i686)
=================================================================
System uname: 2.6.20-vs2.2.0-gentoo i686 Intel(R) Pentium(R) D CPU 3.20GHz
Timestamp of tree: Fri, 13 Jun 2008 17:45:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X acl berkdb cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session spl ssl tcpd 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" 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:  CPPFLAGS, 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 michael@smith-li.com 2008-09-20 22:42:11 UTC
From man(2) _syscall:

Starting around kernel 2.6.18, the _syscall macros were removed from header files supplied to user space.
       Use  syscall(2) instead.  (Some architectures, notably ia64, never provided the _syscall macros; on those
       architectures, syscall(2) was always required.)

I'm guessing that's the problem.
Comment 2 michael@smith-li.com 2008-09-20 23:21:51 UTC
Created attachment 165965 [details, diff]
3.2.16-syscall.patch

Seems to work.
Comment 3 michael@smith-li.com 2008-09-20 23:29:48 UTC
Created attachment 165967 [details, diff]
tux-3.2.16-r1.ebuild.diff

To clean up the ebuild and apply the patch from the previous comment
Comment 4 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-11-27 12:37:04 UTC
www-servers/tux has been removed from the tree?
Comment 5 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-12-07 12:16:48 UTC
no such package can be found in the tree.
thanks for the original report - sorry for the outcome.

have fun ;-)
kind regards
Thilo