Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15196 - Problems emerging pm3-1.1.15.ebuild
Summary: Problems emerging pm3-1.1.15.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-06 02:54 UTC by Dirk Heinrichs
Modified: 2003-02-10 12:32 UTC (History)
0 users

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


Attachments
Changed ebuild for pm3. (pm3-1.1.15-r1.ebuild,1.82 KB, text/plain)
2003-02-06 03:00 UTC, Dirk Heinrichs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Heinrichs 2003-02-06 02:54:04 UTC
When emerging pm3 (dev-lang), the build stopped with a NIL pointer access error. When 
building it manually, I didn't have this problem (which was due to my CFLAGS settings) but now 
the build stopped at m3gdb. 
 
So I created a new ebuild which sets CFLAGS to empty and explicitely skips m3gdb. 

Reproducible: Always
Steps to Reproduce:
1. emerge pm3 



Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) 
================================================================= 
System uname: 2.4.19-gentoo-r10 i686 Pentium III (Coppermine) 
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb 
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/gentootmp" 
PORTDIR_OVERLAY="" 
USE="x86 apm avi crypt cups encode gif jpeg gnome libg++ mikmod mmx mpeg ncurses nls 
pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline 
arts tetex bonobo svga tcltk guile postgres X sdl gpm tcpd pam libwww ssl python esd imlib 
oggvorbis qt kde motif opengl mozilla -oss -3dnow -java afs alsa cdr dga directfb doc fbcon gtk 
imap gphoto2 odbc perl usb" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer " 
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer " 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j1" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache"
Comment 1 Dirk Heinrichs 2003-02-06 03:00:47 UTC
Created attachment 7973 [details]
Changed ebuild for pm3.

New ebuild with following changes:

1) CFLAGS=""
2) Add M3OPTIONS to make to set the INSTALL_ROOT and EXPORTPATH and to skip
build of m3gdb.
3) Fix creation of /etc/env.d/05pm3
Comment 2 SpanKY gentoo-dev 2003-02-06 03:14:38 UTC
you only have to tweak CFLAGS while using gcc-3.x ... 
interesting that it finished building at all with gcc-3.x at all though ... :) 
Comment 3 Dirk Heinrichs 2003-02-06 04:00:15 UTC
Hmm, then there should be a test for the gcc version. But what about the m3gdb 
problem? I'll do another build with the old ebuild an post the exact error in a few 
moments. Stay tuned... :-) 
Comment 4 SpanKY gentoo-dev 2003-02-06 04:02:35 UTC
reason i didnt put in tests was cause i couldnt get it to build at all with gcc-3.x and who 
the hell uses modula3 anyways ;) 
Comment 5 Dirk Heinrichs 2003-02-06 04:56:38 UTC
OK. The problem with m3gdb was in my manual build only. The debian patch in the 
ebuild switches m3gdb off in src/PACKAGES. So the only remaining thing is the 
CFLAGS. 
Comment 6 SpanKY gentoo-dev 2003-02-06 06:16:31 UTC
could you try tweaking your CFLAGS to see what sets it off ? 
i think its -O3 or 686 support ... i use -march=i686 and -O3 and it dies for me too ... 
 
in other words, see if like `env CFLAGS="-O1" emerge pm3` works, and then -O2, and 
then -O3, you know ;) 
Comment 7 Dirk Heinrichs 2003-02-06 08:22:08 UTC
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer" emerge pm3: No go 
CFLAGS="-O1 -march=pentium3 -pipe -fomit-frame-pointer" emerge pm3: Works fine