FS#34675 - [makepkg] svn export creates build problems
Attached to Project:
Pacman
Opened by Joakim Hernberg (jhernberg) - Monday, 08 April 2013, 08:31 GMT
Last edited by Allan McRae (Allan) - Tuesday, 16 April 2013, 02:35 GMT
Opened by Joakim Hernberg (jhernberg) - Monday, 08 April 2013, 08:31 GMT
Last edited by Allan McRae (Allan) - Tuesday, 16 April 2013, 02:35 GMT
|
Details
The use of svn export in makepkg to clone a svn repo seems
to break certain functionality, like "svn info" and
svnversion, I've also seen the buildsystem itself being
confused when building in such a cloned repo. I suggest to
use cp -r for svn repos instead to work around this
problem.
Steps to Reproduce: Clone a svn repo with svn export and try to use svn info or svnversion on it. See: https://aur.archlinux.org/packages/oscam-svn/ and try building it with and without prepare(). With prepare() (meaning that cp -r has been used) the buildprocess will output the string: OSCam ver: 1.20-unstable_svn rev: 8603 target: x86_64-unknown-linux-gnu-ssl-libusb-pcsc With prepare() commented out (svn export used), the string is: OSCam ver: 1.20-unstable_svn rev: 0 target: x86_64-unknown-linux-gnu-ssl-libusb-pcsc Note the strange rev number. |
This task depends upon
Closed by Allan McRae (Allan)
Tuesday, 16 April 2013, 02:35 GMT
Reason for closing: Fixed
Additional comments about closing: git commit 695f0e44
Tuesday, 16 April 2013, 02:35 GMT
Reason for closing: Fixed
Additional comments about closing: git commit 695f0e44
Comment by Allan McRae (Allan) -
Thursday, 11 April 2013, 05:51 GMT
Patch:
https://mailman.archlinux.org/pipermail/pacman-dev/2013-April/016994.html