Bug#741767: gretl: FTBFS: complete.c:129:41: error: 'CPPFunction' undeclared (first use in this function)

2014-03-18 Thread Dirk Eddelbuettel

On 16 March 2014 at 16:14, Allin Cottrell wrote:
| On Sun, 16 Mar 2014, Dirk Eddelbuettel wrote:
| 
|  Here is a fresh Debian bug report. It looks like that the bleeding edge
|  changed things -- in this case readline apparently had and no longer has
|  CPPFunction defined.
| 
| Yep, that disappeared in readline 6.3. Gretl CVS is already up to date 
| with the change. We should probably do a release before long.

Or else direct me to / help me to a patch that does the same?  Else gretl
risk being tossed out of the archive for 'being unable to build' :-/

Release sounds good though.

Dirk

-- 
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#741767: gretl: FTBFS: complete.c:129:41: error: 'CPPFunction' undeclared (first use in this function)

2014-03-18 Thread Riccardo (Jack) Lucchetti

On Tue, 18 Mar 2014, Dirk Eddelbuettel wrote:



On 16 March 2014 at 16:14, Allin Cottrell wrote:
| On Sun, 16 Mar 2014, Dirk Eddelbuettel wrote:
|
|  Here is a fresh Debian bug report. It looks like that the bleeding edge
|  changed things -- in this case readline apparently had and no longer has
|  CPPFunction defined.
|
| Yep, that disappeared in readline 6.3. Gretl CVS is already up to date
| with the change. We should probably do a release before long.

Or else direct me to / help me to a patch that does the same?  Else gretl
risk being tossed out of the archive for 'being unable to build' :-/


Possibly, the following may be enough; could you please check?

--- complete.c  2007/08/22 15:10:47 1.12
+++ complete.c  2014/03/08 19:29:10 1.13
@@ -126,6 +126,6 @@
 rl_readline_name = gretl;

 /* Tell the completer that we want a crack first. */
-rl_attempted_completion_function = (CPPFunction *) gretl_completion;
+rl_attempted_completion_function = (rl_completion_func_t *) 
gretl_completion;
 }



Release sounds good though.


This should happen fairly soon, methinks.

---
  Riccardo (Jack) Lucchetti
  Dipartimento di Scienze Economiche e Sociali (DiSES)

  Università Politecnica delle Marche
  (formerly known as Università di Ancona)

  r.lucche...@univpm.it
  http://www2.econ.univpm.it/servizi/hpp/lucchetti
---

Bug#741767: gretl: FTBFS: complete.c:129:41: error: 'CPPFunction' undeclared (first use in this function)

2014-03-18 Thread Allin Cottrell

On Tue, 18 Mar 2014, Dirk Eddelbuettel wrote:



On 16 March 2014 at 16:14, Allin Cottrell wrote:
| On Sun, 16 Mar 2014, Dirk Eddelbuettel wrote:
|
|  Here is a fresh Debian bug report. It looks like that the bleeding edge
|  changed things -- in this case readline apparently had and no longer has
|  CPPFunction defined.
|
| Yep, that disappeared in readline 6.3. Gretl CVS is already up to date
| with the change. We should probably do a release before long.

Or else direct me to / help me to a patch that does the same?  Else gretl
risk being tossed out of the archive for 'being unable to build' :-/

Release sounds good though.


We'll try to get to a release soon, but in the meantime see

http://gretl.cvs.sourceforge.net/viewvc/gretl/gretl/cli/complete.c?r1=1.12r2=1.13view=patch

for the relevant patch (a simple one-liner).

--
Allin Cottrell
Department of Economics
Wake Forest University, NC


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#741767: gretl: FTBFS: complete.c:129:41: error: 'CPPFunction' undeclared (first use in this function)

2014-03-18 Thread Dirk Eddelbuettel

On 18 March 2014 at 13:05, Riccardo (Jack) Lucchetti wrote:
| On Tue, 18 Mar 2014, Dirk Eddelbuettel wrote:
| 
| 
|  On 16 March 2014 at 16:14, Allin Cottrell wrote:
|  | On Sun, 16 Mar 2014, Dirk Eddelbuettel wrote:
|  |
|  |  Here is a fresh Debian bug report. It looks like that the bleeding edge
|  |  changed things -- in this case readline apparently had and no longer has
|  |  CPPFunction defined.
|  |
|  | Yep, that disappeared in readline 6.3. Gretl CVS is already up to date
|  | with the change. We should probably do a release before long.
| 
|  Or else direct me to / help me to a patch that does the same?  Else gretl
|  risk being tossed out of the archive for 'being unable to build' :-/
| 
| Possibly, the following may be enough; could you please check?
| 
| --- complete.c2007/08/22 15:10:47 1.12
| +++ complete.c2014/03/08 19:29:10 1.13
| @@ -126,6 +126,6 @@
|   rl_readline_name = gretl;
| 
|   /* Tell the completer that we want a crack first. */
| -rl_attempted_completion_function = (CPPFunction *) gretl_completion;
| +rl_attempted_completion_function = (rl_completion_func_t *) 
gretl_completion;
|   }
| 

Awesome. Exactly what I needed.

Thanks!

Dirk

| 
|  Release sounds good though.
| 
| This should happen fairly soon, methinks.
| 
| ---
|Riccardo (Jack) Lucchetti
|Dipartimento di Scienze Economiche e Sociali (DiSES)
| 
|Università Politecnica delle Marche
|(formerly known as Università di Ancona)
| 
|r.lucche...@univpm.it
|http://www2.econ.univpm.it/servizi/hpp/lucchetti
| ---
-- 
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#741767: gretl: FTBFS: complete.c:129:41: error: 'CPPFunction' undeclared (first use in this function)

2014-03-16 Thread David Suárez
Source: gretl
Version: 1.9.14-2
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20140315 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

On new readline versions old-style function typedefs have been deprecated.

Relevant part (hopefully):
 gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
 -Werror=format-security -D_REENTRANT -I.. -I.. -I../lib/src  
 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   
 -DLOCALEDIR=\/usr/share/locale\ -DHAVE_CONFIG_H complete.c
 complete.c: In function 'initialize_readline':
 complete.c:129:41: error: 'CPPFunction' undeclared (first use in this 
 function)
  rl_attempted_completion_function = (CPPFunction *) gretl_completion;
  ^
 complete.c:129:41: note: each undeclared identifier is reported only once for 
 each function it appears in
 complete.c:129:54: error: expected expression before ')' token
  rl_attempted_completion_function = (CPPFunction *) gretl_completion;
   ^
 make[2]: *** [complete.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/03/15/gretl_1.9.14-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org