Thanks for the reply, but I actually had a .deb file, which was in the source (.tar.gz) package, under the "debian" directory. The fix turned out to be changing the .dsc version back to 1.0; thanks for reminding me of the deb building help page. If you have a second, I'm running into a very strange error with a sister project -- I am getting a 1.2K .deb file. This happened before when I installed to the wrong directory, but I'm pretty sure it's correct now [1]. Also, the "install" commands won't succeed if the files aren't present, so it's at least copying things correctly. If you don't mind taking a look,
osc co home:gatoatigrado1 sketch-frontend cd home:gatoatigrado1/sketch-frontend tar xzf sketch-frontend_1.4.0.orig.tar.gz
Thanks for your help,
Nicholas — ntung at ntung — https://ntung.com — CS major @ UC Berkeley
[1]
make DESTDIR=/usr/src/packages/BUILD/debian/sketch-frontend
install-launchers-only
make[1]: Entering directory `/usr/src/packages/BUILD'
mkdir -p /usr/src/packages/BUILD/debian/sketch-frontend/usr/bin
install -m 755 scripts/unix/final/sketch
/usr/src/packages/BUILD/debian/sketch-frontend/usr/bin
install -m 755 scripts/unix/final/psketch
/usr/src/packages/BUILD/debian/sketch-frontend/usr/bin
install -m 755 scripts/unix/final/stensk
/usr/src/packages/BUILD/debian/sketch-frontend/usr/bin
make[1]: Leaving directory `/usr/src/packages/BUILD'
install -m 644 java-build/sketch-1.4.0-noarch.jar
/usr/src/packages/BUILD/debian/sketch-frontend/usr/bin
# We have nothing to do by default.
dh_testdir
dh_testroot
dh_installdocs
dh_installdocs: Compatibility levels before 5 are deprecated.
dh_installexamples
dh_installexamples: Compatibility levels before 5 are deprecated.
dh_installmenu
dh_installmenu: Compatibility levels before 5 are deprecated.
dh_installcron
dh_installcron: Compatibility levels before 5 are deprecated.
dh_installman
dh_installman: Compatibility levels before 5 are deprecated.
dh_installinfo
dh_installinfo: Compatibility levels before 5 are deprecated.
dh_installchangelogs
dh_installchangelogs: Compatibility levels before 5 are deprecated.
dh_link
dh_link: Compatibility levels before 5 are deprecated.
dh_strip
dh_strip: Compatibility levels before 5 are deprecated.
dh_compress
dh_compress: Compatibility levels before 5 are deprecated.
dh_fixperms
dh_fixperms: Compatibility levels before 5 are deprecated.
dh_installdeb
dh_installdeb: Compatibility levels before 5 are deprecated.
dh_shlibdeps
dh_shlibdeps: Compatibility levels before 5 are deprecated.
dh_gencontrol
dh_gencontrol: Compatibility levels before 5 are deprecated.
dh_md5sums
dh_md5sums: Compatibility levels before 5 are deprecated.
dh_builddeb
dh_builddeb: Compatibility levels before 5 are deprecated.
dpkg-deb: building package `sketch-frontend' in
`../sketch-frontend_1.4.0-1_all.deb'.
dpkg-genchanges >../sketch-frontend_1.4.0-1_amd64.changes
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: full upload (original source is included)
Warning: mkbaselibs missing in build root, skipping baselibs
... saving built packages
/usr/src/packages/DEBS/sketch-frontend_1.4.0-1_all.deb
build30 finished "build sketch-frontend-1.4.0.dsc" at Mon Aug 9
07:30:45 UTC 2010.
System halted.
build: extracting built packages...
sketch-frontend_1.4.0-1_all.deb
On Wed, Aug 4, 2010 at 6:57 PM, Stephan Kleine
On Thursday August 5 2010 03:01:39 Nicholas Tung wrote:
Hi all,
I'm running into a cryptic error with a .deb build for Ubuntu on OBS (below). Any help would be much appreciated, thanks!
Thanks in advance, Nicholas — ntung at ntung — https://ntung.com — CS major @ UC Berkeley
dpkg-source: warning: extracting unsigned source package (/usr/src/packages/SOURCES/sketch-cegis-1.4.0.dsc) dpkg-source: info: extracting sketch-cegis in /usr/src/packages/BUILD dpkg-source: error: missing orig.tar or debian.tar file in v2.0 source pack age ----------------------------------------------------------------- ----- building sketch-cegis-1.4.0.dsc (user abuild) ----------------------------------------------------------------- ----------------------------------------------------------------- -su: line 0: cd: /usr/src/packages/BUILD: No such file or directory System halted.
You are missing the debian packaging files.
E.g. compare the following:
Your package:
$ osc ls home:gatoatigrado1 sketch-cegis sketch-cegis-1.4.0.dsc sketch-cegis-1.4.0.orig.tar.gz sketch-cegis-1.4.0.tar.gz sketch-cegis.spec sketch-cegis_1.4.0.orig.tar.gz
Mine:
$ osc ls security:OpenVAS:STABLE:v3 libgdchart-gd2 _link # -> security:OpenVAS libgdchart-gd2 (latest) libgdchart-gd2_0.11.5-6.diff.gz libgdchart-gd2_0.11.5-6.dsc libgdchart-gd2_0.11.5.orig.tar.gz
Note the diff.gz one which contains said packaging files. Last but not least the 2 .orig.tar.gz might confuse it.
If you need some examples for deb packaging on OBS have a look e.g. at security:OpenVAS:STABLE:v3 and :v2.
Also have a look at http://old-en.opensuse.org/Build_Service/Deb_builds
hth Stephan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org