Csanyi Pal <[EMAIL PROTECTED]> writes:

> Ben Hutchings <[EMAIL PROTECTED]> writes:
>
>> 1. Get the source package from unstable
>
> sudo apt-get source ion3
>
>> 2. In debian/control, change "x11-utils" to "xbase-clients"
>
> Depends: ${misc:Depends}, ${shlibs:Depends}, xterm \
>  | x-terminal-emulator, xbase-clients
>
>> 3. Run "dpkg-buildpackage -uc -us -rfakeroot" to rebuild it
>
> I get the following error message:
>
> Applying patch 201_build-config.diff
> patching file system.mk
> Hunk #4 FAILED at 62.
> 1 out of 6 hunks FAILED -- rejects in file system.mk
> Patch 201_build-config.diff does not apply (enforce with -f)
> make: *** [debian/stamp-patched] Error 1

Sorry, I edited first the system.mk wrong. I commented out the lines:

# If you have installed Lua 5.1 from the official tarball without
  changing
# paths, this should do it.
#LUA_DIR=/usr/local
#LUA_LIBS = -L$(LUA_DIR)/lib -llua
#LUA_INCLUDES = -I$(LUA_DIR)/include
#LUA=$(LUA_DIR)/bin/lua
#LUAC=$(LUA_DIR)/bin/luac

and after that run the command
dpkg-buildpackage -uc -us -rfakeroot


But now I commented it as it was when have it downloaded and run

dpkg-buildpackage -uc -us -rfakeroot

This time I get the build but with warning:
  
dpkg-deb: building package `ion3' in `../ion3_20080707-3_i386.deb'.
 dpkg-genchanges
dpkg-genchanges: warning: unknown information field `Homepage' in
 input data in
package's section of control info file
dpkg-genchanges: not including original source code in upload
dpkg-buildpackage: binary and diff upload (original source NOT
 included) 

I get the package ion3_20080707-3_i386.deb.

-- 
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm

Reply via email to