Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140786 - avango-1.0.1.ebuild (New Package
Summary: avango-1.0.1.ebuild (New Package
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.avango.org
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-07-17 07:51 UTC by David Schaefer
Modified: 2013-07-06 13:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---
dastergon: Bugday+


Attachments
My ebuild (avango.ebuild,558 bytes, patch)
2006-07-17 07:56 UTC, David Schaefer
Details | Diff
build-avango.sh (build-avango,2.26 KB, patch)
2006-07-17 07:56 UTC, David Schaefer
Details | Diff
sys-hacks.pl (sys-hacks.pl,567 bytes, patch)
2006-07-17 07:57 UTC, David Schaefer
Details | Diff
system-dependent-hacks.h (system-dependent-hacks.h,531 bytes, patch)
2006-07-17 07:57 UTC, David Schaefer
Details | Diff
patch 1 (p1.patch,1.75 KB, patch)
2006-07-17 07:57 UTC, David Schaefer
Details | Diff
patch 2 (2.patch,5.77 KB, patch)
2006-07-17 07:58 UTC, David Schaefer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Schaefer 2006-07-17 07:51:57 UTC
Hi, I need this application very urgent for study (sorry for P3).

Avango doesnt want to compile. It is a serious problem for me, because I have to work with avango and I have to write something to let avango work with a collision detection system. But avango wont compile on my computer. 
In the university I've shown my problem a FreeBSD developer, and over some hours he wrote some patches and got avango compiling (patches are included).
The Problem that remains is, that it crashes. So I think the patches doesnt work, but it could be a good start to find the problem. 
The Problem was explained to me as follows: The include <ulocks.h> (from sgi-performer) defines a makro called barrier(). It takes 2 arguments. Barrier doesnt get initialised in ulocks.h or any other file that avango or performer uses. Instead avango includes files so that /usr/include/linux/compiler.h is getting included. compiler.h has its own barrier, and so the performer::barrier is getting overridden by the compiler::barrier. The errormessage says:
c++ -march=i686 -mtune=pentium4 -O2 -pipe -pipe -fPIC -funsigned-char -use_readonly_const -Wall -Wpointer-arith -Wconversion -O1 -g -fcheck-new -march=i686 -W -fmessage-length=0  -D_GLIBCXX_DEBUG -pipe -fPIC -funsigned-char -use_readonly_const -Wall -Wpointer-arith -Wconversion -O1 -g -fcheck-new -march=i686 -W -fmessage-length=0  -D_GLIBCXX_DEBUG -pipe -fPIC -funsigned-char -use_readonly_const -Wall -Wpointer-arith -Wconversion -O1 -g -fcheck-new -march=i686 -W -fmessage-length=0  -D_GLIBCXX_DEBUG -pipe -fPIC -funsigned-char -use_readonly_const -Wall -Wpointer-arith -Wconversion -O1 -g -fcheck-new -march=i686 -W -fmessage-length=0  -D_GLIBCXX_DEBUG -I/var/tmp/portage/avango-1.0.1/work/avango-1.0.1/src/libfp/fields -I../../../include -I/usr/include/X11/   -DAVANGO_DISTRIBUTION_SUPPORT -D_STANDARD_C_PLUS_PLUS -D_GLIBCPP_CONCEPT_CHECKS -DAVANGO_DEBUG -c -o fpField.o /var/tmp/portage/avango-1.0.1/work/avango-1.0.1/src/libfp/fields/fpField.c++
In file included from /usr/include/Performer/pr.h:98,
                 from /usr/include/Performer/pr/pfMemory.h:48,
                 from ../../../include/libfp/nodes/fpBase.h:35,
                 from ../../../include/libfp/actions/fpAction.h:35,
                 from ../../../include/libfp/actions/fpWriteAction.h:37,
                 from /var/tmp/portage/avango-1.0.1/work/avango-1.0.1/src/libfp/fields/fpField.c++:37:
/usr/include/ulocks.h:193:42: macro "barrier" passed 2 arguments, but takes just 0
In file included from /usr/include/Performer/pr.h:98,
                 from /usr/include/Performer/pr/pfMemory.h:48,
                 from ../../../include/libfp/nodes/fpBase.h:35,
                 from ../../../include/libfp/actions/fpAction.h:35,
                 from ../../../include/libfp/actions/fpWriteAction.h:37,
                 from /var/tmp/portage/avango-1.0.1/work/avango-1.0.1/src/libfp/fields/fpField.c++:37:
/usr/include/ulocks.h:193: error: variable or field `barrier' declared void
make[3]: *** [fpField.o] Error 1
make[3]: Leaving directory `/tmp/portage/avango-1.0.1/work/avango_build/src/libfp/fields'
make[2]: *** [fields] Error 2
make[2]: Leaving directory `/tmp/portage/avango-1.0.1/work/avango_build/src/libfp'
make[1]: *** [libfp] Error 2
make[1]: Leaving directory `/tmp/portage/avango-1.0.1/work/avango_build/src'
make: *** [src] Error 2



avango.ebuild:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Avango helps creating virtual worlds"
HOMEPAGE="http://www.avango.org"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="LGPL"
SLOT="0"
KEYWORDS="~mips ~sparc ~x86"
IUSE=""

src_compile() {
    econf --with-posix-regex || die "econf failed"
    emake || die "emake failed"
}

src_install() {
    emake DESTDIR="${D}" install || die "install failed"

    dodoc FAQ NEWS README
    dohtml EXTENDING.html ctags.html
}

emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.15
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.17
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"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -mtune=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
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=i686 -mtune=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
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/ http://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo/ http://gentoo.intergenia.de "
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j3"
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="/root/src/portageoverlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts cairo cdda cdparanoia cli cpudetection crypt cups dlloader dri dvd dvdr dvdread eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib isdnlog java jpeg kde kdeenablefinal kdexdeltas latex libg++ libwww mad mikmod mmx motif mp3 mpeg musicbrainz mysql ncurses nls nptl ntfs ntfsd nvidia ogg opengl oss pam pcre pdf pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection reiserfs samba screen sdl session spell spl ssl svg tcpd truetype truetype-fonts type1-fonts udev unicode vim-with-x vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 David Schaefer 2006-07-17 07:56:01 UTC
Created attachment 91994 [details, diff]
My ebuild
Comment 2 David Schaefer 2006-07-17 07:56:37 UTC
Created attachment 91995 [details, diff]
build-avango.sh
Comment 3 David Schaefer 2006-07-17 07:57:09 UTC
Created attachment 91996 [details, diff]
sys-hacks.pl
Comment 4 David Schaefer 2006-07-17 07:57:28 UTC
Created attachment 91997 [details, diff]
system-dependent-hacks.h
Comment 5 David Schaefer 2006-07-17 07:57:48 UTC
Created attachment 91998 [details, diff]
patch 1
Comment 6 David Schaefer 2006-07-17 07:58:05 UTC
Created attachment 91999 [details, diff]
patch 2
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-07-17 08:00:23 UTC
Sorry, this is a wrong place for such issues. If you need help with some stuff that's not in portage, use forums.gentoo.org or #gentoo-dev-help on IRC.
Comment 8 David Schaefer 2006-07-17 23:41:49 UTC
(In reply to comment #7)
> Sorry, this is a wrong place for such issues. If you need help with some stuff
> that's not in portage, use forums.gentoo.org or #gentoo-dev-help on IRC.
> 

The avango-mailing list says, that this is a gentoo specific problem. There are none other linuxes, that have this problem. Maybe it it the right place (That also said the people in #gentoo-dev-help).