Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 141458

Summary: net-libs/liblockfile-1.06 fails to compile
Product: Gentoo Linux Reporter: Benjamin <benkong2>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Benjamin 2006-07-22 19:36:04 UTC
Gentoo Base System version 1.6.15
Portage 2.1.1_pre2-r8 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r3, 2.6.16-gentoo-r12 i686)
=================================================================
                       System Settings
=================================================================
System uname: 2.6.16-gentoo-r12 i686 AMD Athlon(tm) 64 Processor 3400+
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CCACHE_SIZE="2G"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="3"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--ask --verbose"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}"
GCC_SPECS=""
GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
HOME="/root"
HOSTNAME="hannah"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0/info"
INPUT_DEVICES="keyboard mouse evdev"
JAVA_HOME="/opt/blackdown-jre-1.4.2.03"
JRE_HOME="/opt/blackdown-jre-1.4.2.03"
KERNEL="linux"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.flac=01;35:*.mp3=01;35:*.mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.flac=00;36:*.aac=00;36:"
MAKEOPTS="-j2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0/man::/opt/blackdown-jre-1.4.2.03/man"
PAGER="/usr/bin/less"
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CALLER="emerge"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="3"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
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_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PWD="/home/benkong2"
PYTHONDOCS="/usr/share/doc/python-docs-2.4.3/html"
PYTHONPATH="/usr/lib/portage/pym"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}"
ROOT="/"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SHELL="/bin/bash"
SHLVL="2"
SSH_CLIENT="10.0.0.100 47077 2200"
SSH_CONNECTION="10.0.0.100 47077 10.0.0.1 2200"
SSH_TTY="/dev/pts/0"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="x86 alsa apache2 apm arts avi bash-completion bashlogger berkdb bitmap-fonts cli crypt cups dlloader doc dri eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk2 imap imlib ipv6 isdnlog jpeg libg++ libwww mad maildir mikmod motif mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl php png pppd python qt qt3 qt4 quicktime readline reflection ruby sasl sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
USER="root"
USERLAND="GNU"
USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS LIRC_DEVICES USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults"
XARGS="xargs -r"
_="/usr/bin/emerge"
Comment 1 Benjamin 2006-07-22 19:37:15 UTC
   1.
      emerge logwatch
   2.
       
   3.
      These are the packages that would be merged, in order:
   4.
       
   5.
      Calculating dependencies... done!
   6.
      [ebuild  N    ] net-libs/liblockfile-1.06  0 kB
   7.
      [ebuild  N    ] mail-client/mailx-8.1.2.20040524-r1  0 kB
   8.
      [ebuild  N    ] dev-perl/Tie-IxHash-1.21-r1  USE="perl -minimal" 6 kB
   9.
      [ebuild  N    ] sys-apps/logwatch-6.0.2  149 kB
  10.
       
  11.
      Total size of downloads: 156 kB
  12.
       
  13.
      Would you like to merge these packages? [Yes/No] y
  14.
       
  15.
      >>> Emerging (1 of 4) net-libs/liblockfile-1.06 to /
  16.
      >>> checking ebuild checksums ;-)
  17.
      >>> checking auxfile checksums ;-)
  18.
      >>> checking miscfile checksums ;-)
  19.
      >>> checking liblockfile_1.06.tar.gz ;-)
  20.
      >>> Unpacking source...
  21.
      >>> Unpacking liblockfile_1.06.tar.gz to /var/tmp/portage/liblockfile-1.06/work
  22.
      >>> Source unpacked.
  23.
      >>> Compiling source in /var/tmp/portage/liblockfile-1.06/work/liblockfile-1.06 ...
  24.
      ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-mailgroup=mail --enable-shared --build=i686-pc-linux-gnu
  25.
      creating cache ./config.cache
  26.
      checking for gcc... gcc
  27.
      checking whether the C compiler (gcc -march=athlon-xp -O2 -fomit-frame-pointer -pipe -Wl,-O1 -Wl,--sort-common -s) works... yes
  28.
      checking whether the C compiler (gcc -march=athlon-xp -O2 -fomit-frame-pointer -pipe -Wl,-O1 -Wl,--sort-common -s) is a cross-compiler... no
  29.
      checking whether we are using GNU C... yes
  30.
      checking whether gcc accepts -g... yes
  31.
      checking build shared libs... yes
  32.
      checking build libnfslock... no
  33.
      checking for ldconfig... /sbin/ldconfig
  34.
      checking how to run the C preprocessor... gcc -E
  35.
      checking for ANSI C header files... yes
  36.
      checking for getopt.h... yes
  37.
      checking for paths.h... yes
  38.
      checking for sys/param.h... yes
  39.
      checking for utime... yes
  40.
      checking for utimes... yes
  41.
      updating cache ./config.cache
  42.
      creating ./config.status
  43.
      creating ./Makefile
  44.
      creating ./maillock.h
  45.
      creating autoconf.h
  46.
      gcc -march=athlon-xp -O2 -fomit-frame-pointer -pipe -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -DLIB -DLOCKPROG=\"/usr/bin/dotlockfile\" \
  47.
                     -c lockfile.c
  48.
      gcc -march=athlon-xp -O2 -fomit-frame-pointer -pipe -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I.   -c -o dotlockfile.o dotlockfile.c
  49.
      lockfile.c:58: error: conflicting types for 'eaccess'
  50.
      /usr/include/unistd.h:266: error: previous declaration of 'eaccess' was here
  51.
      make: *** [lockfile.o] Error 1
  52.
      make: *** Waiting for unfinished jobs....
  53.
      dotlockfile.c:45: error: conflicting types for 'eaccess'
  54.
      /usr/include/unistd.h:266: error: previous declaration of 'eaccess' was here
  55.
      make: *** [dotlockfile.o] Error 1
  56.
  57.
      !!! ERROR: net-libs/liblockfile-1.06 failed.
  58.
      Call stack:
  59.
        ebuild.sh, line 1545:   Called dyn_compile
  60.
        ebuild.sh, line 940:   Called src_compile
  61.
        liblockfile-1.06.ebuild, line 22:   Called die
  62.
  63.
      !!! (no error message)
  64.
      !!! If you need support, post the topmost build error, and the call stack if relevant. 
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-01 00:41:16 UTC

*** This bug has been marked as a duplicate of 140793 ***