aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2014-12-13 17:14:43 +0100
committerMatěj Cepl <mcepl@cepl.eu>2014-12-13 17:17:12 +0100
commitc1098b321415976df7b6fc77117046b3b515885d (patch)
treeb4e0c132b2b85ffd511d8b404a226bced47ba943
parent3d16b8dad4f3bcfe2ea4c40951bddd4b12ae4f83 (diff)
downloadpygn-c1098b321415976df7b6fc77117046b3b515885d.tar.gz
Made a build on Debian and collected a logs of that.
Also added a check target to Makefile to show what should work in future. Fixes #5
-rw-r--r--Makefile4
-rw-r--r--debian-build-log.txt198
-rw-r--r--pyg-build.tar.gzbin0 -> 208139 bytes
3 files changed, 202 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b145688..3605412 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,10 @@ install:
install *.py $(DESTDIR)/usr/lib/pyg
install *.so $(DESTDIR)/usr/lib/pyg
+check:
+ # pygm2n -TVn local.news.group < examples/mail
+ echo "Not Implemented!"
+
clean:
$(MAKE) -C $(WLPDIR) clean
rm -f *.pyc *.so
diff --git a/debian-build-log.txt b/debian-build-log.txt
new file mode 100644
index 0000000..3ef45df
--- /dev/null
+++ b/debian-build-log.txt
@@ -0,0 +1,198 @@
+dh_testdir
+/usr/bin/make bin #CFLAGS="-O2 -g -Wall"
+make[1]: Entering directory `/home/matej/build/pyg/pyg-0.9.7'
+/usr/bin/make -C wlp
+make[2]: Entering directory `/home/matej/build/pyg/pyg-0.9.7/wlp'
+/usr/bin/make -C module -f Makefile.pre.in boot
+make[3]: Entering directory `/home/matej/build/pyg/pyg-0.9.7/wlp/module'
+rm -f *.o *~
+rm -f *.a tags TAGS config.c Makefile.pre python sedscript
+rm -f *.so *.sl so_locations
+VERSION=`python -c "import sys; print sys.version[:3]"`; \
+ installdir=`python -c "import sys; print sys.prefix"`; \
+ exec_installdir=`python -c "import sys; print sys.exec_prefix"`; \
+ /usr/bin/make -f ./Makefile.pre.in VPATH=. srcdir=. \
+ VERSION=$VERSION \
+ installdir=$installdir \
+ exec_installdir=$exec_installdir \
+ Makefile
+make[4]: Entering directory `/home/matej/build/pyg/pyg-0.9.7/wlp/module'
+sed -n \
+ -e '1s/.*/1i\\/p' \
+ -e '2s%.*%# Generated automatically from Makefile.pre.in by sedscript.%p' \
+ -e '/^VERSION=/s/^VERSION=[ ]*\(.*\)/s%@VERSION[@]%\1%/p' \
+ -e '/^CC=/s/^CC=[ ]*\(.*\)/s%@CC[@]%\1%/p' \
+ -e '/^CXX=/s/^CXX=[ ]*\(.*\)/s%@CXX[@]%\1%/p' \
+ -e '/^LINKCC=/s/^LINKCC=[ ]*\(.*\)/s%@LINKCC[@]%\1%/p' \
+ -e '/^OPT=/s/^OPT=[ ]*\(.*\)/s%@OPT[@]%\1%/p' \
+ -e '/^LDFLAGS=/s/^LDFLAGS=[ ]*\(.*\)/s%@LDFLAGS[@]%\1%/p' \
+ -e '/^LDLAST=/s/^LDLAST=[ ]*\(.*\)/s%@LDLAST[@]%\1%/p' \
+ -e '/^DEFS=/s/^DEFS=[ ]*\(.*\)/s%@DEFS[@]%\1%/p' \
+ -e '/^LIBS=/s/^LIBS=[ ]*\(.*\)/s%@LIBS[@]%\1%/p' \
+ -e '/^LIBM=/s/^LIBM=[ ]*\(.*\)/s%@LIBM[@]%\1%/p' \
+ -e '/^LIBC=/s/^LIBC=[ ]*\(.*\)/s%@LIBC[@]%\1%/p' \
+ -e '/^RANLIB=/s/^RANLIB=[ ]*\(.*\)/s%@RANLIB[@]%\1%/p' \
+ -e '/^MACHDEP=/s/^MACHDEP=[ ]*\(.*\)/s%@MACHDEP[@]%\1%/p' \
+ -e '/^SO=/s/^SO=[ ]*\(.*\)/s%@SO[@]%\1%/p' \
+ -e '/^LDSHARED=/s/^LDSHARED=[ ]*\(.*\)/s%@LDSHARED[@]%\1%/p' \
+ -e '/^BLDSHARED=/s/^BLDSHARED=[ ]*\(.*\)/s%@BLDSHARED[@]%\1%/p' \
+ -e '/^CCSHARED=/s/^CCSHARED=[ ]*\(.*\)/s%@CCSHARED[@]%\1%/p' \
+ -e '/^SGI_ABI=/s/^SGI_ABI=[ ]*\(.*\)/s%@SGI_ABI[@]%\1%/p' \
+ -e '/^LINKFORSHARED=/s/^LINKFORSHARED=[ ]*\(.*\)/s%@LINKFORSHARED[@]%\1%/p' \
+ -e '/^prefix=/s/^prefix=\(.*\)/s%^prefix=.*%prefix=\1%/p' \
+ -e '/^exec_prefix=/s/^exec_prefix=\(.*\)/s%^exec_prefix=.*%exec_prefix=\1%/p' \
+ /usr/lib/python2.7/config/Makefile >sedscript
+echo "/^installdir=/s%=.*%= /usr%" >>sedscript
+echo "/^exec_installdir=/s%=.*%=/usr%" >>sedscript
+echo "/^srcdir=/s%=.*%= .%" >>sedscript
+echo "/^VPATH=/s%=.*%= .%" >>sedscript
+echo "/^LINKPATH=/s%=.*%= %" >>sedscript
+echo "/^BASELIB=/s%=.*%= %" >>sedscript
+echo "/^BASESETUP=/s%=.*%= %" >>sedscript
+if grep 's%@DEFS' sedscript >/dev/null 2>&1; then \
+ :; \
+ else \
+ echo "s%@DEFS[@]%%" >>sedscript; \
+ fi
+sed -f sedscript ./Makefile.pre.in >Makefile.pre
+cp ./Setup.in Setup
+/usr/lib/python2.7/config/makesetup \
+ -m Makefile.pre -c /usr/lib/python2.7/config/config.c.in Setup -n /usr/lib/python2.7/config/Setup.config /usr/lib/python2.7/config/Setup.local /usr/lib/python2.7/config/Setup
+/usr/bin/make -f Makefile do-it-again
+make[5]: Entering directory `/home/matej/build/pyg/pyg-0.9.7/wlp/module'
+/usr/lib/python2.7/config/makesetup \
+ -m Makefile.pre -c /usr/lib/python2.7/config/config.c.in Setup -n /usr/lib/python2.7/config/Setup.config /usr/lib/python2.7/config/Setup.local /usr/lib/python2.7/config/Setup
+make[5]: Leaving directory `/home/matej/build/pyg/pyg-0.9.7/wlp/module'
+make[4]: Leaving directory `/home/matej/build/pyg/pyg-0.9.7/wlp/module'
+make[3]: Leaving directory `/home/matej/build/pyg/pyg-0.9.7/wlp/module'
+/usr/bin/make -C C archive
+make[3]: Entering directory `/home/matej/build/pyg/pyg-0.9.7/wlp/C'
+gcc -fPIC -Wall -ansi -c structs.c -o structs.o
+bison -d -d commands.y -b commands
+gcc -fPIC -c commands.tab.c -o commands.tab.o
+commands.y: In function ‘yyparse’:
+commands.y:49:4: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
+commands.y:49:42: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
+commands.y:56:4: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
+commands.y:56:41: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
+commands.y:63:4: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
+commands.y:63:42: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
+commands.y: In function ‘found’:
+commands.y:91:2: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
+commands.y:91:28: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
+flex commands.l
+gcc -fPIC -c lex.yy.c -o lex.yy.o
+ar -rs ./wlp.a structs.o commands.tab.o lex.yy.o \
+ /usr/lib/libfl.a
+ar: creating ./wlp.a
+make[3]: Leaving directory `/home/matej/build/pyg/pyg-0.9.7/wlp/C'
+/usr/bin/make -C module
+make[3]: Entering directory `/home/matej/build/pyg/pyg-0.9.7/wlp/module'
+gcc -pthread -fPIC -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -I/usr/include/python2.7 -I/usr/include/python2.7 -c ../C/wlp.c -o ./wlp.o
+../C/wlp.c: In function ‘wlp_setfilebyname’:
+../C/wlp.c:40:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
+../C/wlp.c: In function ‘wlp_mkdict’:
+../C/wlp.c:93:3: warning: implicit declaration of function ‘parse’ [-Wimplicit-function-declaration]
+../C/wlp.c: At top level:
+../C/wlp.c:181:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
+../C/wlp.c:154:18: warning: ‘node2dict2’ defined but not used [-Wunused-function]
+gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions ./wlp.o ../C/wlp.a -o ./wlp.so
+make[3]: Leaving directory `/home/matej/build/pyg/pyg-0.9.7/wlp/module'
+chmod 0644 module/*.so
+mv module/*.so ..
+make[2]: Leaving directory `/home/matej/build/pyg/pyg-0.9.7/wlp'
+make[1]: Leaving directory `/home/matej/build/pyg/pyg-0.9.7'
+touch build-stamp
+dh_testdir
+dh_testroot
+dh_clean -k
+dh_clean: dh_clean -k is deprecated; use dh_prep instead
+dh_clean: No compatibility level specified in debian/compat
+dh_clean: This package will soon FTBFS; time to fix it!
+dh_clean: Compatibility levels before 5 are deprecated (level 4 in use)
+dh_installdirs
+dh_installdirs: No compatibility level specified in debian/compat
+dh_installdirs: This package will soon FTBFS; time to fix it!
+dh_installdirs: Compatibility levels before 5 are deprecated (level 4 in use)
+/usr/bin/make install DESTDIR=/home/matej/build/pyg/pyg-0.9.7/debian/pyg
+make[1]: Entering directory `/home/matej/build/pyg/pyg-0.9.7'
+install pygm2n pygn2m /home/matej/build/pyg/pyg-0.9.7/debian/pyg/usr/bin
+install *.py /home/matej/build/pyg/pyg-0.9.7/debian/pyg/usr/lib/pyg
+install *.so /home/matej/build/pyg/pyg-0.9.7/debian/pyg/usr/lib/pyg
+make[1]: Leaving directory `/home/matej/build/pyg/pyg-0.9.7'
+dh_testdir
+dh_testroot
+dh_testdir
+dh_testroot
+dh_installdirs
+dh_installdirs: No compatibility level specified in debian/compat
+dh_installdirs: This package will soon FTBFS; time to fix it!
+dh_installdirs: Compatibility levels before 5 are deprecated (level 4 in use)
+dh_installchangelogs
+dh_installchangelogs: No compatibility level specified in debian/compat
+dh_installchangelogs: This package will soon FTBFS; time to fix it!
+dh_installchangelogs: Compatibility levels before 5 are deprecated (level 4 in use)
+dh_installdocs
+dh_installdocs: No compatibility level specified in debian/compat
+dh_installdocs: This package will soon FTBFS; time to fix it!
+dh_installdocs: Compatibility levels before 5 are deprecated (level 4 in use)
+dh_installmanpages
+dh_installmanpages: This program is deprecated, switch to dh_installman.
+dh_installmanpages: No compatibility level specified in debian/compat
+dh_installmanpages: This package will soon FTBFS; time to fix it!
+dh_installmanpages: Compatibility levels before 5 are deprecated (level 4 in use)
+# these are class modules, they don't need manpages,
+# undocumented link means I'm planning to document them.
+#dh_undocumented whitelist.py.3 news2mail.py.3 mail2news.py.3 pyginfo.py.3
+dh_installexamples
+dh_installexamples: No compatibility level specified in debian/compat
+dh_installexamples: This package will soon FTBFS; time to fix it!
+dh_installexamples: Compatibility levels before 5 are deprecated (level 4 in use)
+dh_fixperms
+dh_fixperms: No compatibility level specified in debian/compat
+dh_fixperms: This package will soon FTBFS; time to fix it!
+dh_fixperms: Compatibility levels before 5 are deprecated (level 4 in use)
+# dh_fixperms doesn't fix perms in /usr/lib subdirs
+chmod 0644 /home/matej/build/pyg/pyg-0.9.7/debian/pyg/usr/lib/pyg/*.py
+# make sure pyg executables have right permission
+chmod 0755 /home/matej/build/pyg/pyg-0.9.7/debian/pyg/usr/bin/pygn2m
+chmod 0755 /home/matej/build/pyg/pyg-0.9.7/debian/pyg/usr/bin/pygm2n
+# dh_fixperms doesn't fix perms in /usr/share/doc subdirs
+find /home/matej/build/pyg/pyg-0.9.7/debian/pyg/usr/share/doc/pyg -type d -exec chmod 0755 {} \;
+dh_pysupport
+dh_pysupport: This program is deprecated, you should use dh_python2 instead. Migration guide: http://deb.li/dhs2p
+dh_pysupport: No compatibility level specified in debian/compat
+dh_pysupport: This package will soon FTBFS; time to fix it!
+dh_pysupport: Compatibility levels before 5 are deprecated (level 4 in use)
+dh_strip
+dh_strip: No compatibility level specified in debian/compat
+dh_strip: This package will soon FTBFS; time to fix it!
+dh_strip: Compatibility levels before 5 are deprecated (level 4 in use)
+dh_compress
+dh_compress: No compatibility level specified in debian/compat
+dh_compress: This package will soon FTBFS; time to fix it!
+dh_compress: Compatibility levels before 5 are deprecated (level 4 in use)
+dh_installdeb
+dh_installdeb: No compatibility level specified in debian/compat
+dh_installdeb: This package will soon FTBFS; time to fix it!
+dh_installdeb: Compatibility levels before 5 are deprecated (level 4 in use)
+dh_shlibdeps
+dh_shlibdeps: No compatibility level specified in debian/compat
+dh_shlibdeps: This package will soon FTBFS; time to fix it!
+dh_shlibdeps: Compatibility levels before 5 are deprecated (level 4 in use)
+dh_gencontrol
+dh_gencontrol: No compatibility level specified in debian/compat
+dh_gencontrol: This package will soon FTBFS; time to fix it!
+dh_gencontrol: Compatibility levels before 5 are deprecated (level 4 in use)
+dh_md5sums
+dh_md5sums: No compatibility level specified in debian/compat
+dh_md5sums: This package will soon FTBFS; time to fix it!
+dh_md5sums: Compatibility levels before 5 are deprecated (level 4 in use)
+dh_builddeb
+dh_builddeb: No compatibility level specified in debian/compat
+dh_builddeb: This package will soon FTBFS; time to fix it!
+dh_builddeb: Compatibility levels before 5 are deprecated (level 4 in use)
+dpkg-deb: vytvářím balík „pyg“ v „../pyg_0.9.7_amd64.deb“.
+dh_builddeb: No compatibility level specified in debian/compat
+dh_builddeb: This package will soon FTBFS; time to fix it!
+dh_builddeb: Compatibility levels before 5 are deprecated (level 4 in use)
diff --git a/pyg-build.tar.gz b/pyg-build.tar.gz
new file mode 100644
index 0000000..2d4772e
--- /dev/null
+++ b/pyg-build.tar.gz
Binary files differ