Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181414 - media-gfx/hugin-{0.6,0.7_beta4} built_with_use check fails with dev-libs/boost-1.34.0
Summary: media-gfx/hugin-{0.6,0.7_beta4} built_with_use check fails with dev-libs/boos...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords: QAcanfix
: 185370 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-09 13:09 UTC by Markus Meier
Modified: 2007-07-23 13:02 UTC (History)
10 users (show)

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


Attachments
hugin-0.7_beta4.patch (hugin-0.7_beta4.patch,649 bytes, patch)
2007-06-17 08:47 UTC, Markus Meier
Details | Diff
hugin-0.6.1.patch (hugin-0.6.1.patch,642 bytes, patch)
2007-06-17 08:48 UTC, Markus Meier
Details | Diff
hugin-0.6.1.patch (hugin-0.6.1.patch,641 bytes, patch)
2007-06-17 08:51 UTC, Markus Meier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Meier gentoo-dev 2007-06-09 13:09:31 UTC
!!! ERROR: media-gfx/hugin-0.7_beta4 failed.
Call stack:
  ebuild.sh, line 1637:   Called dyn_setup
  ebuild.sh, line 704:   Called qa_call 'pkg_setup'
  ebuild.sh, line 44:   Called pkg_setup
  hugin-0.7_beta4.ebuild, line 26:   Called built_with_use 'dev-libs/boost' 'threads'
  eutils.eclass, line 1713:   Called die

!!! dev-libs/boost-1.34.0 does not actually support the threads USE flag!

I am not shure if dev-libs/boost-1.34.0 has threads enabled by default as the useflag is gone.

# emerge -pv hugin boost
[ebuild   R   ] media-gfx/hugin-0.7_beta4  USE="enblend sift unicode -debug" 0 kB
[ebuild   R   ] dev-libs/boost-1.34.0  USE="-debug -doc -icu -pyste -tools" 0 kB


Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.22-rc4 i686)
=================================================================
System uname: 2.6.22-rc4 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System release 2.0.0_alpha3
Timestamp of tree: Sat, 09 Jun 2007 09:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.6-r2, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://gentoo.inode.at/"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LINGUAS="en de en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/normal"
SYNC="rsync://192.168.2.1/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 avahi berkdb bidi bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups curl dbus divx divx4linux dri dts dvd dvdr dvdread eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif gnome gnu
tls gpm graphviz gs gstreamer gtk hal iconv ieee1394 ipod ipv6 isdnlog java jpeg kde kdeenablefinal kerberos libg++ live mad midi mikmod mmx mono mozilla mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ntfs ogg oggvorbis opengl open
mp oss pam pcre pdf perl png pppd python qt qt3 qt3support qt4 quicktime readline real reflection ruby samba screen sdl session spell spl sse sse2 ssl stream svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev un
icode usb vcd vorbis win32codecs wxwindows x86 xcomposite xine xinerama xml2 xorg xprint xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw mul
ti null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev synaptics mouse keyboard" KERNEL="linux" LINGUAS="en de en_GB" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2007-06-09 13:11:55 UTC
graphics-team: Please check the version of boost before you check the USE-flag. The threads and threadsonly USE-flags have been dropped for boost-1.34.0.
Comment 2 Peter Gantner (a.k.a. nephros) 2007-06-12 21:54:57 UTC
just wanted to mention that this affects media-gfx/hugin-0.6.1 as well.
Comment 3 Priit Laes (IRC: plaes) 2007-06-16 11:55:14 UTC
Maybe remove this check and depend instead on >=dev-libs/boost-1.34 ?
Comment 4 Markus Meier gentoo-dev 2007-06-17 08:47:54 UTC
Created attachment 122296 [details, diff]
hugin-0.7_beta4.patch

Proposed patch for hugin-0.7_beta4.ebuild
Comment 5 Markus Meier gentoo-dev 2007-06-17 08:48:37 UTC
Created attachment 122297 [details, diff]
hugin-0.6.1.patch

Proposed patch for hugin-0.6.1.ebuild
Comment 6 Markus Meier gentoo-dev 2007-06-17 08:51:35 UTC
Created attachment 122299 [details, diff]
hugin-0.6.1.patch

Sorry for the bugspam, typo should be fixed now.
Comment 7 Marian Kyral 2007-06-23 17:58:23 UTC
Patch for 0.7_beta4 works great. 
Thanks
Comment 8 Stefan Briesenick (RETIRED) gentoo-dev 2007-06-27 23:07:20 UTC
please commit. thanks! ;-)
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-07-15 04:17:45 UTC
*** Bug 185370 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-07-15 04:23:04 UTC
A simpler one:

<snip>
-if ! built_with_use dev-libs/boost threads ; then
+if ! built_with_use --missing true dev-libs/boost threads ; then
</snip>

Anyway, ping!
Comment 11 Tiziano Müller (RETIRED) gentoo-dev 2007-07-15 08:35:25 UTC
Please leave me out of this. I tried to contact mediag-gfx for this via IRC when I  unmasked boost-1.34, but with no success. There's nothing I can do about this behavior. media-gfx: just fix it.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-07-15 08:40:10 UTC
(In reply to comment #11)
> Please leave me out of this. I tried to contact mediag-gfx for this via IRC
> when I  unmasked boost-1.34, but with no success.

Well, then why don't you just fix the ebuilds if they don't care?
Comment 13 Priit Laes (IRC: plaes) 2007-07-17 15:41:01 UTC
0.6.1 has been fixed now, anyone who could take care of 0.7_beta4 and finally close this bug?
Comment 14 Boris 2007-07-23 12:57:11 UTC
There was a commit by lu_zero, that should have fixed the issue, but it raises a new error:

!!! ERROR in media-gfx/hugin-0.7_beta4:
!!! In built_with_use at line 524
!!! unknown action 'dev-libs/boost'

The patch missed the "true" in the fix Jakub provided in comment #10.
(same for hugin-0.6.1.ebuild)
Comment 15 Luca Barbato gentoo-dev 2007-07-23 13:02:12 UTC
I shouldn't do too many things at once...

Check again in few hours, I should have rectified my messup