Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401189 - sci-mathematics/octave-3.6.0 - preface.texi:82: @include `contributors.texi': No such file or directory.
Summary: sci-mathematics/octave-3.6.0 - preface.texi:82: @include `contributors.texi':...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-28 15:12 UTC by Nickolay Kolchin-Semyonov
Modified: 2020-03-27 18:46 UTC (History)
1 user (show)

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


Attachments
emerge output (out.octave.emerge.zip,89.71 KB, application/x-zip)
2012-01-29 04:43 UTC, forkandwait
Details
build.log (build.log.xz,72.46 KB, application/x-xz)
2012-02-09 17:03 UTC, Nickolay Kolchin-Semyonov
Details
emerge --info (info.xz,2.36 KB, application/x-xz)
2012-02-09 17:04 UTC, Nickolay Kolchin-Semyonov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nickolay Kolchin-Semyonov 2012-01-28 15:12:28 UTC
make: Entering directory `/var/tmp/portage/sci-mathematics/octave-3.6.0/work/octave-3.6.0_build/doc/interpreter'
rm -f AUTHORS
/bin/sh /var/tmp/portage/sci-mathematics/octave-3.6.0/work/octave-3.6.0/build-aux/missing --run makeinfo -D AUTHORSONLY \
  --no-validate --no-headers --no-split --output AUTHORS preface.texi
preface.texi:82: @include `contributors.texi': No such file or directory.
makeinfo: Removing output file `AUTHORS' due to errors; use --force to preserve.
make: [../../AUTHORS] Error 1 (ignored)
mv AUTHORS ../../AUTHORS
mv: cannot stat `AUTHORS': No such file or directory
make: *** [../../AUTHORS] Error 1
make: Leaving directory `/var/tmp/portage/sci-mathematics/octave-3.6.0/work/octave-3.6.0_build/doc/interpreter



Reproducible: Always




contributors.texi generated inside source directory tree, not inside build tree.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-28 17:03:48 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 forkandwait 2012-01-29 04:43:35 UTC
Created attachment 300219 [details]
emerge output
Comment 3 forkandwait 2012-01-29 04:43:58 UTC
Similar bug.

Portage 2.1.10.41 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.13-r4, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Opteron-tm-_Processor_250-with-gentoo-2.0.3
Timestamp of tree: Thu, 26 Jan 2012 22:45:01 +0000
ccache version 3.1.6 [disabled]
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
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13::<unknown repository>, 2.68
sys-devel/automake:       1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r2::<unknown repository>, 1.10.2, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.2.4-r1, 4.3.4, 4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo zugaina sattvik-overlay x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.inode.at/ http://mirror.datapipe.net/gentoo http://mirrors.rit.edu/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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/zugaina /var/lib/layman/sattvik /usr/local/portage"
SYNC="rsync://rsync6.us.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb blas bzip2 cdr cjk cli cracklib crypt cups cxx dri emacs examples fftw fontconfig fortran gdbm geos gif gnuplot gpm iconv ipv6 jpeg kpathsea latex ldap mime mmap mmx modules mudflap multilib mysql ncurses nfs nis nls nptl nptlonly numeric odbc openmp pam pcre pdf php png posix postgres pppd proj python readline session sqlite sse sse2 ssl svg sysfs tcl tcpd tiff truetype type1 unicode xml xorg zlib" 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" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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 ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx fbdev vesa" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Francisco J. Vazquez 2012-01-29 19:11:01 UTC
Same here. Copying the .texi files from the source dir to the _build dir allows the compilation to finish.
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2012-01-31 18:02:42 UTC
should be fixed in cvs (parallel build issue). re-opened if not.
Comment 6 Francisco J. Vazquez 2012-02-01 12:11:23 UTC
It still fails for me with the same error as before.
Comment 7 Nickolay Kolchin-Semyonov 2012-02-09 17:02:38 UTC
Bug still not fixed.

/bin/sh /var/tmp/portage/sci-mathematics/octave-3.6.0/work/octave-3.6.0/build-aux/missing --run makeinfo -D AUTHORSONLY \
  --no-validate --no-headers --no-split --output AUTHORS preface.texi
preface.texi:82: @include `contributors.texi': No such file or directory.
makeinfo: Removing output file `AUTHORS' due to errors; use --force to preserve.
make[3]: [../../AUTHORS] Error 1 (ignored)
mv AUTHORS ../../AUTHORS
mv: cannot stat `AUTHORS': No such file or directory
make[3]: *** [../../AUTHORS] Error 1
Comment 8 Nickolay Kolchin-Semyonov 2012-02-09 17:03:40 UTC
Created attachment 301405 [details]
build.log
Comment 9 Nickolay Kolchin-Semyonov 2012-02-09 17:04:05 UTC
Created attachment 301407 [details]
emerge --info
Comment 10 Sébastien Fabbro (RETIRED) gentoo-dev 2012-02-09 21:17:31 UTC
I can't reproduce here with either -j32 or -j5. Could someone confirm?
Comment 11 Nickolay Kolchin-Semyonov 2012-02-09 23:44:50 UTC
(In reply to comment #10)
> I can't reproduce here with either -j32 or -j5. Could someone confirm?

This is not related to parallel make. I can reproduce this with '-j1'. This is "separate build" issue.

This is how I got over this error:

$ emerge -v octave # failure here
$ cp ${WORKDIR}/octave-3.6.0/doc/interpreter/contributors.texi \
     ${WORKDIR}/octave-3.6.0_build/doc/interpreter
$ cd /usr/portage/sci-mathematics/octave
$ ebuild octave-3.6.0.ebuild compile # compiles OK
$ ebuild octave-3.6.0.ebuild install
$ ebuild octave-3.6.0.ebuild qmerge
Comment 12 Sébastien Fabbro (RETIRED) gentoo-dev 2012-02-10 00:37:05 UTC
(In reply to comment #11)

> 
> $ emerge -v octave # failure here
> $ cp ${WORKDIR}/octave-3.6.0/doc/interpreter/contributors.texi \
>      ${WORKDIR}/octave-3.6.0_build/doc/interpreter
> $ cd /usr/portage/sci-mathematics/octave
> $ ebuild octave-3.6.0.ebuild compile # compiles OK


if you look at {WORKDIR}/octave-3.6.0/doc/interpreter/Makefile.am, you will see that contributors.texi is a Makefile generated file. also it works perfectly on my end, so that's why I suspect a parallel make issue.
Comment 13 Nickolay Kolchin-Semyonov 2012-02-10 00:56:58 UTC
(In reply to comment #12)
> 
> if you look at {WORKDIR}/octave-3.6.0/doc/interpreter/Makefile.am, you will see
> that contributors.texi is a Makefile generated file. also it works perfectly on
> my end, so that's why I suspect a parallel make issue.

'contributors.texi' already exist in sources. Looks like it is not regenerated in build tree. This is the only reasonable explanation I have. Probably deleting "contributors.texi" after source unpack, will solve this issue.
Comment 14 Francisco J. Vazquez 2012-02-10 10:47:01 UTC
(In reply to comment #10)
> I can't reproduce here with either -j32 or -j5. Could someone confirm?

As I said in comment #6, I also have this problem. I'm "solving" it by copying the .texi files from octave to octave_build while portage is compiling (before reaching the error).

Emerging with -j1 doesn't solve it.
Comment 15 Sébastien Fabbro (RETIRED) gentoo-dev 2012-02-27 18:27:40 UTC
i removed the contributors.texi after unpacking, it should fix it (3.6.1 only).
Comment 16 Larry the Git Cow gentoo-dev 2020-03-27 18:46:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf0c5ed22569b38b971412c57fb17c08c2abc64

commit 9bf0c5ed22569b38b971412c57fb17c08c2abc64
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2020-03-27 18:41:36 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2020-03-27 18:42:04 +0000

    sci-mathematics/octave: new version 5.2.0 sans imagemagick support.
    
    This new version drops two patches (zlib underlinking and qt-5.11
    support) that have been fixed upstream in other ways. Unfortunately,
    it also temporarily disables USE=imagemagick, because the upstream
    support for imagemagick is broken. In the past, we have carried custom
    patches to fix that, but they no longer apply, and upstream has hinted
    that the approach they take will not be accepted. So to get this out
    the door, the simplest thing to do is to follow upstream and throw
    imagemagick under a bus.
    
    Bug: https://bugs.gentoo.org/401189
    Bug: https://bugs.gentoo.org/660298
    Closes: https://bugs.gentoo.org/709388
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 sci-mathematics/octave/Manifest            |   1 +
 sci-mathematics/octave/octave-5.2.0.ebuild | 201 +++++++++++++++++++++++++++++
 2 files changed, 202 insertions(+)