Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834489 - dev-vcs/subversion-1.14.1 fails to build with error message: Failed running 'autoconf'!
Summary: dev-vcs/subversion-1.14.1 fails to build with error message: Failed running '...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-02 15:04 UTC by Mamadou Babaei
Modified: 2022-03-02 16:35 UTC (History)
1 user (show)

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


Attachments
build log (build.log,3.37 KB, text/x-log)
2022-03-02 15:04 UTC, Mamadou Babaei
Details
emerge --info (emerge-info.txt,6.20 KB, text/plain)
2022-03-02 15:04 UTC, Mamadou Babaei
Details
emerge --info '=dev-vcs/subversion-1.14.1::gentoo' (emerge-info-subversion.txt,6.31 KB, text/plain)
2022-03-02 15:06 UTC, Mamadou Babaei
Details
emerge -pqv '=dev-vcs/subversion-1.14.1::gentoo' (emerge-pqv-subversion.txt,170 bytes, text/plain)
2022-03-02 15:06 UTC, Mamadou Babaei
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mamadou Babaei 2022-03-02 15:04:22 UTC
emerge -atuv dev-vcs/subversion                                                   
               
These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N     ] dev-vcs/subversion-1.14.1::gentoo  USE="nls perl plaintext-password-storage sasl -apache2 -berkdb -debug -doc -extras -gnome-keyring -java -kwallet -ruby -test" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-vcs/subversion-1.14.1::gentoo
>>> Failed to emerge dev-vcs/subversion-1.14.1, Log file:
>>>  '/var/tmp/portage/dev-vcs/subversion-1.14.1/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.02, 1.00, 1.21
 * Package:    dev-vcs/subversion-1.14.1
 * Repository: gentoo
 * Maintainer: dilfridge@gentoo.org zlogene@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux nls perl plaintext-password-storage sasl userland_GNU
 * FEATURES:   ccache network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking subversion-1.14.1.tar.bz2 to /var/tmp/portage/dev-vcs/subversion-1.14.1/work
>>> Unpacking subversion-1.10.0_rc1-patches-1.tar.xz to /var/tmp/portage/dev-vcs/subversion-1.14.1/work
>>> Source unpacked in /var/tmp/portage/dev-vcs/subversion-1.14.1/work
>>> Preparing source in /var/tmp/portage/dev-vcs/subversion-1.14.1/work/subversion-1.14.1 ...
 * Applying patches from /var/tmp/portage/dev-vcs/subversion-1.14.1/work/patches ...
 *   subversion-1.5.4-interix.patch ...
patching file subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.h
Hunk #1 succeeded at 58 with fuzz 2 (offset 9 lines).
patching file subversion/bindings/swig/perl/native/core.c
Hunk #1 succeeded at 1867 with fuzz 2 (offset 134 lines).
patching file subversion/bindings/swig/perl/native/svn_client.c
Hunk #1 succeeded at 1872 with fuzz 2.
patching file subversion/bindings/swig/perl/native/svn_delta.c
Hunk #1 succeeded at 1744 with fuzz 2 (offset -1 lines).
patching file subversion/bindings/swig/perl/native/svn_fs.c
Hunk #1 succeeded at 1805 with fuzz 2 (offset -13 lines).
patching file subversion/bindings/swig/perl/native/svn_ra.c
Hunk #1 succeeded at 1804 (offset 143 lines).
patching file subversion/bindings/swig/perl/native/svn_repos.c
Hunk #1 succeeded at 1788 with fuzz 2 (offset -4 lines).
patching file subversion/bindings/swig/perl/native/svn_wc.c
Hunk #1 succeeded at 1814 with fuzz 2 (offset -2 lines).
 [ ok ]
 *   subversion-1.5.6-aix-dso.patch ...
 [ ok ]
 *   subversion-1.8.1-revert_bdb6check.patch ...
 [ ok ]
 *   subversion-1.8.16-javadoc-nolint.patch ...
 [ ok ]
 *   subversion-fix-parallel-build-support-for-perl-bindings.patch ...
patching file Makefile.in
Hunk #1 succeeded at 877 with fuzz 1 (offset 145 lines).
 [ ok ]
 * Running 'autoconf' ...
 [ !! ]

 * Failed running 'autoconf'!
 * 
 * Include in your bug report the contents of:
 * 
 *   /var/tmp/portage/dev-vcs/subversion-1.14.1/temp/autoconf.out

 * ERROR: dev-vcs/subversion-1.14.1::gentoo failed (prepare phase):
 *   Failed running 'autoconf'!
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_prepare
 *   environment, line 6909:  Called eautoconf
 *   environment, line 2145:  Called autotools_run_tool '--at-m4flags' 'autoconf'
 *   environment, line 1620:  Called die
 * The specific snippet of code:
 *           die "Failed running '${1}'!";
 * 
 * If you need support, post the output of `emerge --info '=dev-vcs/subversion-1.14.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-vcs/subversion-1.14.1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =subversion-1.14.1
 * The complete build log is located at '/var/tmp/portage/dev-vcs/subversion-1.14.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/subversion-1.14.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-vcs/subversion-1.14.1/work/subversion-1.14.1'
 * S: '/var/tmp/portage/dev-vcs/subversion-1.14.1/work/subversion-1.14.1'

 * Messages for package dev-vcs/subversion-1.14.1:

 * Failed running 'autoconf'!
 * 
 * Include in your bug report the contents of:
 * 
 *   /var/tmp/portage/dev-vcs/subversion-1.14.1/temp/autoconf.out
 * ERROR: dev-vcs/subversion-1.14.1::gentoo failed (prepare phase):
 *   Failed running 'autoconf'!
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_prepare
 *   environment, line 6909:  Called eautoconf
 *   environment, line 2145:  Called autotools_run_tool '--at-m4flags' 'autoconf'
 *   environment, line 1620:  Called die
 * The specific snippet of code:
 *           die "Failed running '${1}'!";
 * 
 * If you need support, post the output of `emerge --info '=dev-vcs/subversion-1.14.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-vcs/subversion-1.14.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-vcs/subversion-1.14.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/subversion-1.14.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-vcs/subversion-1.14.1/work/subversion-1.14.1'
 * S: '/var/tmp/portage/dev-vcs/subversion-1.14.1/work/subversion-1.14.1'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (dev-vcs/subversion-1.14.1:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-vcs/subversion-1.14.1/temp/build.log'
 * 


Reproducible: Always
Comment 1 Mamadou Babaei 2022-03-02 15:04:41 UTC
Created attachment 766149 [details]
build log
Comment 2 Mamadou Babaei 2022-03-02 15:04:59 UTC
Created attachment 766150 [details]
emerge --info
Comment 3 Mamadou Babaei 2022-03-02 15:06:29 UTC
Created attachment 766151 [details]
emerge --info '=dev-vcs/subversion-1.14.1::gentoo'
Comment 4 Mamadou Babaei 2022-03-02 15:06:45 UTC
Created attachment 766152 [details]
emerge -pqv '=dev-vcs/subversion-1.14.1::gentoo'
Comment 5 Mike Gilbert gentoo-dev 2022-03-02 15:44:42 UTC
 * Include in your bug report the contents of:
 * 
 *   /var/tmp/portage/dev-vcs/subversion-1.14.1/temp/autoconf.out
Comment 6 Mamadou Babaei 2022-03-02 15:51:49 UTC
Thanks, I guess I know why now.

$ cat autoconf.out 
***** autoconf *****
***** PWD: /var/tmp/portage/dev-vcs/subversion-1.14.1/work/subversion-1.14.1
***** autoconf

Can't locate strict.pm:   /home/mamadou/.local/lib64/perl5/lib/perl5/strict.pm: Permission denied at /usr/bin/autom4te-2.71 line 26.
BEGIN failed--compilation aborted at /usr/bin/autom4te-2.71 line 26.

I had this in my root's .zprofile:

# perl cpan modules
export PATH="/home/mamadou/.local/lib64/perl5/bin${PATH:+:${PATH}}"
export PERL5LIB="/home/mamadou/.local/lib64/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"
export PERL_LOCAL_LIB_ROOT="/home/mamadou/.local/lib64/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}";
export PERL_MB_OPT="--install_base \"/home/mamadou/.local/lib64/perl5\""
export PERL_MM_OPT="INSTALL_BASE=/home/mamadou/.local/lib64/perl5"

Removed and rebooted. It builds now.

Sorry for the inconvenience.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-02 16:35:17 UTC
I strongly recommend using a clean env for emerge.