Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374037 - media-gfx/hugin-2011.0.0: pushd hugin-2011.0.0_build: No such file or directory
Summary: media-gfx/hugin-2011.0.0: pushd hugin-2011.0.0_build: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-04 14:27 UTC by Ulenrich
Modified: 2011-07-10 17:50 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 Ulenrich 2011-07-04 14:27:03 UTC
Since portage upgrade today a rebuild of hugin doesn't find the right workdir. It is not appended '_build' , the workdir is created without _build:

 * Package:    media-gfx/hugin-2011.0.0
 * Repository: gentoo
 * Maintainer: graphics@gentoo.org
 * USE:        amd64 consolekit elibc_glibc kernel_linux lapack linguas_de multilib policykit userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking hugin-2011.0.0.tar.bz2 to /portable/temp/portage/media-gfx/hugin-2011.0.0/work
>>> Source unpacked in /portable/temp/portage/media-gfx/hugin-2011.0.0/work
>>> Preparing source in /portable/temp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0 ...
 * Applying hugin-2011.0.0_rc1-libpng15.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /portable/temp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0 ...
>>> Source configured.
>>> Compiling source in /portable/temp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0 ...
>>> Source compiled.
>>> Test phase [not enabled]: media-gfx/hugin-2011.0.0

>>> Install hugin-2011.0.0 into /portable/temp/portage/media-gfx/hugin-2011.0.0/image/ category media-gfx
>>> Working in BUILD_DIR: "/portable/temp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0_build"
/portable/temp/portage/media-gfx/hugin-2011.0.0/temp/environment: Zeile 1262: pushd: /portable/temp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0_build: Datei oder Verzeichnis nicht gefunden (NOT found)
make -j1 --quiet DESTDIR=/portable/temp/portage/media-gfx/hugin-2011.0.0/image/ install 
make: *** Keine Regel, um »install« zu erstellen.  Schluss.
 * ERROR: media-gfx/hugin-2011.0.0 failed (install phase):
 *   emake failed
 *
Comment 1 Ulenrich 2011-07-04 14:44:06 UTC
I just recognize a rebuild of thunderbird-5.0 uses a workdir of

/portable/temp/portage/mail-client/thunderbird-5.0/work/thunderbird-5.0-de

without '_build' at the end. And works!
Why then does hugin wrongly need the '_build' at the end?
Comment 2 Zac Medico gentoo-dev 2011-07-04 20:55:38 UTC

*** This bug has been marked as a duplicate of bug 373683 ***
Comment 3 Zac Medico gentoo-dev 2011-07-04 20:59:31 UTC
(In reply to comment #1)
> I just recognize a rebuild of thunderbird-5.0 uses a workdir of
> 
> /portable/temp/portage/mail-client/thunderbird-5.0/work/thunderbird-5.0-de
> 
> without '_build' at the end. And works!
> Why then does hugin wrongly need the '_build' at the end?

Apparently the '_build' suffix is something specific about the hugin build system. The 'work' directory is what sys-apps/portage is responsible for, and subdirectories like hugin-2011.0.0_build are the responsibility of the ebuild and its build system.
Comment 4 Ulenrich 2011-07-05 22:35:22 UTC
@maekke, 
last change of hugin-20111.0.0.ebuild:
--- Changelog
05 Jul 2011; Markus Meier <maekke@gentoo.org> hugin-2010.0.0.ebuild,
6	  hugin-2010.2.0.ebuild, hugin-2010.4.0.ebuild, hugin-2011.0.0.ebuild:
7	  inherit cmake-utils last by Andrej Lajovic, bug #373683
---

Doesnt solve my issue, the same as above (but LANG=C for en output):
---
>>> Install hugin-2011.0.0 into /portable/temp/portage/media-gfx/hugin-2011.0.0/image/ category media-gfx
>>> Working in BUILD_DIR: "/portable/temp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0_build"
/portable/temp/portage/media-gfx/hugin-2011.0.0/temp/environment: line 1262: pushd: /portable/temp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0_build: No such file or directory
make -j1 --quiet DESTDIR=/portable/temp/portage/media-gfx/hugin-2011.0.0/image/ install 
make: *** No rule to make target `install'.  Stop.
 * ERROR: media-gfx/hugin-2011.0.0 failed (install phase):
 *   emake failed
---

The build guesses:
portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0_build
but there is only:
portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0

This happens since last update to sys-apps/portage-2.1.10.4
Comment 5 Ulenrich 2011-07-06 22:55:40 UTC
Changing Status "resolved duplicate" to again "unconfirmed"

I don't know whether this is a hugin.ebuild problem or a portage problem. Perhaps the new portage revealed a before hidden bug of hugin.ebuild?
Comment 6 Ulenrich 2011-07-10 17:50:23 UTC
Resolved!

media-gfx/hugin-2011.0.0 compiles now.