Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513268 - dev-python/fusil-1.5 - use doc || die
Summary: dev-python/fusil-1.5 - use doc || die
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-15 00:35 UTC by Patrick Lauer
Modified: 2014-12-17 23:28 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 Patrick Lauer gentoo-dev 2014-06-15 00:35:57 UTC
running build_scripts
creating /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts
copying and adjusting fuzzers/fusil-imagemagick -> /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts
copying and adjusting fuzzers/fusil-poppler -> /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts
copying and adjusting fuzzers/fusil-firefox -> /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts
copying and adjusting fuzzers/fusil-gettext -> /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts
copying and adjusting fuzzers/fusil-python -> /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts
copying and adjusting fuzzers/fusil-wizzard -> /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts
copying and adjusting fuzzers/fusil-zzuf -> /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts
copying and adjusting fuzzers/fusil-vlc -> /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts
copying and adjusting fuzzers/fusil-libc-printf -> /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts
copying and adjusting fuzzers/fusil-mplayer -> /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts
copying and adjusting fuzzers/fusil-clamav -> /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts
copying and adjusting fuzzers/fusil-gimp -> /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts
copying and adjusting fuzzers/fusil-ogg123 -> /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts
copying and adjusting fuzzers/fusil-gstreamer -> /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts
copying and adjusting fuzzers/fusil-php -> /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts
changing mode of /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts/fusil-imagemagick from 644 to 755
changing mode of /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts/fusil-poppler from 644 to 755
changing mode of /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts/fusil-firefox from 644 to 755
changing mode of /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts/fusil-gettext from 644 to 755
changing mode of /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts/fusil-python from 644 to 755
changing mode of /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts/fusil-wizzard from 644 to 755
changing mode of /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts/fusil-zzuf from 644 to 755
changing mode of /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts/fusil-vlc from 644 to 755
changing mode of /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts/fusil-libc-printf from 644 to 755
changing mode of /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts/fusil-mplayer from 644 to 755
changing mode of /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts/fusil-clamav from 644 to 755
changing mode of /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts/fusil-gimp from 644 to 755
changing mode of /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts/fusil-ogg123 from 644 to 755
changing mode of /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts/fusil-gstreamer from 644 to 755
changing mode of /var/tmp/portage/dev-python/fusil-1.5/work/fusil-1.5-pypy/scripts/fusil-php from 644 to 755
 * python2_7: running distutils-r1_run_phase python_compile_all
 * ERROR: dev-python/fusil-1.5::gentoo failed (compile phase):
 *   Generation of documentation failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3752:  Called distutils-r1_src_compile
 *   environment, line 1023:  Called _distutils-r1_run_common_phase 'python_compile_all'
 *   environment, line  266:  Called multibuild_for_best_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile_all'
 *   environment, line 2612:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile_all'
 *   environment, line 2637:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile_all'
 *   environment, line 2635:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile_all'
 *   environment, line  691:  Called distutils-r1_run_phase 'python_compile_all'
 *   environment, line 1009:  Called python_compile_all
 *   environment, line 3128:  Called die
 * The specific snippet of code:
 *       use doc && emake -C doc RST2HTML="rst2html.py" || die "Generation of documentation failed"
Comment 1 Patrick Lauer gentoo-dev 2014-06-15 00:36:15 UTC
Portage 2.2.10 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.19, 3.15.0-gentoo x86_64)
=================================================================
System uname: Linux-3.15.0-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2
KiB Mem:     7919000 total,    712328 free
KiB Swap:   25165812 total,  24857440 free
Timestamp of tree: Unknown
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.6, 3.2.5-r4, 3.3.3, 3.4.0
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /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 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo/ ftp://ftp.kaist.ac.kr/gentoo/ http://ftp.kaist.ac.kr/pub/gentoo/ http://gentoo.mirrors.hoobly.com/ http://gentoo.mirrors.easynews.com/linux/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 pypy python3_3 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, SYNC, USE_PYTHON
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2014-06-18 10:31:22 UTC
~/cvsPortage/gentoo-x86/dev-python/fusil $ USE=doc ebuild fusil-1.5.ebuild clean install

 * python2_7: running distutils-r1_run_phase python_install_all
>>> Completed installing fusil-1.5 into /mnt/gen2/TmpDir/portage/dev-python/fusil-1.5/image/


Guessing mb dev-python/docutils wasn't emerged
Comment 3 Patrice Clement gentoo-dev 2014-12-17 23:23:41 UTC
Error comes down to this line:

RCS file: /var/cvsroot/gentoo-x86/dev-python/fusil/fusil-1.5.ebuild,v
retrieving revision 1.3
diff -r1.3 fusil-1.5.ebuild
23c23,25
<       use doc && emake -C doc RST2HTML="rst2html.py" || die "Generation of documentation failed"
---
>       if use doc; then
>               emake -C doc RST2HTML="rst2html.py" || die "Generation of documentation failed"
>       fi

I'm commiting the fix since it's working now. Approved by idella4.
Comment 4 Patrice Clement gentoo-dev 2014-12-17 23:26:44 UTC
  17 Dec 2014; Patrice Clement <monsieurp@gentoo.org> fusil-1.5.ebuild:
  Replaced && and || combo by an if else then statement. Fix #513268.