Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#48667 - [autoconf-archive] error: command failed to execute correctly

Attached to Project: Community Packages
Opened by Zhang Hai (dreamingincode) - Tuesday, 22 March 2016, 15:52 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 23 March 2016, 16:56 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:

"error: command failed to execute correctly" when installing or removing autoconf-archive. Should be some command in the .install script.

Additional info:

* package version(s)

autoconf-archive-1:2016.03.20-1

* config and/or log files etc.

$ sudo pacman -S autoconf-archive
resolving dependencies...
looking for conflicting packages...

Packages (1) autoconf-archive-1:2016.03.20-1

Total Installed Size: 2.19 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
:: Processing package changes...
(1/1) installing autoconf-archive [######################] 100%
error: command failed to execute correctly
Optional dependencies for autoconf-archive
automake: macros for use with it [installed]

Steps to reproduce:

sudo pacman -S autoconf-archive
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 23 March 2016, 16:56 GMT
Reason for closing:  Fixed
Comment by Konstantin Gizdov (kgizdov) - Tuesday, 22 March 2016, 16:15 GMT
Having the same issue. Usually, this has to do with info-install missing a definition of an info dir entry. Not sure exactly in this case. But I can confirm this bug.
Comment by Jake Dane (jakedane) - Tuesday, 22 March 2016, 17:34 GMT
Also having the same issue. I've attached debug output of reinstalling autoconf-archive. The relevant part looks to be near the end:

...
debug: adding entry 'autoconf-archive' in 'local' cache
debug: executing ". /tmp/alpm_b07h2d/.INSTALL; post_upgrade 1:2016.03.20-1 1:2016.03.20-1"
debug: executing "/usr/bin/bash" under chroot "/"
debug: call to waitpid succeeded
error: command failed to execute correctly
debug: running ldconfig
debug: executing "/usr/bin/ldconfig" under chroot "/"
...
Comment by Moabit (Moabit) - Tuesday, 22 March 2016, 23:09 GMT
For the record, this error also occurs when upgrading this package (from the previous 1:2015.09.25-1).
Comment by Jake Dane (jakedane) - Wednesday, 23 March 2016, 06:00 GMT
Further testing: the error happens when upgrading, reinstalling, removing, or fresh installing the package.
Comment by Ralf Mardorf (Ralf) - Wednesday, 23 March 2016, 06:26 GMT

Same here, first when I updated, then when I reinstalled:

# pacman -S autoconf-archive
warning: autoconf-archive-1:2016.03.20-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) autoconf-archive-1:2016.03.20-1

Total Installed Size: 2.19 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [---] 100%
(1/1) checking package integrity [---] 100%
(1/1) loading package files [---] 100%
(1/1) checking for file conflicts [---] 100%
(1/1) checking available disk space [---] 100%
:: Processing package changes...
(1/1) reinstalling autoconf-archive [---] 100%
error: command failed to execute correctly


# tail -n4 /var/log/pacman.log
[2016-03-23 07:06] [PACMAN] Running 'pacman -S autoconf-archive'
[2016-03-23 07:06] [ALPM] transaction started
[2016-03-23 07:06] [ALPM] reinstalled autoconf-archive (1:2016.03.20-1)
[2016-03-23 07:06] [ALPM] transaction completed


ABS didn't help me to understand the error message:

# cat /var/abs/community/autoconf-archive/autoconf-archive.install
[snip]
# cat /var/abs/community/autoconf-archive/PKGBUILD
[snip]

Loading...