Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201510 - net-dialup/capi4k-utils-20050718-r3 fails to build
Summary: net-dialup/capi4k-utils-20050718-r3 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-06 19:37 UTC by Michael Schachtebeck
Modified: 2008-01-20 11:49 UTC (History)
2 users (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 Michael Schachtebeck 2007-12-06 19:37:55 UTC
Emerge of net-dialup/capi4k-utils-20050718-r3 fails with the following error:

gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libcapi20\" -DVERSION=\"3.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1 -I. -I. -O2 -march=athlon64 -fomit-frame-pointer -pipe -fPIC -c capifunc.c  -fPIC -DPIC -o .libs/capifunc.lo
In file included from capifunc.c:42:
capi20.h:65: error: expected declaration specifiers or '...' before 'size_t'
capi20.h:67: error: expected declaration specifiers or '...' before 'size_t'
make[1]: *** [capifunc.lo] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/net-dialup/capi4k-utils-20050718-r3/work/capi4k-utils/capi20'
make: *** [subtargets] Fehler 2



All USE flags for this package are disabled:

[ebuild  N    ] net-dialup/capi4k-utils-20050718-r3  USE="-fax -pcmcia -pppd -tcpd -usb" 0 kB

Reproducible: Always

Steps to Reproduce:




emerge --info:

Portage 2.1.4_rc7 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0, 2.6.23-gentoo i686)
=================================================================
System uname: 2.6.23-gentoo i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Thu, 06 Dec 2007 17:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -O2  -march=athlon64 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /sbin/mount.crypt /sbin/umount.crypt /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/hddtemp/hddtemp.db"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS=" -O2  -march=athlon64 -fomit-frame-pointer -pipe"
DISTDIR="/usr/distfiles/"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de nds"
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"
PORTDIR_OVERLAY="/usr/local/layman/sunrise /usr/local/portage-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa apache2 apm arts artswrappersuid audiofile avi bash-completion bcmath berkdb bitmap-fonts browserplugin bzip2 bzlib cairo cdparanoia cdr cli cracklib crypt cups dbus dga directfb divx divx4linux dri dv dvd dvdr dvdread eds emacs emboss encode evo exif fam fbcon ffmpeg firefox foomaticdb fortran ftp gdbm gif glx gmedia gpm gstreamer gtk gtk2 hal hpn iconv icq imagemagick imap isdnlog jack jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos ldap lm_sensors mad maildir mailwrapper mbox midi mikmod mime mmx mmxext mozilla mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin offensive ogg oggvorbis openal opengl openmp oscar oss pam pcre pdf perl pic plotutils png posix ppds pppd python qt qt3 qt3support qt4 quicktime readline real reflection samba scanner sdl session slang sndfile speex spell spl sse sse2 ssl svg svga symlink tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb vcd vidix vorbis win32codecs wmp x86 xcomposite xine xorg xosd xscreensaver xv xvid zlib" ALSA_CARDS="hda-intel" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de nds" USERLAND="GNU" VIDEO_CARDS="nv nvidia s3 vesa vga"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefan Briesenick (RETIRED) gentoo-dev 2007-12-07 00:21:56 UTC
known "bug" with latest glibc.

I already have a fix for this, but I want to add some further enhancements (i.e. udev-rules) before commiting. Please gimme a few days. Thanks!
Comment 2 Michael Schachtebeck 2007-12-11 17:37:57 UTC
Will downgrading glibc to 2.6.1 help? Then I could try that...
Comment 3 Stefan Briesenick (RETIRED) gentoo-dev 2007-12-12 01:31:51 UTC
yes, glibc-2.6.x works. But downgrading glibc may be problematic and is not supported.

the patch for glibc-2.7 itself is quite simple. 
an "#include <sys/types.h>" must be added to capi20.h.

But I have other changes in the queue and want to add them first before rev-bumping. But I try to hurry up... ;)
Comment 4 Bernd Pachur 2008-01-18 15:24:50 UTC
please commit the fix, regardeless of other fixes!

this bug blocks all other packages that depend on capi4k-utils, like fritzcapi or capi4hylafax from being emerged!
Comment 5 Stefan Briesenick (RETIRED) gentoo-dev 2008-01-20 11:38:53 UTC
ok, then I backport it.
Comment 6 Stefan Briesenick (RETIRED) gentoo-dev 2008-01-20 11:49:49 UTC
ok, -r3 recommited with sys/types patch included. No rev-bump, since the patch is toooooo simple. ;-)