Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373683 - media-gfx/hugin-2011.0.0 fails to build
Summary: media-gfx/hugin-2011.0.0 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-01 08:47 UTC by Sergey Kishchenko
Modified: 2011-07-05 19:43 UTC (History)
2 users (show)

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


Attachments
Patch for the ebuild (hugin-2011.0.0.patch,349 bytes, text/plain)
2011-07-01 08:48 UTC, Sergey Kishchenko
Details
Build log (build.log,212.72 KB, text/plain)
2011-07-01 11:44 UTC, Sergey Kishchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Kishchenko 2011-07-01 08:47:49 UTC
Emerging hugin-2011.0.0 fails with "/var/tmp/portage/media-gfx/hugin-2011.0.0/temp/environment: line 1240: pushd: /var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0_build: No such file or directory"

Reproducible: Always

Steps to Reproduce:
1. emerge hugin

Actual Results:  
It skips configuration and compilation step and fails on install

Expected Results:  
hugin should be compiled and installed

Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.5, libc-0-r0, 2.6.37-gentoo i686)
=================================================================
System uname: Linux-2.6.37-gentoo-i686-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Thu, 30 Jun 2011 09:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
dev-util/pkgconfig:  0.25-r2
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/ http://gentoo.mneisen.org/ http://gentoo.supp.name/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/ikelos /var/lib/layman/qting-edge /var/lib/layman/haskell /var/lib/layman/sunrise /var/lib/layman/science /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa avahi bash-completion berkdb bzip2 cli cracklib crypt cups cxx dri esd exif fortran gdbm gnome gpm gtk iconv ipv6 jpeg mmx mmxext modules mudflap ncurses nls nptl nptlonly openmp pam pcre pdf perl png pppd python qt4 readline session sqlite3 sse sse2 ssl ssse3 svg sysfs tcpd tiff truetype unicode x86 xinerama xorg xulrunner zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sergey Kishchenko 2011-07-01 08:48:57 UTC
Created attachment 278763 [details]
Patch for the ebuild

Please find patch attached. It has fixed the issue for me
Comment 2 Pacho Ramos gentoo-dev 2011-07-01 11:33:40 UTC
Please attach full build.log
Comment 3 Sergey Kishchenko 2011-07-01 11:44:59 UTC
Created attachment 278775 [details]
Build log
Comment 4 Juergen Rose 2011-07-01 16:54:46 UTC
The same issue here.
Comment 5 Andrej Lajovic 2011-07-01 21:01:01 UTC
This problem has arisen as a by-product of the fix to the bug 372831. A simple solution is to put 'cmake-utils' *after* 'wxwidgets' in the inherit line of the ebuild.

Both the bug and the solution apply to all versions of hugin, not just 2011.0.0.
Comment 6 Juergen Rose 2011-07-04 12:44:04 UTC
I tested the patch of Comment 5, the original problem disappeared. But then it failed with:
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/media-gfx/hugin-2011.0.0-r1/work/hugin-2011.0.0_build/CMakeFiles 
[ 60%] make[2]: *** No rule to make target `/usr/lib64/liblapack.so', needed by `src/hugin_base/libhuginbase.so.0.0'.  Stop.
...
make[2]: Leaving directory `/var/tmp/portage/media-gfx/hugin-2011.0.0-r1/work/hugin-2011.0.0_build'
make[1]: *** [src/hugin_base/CMakeFiles/huginbase.dir/all] Error 2


I have sci-libs/atlas-3.9.41. And with atlas-3.9.41 /usr/lib/libblas.so and /usr/lib/liblapack.so is replaced by /usr/lib/libatlas.so.
Comment 7 Zac Medico gentoo-dev 2011-07-04 20:55:38 UTC
*** Bug 374037 has been marked as a duplicate of this bug. ***
Comment 8 Markus Meier gentoo-dev 2011-07-05 19:43:49 UTC
this is fixed in cvs. thanks for the report and fix.

@juergen: please open a new bug for you lapack issue, thanks.


+  05 Jul 2011; Markus Meier <maekke@gentoo.org> hugin-2010.0.0.ebuild,
+  hugin-2010.2.0.ebuild, hugin-2010.4.0.ebuild, hugin-2011.0.0.ebuild:
+  inherit cmake-utils last by Andrej Lajovic, bug #373683
+