Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_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#77133 - [libtool] FTBFS

Attached to Project: Arch Linux
Opened by Sebastien Duthil (duthils) - Sunday, 15 January 2023, 03:44 GMT
Last edited by freswa (frederik) - Sunday, 15 January 2023, 21:45 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Jelle van der Waa (jelly)
freswa (frederik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: package libtool 2.4.7-5 fails to build from source.

The error:

...
Submodule 'bootstrap' (https://github.com/gnulib-modules/bootstrap.git) registered for path 'gl-mod/bootstrap'
Submodule 'gnulib' (git://git.savannah.gnu.org/gnulib.git) registered for path 'gnulib'
Cloning into '/tmp/libtool-archlinuxrb-build-huUZW0Y3/libtool/trunk/src/libtool/gl-mod/bootstrap'...
Cloning into '/tmp/libtool-archlinuxrb-build-huUZW0Y3/libtool/trunk/src/libtool/gnulib'...
fatal: transport 'file' not allowed
fatal: clone of '/tmp/libtool-archlinuxrb-build-huUZW0Y3/libtool/trunk/src/gnulib' into submodule path '/tmp/libtool-archlinuxrb-build-huUZW0Y3/libtool/trunk/src/libtool/gnulib' failed
...

Full build log:

https://tests.reproducible-builds.org/archlinux/core/libtool/build1.log

Steps to reproduce:

* Run makepkg

According to [1], this error is caused by this CVE fix:

https://github.blog/2022-10-18-git-security-vulnerabilities-announced/#cve-2022-39253

[1] https://bugs.launchpad.net/ubuntu/+source/git/+bug/1993586

Attached: PKGBUILD patch
This task depends upon

Closed by  freswa (frederik)
Sunday, 15 January 2023, 21:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  libtool-2.4.7+4+g1ec8fa28-1
Comment by loqs (loqs) - Sunday, 15 January 2023, 05:03 GMT
git config --global protocol.file.allow always
This can alter a user's git configuration. An alternative fix is to use
git -c protocol.file.allow=always submodule update

https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules
Comment by Sebastien Duthil (duthils) - Sunday, 15 January 2023, 05:10 GMT
You're completely right. Here's an updated patch.

Loading...