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

Bug#372129: libsm-dev: Should have a versioned dependency to libice-dev



Package: libsm-dev
Version: 1:1.0.0-4
Severity: normal

Hello,

I was trying to recompile gkrellm in testing and I received the
following error:

$ dpkg-buildpackage -us -uc -rfakeroot
dpkg-buildpackage: source package is gkrellm
dpkg-buildpackage: source version is 2.2.9-1
dpkg-buildpackage: source changed by Cai Qian <caiqian@debian.org>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 2.2.9-1
 fakeroot debian/rules clean

[...]

cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\"    -c -o utils.o utils.c
cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0`   -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\"    -c -o winops-x11.o winops-x11.c
In file included from winops-x11.c:35:
/usr/include/X11/SM/SMlib.h:37:28: error: X11/ICE/ICElib.h: Aucun fichier ou répertoire de ce type
In file included from winops-x11.c:35:
/usr/include/X11/SM/SMlib.h:44: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:61: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:68: error: syntax error before 'SmPropValue'
/usr/include/X11/SM/SMlib.h:91: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:100: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:105: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:110: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:115: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:120: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:125: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:139: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:144: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:149: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:154: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:157: error: syntax error before '}' token
/usr/include/X11/SM/SMlib.h:172: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:178: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:184: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:190: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:200: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:205: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:211: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:218: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:225: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:232: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:244: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:249: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:254: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:259: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:264: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:269: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:274: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:279: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:284: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:289: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:292: error: syntax error before '}' token
/usr/include/X11/SM/SMlib.h:310: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:329: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:339: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:352: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:372: error: syntax error before 'SmcCallbacks'
/usr/include/X11/SM/SMlib.h:378: error: syntax error before 'SmProp'
/usr/include/X11/SM/SMlib.h:390: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:397: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:417: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:445: error: syntax error before 'SmcGetIceConnection'
/usr/include/X11/SM/SMlib.h:453: error: syntax error before 'SmPointer'
/usr/include/X11/SM/SMlib.h:503: error: syntax error before 'SmProp'
/usr/include/X11/SM/SMlib.h:522: error: syntax error before 'SmsGetIceConnection'
/usr/include/X11/SM/SMlib.h:535: error: syntax error before '*' token
winops-x11.c:57: error: syntax error before 'SmPointer'
winops-x11.c: In function 'cb_smc_save_yourself':
winops-x11.c:61: error: 'smc_conn' undeclared (first use in this function)
winops-x11.c:61: error: (Each undeclared identifier is reported only once
winops-x11.c:61: error: for each function it appears in.)
winops-x11.c: At top level:
winops-x11.c:65: error: syntax error before 'SmPointer'
winops-x11.c: In function 'cb_smc_die':
winops-x11.c:67: error: 'smc_conn' undeclared (first use in this function)
winops-x11.c: At top level:
winops-x11.c:72: error: syntax error before 'SmPointer'
winops-x11.c:77: error: syntax error before 'SmPointer'
winops-x11.c:82: error: syntax error before 'ice_connection'
winops-x11.c: In function 'cb_ice_connection_messages':
winops-x11.c:85: warning: implicit declaration of function 'IceProcessMessages'
winops-x11.c:85: error: 'ice_connection' undeclared (first use in this function)
winops-x11.c: In function 'smc_connect':
winops-x11.c:91: error: syntax error before 'userid'
winops-x11.c:95: error: 'callbacks' undeclared (first use in this function)
winops-x11.c:97: error: 'IceConn' undeclared (first use in this function)
winops-x11.c:97: error: syntax error before 'ice_connection'
winops-x11.c:106: error: syntax error before ')' token
winops-x11.c:129: error: 'userid' undeclared (first use in this function)
winops-x11.c:132: error: 'userid_val' undeclared (first use in this function)
winops-x11.c:141: error: 'pid' undeclared (first use in this function)
winops-x11.c:144: error: 'pid_val' undeclared (first use in this function)
winops-x11.c:146: error: syntax error before 'pid_str'
winops-x11.c:149: error: 'restart' undeclared (first use in this function)
winops-x11.c:151: error: syntax error before ')' token
winops-x11.c:155: error: syntax error before 'argv'
winops-x11.c:160: error: syntax error before string constant
winops-x11.c:162: error: syntax error before 'client_id'
winops-x11.c:167: error: 'restart_style' undeclared (first use in this function)
winops-x11.c:170: error: 'restart_style_val' undeclared (first use in this function)
winops-x11.c:174: error: 'clone' undeclared (first use in this function)
winops-x11.c:179: error: 'program' undeclared (first use in this function)
winops-x11.c:184: error: 'props' undeclared (first use in this function)
winops-x11.c:199: error: 'ice_connection' undeclared (first use in this function)
winops-x11.c:200: warning: implicit declaration of function 'IceConnectionNumber'
make[2]: *** [winops-x11.o] Erreur 1
make[2]: quittant le répertoire « /home/fred/perso/debian/gkrellm/gkrellm-2.2.9/src »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /home/fred/perso/debian/gkrellm/gkrellm-2.2.9 »
make: *** [build-stamp] Erreur 2
$

The policies for libsm-dev and libice-dev are currently in testing:

$ apt-cache policy libsm-dev libice-dev
libsm-dev:
  Installé : 1:1.0.0-4
  Candidat : 1:1.0.0-4
 Table de version :
 *** 1:1.0.0-4 0
        500 http://ftp.fr.debian.org testing/main Packages
        200 http://ftp.fr.debian.org unstable/main Packages
        100 /var/lib/dpkg/status
libice-dev:
  Installé : 6.9.0.dfsg.1-6
  Candidat : 6.9.0.dfsg.1-6
 Table de version :
     1:1.0.0-3 0
        200 http://ftp.fr.debian.org unstable/main Packages
 *** 6.9.0.dfsg.1-6 0
        500 http://ftp.fr.debian.org testing/main Packages
        100 /var/lib/dpkg/status
$

The libice-dev version 1:1.0.0-4 does not work with libice-dev version
6.9.0.dfsg.1-6 because of the changed paths (/usr/include/X11/
vs. /usr/X11R6/include/X11) and the lack of a runtime dependency
between -dev packages.

(BTW thanks a lot for the great work in packaging X.org 7, I have
upgraded 2 machines running testing and it worked like a charm.)

Greetings,


Fred

PS : I had to edit the error log due to encoding problems. If you want a
clean error trace, I can regerenate it with LANG=C.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing-proposed-updates
  APT policy: (900, 'testing-proposed-updates'), (500, 'testing'), (200, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.18
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages libsm-dev depends on:
ii  libice-dev                6.9.0.dfsg.1-6 Inter-Client Exchange library deve
ii  libsm6                    1:1.0.0-4      X11 Session Management library
ii  x11-common                1:7.0.20       X Window System (X.Org) infrastruc
ii  x11proto-core-dev         7.0.4-3        X11 core wire protocol and auxilia

libsm-dev recommends no packages.

-- no debconf information



Reply to: