FS#39097 - [devtools] VCS dependency issue

Attached to Project: Arch Linux
Opened by Joel Teichroeb (klusark) - Sunday, 02 March 2014, 07:54 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Wednesday, 13 September 2017, 09:17 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Pierre Schmitz (Pierre)
Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description:
I'm not sure why this is happening. 'bzr' is in the make depends, so I think it should work, but it isn't for me. Can anyone else verify the issue in a clean chroot?

Additional info:
==> Building in chroot for [extra] (x86_64)...
==> Creating clean working copy [joel]...done
==> Making package: foomatic 3:20140121-1 (Sat Mar 1 23:52:19 PST 2014)
==> Retrieving sources...
-> Branching http://bzr.linuxfoundation.org/openprinting/foomatic/foomatic-db-engine/ ...
/usr/bin/makepkg: line 458: bzr: command not found
==> ERROR: Failure while branching http://bzr.linuxfoundation.org/openprinting/foomatic/foomatic-db-engine/
Aborting...
==> ERROR: Could not download sources.


Steps to reproduce:

sudo extra-x86_64-build
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Wednesday, 13 September 2017, 09:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  devtools 20170911-2
Comment by Doug Newgard (Scimmia) - Sunday, 02 March 2014, 09:39 GMT
This one might be more of a devtools problem. It's trying to retrieve the sources before installing the makedepends. I'm going to assign the devtools maintainer along with the foomatic maintainer.
Comment by Andreas Radke (AndyRTR) - Sunday, 02 March 2014, 10:08 GMT
I guess it's more likely makepkg pulling the makedep to late here for VCS packages. Maybe also because it's not properly
written as a vcs pkg. Adding also to Allan.
Comment by Allan McRae (Allan) - Sunday, 02 March 2014, 10:10 GMT
I believe devtools downloads the source locally and then copies it into the chroot and uses --holdver. So bzr really needs to be installed locally...
Comment by Pierre Schmitz (Pierre) - Sunday, 02 March 2014, 10:12 GMT
makepkg should make sure bzr is installed even when calling "makepkg -o".
Comment by Joel Teichroeb (klusark) - Sunday, 02 March 2014, 15:50 GMT
I just tried uninstalling git and using extra-x86_64-build on a git package and got the same results, so it's a devtools issue, not an issue with this package.
Comment by Pierre Schmitz (Pierre) - Sunday, 02 March 2014, 16:06 GMT
makepkg either needs to depend on all the vcs tools it supports or it needs to install these if it detects such a package. I am not sure adding hacks to devtools here would be the right approach as makepkg users are affected as well.
Comment by Allan McRae (Allan) - Sunday, 02 March 2014, 21:24 GMT
In the future, makepkg will just abort on "makepkg -o" when the VCS tools are not installed. So devtools will need to deal with that anyway.
Comment by Allan McRae (Allan) - Sunday, 29 June 2014, 13:30 GMT
Patches have been submitted to make makepkg abort if it can not find the needed VCS tool or if dependency installs are being skipped.
Comment by John (graysky) - Tuesday, 16 February 2016, 20:36 GMT
Is this still an open issue?
Comment by Joel Teichroeb (klusark) - Tuesday, 16 February 2016, 20:42 GMT
It still seems to be an issue to me

==> Building in chroot for [extra] (x86_64)...
==> Creating clean working copy [joel]...done
==> Making package: foomatic 3:20160214-1 (Tue Feb 16 12:40:46 PST 2016)
==> Retrieving sources...
-> Branching http://bzr.linuxfoundation.org/openprinting/foomatic/foomatic-db-engine/...
/usr/share/makepkg/source/bzr.sh: line 48: bzr: command not found
==> ERROR: Failure while branching http://bzr.linuxfoundation.org/openprinting/foomatic/foomatic-db-engine/
Aborting...
==> ERROR: Could not download sources.
Comment by Bartłomiej Piotrowski (Barthalion) - Tuesday, 12 September 2017, 19:23 GMT
This is open for too long. I will just add all supported VCS tools to dependencies.

Loading...