Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102694 - flex-2.5.4a-r6 has error in installation
Summary: flex-2.5.4a-r6 has error in installation
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-16 03:22 UTC by Jack Grey
Modified: 2005-08-16 22:06 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 Jack Grey 2005-08-16 03:22:24 UTC
Note "//" in path in output below:

>>> Test phase [not enabled]: sys-devel/flex-2.5.4a-r6

>>> Install flex-2.5.4a-r6 into /tmp/portage/flex-2.5.4a-r6/image/ category
sys-devel
/bin/sh ./mkinstalldirs \
  /tmp/portage/flex-2.5.4a-r6/image//usr/bin
/tmp/portage/flex-2.5.4a-r6/image//usr/lib
/tmp/portage/flex-2.5.4a-r6/image//usr/include
/tmp/portage/flex-2.5.4a-r6/image//usr/share/man/man1
rm -f /tmp/portage/flex-2.5.4a-r6/image//usr/share/man/man1/flexdoc.1
mkdir /tmp/portage/flex-2.5.4a-r6/image//usr
mkdir /tmp/portage/flex-2.5.4a-r6/image//usr/bin
/bin/install -c -m 644 ./flex.1
/tmp/portage/flex-2.5.4a-r6/image//usr/share/man/man1/flex.1
mkdir /tmp/portage/flex-2.5.4a-r6/image//usr/lib
/bin/install: cannot create regular file
`/tmp/portage/flex-2.5.4a-r6/image//usr/share/man/man1/flex.1': No such file or
directory
make: *** [install.man] Error 1
make: *** Waiting for unfinished jobs....


Reproducible: Always
Steps to Reproduce:
1. emerge =sys-devel/flex-2.5.4a-r6
2.
3.

Actual Results:  
>>> Test phase [not enabled]: sys-devel/flex-2.5.4a-r6

>>> Install flex-2.5.4a-r6 into /tmp/portage/flex-2.5.4a-r6/image/ category
sys-devel
/bin/sh ./mkinstalldirs \
  /tmp/portage/flex-2.5.4a-r6/image//usr/bin
/tmp/portage/flex-2.5.4a-r6/image//usr/lib
/tmp/portage/flex-2.5.4a-r6/image//usr/include
/tmp/portage/flex-2.5.4a-r6/image//usr/share/man/man1
rm -f /tmp/portage/flex-2.5.4a-r6/image//usr/share/man/man1/flexdoc.1
mkdir /tmp/portage/flex-2.5.4a-r6/image//usr
mkdir /tmp/portage/flex-2.5.4a-r6/image//usr/bin
/bin/install -c -m 644 ./flex.1
/tmp/portage/flex-2.5.4a-r6/image//usr/share/man/man1/flex.1
mkdir /tmp/portage/flex-2.5.4a-r6/image//usr/lib
/bin/install: cannot create regular file
`/tmp/portage/flex-2.5.4a-r6/image//usr/share/man/man1/flex.1': No such file or
directory
make: *** [install.man] Error 1
make: *** Waiting for unfinished jobs....


Expected Results:  
Flex installation
Comment 1 SpanKY gentoo-dev 2005-08-16 16:53:16 UTC
// is fine

it looks like you somehow have parallel build enabled ... maybe you exported
MAKEFLAGS instead of MAKEOPTS ?
Comment 2 Jack Grey 2005-08-16 21:17:38 UTC
(In reply to comment #1)
> // is fine
> 
> it looks like you somehow have parallel build enabled ... maybe you exported
> MAKEFLAGS instead of MAKEOPTS ?

That was it, I unset MAKEFLAGS and the package built just fine. However, I've
always had both MAKEFLAGS and MAKEOPTS set since I initially did a stage 1 build
on the system in question, the first in my profile and the second in make.conf,
the value is '-j 3 -l 5.0' ( dual processors ). Why did this work with the
2.5.4a-r5 version of flex?
Comment 3 SpanKY gentoo-dev 2005-08-16 22:06:57 UTC
that's the nature of race conditions

dont use MAKEFLAGS, you'll break packages which have workarounds for
non-parallel friendly builds