Your message dated Tue, 14 Feb 2017 19:18:14 +0000
with message-id <[email protected]>
and subject line Bug#854760: Removed package(s) from unstable
has caused the Debian Bug report #813817,
regarding src:pyg: FTBFS on ppc64el
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
813817: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813817
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:pyg
Version: 0.9.8
Severity: normal
Tags: patch

Dear Maintainer,

While trying to build the package on ppc64el, it failed:

make[4]: Entering directory '/root/pyg-0.9.8/wlp/module'
make[4]: *** No rule to make target '/usr/lib/python2.7/config/Makefile', 
needed by 'sedscript'.  Stop.
make[4]: Leaving directory '/root/pyg-0.9.8/wlp/module'
Makefile.pre.in:295: recipe for target 'boot' failed
make[3]: *** [boot] Error 2

In Ubuntu, a similiar patch than the one provided was applied to achieve the 
following:
  * Fix build failure with python in multiarch location.
  * adapt /wlp/C/Makefile for multiarched libfl.a
  * include required string.h in wlp/C/commands.l

Thanks for considering the patch.

Erwan Prioul.


diff -Naur a/wlp/C/commands.l b/wlp/C/commands.l
--- a/wlp/C/commands.l	2016-02-05 15:03:38.516765954 +0100
+++ b/wlp/C/commands.l	2016-02-05 15:29:23.808118531 +0100
@@ -4,6 +4,7 @@
 #include "commands.tab.h"
 /*#define DEBUG*/
 #include "macro.h"
+#include <string.h>
 %}
 
 OWNER "<"[a-zA-Z0-9_.+-]+@[a-zA-Z0-9._-]+">"
diff -Naur a/wlp/C/Makefile b/wlp/C/Makefile
--- a/wlp/C/Makefile	2016-02-05 15:03:38.512765955 +0100
+++ b/wlp/C/Makefile	2016-02-05 15:29:23.808118531 +0100
@@ -17,21 +17,23 @@
 SRCDIR=.
 BINDIR=.
 
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
 OBJFILE=structs.o commands.tab.o lex.yy.o
 
 all: archive bin
 
 # archive file for python module
-archive: structs bison flex  /usr/lib/libfl.a macro.h structs.h commands.tab.h
+archive: structs bison flex  macro.h structs.h commands.tab.h
 	$(AR) $(AROPTS)  $(BINDIR)/wlp.a $(OBJFILE) \
-		/usr/lib/libfl.a
+		/usr/lib/$(DEB_HOST_MULTIARCH)/libfl.a
 
 # binary (executable) file for testing
 executable: bin
 
-bin: structs bison flex  /usr/lib/libfl.a macro.h structs.h commands.tab.h
+bin: structs bison flex  macro.h structs.h commands.tab.h
 	$(CC) $(CCSHARED) $(CCOPTS) $(OBJFILE) \
-		yytest.c /usr/lib/libfl.a -o ./yytest
+		yytest.c /usr/lib/$(DEB_HOST_MULTIARCH)/libfl.a -o ./yytest
 
 flex:
 	$(FLEX) $(FLEXOPTS) commands.l
diff -Naur a/wlp/module/Makefile.pre.in b/wlp/module/Makefile.pre.in
--- a/wlp/module/Makefile.pre.in	2016-02-05 15:03:38.520765953 +0100
+++ b/wlp/module/Makefile.pre.in	2016-02-05 15:29:23.808118531 +0100
@@ -166,6 +166,7 @@
 DESTSHARED=	$(BINLIBDEST)/site-packages
 
 LIBPL=		$(LIBP)/config
+LIBPL=		$(shell python$(VERSION)-config --configdir)
 
 PYTHONLIBS=	$(LIBPL)/libpython$(VERSION).a
 

--- End Message ---
--- Begin Message ---
Version: 0.9.8+rm

Dear submitter,

as the package pyg has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/854760

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to