Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76610 - indent-2.2.9-r2 fails to compile using MAKEOPTS="-j2"
Summary: indent-2.2.9-r2 fails to compile using MAKEOPTS="-j2"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 76609 76640 76647 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-04 01:52 UTC by Richard Brown (RETIRED)
Modified: 2010-03-27 23:04 UTC (History)
10 users (show)

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


Attachments
actually fixes the bug exhibited during parallel make (manpage.patch,449 bytes, patch)
2005-01-05 14:10 UTC, Drake Wyrm
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Brown (RETIRED) gentoo-dev 2005-01-04 01:52:59 UTC
Error message from build

./texinfo2man ./indent.1.in ./../doc/indent.texinfo > indent.1
/bin/sh: line 1: ./texinfo2man: No such file or directory
make[2]: *** [indent.1] Error 127
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/indent-2.2.9-r2/work/indent-2.2.9/man'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/indent-2.2.9-r2/work/indent-2.2.9'
make: *** [all] Error 2

Edited ebuild to use email -j1 and all was well.

Reproducible: Always
Steps to Reproduce:
1. emerge indent
2.
3.
Comment 1 Andrew Gaydenko 2005-01-04 02:06:49 UTC
The same.
Comment 2 Henrik Brix Andersen 2005-01-04 02:16:56 UTC
Assigning to vapier since he touched it last ;)

Comment 3 Henrik Brix Andersen 2005-01-04 02:17:40 UTC
*** Bug 76609 has been marked as a duplicate of this bug. ***
Comment 4 Steve B. 2005-01-04 02:20:37 UTC
Apparently compiling it manualy from the build direcorty works (see bug 766009), I have the following comments

I have the same problem. However perhaps some instructions on compiling manualy from the build directory.  Since I've never manualy compiled an application like this for Gentoo; I preformed the following... Hopefully it is correct.

I browsed to /var/tmp/portage/indent-2.2.9-r2/work
make && make install
echo "dev-util/indent-2.2.9-r2" >> /etc/portage/profile/package.provide

Anything wrong with that?
Comment 5 Heinrich Nirschl 2005-01-04 02:27:50 UTC
Given the history of that (see also Bug 76598) may I suggest to do a little testing before changes are committed? We are talking about the "stable" version here.
Comment 6 Ivan Yosifov 2005-01-04 03:09:51 UTC
I get the same error.
Comment 7 Ivan Yosifov 2005-01-04 03:20:45 UTC
I set MAKEOPTS="-j1" in /etc/make.conf and it works.
Comment 8 Ludovico Poggioli 2005-01-04 03:36:28 UTC
Same as Ivan, I put MAKEOPTS="-j1" in /etc/make.conf and it works smoothly.
Comment 9 Emilio Pavia 2005-01-04 05:54:35 UTC
The same here. It works with

# MAKEOPTS="-j1" emerge -u indent
Comment 10 Thomas "wolvie" Andrade 2005-01-04 06:03:16 UTC
same.. 
MAKEOPTS="" emerge indent went fine...
Comment 11 SpanKY gentoo-dev 2005-01-04 06:49:46 UTC
fixed in cvs
Comment 12 Stephen Bennett (RETIRED) gentoo-dev 2005-01-04 09:27:05 UTC
*** Bug 76647 has been marked as a duplicate of this bug. ***
Comment 13 Drake Wyrm 2005-01-05 14:10:54 UTC
Created attachment 47732 [details, diff]
actually fixes the bug exhibited during parallel make

This patch causes the texinfo2man binary to be built before make tries to call
texinfo2man. The build process now requres a call to autoreconf before calling
./configure
Comment 14 SpanKY gentoo-dev 2005-01-05 14:56:15 UTC
although that may be the idea, it's not quite right

in fact, depending on either texinfo2man or texinfo2man.c is not quite right

you dont want to rebuild the manpage everytime, only when the .c file has been updated ... then again, you dont want to *try* to rebuild the manpage until the binary has been built
Comment 15 Stian Skjelstad 2005-01-06 02:17:44 UTC
> you dont want to rebuild the manpage everytime, only when the .c file has been updated ... then again, you dont want to *try* to rebuild the manpage until the binary has been built

You want to rebuild the man page everytime you get the binary since a make clean should remove it, and a rebuild could be a reason for the output (man-files) to change.
Comment 16 Saleem Abdulrasool (RETIRED) gentoo-dev 2005-01-07 12:37:00 UTC
*** Bug 76640 has been marked as a duplicate of this bug. ***