Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] man 1.6 fails to compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
deluge
Apprentice
Apprentice


Joined: 28 Jan 2004
Posts: 157

PostPosted: Thu Jun 30, 2005 11:37 am    Post subject: [solved] man 1.6 fails to compile Reply with quote

Code:
make[1]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/gencat'
i686-pc-linux-gnu-gcc -O2 -mcpu=i686 -pipe   -c -o gencat.o gencat.c
Creating Makefile from Makefile.in
cd msgs; ../conf_script Makefile
Creating Makefile from Makefile.in
cd src; make
make[1]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/src'
i686-pc-linux-gnu-gcc -o makemsg makemsg.c
i686-pc-linux-gnu-gcc -O2 -mcpu=i686 -pipe   -c -o genlib.o genlib.c
i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -mcpu=i686 -pipe -I. -DSTDC_HEADERS -DPOSIX -DDO_COMPRESS manfile.c
i686-pc-linux-gnu-gcc  -Wl,-z,now -o gencat gencat.o genlib.o
In file included from manfile.c:15:
gripes.h:1:23: gripedefs.h: No such file or directory
manfile.c: In function `glob_for_file_ext_glob':
manfile.c:87: error: `CALLTRACE3' undeclared (first use in this function)
manfile.c:87: error: (Each undeclared identifier is reported only once
manfile.c:87: error: for each function it appears in.)
manfile.c:115: error: `ABOUT_TO_GLOB' undeclared (first use in this function)
manfile.c: In function `glob_for_file':
manfile.c:152: error: `CALLTRACE2' undeclared (first use in this function)
manfile.c:183: error: `NO_MATCH' undeclared (first use in this function)
manfile.c:187: error: `GLOB_FOR_FILE' undeclared (first use in this function)
manfile.c: In function `manfile_from_sec_and_dir':
manfile.c:209: error: `CALLTRACE1' undeclared (first use in this function)
manfile.c:230: error: `FOUND_FILE' undeclared (first use in this function)
make[1]: *** [manfile.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/src'
make: *** [source] Error 2
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/gencat'

!!! ERROR: sys-apps/man-1.6 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Code:
emerge --info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r0, 2.6.12-gentoo i686)
=================================================================
System uname: 2.6.12-gentoo i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.4-r1, 2.4.1, 2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="no"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
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="x86 3dnow 3dnowex 3dnowext S3TC X acpi alsa amuled apm avi bitmap-fonts bzip2 bzlib cdparanoia cdr cdrom chroot clamav codecs cpudetection crypt css cups curl directfb divx4linux dvd dvdr dvdread emboss encode esd exif fam firefox flac ftp gd gdbm gif gimpprint gnome gpm gtk gtk2 i8x0 imagemagick imlib ipv6 java jpeg jpeg2k kadu-modules kadu-voice kde kqemu libclamav libg++ libwww lirc lm_sensors lns lzo lzw lzw-tiff mad matroska mikmod mjpeg mmx motif mozsvg mp3 mpeg mpeg4 mplayer ncurses nls no-old-linux nocardbus nptl nvidia ogg oggvorbis opengl operanom2 pam pdf pdflib perl png python qt quicktime readline real remote rtc sblive sdl slang sms spell sse sse2 ssl stats svg tcpd tga tiff truetype truetype-fonts type1-fonts unicode v4l2 vorbis win32codecs wmf xanim xine xml2 xmms xosd xv xvid zlib linguas_pl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS


Last edited by deluge on Thu Jun 30, 2005 1:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
crocodille
n00b
n00b


Joined: 18 Dec 2003
Posts: 52
Location: Germany, Mettmann

PostPosted: Thu Jun 30, 2005 11:41 am    Post subject: Reply with quote

got the same error on a freshly installed stage3 p4 system.

Any Ideas?
Back to top
View user's profile Send private message
chano
n00b
n00b


Joined: 30 Jun 2005
Posts: 1

PostPosted: Thu Jun 30, 2005 11:49 am    Post subject: Reply with quote

Had the same problem..

Changing
MAKEOPTS="-j4"
to
MAKEOPTS="-j1"

In /etc/make.conf solved my problem.
Back to top
View user's profile Send private message
crocodille
n00b
n00b


Joined: 18 Dec 2003
Posts: 52
Location: Germany, Mettmann

PostPosted: Thu Jun 30, 2005 11:56 am    Post subject: Reply with quote

That solved it for me.

THX
Back to top
View user's profile Send private message
deluge
Apprentice
Apprentice


Joined: 28 Jan 2004
Posts: 157

PostPosted: Thu Jun 30, 2005 11:56 am    Post subject: Reply with quote

changing j2 to j1 in make.conf also solved problem
Back to top
View user's profile Send private message
mgillespie
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 170

PostPosted: Thu Jun 30, 2005 1:51 pm    Post subject: Reply with quote

Same problem here.

Another classic example of how unstable, the stable tree is.. :-(
Back to top
View user's profile Send private message
jesso
Guru
Guru


Joined: 27 Oct 2004
Posts: 397
Location: Canada

PostPosted: Thu Jun 30, 2005 2:04 pm    Post subject: Reply with quote

:)

Last edited by jesso on Thu Jun 30, 2005 3:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
vanoorschot
n00b
n00b


Joined: 22 Jan 2004
Posts: 9

PostPosted: Thu Jun 30, 2005 2:17 pm    Post subject: Reply with quote

On the other hand ... i encountered the same bug ... searched the forums for 'gripedef.h' ... found this thread and solved the bug ... all in 5 minutes ... no downtime.

The current process makes it possible that these small insects creep in, but the environment takes care of quick squashing. All in all it fits my needs. YMMV.

J
Back to top
View user's profile Send private message
snakattak3
Guru
Guru


Joined: 11 Dec 2002
Posts: 468
Location: Seattle

PostPosted: Thu Jun 30, 2005 4:01 pm    Post subject: Reply with quote

Yep, changing to MAKEOPTS="-j1" in /etc/make.conf fixes it on an amd64 system as well. Thanks.
_________________
Ban Reality TV!
Adopt an Unanswered Post
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Thu Jun 30, 2005 6:44 pm    Post subject: Reply with quote

This is fixed in the tree already, so you just need to re-sync.
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
rjreb
n00b
n00b


Joined: 19 Aug 2003
Posts: 40

PostPosted: Thu Jun 30, 2005 8:15 pm    Post subject: Reply with quote

Thanks for this. I've been unable to update my GCC because it kept crapping out on my Athlon and this fixed it. I'd always thought it was memory problems.
Back to top
View user's profile Send private message
ssprun1
n00b
n00b


Joined: 16 Nov 2003
Posts: 10
Location: Fort Worth, TX

PostPosted: Thu Jun 30, 2005 9:19 pm    Post subject: Reply with quote

Halcy0n: I just re-synced and then tried emerging again and mine still failed. I have not yet tried -j1 option so I will but thought I should point this out.
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Thu Jun 30, 2005 9:25 pm    Post subject: Reply with quote

I was trying to install the system and the command emerge -e system gave me this error right now. So, the problem has not been solved maybe. I hope this solution works. Thanks.
Back to top
View user's profile Send private message
ssprun1
n00b
n00b


Joined: 16 Nov 2003
Posts: 10
Location: Fort Worth, TX

PostPosted: Thu Jun 30, 2005 10:18 pm    Post subject: Reply with quote

The -j1 option did indeed work for me as well.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Thu Jun 30, 2005 10:22 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads in favour of https://forums.gentoo.org/viewtopic-t-354586.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum