Project

General

Profile

Actions

Bug #3678

closed

Build rudder-agent on SLES 10 is no more possible since the use of the 'T' flag with cp in our SOURCES/Makefile

Added by Nicolas PERRON over 11 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Since modifications from #3648, #3649 it is not possible to build rudder-agent packages.
The reason is from the behavior of cp on SLES 10:

sles-builder-10-sp3-64:~ # mkdir /tmp/myDir
sles-builder-10-sp3-64:~ # cp -a /tmp/myDir/ /tmp/myNewDir/
cp: target `/tmp/myNewDir/' is not a directory: No such file or directory
sles-builder-10-sp3-64:~ # cp -a /tmp/myDir/ /tmp/myNewDir
sles-builder-10-sp3-64:~ #
sles-builder-10-sp3-64:~ # cp -aT /tmp/myDir/ /tmp/myNewDir2/
sles-builder-10-sp3-64:~ #

and the behavior of cp on CentOS 3:
[root@centos-3-32 root]# mkdir /tmp/myDir
[root@centos-3-32 root]# cp -a /tmp/myDir/ /tmp/myNewDir/
[root@centos-3-32 root]#
[root@centos-3-32 root]# cp -a /tmp/myDir/ /tmp/myNewDir
[root@centos-3-32 root]#
[root@centos-3-32 root]# cp -aT /tmp/myDir/ /tmp/myNewDir3/
cp: invalid option -- T
Try `cp --help' for more information.

Actions

Also available in: Atom PDF