Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113881 - Successful build of fann-1.2.0-r1 on amd64
Summary: Successful build of fann-1.2.0-r1 on amd64
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on: 82918
Blocks:
  Show dependency tree
 
Reported: 2005-11-29 01:51 UTC by Wojciech Jaskowski
Modified: 2006-10-08 09:30 UTC (History)
2 users (show)

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


Attachments
fann-2.0.0.ebuild (fann-2.0.0.ebuild,2.46 KB, text/plain)
2006-08-02 09:03 UTC, Christian Andreetta (RETIRED)
Details
fann-2.0.0 Makefile patch (fann-2.0.0-DESTDIR.patch,1.09 KB, patch)
2006-08-02 09:04 UTC, Christian Andreetta (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wojciech Jaskowski 2005-11-29 01:51:53 UTC
I experienced a successful build of fann-1.2.0-r1 on amd64.

Reproducible: Always
Steps to Reproduce:




Sorry, if this is not the place for this kind of info. I couldn't find a better one.
Comment 1 Patrick McLean gentoo-dev 2005-11-29 08:52:32 UTC
Doesn't compile for me, here is the error:

x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -march=nocona -O2
-fomit-frame-pointer -pipe -fPIC -I/usr/include/python2.4 -c fann_helper.c -o
build/temp.linux-x86_64-2.4/fann_helper.o
fann_helper.c:2:18: fann.h: No such file or directory
fann_helper.c:4: error: parse error before '*' token
fann_helper.c: In function `fann_type_to_PyList':
fann_helper.c:7: error: `n' undeclared (first use in this function)
fann_helper.c:7: error: (Each undeclared identifier is reported only once
fann_helper.c:7: error: for each function it appears in.)
fann_helper.c:10: error: `array' undeclared (first use in this function)
fann_helper.c: At top level:
fann_helper.c:17: error: parse error before "fann_type"
fann_helper.c: In function `fann_run2':
fann_helper.c:19: error: `ann' undeclared (first use in this function)
fann_helper.c:24: error: `input' undeclared (first use in this function)
fann_helper.c: At top level:
fann_helper.c:27: error: parse error before "fann_type"
fann_helper.c: In function `fann_test2':
fann_helper.c:29: error: `ann' undeclared (first use in this function)
fann_helper.c:34: error: `input' undeclared (first use in this function)
fann_helper.c:34: error: `desired_output' undeclared (first use in this function)
fann_helper.c: At top level:
fann_helper.c:37: error: parse error before '*' token
fann_helper.c: In function `get_row_from_double_array':
fann_helper.c:40: error: `ncols' undeclared (first use in this function)
fann_helper.c:45: error: `f' undeclared (first use in this function)
fann_helper.c:45: error: `row' undeclared (first use in this function)
fann_helper.c: At top level:
fann_helper.c:51: warning: "struct fann_train_data" declared inside parameter list
fann_helper.c:51: warning: its scope is only this definition or declaration,
which is probably not what you want
fann_helper.c: In function `get_train_data_input':
fann_helper.c:53: error: dereferencing pointer to incomplete type
fann_helper.c:58: error: dereferencing pointer to incomplete type
fann_helper.c:58: error: dereferencing pointer to incomplete type
fann_helper.c: At top level:
fann_helper.c:61: warning: "struct fann_train_data" declared inside parameter list
fann_helper.c: In function `get_train_data_output':
fann_helper.c:63: error: dereferencing pointer to incomplete type
fann_helper.c:68: error: dereferencing pointer to incomplete type
fann_helper.c:68: error: dereferencing pointer to incomplete type
fann_helper.c: At top level:
fann_helper.c:72: warning: "struct fann" declared inside parameter list
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1

!!! ERROR: sci-mathematics/fann-1.2.0-r1 failed.
!!! Function src_install, Line 65, Exitcode 1
!!! No python
!!! If you need support, post the topmost build error, NOT this status message.



Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.13-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r5 x86_64               Intel(R) Pentium(R) 4 CPU
3.40GHz
Gentoo Base System version 1.12.0_pre11
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.14
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla-firefox/plugins
/usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.risq.qc.ca http://gentoo.oregonstate.edu
http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi alsa audiofile avi bash-completion berkdb bitmap-fonts
bmp bzip2 c++ cairo caps cdparanoia cdr crypt css cups curl dbus dts dv dvd dvdr
dvdread dvi edl eds emboss encode esd evo exif expat fam fat ffmpeg fftw flac
foomaticdb gb gif gimp gimpprint glitz glut gmail gmp gnome gnutls gpm gstreamer
gtk gtk2 gzip hal hfs howl i8x0 idea idn imagemagick imap imlib imlib2 jabber
java jfs jpeg lcms libcaca libgda libwww linuxkeys live lzo lzw lzw-tiff mad
matroska mime mmap mng mod mozdevelop mozilla mp3 mpeg mplayer msn mythtv native
nautilus ncurses network nfs nis no-old-linux no_wxgtk1 noantlr nob nobcel
nobeanutils nobsh nocommonslogging nocommonsnet nojsch nolog4j nomotif nonfsv4
noplugin norhino noxalan noxerces nptl nptlonly offensive ogg oggvorbis openal
opengl pam pcre pda pdflib perl plugin png ppds python quicktime readline real
reiserfs rtc samba sdl sndfile speex spell ssl stream subversion svg tcltk tcpd
tetex tga theora tiff transcode truetype truetype-fonts type1-fonts udev unicode
usb userlocales v4l v4l2 vcd vorbis wmf wxwindows xanim xml xml2 xpm xprint
xscreensaver xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS

Comment 2 Wojciech Jaskowski 2005-11-29 09:03:11 UTC
Yeah, but this has nothing to do with amd64. The same is on x86. For solution
see: http://bugs.gentoo.org/show_bug.cgi?id=82918
Comment 3 Wojciech Jaskowski 2005-11-29 09:03:26 UTC
Yeah, but this has nothing to do with amd64. The same is on x86. For solution
see: http://bugs.gentoo.org/show_bug.cgi?id=82918
Comment 4 Luis Medinas (RETIRED) gentoo-dev 2006-08-01 20:28:01 UTC
no 1.2.0 doesn't work... satya fann 2.0.0 works on amd64 can you bump it so we can add the keyword or you want to leave to sci-mathematics herd ? :)
Comment 5 Christian Andreetta (RETIRED) gentoo-dev 2006-08-02 01:38:33 UTC
I can't be very active in Gentoo for the next months :-( : for the sake of the package it is best to give it to sci-mathematics.
The python component changed with the 2.0 release (march/april 2006): its support is now better.
Comment 6 Christian Andreetta (RETIRED) gentoo-dev 2006-08-02 09:03:25 UTC
Created attachment 93274 [details]
fann-2.0.0.ebuild

I received this ebuild from a user (I didn't test it)
Comment 7 Christian Andreetta (RETIRED) gentoo-dev 2006-08-02 09:04:30 UTC
Created attachment 93275 [details, diff]
fann-2.0.0 Makefile patch

in ${FILESDIR} for the fann-2.0.0 ebuild (untested)
Comment 8 Simon Stelling (RETIRED) gentoo-dev 2006-10-08 09:30:03 UTC
Please reopen this bug once bug 82918 got resolved. Looks like it's going to take a while until this is fixed.