Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163800 - sys-block/gpart-0.1h-r1 fails to build because it uses _syscall5()
Summary: sys-block/gpart-0.1h-r1 fails to build because it uses _syscall5()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 170203 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-25 19:13 UTC by Peter Ruskin
Modified: 2007-03-10 13:27 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 Peter Ruskin 2007-01-25 19:13:11 UTC
>>> Compiling source in /var/tmp/portage/sys-block/gpart-0.1h-r1/work/gpart-0.1h ...
make -C src
make[1]: Entering directory `/var/tmp/portage/sys-block/gpart-0.1h-r1/work/gpart-0.1h/src'
make[1]: Leaving directory `/var/tmp/portage/sys-block/gpart-0.1h-r1/work/gpart-0.1h/src'
make[1]: Entering directory `/var/tmp/portage/sys-block/gpart-0.1h-r1/work/gpart-0.1h/src'
gcc -Wall -O2 -march=athlon64 -msse3 -pipe -pedantic -DVERSION=\"0.1h\"   -c -o gpart.o gpart.c
gcc -Wall -O2 -march=athlon64 -msse3 -pipe -pedantic -DVERSION=\"0.1h\"   -c -o gmodules.o gmodules.c
gcc -Wall -O2 -march=athlon64 -msse3 -pipe -pedantic -DVERSION=\"0.1h\"   -c -o disku.o disku.c
gmodules.c: In function 'g_mod_addexternal':
gmodules.c:193: warning: ISO C forbids conversion of object pointer to function pointer type
gmodules.c:195: warning: ISO C forbids conversion of object pointer to function pointer type
gmodules.c:197: warning: ISO C forbids conversion of object pointer to function pointer type
gcc -Wall -O2 -march=athlon64 -msse3 -pipe -pedantic -DVERSION=\"0.1h\"   -c -o l64seek.o l64seek.c
l64seek.c:30: error: expected declaration specifiers or '...' before '_llseek'
l64seek.c:30: error: expected declaration specifiers or '...' before 'fd'
l64seek.c:30: error: expected declaration specifiers or '...' before 'hi'
l64seek.c:30: error: expected declaration specifiers or '...' before 'lo'
l64seek.c:30: error: expected declaration specifiers or '...' before 'res'
l64seek.c:30: error: expected declaration specifiers or '...' before 'wh'
l64seek.c:35: warning: return type defaults to 'int'
l64seek.c: In function '_syscall5':
l64seek.c:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
l64seek.c:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
l64seek.c:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
l64seek.c:30: error: parameter name omitted
l64seek.c:30: error: parameter name omitted
l64seek.c:30: error: parameter name omitted
l64seek.c:30: error: parameter name omitted
l64seek.c:30: error: parameter name omitted
l64seek.c:30: error: parameter name omitted
l64seek.c:81: error: expected '{' at end of input
make[1]: *** [l64seek.o] Error 1
make[1]: *** Waiting for unfinished jobs....
gpart.c:72: warning: built-in function 'log' declared as non-function

# emerge --info
Portage 2.1.2-r4 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.19-gentoo-r4 i686)
=================================================================
System uname: 2.6.19-gentoo-r4 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Gentoo Base System version 1.12.6
Timestamp of tree: Wed, 24 Jan 2007 23:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -msse3 -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/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /usr/X11R6/lib/X11/xkb"
CXXFLAGS="-O2 -march=athlon64 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer nostrip notitles sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LANG="en_GB"
LINGUAS="en_GB en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages/x86"
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/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds S3TC X a52 aac aalib acpi aiglx akode alsa amuled ao aoss aotuv arts artswrappersuid asf audiofile bash-completion berkdb binary-drivers bitmap-fonts bittorrent bzip2 cairo calendar cddb cdparanoia cdr chardet chroot clamav clamd cli cpudetection css cups curl curlwrappers dbase devmap dga divx dlloader doc dri dv dvd dvdr dvdread encode escreen esd examples exif extrafilters fame fat fbcon ffmpeg firefox flac foomaticdb ftp fuse gdbm ggi gif gimp gimpprint glut gnokii gphoto2 gpm graphviz gs gstreamer gtk gtk2 html iconv imagemagick imlib innodb interbase iodbc isdnlog java javascript jbig joystick jpeg jpeg2k kde kdexdeltas lcms libg++ live lm_sensors mad maildir mbox mikmod mime mjpeg mmx mng modplug mono motif mozcalendar moznocompose moznoirc mp3 mpeg mysql mysqli ncurses network nls nptl nptlonly nsplugin odbc ogg opengl oss pcre pdf perl png posix postgres ppds pppd python qt3 quicktime readline real reflection rtc samba scanner sdl sensord session slang slp smartcard sms sox spell spl sqlite sqlite3 sse ssl svg tcltk tcpd tetex tga theora timidity tk truetype truetype-fonts type1-fonts udev unicode utempter vcd vdr videos vim-with-x vorbis win32codecs wma wmf wxwindows x86 xbase xine xml xorg xscreensaver xv xvid yv12 zlib" ALSA_CARDS="emu10k1,snd-intel8x0" 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="aiptek evdev keyboard joystick mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en de" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 fdupoux 2007-02-23 12:43:34 UTC
I have the same problem with linux-headers-2.6.19.2-r2 installed. It seems it works with an old linux-headers-2.6.17
Comment 2 Peter Ruskin 2007-02-23 13:43:04 UTC
The same with linux-headers-2.6.20
Comment 3 SpanKY gentoo-dev 2007-03-03 05:34:28 UTC
fixed in cvs
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2007-03-10 06:25:39 UTC
This patch breaks compiling against the current x86 stable linux-headers (2.6.17-r2) as shown in bug 170203. This is blocking the release.
Comment 5 SpanKY gentoo-dev 2007-03-10 13:25:25 UTC
*** Bug 170203 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2007-03-10 13:27:28 UTC
fixed in cvs