GNU bug report logs -
#6864
24.0.50; ld: duplicate symbol _QPRIMARY in keyboard.o and xselect.o
Previous Next
Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Date: Sun, 15 Aug 2010 21:37:01 UTC
Severity: normal
Found in version 24.0.50
Done: Jan Djärv <jan.h.d <at> swipnet.se>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6864 in the body.
You can then email your comments to 6864 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6864
; Package
emacs
.
(Sun, 15 Aug 2010 21:37:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 15 Aug 2010 21:37:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello!
Compilation of the X client (Xaw3d) fails with the message cited in
the subject.
pete 234 /\ l src/{xselect.c,keyboard.c}
-rw-r--r-- 1 pete admin 383764 15. Aug 20:46 src/keyboard.c
-rw-r--r-- 1 pete admin 94275 15. Aug 20:46 src/xselect.c
pete 235 /\ grep -n QPRIMARY src/{xselect.c,keyboard.c}
src/xselect.c:110:Lisp_Object QPRIMARY, QSECONDARY, QSTRING, QINTEGER,
QCLIPBOARD, QTIMESTAMP,
src/xselect.c:257: if (EQ (sym, QPRIMARY)) return XA_PRIMARY;
src/xselect.c:309: return QPRIMARY;
src/xselect.c:2218: if (EQ (selection, Qnil)) selection = QPRIMARY;
src/xselect.c:2249: if (EQ (selection, Qnil)) selection = QPRIMARY;
src/xselect.c:2920: /* QPRIMARY is defined in keyboard.c. */
src/keyboard.c:371:Lisp_Object Qx_set_selection, QPRIMARY, Qlazy;
src/keyboard.c:1803: call2 (Qx_set_selection, QPRIMARY,
src/keyboard.c:1806: call2 (Qx_set_selection, QPRIMARY,
src/keyboard.c:11719: QPRIMARY = intern_c_string ("PRIMARY");
src/keyboard.c:11720: staticpro (&QPRIMARY);
--
Greetings
Pete
No man was ever taken to hell by a woman unless he already had a
ticket in his pocket, or at least had been fooling around with
timetables.
– Archie Goodwin
Reply sent
to
Jan Djärv <jan.h.d <at> swipnet.se>
:
You have taken responsibility.
(Mon, 16 Aug 2010 07:56:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
:
bug acknowledged by developer.
(Mon, 16 Aug 2010 07:56:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 6864-done <at> debbugs.gnu.org (full text, mbox):
This only happens when -fno-common is used, so nobody has seen this yet.
But no-common may be default on some platforms so we should not rely on it.
Fix checked in.
Jan D.
2010-08-15 23:36, Peter Dyballa skrev:
> Hello!
>
> Compilation of the X client (Xaw3d) fails with the message cited in the
> subject.
>
> pete 234 /\ l src/{xselect.c,keyboard.c}
> -rw-r--r-- 1 pete admin 383764 15. Aug 20:46 src/keyboard.c
> -rw-r--r-- 1 pete admin 94275 15. Aug 20:46 src/xselect.c
> pete 235 /\ grep -n QPRIMARY src/{xselect.c,keyboard.c}
> src/xselect.c:110:Lisp_Object QPRIMARY, QSECONDARY, QSTRING, QINTEGER,
> QCLIPBOARD, QTIMESTAMP,
> src/xselect.c:257: if (EQ (sym, QPRIMARY)) return XA_PRIMARY;
> src/xselect.c:309: return QPRIMARY;
> src/xselect.c:2218: if (EQ (selection, Qnil)) selection = QPRIMARY;
> src/xselect.c:2249: if (EQ (selection, Qnil)) selection = QPRIMARY;
> src/xselect.c:2920: /* QPRIMARY is defined in keyboard.c. */
> src/keyboard.c:371:Lisp_Object Qx_set_selection, QPRIMARY, Qlazy;
> src/keyboard.c:1803: call2 (Qx_set_selection, QPRIMARY,
> src/keyboard.c:1806: call2 (Qx_set_selection, QPRIMARY,
> src/keyboard.c:11719: QPRIMARY = intern_c_string ("PRIMARY");
> src/keyboard.c:11720: staticpro (&QPRIMARY);
>
> --
> Greetings
>
> Pete
>
> No man was ever taken to hell by a woman unless he already had a ticket
> in his pocket, or at least had been fooling around with timetables.
> – Archie Goodwin
>
>
>
Message #11 received at 6864-done <at> debbugs.gnu.org (full text, mbox):
Am 16.08.2010 um 09:56 schrieb Jan Djärv:
> Fix checked in.
Jan,
GNU Emacs compiles now, but it seems to have a problem with <down-
mouse-2>... Usually it would insert text from a previous copy. This
fails. When I use the paste entry from the Edit menu, which is bound
to C-y, it inserts a text from the Mac OS X pasteboard, not from the X
(PRIMARY) selection. When I switch from the X client GNU Emacs to a
native Aqua/Mac OS X application, the old X selection is now available
on <down-mouse-2>...
The way to select a word is double-click or <double-down-mouse-1>. The
failure happens in this version:
In GNU Emacs 24.0.50.1 (powerpc-apple-darwin9.8.0, X toolkit, Xaw3d
scroll bars)
of 2010-08-16 on Latsche.local
Windowing system distributor `The X.Org Foundation', version
11.0.10899906
configured using `configure '--without-sound' '--without-dbus' '--
without-pop' '--without-gconf' '--with-x-toolkit=athena' '--x-
libraries=/usr/X11/lib' '--x-includes=/usr/X11/include' '--enable-
locallisppath=/Library/Application Support/Emacs/calendar24:/Library/
Application Support/Emacs' 'CFLAGS=-g -H -pipe -fPIC -fno-common -
mcpu=7450 -mtune=7450 -faltivec -fast' 'CPPFLAGS=' 'LDFLAGS=-Wl,-
dead_strip_dylibs' 'CC=gcc-4.2' 'CPP=cpp-4.2''
while this older version works fine (instant paste of what I selected
before):
In GNU Emacs 24.0.50.1 (powerpc-apple-darwin9.8.0, X toolkit, Xaw3d
scroll bars)
of 2010-07-23 on Latsche.local
Windowing system distributor `The X.Org Foundation', version
11.0.10899906
configured using `configure '--without-sound' '--without-dbus' '--
without-pop' '--without-gconf' '--with-x-toolkit=athena' '--x-
libraries=/usr/X11/lib' '--x-includes=/usr/X11/include' '--enable-
locallisppath=/Library/Application Support/Emacs/calendar24:/Library/
Application Support/Emacs' 'CFLAGS=-g -H -Wno-pointer-sign -pipe -fPIC
-fno-common -mcpu=7450 -mtune=7450 -faltivec -fast' 'CPPFLAGS='
'LDFLAGS=' 'CC=gcc-4.2' 'CPP=cpp-4.2' 'PKG_CONFIG_PATH=/sw/lib/pango-
ft219/lib/pkgconfig:/sw/lib/xft2/lib/pkgconfig:/sw/lib/fontconfig2/lib/
pkgconfig:/sw/lib/freetype219/lib/pkgconfig:/sw/lib/pkgconfig:/sw/
share/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/
share/pkgconfig''
Could be it has to do with the setting of PKG_CONFIG_PATH, which I
used to be able to (almost) decide which libraries (those from Fink or
those from MacPorts) will be used. (There are problems with viewing
graphics images.) I'll try to reconfigure and to recompile the same way!
Complete lossage record when I enter the *scratch* buffer by clicking
into it, inserting ä to have a mark of start, then double clicking a
world, positioning the cursor in the empty region right of ä, pressing
<mouse-2> to insert the selection (nothing happens), and finally
inserting an ö to have a mark of the end in the lossage record. Then
typing C-h l. (In *scratch* buffer I only see äö.)
<down-mouse-1> <mouse-1> ä <down-mouse-1> <mouse-1>
<double-down-mouse-1> <double-mouse-1> <down-mouse-1>
<mouse-1> <down-mouse-2> <mouse-2> ö C-h l
It seems that now something is missing to synchronise X11 and Mac OS X
pasteboard. This happens when I switch from X11 to Mac OS X and back
again. In X11 the selection in the new GNU Emacs is instantly
available, it also works to select a word in old Emacs and insert it
in new one. In old Emacs the selection is instantly available for
pasting by <down-mouse-2>.
--
Greetings
Pete
Perl—the only language that looks the same before and after RSA
encryption.
- Keith Bostic
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6864
; Package
emacs
.
(Mon, 16 Aug 2010 12:49:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 6864 <at> debbugs.gnu.org (full text, mbox):
2010-08-16 13:37, Peter Dyballa skrev:
>
> Am 16.08.2010 um 09:56 schrieb Jan Djärv:
>
>> Fix checked in.
>
> Jan,
>
> GNU Emacs compiles now, but it seems to have a problem with
> <down-mouse-2>... Usually it would insert text from a previous copy.
> This fails. When I use the paste entry from the Edit menu, which is
> bound to C-y, it inserts a text from the Mac OS X pasteboard, not from
> the X (PRIMARY) selection. When I switch from the X client GNU Emacs to
> a native Aqua/Mac OS X application, the old X selection is now available
> on <down-mouse-2>...
AFAIK, that is now how it is supposed to work. Mouse-2 inserts from PRIMARY
and C-y from clipboard. I assume X maps clipboard to pasteboard. See threads
in emacs-devel about this.
Jan D.
Message #15 received at 6864-done <at> debbugs.gnu.org (full text, mbox):
Am 16.08.2010 um 13:37 schrieb Peter Dyballa:
> it seems to have a problem with <down-mouse-2>
With PKG_CONFIG_PATH set right this has vanished. (The JPEG failure
still exists:
Error reading JPEG image `(image :type jpeg :file ..../pic.jpg)': JPEG
parameter struct mismatch: library thinks size is 484, caller expects
488 [155 times]
I'll try the NS variant next, than with MacPorts libraries. Elder
Emacs can display.)
--
Greetings
Pete
»¿ʇı̣ əsnqɐ ʇ,uɐɔ noʎ ɟı̣
ɓuı̣ɥʇʎuɐ sı̣ pooɓ ʇɐɥʍ«
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6864
; Package
emacs
.
(Mon, 16 Aug 2010 13:09:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 6864 <at> debbugs.gnu.org (full text, mbox):
Am 16.08.2010 um 14:49 schrieb Jan Djärv:
> I assume X maps clipboard to pasteboard.
Yes, the X server performs this service, after it has been enabled and
configured. It works well in the three or four weeks old GNU Emacs
24.0.50 (and elder versions like 23.2 or 22.3), but *has failed* in
the up-to-date build – probably by some library mismatch, proved by
next build.
--
Greetings
Pete
Rain is saved up in cloud banks.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 14 Sep 2010 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 284 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.