[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#467250: kdemultimedia: FTBFS: Fails to detect xine-lib version



Package: kdemultimedia
Version: 4:3.5.8-2
Severity: serious

From my pbuilder build log (on amd64):

...
checking for XINE-LIB version >= 1.0.0...
*** 'xine-config --version' returned 1.1.10, but XINE (-1717986919.10.1003929088)
*** was found! If xine-config was correct, then it is best
*** to remove the old version of XINE. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If xine-config was wrong, set the environment variable XINE_CONFIG
*** to point to the correct copy of xine-config, and remove the file config.cache
*** before re-running configure
no
...
dh_install -plibarts1-xine
cp: cannot stat `./debian/tmp/usr/lib/kde3/videothumbnail.la': No such file or directory
dh_install: command returned error code 256
make: *** [binary-install/libarts1-xine] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2

config.log says:

configure:42340: checking for XINE-LIB version >= 1.0.0
configure:42451: cc -o conftest -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2  -g -Wall -O2 -Wformat-security -Wmissing-format-attribute   -I/usr/include/kde -I/usr/share/qt3/include -I.  -I/usr/include/speex -I/usr/include/kde/arts  -DQT_THREAD_SUPPORT  -D_REENTRANT  conftest.c -L/usr/lib -lxine    -L/usr/share/qt3/lib     >&5
conftest.c: In function 'main':
conftest.c:125: warning: format '%d' expects type 'int', but argument 2 has type 'double'
conftest.c:125: warning: format '%d' expects type 'int', but argument 3 has type 'double'
conftest.c:125: warning: format '%d' expects type 'int', but argument 4 has type 'double'
configure:42454: $? = 0
configure:42460: ./conftest
configure:42463: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
...
| #include <xine.h>
| #include <stdio.h>
| #include <stdlib.h>
| #include <string.h>
|
| int
| main ()
| {
|   int major, minor, sub;
|    char *tmp_version;
|
|   system ("touch conf.xinetest");
|
|   /* HP/UX 9 (%@#!) writes to sscanf strings */
|   tmp_version = (char *) strdup("1.0.0");
|   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &sub) != 3) {
|      printf("%s, bad version string\n", "1.0.0");
|      exit(1);
|    }
|
|   if ((XINE_MAJOR_VERSION != 1.1) ||
|       (XINE_MINOR_VERSION != 1.1) ||
|       (XINE_SUB_VERSION != 10.1))
|     {
|       printf("\n*** 'xine-config --version' returned %d.%d.%d, but XINE (%d.%d.%d)\n",
|              1.1, 1.1, 10.1,
|              XINE_MAJOR_VERSION, XINE_MINOR_VERSION, XINE_SUB_VERSION);
|       printf ("*** was found! If xine-config was correct, then it is best\n");
|       printf ("*** to remove the old version of XINE. You may also be able to fix the error\n");
|       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|       printf("*** required on your system.\n");
|       printf("*** If xine-config was wrong, set the environment variable XINE_CONFIG\n");
|       printf("*** to point to the correct copy of xine-config, and remove the file config.cache\n");
|       printf("*** before re-running configure\n");
|     }
|   else
|     {
|       if ((XINE_MAJOR_VERSION > major) ||
|         ((XINE_MAJOR_VERSION == major) && (XINE_MINOR_VERSION > minor)) ||
|         ((XINE_MAJOR_VERSION == major) && (XINE_MINOR_VERSION == minor) && (XINE_SUB_VERSION >= sub)))
|       {
|         return 0;
|        }
|      else
|       {
|         printf("\n*** An old version of XINE (%d.%d.%d) was found.\n",
|                XINE_MAJOR_VERSION, XINE_MINOR_VERSION, XINE_SUB_VERSION);
|         printf("*** You need a version of XINE newer than %d.%d.%d. The latest version of\n",
|              major, minor, sub);
|         printf("*** XINE is always available from:\n");
|         printf("***        http://xine.sourceforge.net\n";);
|         printf("***\n");
|         printf("*** If you have already installed a sufficiently new version, this error\n");
|         printf("*** probably means that the wrong copy of the xine-config shell script is\n");
|         printf("*** being found. The easiest way to fix this is to remove the old version\n");
|         printf("*** of XINE, but you can also set the XINE_CONFIG environment to point to the\n");
|         printf("*** correct copy of xine-config. (In this case, you will have to\n");
|         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|         printf("*** so that the correct libraries are found at run-time))\n");
|       }
|     }
|   return 1;
| }
|
configure:42487: result: no

So it looks like the configure test is getting confused by
`xine-config --version' returning 1.1.10.1.
-- 
Daniel Schepler



Reply to: