NetBSD Problem Report #48141
From www@NetBSD.org Wed Aug 21 09:21:33 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 4EA83718A5
for <gnats-bugs@gnats.NetBSD.org>; Wed, 21 Aug 2013 09:21:33 +0000 (UTC)
Message-Id: <20130821092131.C5422718AA@mollari.NetBSD.org>
Date: Wed, 21 Aug 2013 09:21:31 +0000 (UTC)
From: tnn@nygren.pp.se
Reply-To: tnn@nygren.pp.se
To: gnats-bugs@NetBSD.org
Subject: Update of net/synergy to 1.4.12
X-Send-Pr-Version: www-1.0
>Number: 48141
>Category: pkg
>Synopsis: Update of net/synergy to 1.4.12
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Aug 21 09:25:00 +0000 2013
>Closed-Date: Mon Aug 25 09:59:08 +0000 2014
>Last-Modified: Mon Aug 25 10:00:00 +0000 2014
>Originator: Tobias Nygren
>Release: current
>Organization:
>Environment:
>Description:
The version of net/synergy in pkgsrc has compatibility issues with Windows and OSX peers and I recommend updating the package to the latest version.
To apply this update:
cd net/synergy && ftp -ao - "http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=NNNNN" | uudecode -mp | gzip -dc | patch -p0
>How-To-Repeat:
Download the latest synergy server for Windows, try to use it with NetBSD, find that there are problems with key mappings and pointer capture.
>Fix:
begin-base64 644 synergy.diff.gz
H4sICAAAAAACA3N5bi5kaWZmAK1YbXPaOhb+HP8KbTbbkjW2Jb/bu71TSkiWKZAO
Jt3enc4wsiQTb8BmbSch7eS/75GBFCh5u70ZQmzpOY90js9zjhyeJgnS4uJ6gLQF
an+OkK4b5V0mismdnhfpxOjTK5GkU4H0h0tF07RHcQcmJpaG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scdXsQB9TDVvCgIbN9NXNa0Wz
WgrSfUXwStE82K9Es8Hyk2j+sGKe6PKP5uYTNq9QzhMsv6yep7g3FYTlId76ldaz
XMnYXsneEtFyNXjLcORbhmk+LaLHCVcNCC//CVP/kUraBobh8r21e9M4lsmxTmhO
K9ooRJpVopgXotrUBbukxd9/a6Q3x03UHv7+aXQ+7n4eR93/dOpckzS987NGow3f
45POh4szEx1KwaLlWii9kRzZRCC4+Qrp+vUQEnYiqgG8qDaOdSZTu3F8vBTQ/vwH
dFTnfwN2cQXpf9JeOQKpL3e/VM/rjVfqWVOgA/lrGOsddz+jPJveIZpAZNCteHsj
EPhWoepSIHZdFPK6+7mJchgobtNSrOzr+Tr26DbP3lYoFojG0zoG8H4k168xmbgF
e135P8thJcMAFQAA
====
>Release-Note:
>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/48141: Update of net/synergy to 1.4.12
Date: Wed, 28 Aug 2013 11:48:55 +0900
I cannot succeed to build neither NetBSD-5.2 nor 6.0.
For example, on NetBSD-5.2:
Scanning dependencies of target synergyc
[ 92%] Building CXX object src/cmd/synergyc/CMakeFiles/synergyc.dir/synergyc.o
[ 93%] Building CXX object src/cmd/synergyc/CMakeFiles/synergyc.dir/CXWindowsClientTaskBarReceiver.o
Linking CXX executable ../../../bin/synergyc
../../../lib/libsynergy.a(CCryptoMode.o): In function `CryptoPP::AllocatorWithCleanup<unsigned char, true>::pointer CryptoPP::StandardReallocate<unsigned char, CryptoPP::AllocatorWithCleanup<unsigned char, true> >(CryptoPP::AllocatorWithCleanup<unsigned char, true>&, unsigned char*, CryptoPP::AllocatorWithCleanup<unsigned char, true>::size_type, CryptoPP::AllocatorWithCleanup<unsigned char, true>::size_type, bool)':
CCryptoMode.cpp:(.text._ZN8CryptoPP18StandardReallocateIhNS_20AllocatorWithCleanupIhLb1EEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b[_ZN8CryptoPP18StandardReallocateIhNS_20AllocatorWithCleanupIhLb1EEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b]+0xb6): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
CCryptoMode.cpp:(.text._ZN8CryptoPP18StandardReallocateIhNS_20AllocatorWithCleanupIhLb1EEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b[_ZN8CryptoPP18StandardReallocateIhNS_20AllocatorWithCleanupIhLb1EEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b]+0xd6): undefined reference to `CryptoPP::AlignedAllocate(unsigned int)'
CCryptoMode.cpp:(.text._ZN8CryptoPP18StandardReallocateIhNS_20AllocatorWithCleanupIhLb1EEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b[_ZN8CryptoPP18StandardReallocateIhNS_20AllocatorWithCleanupIhLb1EEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b]+0x151): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
CCryptoMode.cpp:(.text._ZN8CryptoPP18StandardReallocateIhNS_20AllocatorWithCleanupIhLb1EEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b[_ZN8CryptoPP18StandardReallocateIhNS_20AllocatorWithCleanupIhLb1EEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b]+0x16d): undefined reference to `CryptoPP::AlignedAllocate(unsigned int)'
../../../lib/libsynergy.a(CCryptoMode.o): In function `CryptoPP::CipherModeBase::~CipherModeBase()':
CCryptoMode.cpp:(.text._ZN8CryptoPP14CipherModeBaseD2Ev[_ZN8CryptoPP14CipherModeBaseD2Ev]+0x34): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
../../../lib/libsynergy.a(CCryptoMode.o): In function `CryptoPP::CipherModeBase::~CipherModeBase()':
CCryptoMode.cpp:(.text._ZN8CryptoPP14CipherModeBaseD0Ev[_ZN8CryptoPP14CipherModeBaseD0Ev]+0x3c): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
../../../lib/libsynergy.a(CCryptoMode.o): In function `CryptoPP::CipherModeBase::~CipherModeBase()':
CCryptoMode.cpp:(.text._ZN8CryptoPP14CipherModeBaseD1Ev[_ZN8CryptoPP14CipherModeBaseD1Ev]+0x3c): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
../../../lib/libsynergy.a(CCryptoMode.o): In function `CryptoPP::CTR_ModePolicy::~CTR_ModePolicy()':
CCryptoMode.cpp:(.text._ZN8CryptoPP14CTR_ModePolicyD2Ev[_ZN8CryptoPP14CTR_ModePolicyD2Ev]+0x3b): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
../../../lib/libsynergy.a(CCryptoMode.o): In function `CryptoPP::GCM_Base::~GCM_Base()':
CCryptoMode.cpp:(.text._ZN8CryptoPP8GCM_BaseD2Ev[_ZN8CryptoPP8GCM_BaseD2Ev]+0x7c): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
../../../lib/libsynergy.a(CCryptoMode.o):CCryptoMode.cpp:(.text._ZN8CryptoPP8GCM_BaseD2Ev[_ZN8CryptoPP8GCM_BaseD2Ev]+0xe1): more undefined references to `CryptoPP::AlignedDeallocate(void*)' follow
*** Error code 1
From: Tobias Nygren <tnn@nygren.pp.se>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/48141: Update of net/synergy to 1.4.12
Date: Thu, 29 Aug 2013 14:02:55 +0200
On Wed, 28 Aug 2013 02:50:00 +0000 (UTC)
OBATA Akio <obache@netbsd.org> wrote:
> I cannot succeed to build neither NetBSD-5.2 nor 6.0.
Hello,
Hm. I'm fairly sure it built on my 6.0_BETA before I updated it to
current last week and I can't reproduce the error. The reported missing
symbols are supposed to be defined in ${WRKSRC}/lib/libcryptopp.a
(misc.o) at the point of linking.
Please check in work.log if synergyc is linking with this library and
check with nm if the symbols are indeed there.
Best,
-Tobias
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/48141: Update of net/synergy to 1.4.12
Date: Fri, 30 Aug 2013 22:33:43 +0900
On Thu, 29 Aug 2013 22:25:00 +0900, Tobias Nygren <tnn@nygren.pp.se> wrote:
> Hm. I'm fairly sure it built on my 6.0_BETA before I updated it to
> current last week and I can't reproduce the error. The reported missing
> symbols are supposed to be defined in ${WRKSRC}/lib/libcryptopp.a
> (misc.o) at the point of linking.
> Please check in work.log if synergyc is linking with this library and
> check with nm if the symbols are indeed there.
No, libcryptopp.a is missing such symbols.
On 6.0, different errors might be happened.
--
OBATA Akio / obache@NetBSD.org
From: Tobias Nygren <tnn@nygren.pp.se>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/48141: Update of net/synergy to 1.4.12
Date: Fri, 30 Aug 2013 16:54:27 +0200
On Fri, 30 Aug 2013 13:35:00 +0000 (UTC)
OBATA Akio <obache@netbsd.org> wrote:
> No, libcryptopp.a is missing such symbols.
>
> On 6.0, different errors might be happened.
I had a look at the code. I tested on sparc64 where it worked fine, but
there are some x86 specific ifdefs in there that probably could cause
breakage on i386.
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/48141: Update of net/synergy to 1.4.12
Date: Tue, 29 Oct 2013 17:04:01 +0900
On Fri, 30 Aug 2013 23:55:01 +0900, Tobias Nygren <tnn@nygren.pp.se> wrote:
> I had a look at the code. I tested on sparc64 where it worked fine, but
> there are some x86 specific ifdefs in there that probably could cause
> breakage on i386.
Yes.
In tools/cryptopp562/GNUmakefile, -DCRYPTOPP_DISABLE_{ASM,SSE3,AESNI} will be added
to CXXFLAGS conditionally, and such definitions will affect to CRYPTOPP_BOOL_ALIGN16_ENABLED
in tools/cryptopp562/config.h, and it is the knob whether AlignedAllocate/AlignedDeallocate
will be declared or not in tools/cryptopp562/misc.{cpp,h}.
Such knob is also used in tools/cryptopp562/secblock.h, and it will be included indirectly from
src/lib/synergy/CCryptoMode.cpp, but Makefile for it does not take care about
-DCRYPTOPP_DISABLE_{ASM,SSE3,AESNI} same as tools/cryptopp562/GNUmakefile.
For the case of NetBSD-5.2.1-i386, -DCRYPTOPP_DISABLE_ASM is added for building
tools/cryptopp562/misc.cpp, but not for src/lib/synergy/CCryptoMode.cpp,
so linkage failures are happened.
--
OBATA Akio / obache@NetBSD.org
State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Mon, 25 Aug 2014 09:59:08 +0000
State-Changed-Why:
Updated. Thanks!
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48141 CVS commit: pkgsrc/net/synergy
Date: Mon, 25 Aug 2014 09:58:18 +0000
Module Name: pkgsrc
Committed By: obache
Date: Mon Aug 25 09:58:18 UTC 2014
Modified Files:
pkgsrc/net/synergy: Makefile distinfo
Added Files:
pkgsrc/net/synergy/patches: patch-src_lib_ipc_CIpcClientProxy.cpp
patch-src_lib_ipc_CIpcServerProxy.cpp
patch-src_lib_server_CClientProxy1__4.cpp
Log Message:
Update synergy to 1.4.12.
Based on PR pkg/48141 by Tobias Nygren.
1.4.12
======
Bug #3565 - Encryption fails when typing fast (Invalid message from client)
Bug #3606 - GUI is elevated after setup
Bug #3572 - Mac caps lock causes disconnect
1.4.11
======
Feature #12 - Encryption
Feature #421 - Portable version
Bug #2855 - Mouse cursor remains hidden on Mac client (intermittently/randomly)
Bug #3281 - server start on OS X defaults to 'interactive'
Bug #3310 - P&ort in settings screen
1.4.10
======
Bug #2799 - Right shift broken (Windows server, Mac OS X client)
Bug #3302 - GUI does not show/hide when tray icon is double clicked (Windows)
Bug #3303 - Mac OS X IPC integ test fails intermittently
Feature #2974 - Gesture Support for Magic Mouse/Trackpad
Feature #3172 - Button to stop Synergy when in service mode
Feature #3241 - Option to elevate synergyc/s when in service mode
Feature #3242 - Show a list of available IP addresses and screen name on the main screen
Feature #3296 - 64-bit Windows installer should display helpful message on 32-bit Windows
Feature #3300 - Make service mode default mode (now that we have elevate option)
Feature #3301 - Add process mode option to settings (remove startup wizard page)
Feature #3306 - Gatekeeper compatibility on Mac OS X 10.8
1.4.9
=====
Bug #3159 - In service mode, server doesn't start unless GUI is running
Bug #3214 - Client sometimes can't connect if GUI is closed
Bug #56 - Mac OS X server not sending keystrokes to client
Bug #3161 - First time GUI appears, service doesn't send logging
Bug #3164 - In service mode, you need to add a firewall exception
Bug #3166 - Service shutdown stalls when GUI is closed
Bug #3216 - Fatal error if plugins folder doesn't exist
Bug #3221 - ERROR: could not connect to service, error: 2
Feature #3192 - Add support for JOYINFOEX structure to poll game device info
Feature #3202 - Plugin support (sending for primary screen events on Windows only)
Feature #3155 - Cross-platform TCP IPC between GUI and service
Task #3177 - Fix Mac buildslave to build multiple versions
Task #3193 - Add Micro Synergy to repository
Task #3275 - Change hostname label to "IP address or hostname"
Task #3276 - Installation recovery mechanism for synrgyhk.dll
1.4.8
=====
Bug #143: Cursor on Mac OS X goes to center when inactive
Bug #146: Screen Resize causes problems with moving off right-hand side of screen
Bug #3058: Modifier keys not working on Mac OS X server
Bug #3139: Double click too strict (click, move, click should not count)
Bug #3195: Service install can fail first time
Bug #3196: Wizard buttons not visible
Bug #3197: GUI doesn't take focus after install
Bug #3202: Hook DLL (synrgyhk.dll) is not released
Feature #3143: Setup wizard for first time users
Feature #3145: Check for updates
Feature #3174: Startup mode wizard page
Feature #3184: New service for process management
1.4.7
=====
Bug #3132: GUI hides before successful connection
Bug #3133: Can't un-hide GUI on Mac
Feature #3054: Hide synergy[cs] dock icon (Mac OS X)
Feature #3135: Integrate log into main window
Task #3134: Move hotkey warnings to DEBUG
1.4.6
=====
Bug #155: Build error on FreeBSD (missing sentinel in function call)
Bug #571: Synergy SegFaults with "Unknown Quartz Event type: 0x1d"
Bug #617: xrandr rotation on client confines cursor in wrong area
Bug #642: `synergyc --help` segfaults on sparc64 architecture
Bug #652: Stack overflow in getIDForKey
Bug #1071: Can't copy from the Firefox address bar on Linux
Bug #1662: Copying text from remote computer crashes java programs.
Bug #1731: YouTube can cause server to freeze randomly
Bug #2752: Use SAS for ctrl+alt+del on win7
Bug #2763: Double-click broken on Mac OS
Bug #2817: Keypad Subtract has wrong keycode on OS X
Bug #2958: GNOME 3 mouse problem (gnome-shell)
Bug #2962: Clipboard not working on mac client
Bug #3063: Segfault in copy buffer
Bug #3066: Server segfault on clipboard paste
Bug #3089: Comma and Period translated wrong when using the NEO2-layout
Bug #3092: Wrong screen rotation detected
Bug #3105: There doesn't seem to be a system tray available. Quitting
Bug #3116: Memory Leak due to the XInput2 patches
Bug #3117: Dual monitors not detected properly anymore
Feature #3073: Re-introduce auto-start GUI (Windows)
Feature #3076: Re-introduce auto-start backend
Feature #3077: Re-introduce hidden on start
Feature #3091: Add option to remap altgr modifier
Feature #3119: Mac OS X secondary screen
Task #2905: Unit tests: Clipboard classes
Task #3072: Downgrade Linux build machines
Task #3090: CXWindowsKeyState integ test args wrong
(no changelog for prior versions).
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/net/synergy/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/net/synergy/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/net/synergy/patches/patch-src_lib_ipc_CIpcClientProxy.cpp \
pkgsrc/net/synergy/patches/patch-src_lib_ipc_CIpcServerProxy.cpp \
pkgsrc/net/synergy/patches/patch-src_lib_server_CClientProxy1__4.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.