[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: reproducing the build and the upload process of libhtmlcleaner-java



Op 2013-05-19 om 20:34 schreef tony mancill:
> 
> If you just want to see how it build, you can follow these steps:
> 
> # clone the pkg-java repo
> git clone git+ssh://git.debian.org/git/pkg-java/libhtmlcleaner-java.git
> cd libhtmlcleaner-java
> 
> # (re)create the upstream tarball for the 2.2 version
> git archive upstream/2.2 --prefix=libhtmlcleaner-java-2.2/ -o
> ../libhtmlcleaner-java_2.2.orig.tar.gz
> 
> # clean up the 2.4 sources that are currently there
> # (as an alternative, you could copy ./debian/ to a new folder)
> rm -rf .git __MACOSX src
> 
> # restore the 2.2 sources
> tar --strip-components=1 -xvf ../libhtmlcleaner-java_2.2.orig.tar.gz
> 
> # build!
> debuild -us -uc
> 

That information got me back on track.

I'm now making "white space changes" to fix warnings as
| dpkg-source: warning: file libhtmlcleaner-java/src/test/resources/Expected_1.html has no final newline (either original or modified version)
to see what is causing
| dpkg-source: error: unrepresentable changes to source
| dpkg-buildpackage: error: dpkg-source -b libhtmlcleaner-java gave error exit status 2

Tony: Thank you!


Groeten
Geert Stappers
-- 
> And is there a policy on top-posting vs. bottom-posting?
Yes.


Reply to: