Bug#666300: mendexk: FTBFS: kp.c:(.text+0xa): undefined reference to `kpse_set_progname'

2012-05-06 Thread Artur Rona

tags 666300 patch
thanks

Hello,

I've prepared a patch to fix this FTBFS. Replace deprecated fuction 
kpse_set_progname with newer kpse_set_program_name. If there is no 
response from maintainer, I'm going to get patch uploaded through NMU.


--
Pozdrawiam / Kind regards,
Artur Rona

--- mendexk-2.6e.orig/kp.c
+++ mendexk-2.6e/kp.c
@@ -8,7 +8,7 @@
 extern char *getenv();
 
 /* Functions in kpathsea lib. */
-extern kpse_set_progname();
+extern kpse_set_program_name();
 extern char *kpse_cnf_get();
 extern char *kpse_path_expand();
 extern char *kpse_expand_default();
@@ -23,7 +23,7 @@
 KP_init(prog)
   char *prog;
 {
-  kpse_set_progname(prog);
+  kpse_set_program_name(prog);
   return 0;
 }
 

Bug#666300: mendexk: FTBFS: kp.c:(.text+0xa): undefined reference to `kpse_set_progname'

2012-03-30 Thread Lucas Nussbaum
Source: mendexk
Version: 2.6e-3
Severity: serious
Tags: wheezy sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20120330 qa-ftbfs qa-ftbfs-buildarch
Justification: FTBFS on amd64

Hi,

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

This rebuild was done by building only architecture:any binary packages
(binary-arch target of debian/rules), and using a recent dpkg that uses the
build-arch target if available.
Also, only the Build-Depends were installed, not the Build-Depends-Indep.

Relevant part:
 cc main.o convert.o sort.o fread.o fwrite.o styfile.o pageread.o kp.o -o 
 mendex /usr/lib/libkpathsea.a
 kp.o: In function `KP_init':
 kp.c:(.text+0xa): undefined reference to `kpse_set_progname'
 collect2: ld returned 1 exit status

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/03/30/mendexk_2.6e-3_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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.



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