Re: [gentoo-user] sci-libs/spqr-1.2.3-r1 failed to emerge

2020-04-09 Thread David Haller
Hello,

On Wed, 08 Apr 2020, gevisz wrote:
>I've tried to install julia-1.4.0 but one of its dependencies, namely,
>sci-libs/spqr-1.2.3-r1 failed to emerge with the following error message:
>
>* Failed Running automake !
> *
> * Include in your bugreport the contents of:
> *
> *   /var/tmp/portage/sci-libs/spqr-1.2.3-r1/temp/automake.out

The patch spqr-1.2.3-autotools.patch is broken, it includes two
AM_INIT_AUTOMAKE lines in configure.ac:


[..]
--- configure.ac1969-12-31 19:00:00.0 -0500
+++ configure.ac2009-10-22 23:42:32.0 -0400
@@ -0,0 +1,55 @@
+AC_PREREQ(2.59)
+AC_INIT(spqr, 1.2, da...@cise.ufl.edu)
+AM_INIT_AUTOMAKE([foreign])
+AC_CONFIG_SRCDIR([Source/spqr_kernel.cpp])
+AM_INIT_AUTOMAKE([foreign])
[..]


Deleting the first (and adjusting the patchlength: '@@ -0,0 +1,54 @@')
and it works.

HTH,
-dnh

-- 
> Write the code like you are going to lose your memory in six months.
Most people would say I write code like I've already lost my mind.
Is that the same thing? -- Randal L. Schwartz



[gentoo-user] sci-libs/spqr-1.2.3-r1 failed to emerge

2020-04-08 Thread gevisz
I've tried to install julia-1.4.0 but one of its dependencies, namely,
sci-libs/spqr-1.2.3-r1 failed to emerge with the following error message:

* Failed Running automake !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/sci-libs/spqr-1.2.3-r1/temp/automake.out

 * ERROR: sci-libs/spqr-1.2.3-r1::gentoo failed (prepare phase):
 *   Failed Running automake !
 *
 * Call stack:
 * ebuild.sh, line  125:  Called src_prepare
 *   environment, line 2324:  Called autotools-utils_src_prepare
 *   environment, line  512:  Called eautoreconf
 *   environment, line  830:  Called eautomake
 *   environment, line  784:  Called autotools_run_tool 'automake'
'--add-missing' '--copy' '--foreign' '--force-missing'
 *   environment, line  648:  Called die
 * The specific snippet of code:
 *   die "Failed Running $1 !";
 *
 * If you need support, post the output of `emerge --info
'=sci-libs/spqr-1.2.3-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv
'=sci-libs/spqr-1.2.3-r1::gentoo'`.
 * The complete build log is located at
'/var/log/portage/sci-libs:spqr-1.2.3-r1:20200408-071552.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/sci-libs/spqr-1.2.3-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/spqr-1.2.3-r1/work/SPQR'
 * S: '/var/tmp/portage/sci-libs/spqr-1.2.3-r1/work/SPQR'

>>> Failed to emerge sci-libs/spqr-1.2.3-r1, Log file:  
>>> '/var/log/portage/sci-libs:spqr-1.2.3-r1:20200408-071552.log'

I tried to look into the automake.out file mentioned above but it even
does not exists (or empty).

The log file is attached. The output of emerge --info
'=sci-libs/spqr-1.2.3-r1::gentoo' is as follows:
# emerge --info '=sci-libs/spqr-1.2.3-r1::gentoo'
Portage 2.3.89 (python 3.6.10-final-0,
default/linux/amd64/17.1/desktop, gcc-9.2.0, glibc-2.29-r7,
4.19.86-gentoo+ x86_64)
=
 System Settings
=
System uname: 
Linux-4.19.86-gentoo+-x86_64-AMD_Phenom-tm-_II_X4_945_Processor-with-gentoo-2.6
KiB Mem:20554020 total,  12064808 free
KiB Swap:   11718652 total,  11718652 free
Timestamp of repository gentoo: Tue, 07 Apr 2020 00:45:01 +
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:  4.4_p23-r1::gentoo
dev-lang/perl:5.30.1::gentoo
dev-lang/python:  2.7.17-r2::gentoo, 3.6.10-r1::gentoo, 3.7.7-r1::gentoo
dev-util/cmake:   3.16.5::gentoo
dev-util/pkgconfig:   0.29.2::gentoo
sys-apps/baselayout:  2.6-r1::gentoo
sys-apps/openrc:  0.42.1::gentoo
sys-apps/sandbox: 2.13::gentoo
sys-devel/autoconf:   2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:   1.16.1-r1::gentoo
sys-devel/binutils:   2.32-r1::gentoo, 2.33.1-r1::gentoo
sys-devel/gcc:9.2.0-r2::gentoo
sys-devel/gcc-config: 2.2.1::gentoo
sys-devel/libtool:2.4.6-r6::gentoo
sys-devel/make:   4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:   2.29-r7::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: webrsync
sync-uri: "http://mirror.netcologne.de/gentoo/;
priority: -1000
sync-webrsync-verify-signature: yes

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb/symbols/ /usr/share/gnupg/qualified.txt"
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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --fail-clean"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT
PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME
XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs
config-protect-if-modified distlocks ebuild-locks fail-clean
fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news
parallel-fetch pid-sandbox preserve-libs protect-owned
qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn
unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync
webrsync-gpg"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/
https://mirrors.lug.mtu.edu/gentoo http://de-mirror.org/gentoo/
http://www.mirrorservice.org/sites/distfiles.gentoo.org/
http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo;
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS=""
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--omit-dir-times --compress --force