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

Bug#241249: marked as done (libxcursor-dev: unexpanded autoconf symbols in xcursor.pc prevent other packages from building)



Your message dated Mon, 19 Apr 2004 17:17:22 -0400
with message-id <E1BFg8o-00075y-00@newraff.debian.org>
and subject line Bug#241249: fixed in xcursor 1.1.3-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 31 Mar 2004 14:39:40 +0000
>From herzi@gnome-de.org Wed Mar 31 06:39:40 2004
Return-path: <herzi@gnome-de.org>
Received: from mail-out02.broadnet-mediascape.de [62.206.1.19] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1B8gsV-0006DX-00; Wed, 31 Mar 2004 06:39:39 -0800
Received: (qmail 310 invoked by uid 113); 31 Mar 2004 14:39:37 -0000
Received: from herzi@shaun by mail-out02 by uid 106 with qmail-scanner-1.20rc3 
 ( Clear:RC:1:. 
 Processed in 0.358541 secs); 31 Mar 2004 14:39:37 -0000
X-Qmail-Scanner-Mail-From: herzi@shaun via mail-out02
X-Qmail-Scanner: 1.20rc3 (Clear:RC:1:. Processed in 0.358541 secs)
Received: from kiwi.mediascape.de (HELO shaun) (62.8.232.10)
  by mail-out02.broadnet-mediascape.de with SMTP; 31 Mar 2004 14:39:36 -0000
Received: from herzi by shaun with local (Exim 3.36 #1 (Debian))
	id 1B8gf2-0004SL-00; Wed, 31 Mar 2004 16:25:44 +0200
Content-Type: multipart/mixed; boundary="===============0572985231=="
MIME-Version: 1.0
From: Sven Herzberg <herzi@gnome-de.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libxcursor-dev: Errorneous xconfig.pc prevents other packages from
 successful compilation
X-Mailer: reportbug 2.54
Date: Wed, 31 Mar 2004 16:25:44 +0200
Message-Id: <E1B8gf2-0004SL-00@shaun>
Sender: Sven Herzberg <herzi@shaun>
X-BadReturnPath: herzi@shaun rewritten as herzi@gnome-de.org
  using "From" header
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============0572985231==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: libxcursor-dev
Version: 1.0.2-5
Severity: normal
Tags: patch

Get gcursor from
http://download.qballcow.nl/programs/gcursor/gcursor-0.04.tar.gz

Extract it, configure and make:

make will fail like this:

--
herzi@shaun:~/Hacking/Debian/gcursor-0.04$ LC_ALL=C make
Making all in src
make[1]: Entering directory
`/home/herzi/Hacking/Debian/gcursor-0.04/src'
if i386-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"gcursor\" -DVERSION=\"0.04\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1  -I. -I.    -pthread -DORBIT2=1
@X_CFLAGS@ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0
-I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/libxml2
-I/usr/include/libglade-2.0   -Wall
-DGLADE_PATH=\""/usr/share/gcursor/"\" -Wall -g -O2 -MT gcursor.o -MD
-MP -MF ".deps/gcursor.Tpo" \
  -c -o gcursor.o `test -f 'gcursor.c' || echo './'`gcursor.c; \
then mv -f ".deps/gcursor.Tpo" ".deps/gcursor.Po"; \
else rm -f ".deps/gcursor.Tpo"; exit 1; \
fi
i386-linux-gcc: cannot specify -o with -c or -S and multiple
compilations
make[1]: *** [gcursor.o] Error 1
make[1]: Leaving directory
`/home/herzi/Hacking/Debian/gcursor-0.04/src'
make: *** [all-recursive] Error 1
herzi@shaun:~/Hacking/Debian/gcursor-0.04$
--

If one takes a close look one can see a line beginning @X_CFLAGS@ above.
This is an error in /usr/lib/pkgconfig/xcursor.pc which looks like this:

--
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
xrenderlibs=-L/usr/X11R6/lib -lXrender -lX11
xrendercflags=-I/usr/X11R6/include
xlibs=@X_LIBS@
xcflags=@X_CFLAGS@
 
Name: Xcursor
Description: X Cursor Library
Version: 1.0.2
Requires: xrender
Cflags: -I${includedir} ${xrendercflags} ${xcflags}
Libs: -L${libdir} -lXcursor ${xrenderlibs} ${xlibs}
--

xlibs and xcflags are already included in xrenderlibs and xrendercflags,
so xlibs and xcflags can be safely set empty. This is an upstream bug in
the configure.ac file that can be fixed using the attached patch.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.3-shaun
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages libxcursor-dev depends on:
ii  libc6-dev [libc-dev]        2.3.2.ds1-11 GNU C Library: Development Librari
ii  libx11-dev                  4.3.0-7      X Window System protocol client li
ii  libxcursor1                 1.0.2-5      X Cursor management library
ii  libxrender-dev              0.8.3-7      X Rendering Extension client libra
ii  x-dev                       4.3.0-7      X protocol development files

-- no debconf information

--===============0572985231==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="xcursor.patch"

--- xcursor-1.0.2/configure.ac	2004-03-31 16:06:16.000000000 +0200
+++ xcursor-fixed/configure.ac	2004-03-31 15:48:53.000000000 +0200
@@ -86,6 +86,12 @@
 		;;
 	esac
         ;;
+yes)
+	X_LIBS=""
+	X_CFLAGS=""
+	AC_SUBST(X_LIBS)
+	AC_SUBST(X_CFLAGS)
+	;;
 esac
 
 AC_SUBST(RENDER_CFLAGS)

--===============0572985231==--

---------------------------------------
Received: (at 241249-close) by bugs.debian.org; 19 Apr 2004 21:23:01 +0000
>From katie@ftp-master.debian.org Mon Apr 19 14:23:01 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BFgEH-0001uY-00; Mon, 19 Apr 2004 14:23:01 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BFg8o-00075y-00; Mon, 19 Apr 2004 17:17:22 -0400
From: Branden Robinson <branden@debian.org>
To: 241249-close@bugs.debian.org
X-Katie: $Revision: 1.48 $
Subject: Bug#241249: fixed in xcursor 1.1.3-1
Message-Id: <E1BFg8o-00075y-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 19 Apr 2004 17:17:22 -0400
Delivered-To: 241249-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

Source: xcursor
Source-Version: 1.1.3-1

We believe that the bug you reported is fixed in the latest version of
xcursor, which is due to be installed in the Debian FTP archive:

libxcursor-dev_1.1.3-1_powerpc.deb
  to pool/main/x/xcursor/libxcursor-dev_1.1.3-1_powerpc.deb
libxcursor1-dbg_1.1.3-1_powerpc.deb
  to pool/main/x/xcursor/libxcursor1-dbg_1.1.3-1_powerpc.deb
libxcursor1_1.1.3-1_powerpc.deb
  to pool/main/x/xcursor/libxcursor1_1.1.3-1_powerpc.deb
xcursor_1.1.3-1.diff.gz
  to pool/main/x/xcursor/xcursor_1.1.3-1.diff.gz
xcursor_1.1.3-1.dsc
  to pool/main/x/xcursor/xcursor_1.1.3-1.dsc
xcursor_1.1.3.orig.tar.gz
  to pool/main/x/xcursor/xcursor_1.1.3.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 241249@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Branden Robinson <branden@debian.org> (supplier of updated xcursor package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 19 Apr 2004 15:39:41 -0500
Source: xcursor
Binary: libxcursor1-dbg libxcursor-dev libxcursor1
Architecture: source powerpc
Version: 1.1.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Branden Robinson <branden@debian.org>
Description: 
 libxcursor-dev - X cursor management library (development files)
 libxcursor1 - X cursor management library
 libxcursor1-dbg - X cursor management library (unstripped)
Closes: 241249
Changes: 
 xcursor (1.1.3-1) unstable; urgency=medium
 .
   * Urgency due to fix for release-critical bug.
 .
   * New upstream version.
     + Invokes AC_SUBST() on X_CFLAGS and X_LIBS, unbreaking xcursor.pc file.
       (Closes: #241249)
 .
   * Add versioning to libxcursor1's shlibs information, since Xcursor 1.1.2
     added a member to the XcursorImages structure and added the
     XcursorImagesSetName() and XcursorLibraryPath() functions.
 .
   * Disable upstream autoconf check for the XFIXES library, as this library is
     not packaged for Debian yet, and upstream supports no option to the
     configure script to avoid checking (neverthless, the source is designed to
     be buildable without it).  Regenerate related files with autogen.sh
     script.
 .
   * Modify AC_PATH_XTRA invocation to take advantage of Debian's enhancements
     (from autoconf 2.59-3); don't use the macro's defaults, which look for the
     Xt library which we don't use.  Instead search for the X11 library, the
     Xlib.h header file, and the XInternAtom() function, all of which are
     actually used by the Xcursor library.  Regenerate related files with the
     autogen.sh script.
 .
   * Update config.guess, config.sub, and ltmain.sh with libtoolize --force
     --copy.
 .
   * Update package descriptions.
Files: 
 dc6f4affbb2ab88fbef6369432e5d7e0 812 devel optional xcursor_1.1.3-1.dsc
 429a33f81d222ef6300f7cc4d146641f 31625 devel optional xcursor_1.1.3.orig.tar.gz
 0cd98ece39b11b9d0e861275ee78e36f 289195 devel optional xcursor_1.1.3-1.diff.gz
 c4cd423d2cb7c645cd594a67e1ceccec 25870 libs optional libxcursor1_1.1.3-1_powerpc.deb
 aa4f3d088e204551db0a96b0067b2770 123752 libdevel extra libxcursor1-dbg_1.1.3-1_powerpc.deb
 2102764971c08944336b266213edaeda 33554 libdevel optional libxcursor-dev_1.1.3-1_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iEYEARECAAYFAkCEPgMACgkQ6kxmHytGonzCzQCeIYQn31kzodv5v28+dLNZBcFe
2SIAoJ8/w5iRLB7JrQpNNhCjfjJoUivQ
=GZiH
-----END PGP SIGNATURE-----



Reply to: