Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89537 - p3nfsd doesn't compile
Summary: p3nfsd doesn't compile
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Mobile Phone Developers (INACTIVE)
URL:
Whiteboard:
Keywords:
: 98369 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-18 08:40 UTC by Federico Fenara
Modified: 2005-10-07 06:46 UTC (History)
6 users (show)

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


Attachments
Compilation log (error.log,8.33 KB, text/x-log)
2005-04-18 08:43 UTC, Federico Fenara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Fenara 2005-04-18 08:40:57 UTC
Trying to emerge p3nfsd, the compilation stops with an error in mp_mount.o

Reproducible: Always
Steps to Reproduce:
1.emerge p3nfsd
Actual Results:  
Emerge stoppped.

Expected Results:  
Have p3nfsd installed cleanly.

Portage 2.0.51.19 (default-linux/x86/2004.2/gcc34, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 11 2005, 02:37:53)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.9.5, 1.4_p6, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="it_IT@euro"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://sventrapolli/gentoo-portage"
USE="X aalib acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts
crypt cups curl dba dvd emboss encode esd fam flac font-server foomaticdb
fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib ithreads java jpeg
junit libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg mysql nas ncurses nls
nvidia ogg oggvorbis opengl oss pam pcmcia pdflib perl png pthreads python qt
quicktime readline samba sdl slang spell sse sse2 ssl svga tcltk tcpd threads
tiff timidity truetype truetype-fonts type1-fonts vorbis x86 xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Federico Fenara 2005-04-18 08:43:50 UTC
Created attachment 56582 [details]
Compilation log
Comment 2 Chris Beauchamp 2005-05-19 15:21:56 UTC
me too!

I've compiled this manually, which also gives the same problem

However, removing the -O2 from the CFLAGS in Makefile, means that it compiles OK...
Comment 3 Maxxer 2005-06-27 04:19:15 UTC
Here's the solution

http://groups-beta.google.com/group/p3nfs-users/browse_thread/thread/d60600afd1af4298/efc413a9aa430ee8#efc413a9aa430ee8

"Please delete the line

#define __KERNEL__            /* define nfs_fh for nfs_mount_data */

in mp_mount.c. The problem is not gentoo or AMD64 specific, newer
kernel includes seems to be fixed, so we do not need the __KERNEL__
define any more. "
Comment 4 Maxxer 2005-07-04 02:18:30 UTC
(In reply to comment #3)
> Here's the solution

This patch is confirmed to work. Also on my AMD64. I've successfully mounted my
6630's filesystem via bluetooth.
So I hope it will be possible to add the ~amd64 keyword also.
Comment 5 Henrik Brix Andersen 2005-07-08 04:22:21 UTC
As I no longer have a supported Symbian UIQ device, I am no longer able to
maintain this package.

Perhaps the PDA herd or the Mobile Phone herd is interested in taking over?
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-07-08 10:24:29 UTC
*** Bug 98369 has been marked as a duplicate of this bug. ***
Comment 7 Alin Năstac (RETIRED) gentoo-dev 2005-07-30 04:45:14 UTC
since it is in app-pda category, pda herd should take care of it
Comment 8 Octavio Ruiz (Ta^3) 2005-08-09 03:14:10 UTC
Patch works on x86 and amd64, just for confirm purposes :)
Comment 9 Michele Noberasco (RETIRED) gentoo-dev 2005-09-29 02:51:45 UTC
I own a Nokia 6600, so this one interests me... just added myself to the
mobile-phone herd (will add this package to that herd, too...
Comment 10 Michele Noberasco (RETIRED) gentoo-dev 2005-09-29 03:21:59 UTC
OK, added new package revision to Portage that addresses this issue. Also made
it honour Gentoo CFLAGS.
Comment 11 Clemens Noss 2005-10-05 03:23:16 UTC
app-pda/p3nfs-5.18-r1 compiles for me on x86.

app-pda/p3nfs-5.18 doesn't compile.

I recommend marking -r1 stable. (REOPEN?)
Comment 12 Michele Noberasco (RETIRED) gentoo-dev 2005-10-07 06:46:26 UTC
Done :-)
Comment 13 Michele Noberasco (RETIRED) gentoo-dev 2005-10-07 06:46:45 UTC
Done