directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PGNet Dev <pgnet.dev+apach...@gmail.com>
Subject trunk installer build error; missing DIR
Date Mon, 27 Apr 2009 05:33:38 GMT
building trunk's installer, per instructions @,

  http://directory.apache.org/apacheds/1.5/02-building-trunks.html#0.2.Buildingtrunks-Buildingtheinstallers

@,

  cd /usr/local/src/apacheds-trunk
  mvn install
  cd /usr/local/src/apacheds-trunk/installers/apacheds
  mvn -Pserver-installer install

i get,

	...
	Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.24807
	+ umask 022
	+ cd /usr/local/src/apacheds-trunk/installers/apacheds/target/rpmbuild/BUILD
	+ /bin/rm -rf /var/tmp/apacheds-1.5.5_SNAPSHOT-0-root
	++ dirname /var/tmp/apacheds-1.5.5_SNAPSHOT-0-root
	+ /bin/mkdir -p /var/tmp
	+ /bin/mkdir /var/tmp/apacheds-1.5.5_SNAPSHOT-0-root
	+ cd apacheds-1.5.5_SNAPSHOT
	+ cd /var/tmp/apacheds-1.5.5_SNAPSHOT-0-root/apacheds-1.5.5_SNAPSHOT
	/var/tmp/rpm-tmp.24807: line 27: cd:
/var/tmp/apacheds-1.5.5_SNAPSHOT-0-root/apacheds-1.5.5_SNAPSHOT: No
such file or directory
	
	
	RPM build errors:
	error: Bad exit status from /var/tmp/rpm-tmp.24807 (%build)
		Bad exit status from /var/tmp/rpm-tmp.24807 (%build)
	[INFO] ------------------------------------------------------------------------
	[ERROR] BUILD FAILURE
	[INFO] ------------------------------------------------------------------------
	[INFO] Execution of ' /usr/bin/rpmbuild -ba --define _topdir
/usr/local/src/apacheds-trunk/installers/apacheds/target/rpmbuild
/usr/local/src/apacheds-trunk/installers/apacheds/target/images/apacheds-i386-rpm.spec
' resulted in a non-zero exit value: 1
	[INFO] ------------------------------------------------------------------------
	[INFO] For more information, run Maven with the -e switch
	[INFO] ------------------------------------------------------------------------
	[INFO] Total time: 1 minute 12 seconds
	[INFO] Finished at: Sun Apr 26 22:21:08 PDT 2009
	[INFO] Final Memory: 56M/236M
	[INFO] ------------------------------------------------------------------------

the problem appears to be,

	...
	rm -rf /var/tmp/apacheds-1.5.5_SNAPSHOT-0-root
	...
	mkdir /var/tmp/apacheds-1.5.5_SNAPSHOT-0-root
	cd apacheds-1.5.5_SNAPSHOT
	cd /var/tmp/apacheds-1.5.5_SNAPSHOT-0-root/apacheds-1.5.5_SNAPSHOT

shouldn't that be, instead, in effect,

	mkdir /var/tmp/apacheds-1.5.5_SNAPSHOT-0-root
	cd /var/tmp/apacheds-1.5.5_SNAPSHOT-0-root
	mkdir apacheds-1.5.5_SNAPSHOT
	cd /var/tmp/apacheds-1.5.5_SNAPSHOT-0-root/apacheds-1.5.5_SNAPSHOT

?

thanks.

Mime
View raw message