namjae / fwtemplates

Automatically exported from code.google.com/p/fwtemplates
0 stars 0 forks source link

Make release of framewerk fails #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download framewerk 0.3.1
2. ./bootstrap ; ./build
3. env FW_DUPLOAD_ARGS="-no" make release

What is the expected output? What do you see instead?

this test fails:
FAIL: test-template-fw-template

I think I traced it down to this:

[root@pwned tmp]# pwd
/root/framewerk-0.3.1/tests/tmp/tests/megatmp/tmp
[root@pwned tmp]# make dist
{ test ! -d "tmp-0.0.0" || { find "tmp-0.0.0" -type d ! -perm -200 -exec chmod 
u+w {} ';' && rm -fr "tmp-0.0.0"; }; }
test -d "tmp-0.0.0" || mkdir "tmp-0.0.0"
 (cd fw-pkgin && make  top_distdir=../tmp-0.0.0 distdir=../tmp-0.0.0/fw-pkgin \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory 
`/root/framewerk-0.3.1/tests/tmp/tests/megatmp/tmp/fw-pkgin'
make[1]: Leaving directory 
`/root/framewerk-0.3.1/tests/tmp/tests/megatmp/tmp/fw-pkgin'
make  \
      top_distdir="tmp-0.0.0" distdir="tmp-0.0.0" \
      dist-hook
make[1]: Entering directory `/root/framewerk-0.3.1/tests/tmp/tests/megatmp/tmp'
rm -rf "tmp-0.0.0/fw"
mkdir "tmp-0.0.0/fw"
if test -h fw/share; then rm -f fw/share; else true; fi
find -L fw -mindepth 1 -print | cpio -pd "tmp-0.0.0" >/dev/null 2>/dev/null
make[1]: *** [dist-hook] Error 2
make[1]: Leaving directory `/root/framewerk-0.3.1/tests/tmp/tests/megatmp/tmp'
make: *** [distdir] Error 2

What version of the product are you using? On what operating system?

CentOS 6.3 on VirtualBox 4.1.18 on Mac OS 10.7.4

Linux pwned.vm 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 
x86_64 x86_64 GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by m...@gradientx.com on 3 Aug 2012 at 11:22

GoogleCodeExporter commented 8 years ago
trying to run that command does this:

[root@pwned tmp]# find -L fw -mindepth 1 -print | cpio -pd "tmp-0.0.0"
cpio: tmp-0.0.0/fw/Makefile.in not created: newer or same age version exists
cpio: tmp-0.0.0/fw/.svn/all-wcprops not created: newer or same age version 
exists
cpio: tmp-0.0.0/fw/.svn/text-base/Makefile.am.svn-base not created: newer or 
same age version exists

Original comment by m...@gradientx.com on 3 Aug 2012 at 11:27

GoogleCodeExporter commented 8 years ago
Is this still happening?  Sounds like it could be a virtual box issue or 
something like that.

Original comment by anthony....@gmail.com on 12 Dec 2012 at 4:42

GoogleCodeExporter commented 8 years ago
yes, I just tried it on Amazon EC2:

Linux build003 2.6.32-220.23.1.el6.centos.plus.x86_64 #1 SMP Tue Jun 19 
04:14:37 BST 2012 x86_64 x86_64 x86_64 GNU/Linux

./create-package --build automake --package "rpm" --revision "none" --release 
yes --ldd "ldd" --ldd_args "" --libexecdir "/usr/libexec" 
Making check in fw-pkgin
Making check in fw
Making check in build
Making check in automake
Making check in fw-pkgin
Making check in m4
Making check in package
Making check in deb
Making check in rpm
Making check in revision
Making check in none
Making check in see-vee-ess
Making check in svn
Making check in git
Making check in sh
Making check in template
Making check in fw-build
Making check in fw.local
Making check in build
Making check in NAME
Making check in fw-template
Making check in fw.local
Making check in template
Making check in NAME
Making check in tests
Making check in script
Making check in bin
Making check in tests
Making check in fw.local
Making check in build
Making check in automake
Making check in package
Making check in deb
Making check in rpm
Making check in bin
Making check in tests
PASS: test-canonicalize-package
PASS: test-canonicalize-version
PASS: test-template-fw-build
FAIL: test-template-fw-template
PASS: test-template-script
PASS: test-cvs
PASS: test-svn
PASS: test-git
===================================================
1 of 8 tests failed
Please report to Paul XXXXX <XXXXX@XXXXX.com>
===================================================
make[4]: *** [check-TESTS] Error 1
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
script/release-ok: fatal: use --trace to get detailed output
script/release-ok: fatal: use --help to get usage information
fw-package: error: cannot release package in this state
fw-package: fatal: use --trace to get detailed output
fw-package: fatal: use --help to get usage information
make: *** [release-rpm] Error 1

Original comment by m...@gradientx.com on 12 Dec 2012 at 11:44