Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70060 - Gnustep won't emerge - Objective-C required
Summary: Gnustep won't emerge - Objective-C required
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-04 08:26 UTC by Alexey Parshin
Modified: 2004-11-06 21:24 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Parshin 2004-11-04 08:26:18 UTC
# emerge windowmaker
Calculating dependencies ...done!
>>> emerge (1 of 10) gnustep-base/gnustep-make-1.10.1_pre20040928 to /
gcc: /usr/portage/gnustep-base/gnustep-make/files/helloworld.m: Objective-C compiler not installed on this system

!!! ERROR: gnustep-base/gnustep-make-1.10.1_pre20040928 failed.
!!! Function pkg_setup, Line 37, Exitcode 1
!!! gcc must be compiled with Objective-C support! See the objc USE flag.
!!! If you need support, post the topmost build error, NOT this status message.

 # emerge -pv gcc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-devel/gcc-3.4.2-r3  -bootstrap -boundschecking -build -debug +f77 -gcj +gtk -hardened -multilib -n32 -n64 +nls -nocxx +objc -static (-uclibc) 0 kB

Total size of downloads: 0 kB



Reproducible: Always
Steps to Reproduce:
1. emerge windowmaker
2.
3.

Actual Results:  
Even after recompiling gcc with objc flag it still can't compile gnu step
Comment 1 Armando Di Cianno (RETIRED) gentoo-dev 2004-11-06 15:08:34 UTC
Could you "emerge windowmaker" / make sure the error is still there (likely) and then right after do 'emerge info' and post the output of that?
Comment 2 Alexey Parshin 2004-11-06 16:42:39 UTC
I've done it 4 times already.
walker ~ # emerge info
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.4.20041021-r0, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Mobile Pentium II
Gentoo Base System version 1.6.5
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi acpi4linux afs aim alsa amd apm arts async avantgo avi bdf beepmp bigger-fonts bitmap-fonts bluetooth bootspla bzlib calendar camaelon cdrom client codecs cpdflib crypt ctype cups dbx dga dhcp dio divx4linux dts dv dvdread encode escreen esd evo f77 faac faad fam fbcon fbdev ffmpeg flac fltk foomaticdb freetds fs ftp gcj gd gdbm gif gimp gimpprint gkrellm gnome gnustep gpm gtk gtk2 icq icu imagemagick imap imlib informix j2ee jabber java jp2 jpeg kde lcd ldap libg++ libwww lirc lm_sensors lzo lzw-tiff mad mailbox maildir mcal mikmod mime mixer mmx2 motif mozilla mp3 mpeg mpeg4 mplayer msn mssql mythtv ncurses nls no24bpp oav objc oci8 odbc oggvorbis opengl oracle oscar oss pam pcmcia pda pdflib perl png pnp ppds python qt quicktime readline real rplay samba scanner sdl silc slang spell ssl stroke svga tcpd tga theora threads tiff timidity tokenizer tpctlir truetype truetype-fonts trusted type1 type1-fonts usb v4l v4l2 vdesktop wifi wmf x86 xanim xine xml2 xmms xpm xv yahoo yv12 zlib"

walker ~ # 
Comment 3 Armando Di Cianno (RETIRED) gentoo-dev 2004-11-06 19:48:42 UTC
From your first post:

# emerge -pv gcc
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild   R   ] sys-devel/gcc-3.4.2-r3  -bootstrap -boundschecking -build -debug +f77 -gcj +gtk -hardened -multilib -n32 -n64 +nls -nocxx +objc -static (-uclibc) 0 kB

From your second:
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.4.20041021-r0, 2.6.9-gentoo-r1 i686)

... it seems your forgot to run `gcc-config`
gcc-config -l    <-- find the newest gcc you emerged
gcc-config <name of new gcc you just emerged >
env-update
source /etc/profile <-- this updates the current bash session/xterm (you'll likely have to reboot for "everything" to get this)

now try to emerge windowmaker / gnustep-env

please let me know soon or I'll close this bug
Comment 4 Alexey Parshin 2004-11-06 20:27:30 UTC
Thanks a lot - you were absolutely right.
Comment 5 Armando Di Cianno (RETIRED) gentoo-dev 2004-11-06 21:24:36 UTC
wrong gcc being used; problem fixed