All pastes #65672 Raw Edit

ryanakca

public text v1 · immutable
#65672 ·published 2006-06-15 00:11 UTC
rendered paste body
@rkavanagh:~/deb/typespeed-0.5.1$ dpkg-buildpackage -rfakeroot
dpkg-buildpackage: source package is typespeed
dpkg-buildpackage: source version is 0.5.1-1
dpkg-buildpackage: source changed by Ryan Kavanagh <ryanakca@gmail.com>
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory `/home/ryan/deb/typespeed-0.5.1'
rm -f convert typespeed *.o high.*
make[1]: Leaving directory `/home/ryan/deb/typespeed-0.5.1'
dh_clean
 dpkg-source -b typespeed-0.5.1
dpkg-source: building typespeed using existing typespeed_0.5.1.orig.tar.gz
dpkg-source: building typespeed in typespeed_0.5.1-1.diff.gz
dpkg-source: building typespeed in typespeed_0.5.1-1.dsc
 debian/rules build
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/home/ryan/deb/typespeed-0.5.1'
gcc -Wall -W -std=c99 -g -O -D_GNU_SOURCE -o convert convert.c
gcc -DWORDDIR=\"/usr/share/typespeed\" -DHIGHDIR=\"/var/games/typespeed\" -Wall -W -std=c99 -g -O -D_GNU_SOURCE -c file.c
file.c: In function &#8216;choose_wordfile&#8217;:
file.c:211: warning: passing argument 3 of &#8216;scandir&#8217; from incompatible pointer type
file.c: In function &#8216;makescorefiles&#8217;:
file.c:647: warning: passing argument 3 of &#8216;scandir&#8217; from incompatible pointer type
gcc -Wall -W -std=c99 -g -O -D_GNU_SOURCE -c menu.c
gcc -Wall -W -std=c99 -g -O -D_GNU_SOURCE -c misc.c
gcc -Wall -W -std=c99 -g -O -D_GNU_SOURCE -c network.c
gcc -Wall -W -std=c99 -g -O -D_GNU_SOURCE -c typespeed.c
gcc file.o menu.o misc.o network.o typespeed.o \
            -o typespeed -lncurses
make[1]: Leaving directory `/home/ryan/deb/typespeed-0.5.1'
#docbook-to-man debian/typespeed.sgml > typespeed.1
touch build-stamp
 fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/typespeed.
/usr/bin/make install DESTDIR=/home/ryan/deb/typespeed-0.5.1/debian/typespeed
make[1]: Entering directory `/home/ryan/deb/typespeed-0.5.1'
Installing. You need to be root, or have access to install dirs
... and we know that everyone can delete the highscores, but
we did not want to put setuid or setgid to typespeed yet,
because then we would have to make a user for those.
If you like to do it in that way, do it yourself.

install -s -m 755 typespeed /usr/bin
install: cannot create regular file `/usr/bin/typespeed': Permission denied
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/ryan/deb/typespeed-0.5.1'
make: *** [install] Error 2
ryan@rkavanagh:~/deb/typespeed-0.5.1$ vi Makefile
ryan@rkavanagh:~/deb/typespeed-0.5.1$ cp Makefile ../../public_html
ryan@rkavanagh:~/deb/typespeed-0.5.1$ lynx localhost/~ryan/Makefile
ryan@rkavanagh:~/deb/typespeed-0.5.1$ dpkg-buildpackage -rfakeroot
dpkg-buildpackage: source package is typespeed
dpkg-buildpackage: source version is 0.5.1-1
dpkg-buildpackage: source changed by Ryan Kavanagh <ryanakca@gmail.com>
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory `/home/ryan/deb/typespeed-0.5.1'
rm -f convert typespeed *.o high.*
make[1]: Leaving directory `/home/ryan/deb/typespeed-0.5.1'
dh_clean
 dpkg-source -b typespeed-0.5.1
dpkg-source: building typespeed using existing typespeed_0.5.1.orig.tar.gz
dpkg-source: building typespeed in typespeed_0.5.1-1.diff.gz
dpkg-source: building typespeed in typespeed_0.5.1-1.dsc
 debian/rules build
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/home/ryan/deb/typespeed-0.5.1'
gcc -Wall -W -std=c99 -g -O -D_GNU_SOURCE -o convert convert.c
gcc -DWORDDIR=\"/usr/share/typespeed\" -DHIGHDIR=\"/var/games/typespeed\" -Wall -W -std=c99 -g -O -D_GNU_SOURCE -c file.c
file.c: In function &#8216;choose_wordfile&#8217;:
file.c:211: warning: passing argument 3 of &#8216;scandir&#8217; from incompatible pointer type
file.c: In function &#8216;makescorefiles&#8217;:
file.c:647: warning: passing argument 3 of &#8216;scandir&#8217; from incompatible pointer type
gcc -Wall -W -std=c99 -g -O -D_GNU_SOURCE -c menu.c
gcc -Wall -W -std=c99 -g -O -D_GNU_SOURCE -c misc.c
gcc -Wall -W -std=c99 -g -O -D_GNU_SOURCE -c network.c
gcc -Wall -W -std=c99 -g -O -D_GNU_SOURCE -c typespeed.c
gcc file.o menu.o misc.o network.o typespeed.o \
            -o typespeed -lncurses
make[1]: Leaving directory `/home/ryan/deb/typespeed-0.5.1'
#docbook-to-man debian/typespeed.sgml > typespeed.1
touch build-stamp
 fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/typespeed.
/usr/bin/make install DESTDIR=/home/ryan/deb/typespeed-0.5.1/debian/typespeed
make[1]: Entering directory `/home/ryan/deb/typespeed-0.5.1'
Installing. You need to be root, or have access to install dirs
... and we know that everyone can delete the highscores, but
we did not want to put setuid or setgid to typespeed yet,
because then we would have to make a user for those.
If you like to do it in that way, do it yourself.

install -s -m 755 typespeed /home/ryan/deb/typespeed-0.5.1/debian/typespeed//usr/bin
install -m 755 -d /home/ryan/deb/typespeed-0.5.1/debian/typespeed//usr/share/typespeed
install -m 755 -d /home/ryan/deb/typespeed-0.5.1/debian/typespeed//var/games/typespeed
cp words.* /home/ryan/deb/typespeed-0.5.1/debian/typespeed//usr/share/typespeed
chmod 644 /home/ryan/deb/typespeed-0.5.1/debian/typespeed//usr/share/typespeed/words.*
echo /usr/share/typespeed > /home/ryan/deb/typespeed-0.5.1/debian/typespeed//etc/typespeedrc
/bin/sh: /home/ryan/deb/typespeed-0.5.1/debian/typespeed//etc/typespeedrc: No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/ryan/deb/typespeed-0.5.1'
make: *** [install] Error 2
ryan@rkavanagh:~/deb/typespeed-0.5.1$