Debian Bug report logs - #629100
RFP: winexe -- execute a command on Windows

Package: wnpp; Maintainer for wnpp is wnpp@debian.org;

Reported by: Thomas Hood <jdthood@gmail.com>

Date: Fri, 3 Jun 2011 13:54:02 UTC

Severity: wishlist

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#629100; Package wnpp. (Fri, 03 Jun 2011 13:54:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Hood <jdthood@gmail.com>:
New Bug report received and forwarded. Copy sent to wnpp@debian.org. (Fri, 03 Jun 2011 13:54:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Thomas Hood <jdthood@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: RFP: winexe -- execute a command on Windows
Date: Fri, 03 Jun 2011 15:51:19 +0200
Package: wnpp
Severity: wishlist

This is a request that the winexe program be made available to
Debian users.

Winexe is a GNU/Linux variant of psexec.  It is a command-line utility
allowing an arbitrary command to be run on a remote Windows machine.

Please see #593261 for the discussion that led to the submission of
this report.

The latest winexe code is available at:

    git://winexe.git.sourceforge.net/gitroot/winexe/winexe

The last change was made in July 2010 by the author, Andrzej Hajda,
with whom an associate of mine has recently been in contact.

The license is GPL3.

At this moment the winexe source code consists of an old snapshot of
Samba 4 to which the winexe code proper has been added, resulting in
a self-sufficient build environment.  Obviously the code is unsuitable
for Debian in its present form.  The winexe code proper has to be
separated out and built against packaged Samba libraries.  A cursory
inspection does not give the impression that this would be very
difficult, however.

source4$ find winexe -type f -exec wc -l {} \;
573 winexe/winexesvc/winexesvc.c
42 winexe/winexesvc/bin2c.c
160 winexe/winexesvc/service.c
637 winexe/winexesvc/winexesvc64_exe.c
31 winexe/winexesvc/Makefile
383 winexe/winexesvc/winexesvc32_exe.c
19 winexe/winexesvc/shared.h
385 winexe/service.c
447 winexe/winexe.c
24 winexe/config.mk
260 winexe/async.c
74 winexe/winexe.h

-- 
Thomas Hood




Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#629100; Package wnpp. (Fri, 03 Jun 2011 15:06:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jelmer Vernooij <jelmer@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Fri, 03 Jun 2011 15:06:06 GMT) Full text and rfc822 format available.

Message #10 received at 629100@bugs.debian.org (full text, mbox):

From: Jelmer Vernooij <jelmer@debian.org>
To: Thomas Hood <jdthood@gmail.com>
Cc: Daniel Leite <dleite@portoeditora.pt>, 629100@bugs.debian.org
Subject: Re: RFP submitted for winexe
Date: Fri, 03 Jun 2011 15:55:36 +0100
[Message part 1 (text/plain, inline)]
On Fri, 2011-06-03 at 16:02 +0200, Thomas Hood wrote:
> Jelmer wrote:
> > This code doesn't have anything to do with wmi
> Some confusion seems to have arisen from the fact that winexe
> got included in Zenoss's WMI codebase and then in the wmi-client
> package, leading some of us to want the wmi-client package back
> so that we can have our winexe back.  Whereas winexe is really a
> separate project.  As mentioned earlier, winexe has continue to
> evolve since it was snapshotted by Zenoss.
> 
> Accordingly I have just submitted a separate RFP for winexe, #629100.
> 
> Winexe fans, please carry on the discussion over there.  :)
Thanks! If there's anything I can do to help (answer questions about the
DCE/RPC libraries in Samba for example), please ask.

Cheers,

Jelmer
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#629100; Package wnpp. (Sat, 25 Jun 2011 13:39:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Hood <jdthood@gmail.com>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Sat, 25 Jun 2011 13:39:03 GMT) Full text and rfc822 format available.

Message #15 received at 629100@bugs.debian.org (full text, mbox):

From: Thomas Hood <jdthood@gmail.com>
To: 629100@bugs.debian.org, 593261-submitter@bugs.debian.org
Cc: Daniel Leite <dleite@portoeditora.pt>
Subject: winexe debs
Date: Sat, 25 Jun 2011 15:38:14 +0200
For folks interested in winexe.

Winexe 1.00 debs for i386 and amd64 are available in my Launchpad PPA.

$ cat /etc/apt/sources.list.d/jdthood-winexe-natty.list
deb http://ppa.launchpad.net/jdthood/winexe/ubuntu natty main
deb-src http://ppa.launchpad.net/jdthood/winexe/ubuntu natty main

$ apt-cache madison winexe
    winexe | 1.00-0ppa9~natty | http://ppa.launchpad.net/jdthood/winexe/ubuntu/ natty/main i386 Packages
    winexe | 1.00-0ppa9~natty | http://ppa.launchpad.net/jdthood/winexe/ubuntu/ natty/main Sources

The winexe program included in these packages was tested on
Debian squeeze and seems to work fine.

I hope to release new versions of the package soon with,
to start with, a proper man page.  Help with improving the
package will be welcome.
-- 
Thomas Hood





Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#629100; Package wnpp. (Sun, 07 Aug 2011 10:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Hood <jdthood@gmail.com>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Sun, 07 Aug 2011 10:30:03 GMT) Full text and rfc822 format available.

Message #20 received at 629100@bugs.debian.org (full text, mbox):

From: Thomas Hood <jdthood@gmail.com>
To: 629100@bugs.debian.org
Subject: Status report
Date: Sun, 7 Aug 2011 12:25:33 +0200
[Message part 1 (text/plain, inline)]
I have ported winexe to Samba 4 master.
-- 
Thomas
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#629100; Package wnpp. (Wed, 17 Aug 2011 13:12:16 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Hood <jdthood@gmail.com>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Wed, 17 Aug 2011 13:12:20 GMT) Full text and rfc822 format available.

Message #25 received at 629100@bugs.debian.org (full text, mbox):

From: Thomas Hood <jdthood@gmail.com>
To: 629100@bugs.debian.org
Subject: Status update
Date: Wed, 17 Aug 2011 15:08:16 +0200
I have submitted the revised source code (i.e., winexe ported to
current samba git "master" branch) to winexe's author but it is not
yet clear to me what he plans to do with it.

The winexe build needs access to the samba source tree.  This has not
changed in my port.  I have looked into the possibility of building
winexe against Samba 4 *-dev packages.  Unfortunately, the latter do
not include all the needed header files.  One possible course of
action would be to work with the Samba 4 maintainers to get the
missing header files included in the -dev files.  But there are quite
a few header files missing, so I wouldn't expect this request to be
met with much enthusiasm.

Given that winexe has to be built against the samba source tree, I
think it's best if we try to get winexe included in Samba 4.

If this attempt fails then winexe will have to be maintained
separately from Samba.  Winexe upstream will have to be maintained as
a Samba 4 fork.  The pain of this can be minimized by syncing
regularly with Samba 4 master.  For Debian we can then revisit the
idea of building against -dev packages by including more headers.
-- 
Thomas




Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#629100; Package wnpp. (Wed, 17 Aug 2011 13:33:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jelmer Vernooij <jelmer@samba.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Wed, 17 Aug 2011 13:33:04 GMT) Full text and rfc822 format available.

Message #30 received at 629100@bugs.debian.org (full text, mbox):

From: Jelmer Vernooij <jelmer@samba.org>
To: Thomas Hood <jdthood@gmail.com>, 629100@bugs.debian.org
Subject: Re: Bug#629100: Status update
Date: Wed, 17 Aug 2011 15:28:00 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17/08/11 15:08, Thomas Hood wrote:
> I have submitted the revised source code (i.e., winexe ported to
> current samba git "master" branch) to winexe's author but it is not
> yet clear to me what he plans to do with it.
>
> The winexe build needs access to the samba source tree. This has not
> changed in my port. I have looked into the possibility of building
> winexe against Samba 4 *-dev packages. Unfortunately, the latter do
> not include all the needed header files. One possible course of
> action would be to work with the Samba 4 maintainers to get the
> missing header files included in the -dev files. But there are quite
> a few header files missing, so I wouldn't expect this request to be
> met with much enthusiasm.
Which headers are necessary? It seems like the only headers necessary
would be the headers for svcctl.

Alternatively, you should be able to use svcctl from Python rather than
from C. The svcctl python module is included in the python-samba package
already.
> Given that winexe has to be built against the samba source tree, I
> think it's best if we try to get winexe included in Samba 4.
>
This doesn't seem likely given winexe is quite hard to build - it
requires mingw32.

Cheers,

Jelmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOS8HgAAoJEACAbyvXKaRX994QAJwhP7zK0/aqVx6XXhmjbNpI
Ege62Jhf17dZKG/UXu9WFOIEWOwQwE45azMD8zUrcEJ2EzSiKGW2AOul8K/PKOL8
cDEYgwsAL/rLXVqdDc2aAT4p395POsxr7Kh+5lp8+lnJIp6ugIrx8UdDxHBDZRu6
3cxcyHjBb8ZNukDL5ANWW15BbUq9SpHRfIuzTueLh8jjb8rlHz8DgDn9fpzTCMYa
allw21StuOAyI9jElyyEJRISEloQrbtsqN5mr5zfkvy/hsA0mpiDIUfDNtHJUzkp
MZIKvkRgDbdDUY+nm9+/p6Ud0zFbBY2X4kuxDS/rlOb8IMT2gJllTj6zLEX9o26N
p8vffhY4R9ayQ+FHvESSeMqavWUEE31eZLjxeQ71QbexVlHrq//iuLonGaUidmv/
Jz0/W5NNNAvRuzjsQYFo5qySG8CV/pfkU560NMsGoj4wKhxHrnJLiPDceDInz8za
iKK1RjIC6EObfwt2AYNHkDKsqT8sDs19DqckQLGIW26jz5zKS3Fhjp7cPc0D6v0u
VtvM1CIEsrgd0jrM3prIt3IDYPbrkg/KWKdjTUMQXMgWbcFZgt5z86oW93C/qSOb
/rJf/vFet9TD41+JzStTzmMKjwsgNJTsiGEC/JZ2fpy/y7oFTexzGq7BNwDpM8Ts
LfOZMCO1NhjsEZxOep+A
=uhib
-----END PGP SIGNATURE-----





Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#629100; Package wnpp. (Wed, 17 Aug 2011 15:36:43 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Hood <jdthood@gmail.com>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Wed, 17 Aug 2011 15:36:44 GMT) Full text and rfc822 format available.

Message #35 received at 629100@bugs.debian.org (full text, mbox):

From: Thomas Hood <jdthood@gmail.com>
To: 629100@bugs.debian.org
Cc: Daniel Leite <dleite@portoeditora.pt>
Subject: Re: Bug#629100: Status update
Date: Wed, 17 Aug 2011 17:10:49 +0200
On Wed, Aug 17, 2011 at 15:28, Jelmer Vernooij <jelmer@samba.org> wrote:
> Which headers are necessary?

Here are the header files that are #included by winexe source files
but which I couldn't find in the -dev packages.

* includes.h = source4/include/includes.h
* libcli/libcli.h = source4/libcli/libcli.h
* libcli/raw/raw_proto.h = bin/default/source4/libcli/raw/raw_proto.h
* libcli/resolve/resolve.h = source4/libcli/resolve/resolve.h
* libcli/smb_composite/smb_composite.h =
source4/libcli/smb_composite/smb_composite.h
* lib/events/events.h = source4/lib/events/events.h
* system/filesys.h = lib/replace/system/filesys.h

These header files #include others. Results of a quick grep:

#include "libcli/libcli_proto.h"
#include "../libcli/nbt/libnbt.h"
#include "libcli/raw/libcliraw.h"
#include "libcli/raw/signing.h"
#include "libcli/resolve/lp_proto.h"
#include "libcli/resolve/proto.h"
#include "libcli/smb2/smb2.h"
#include "libcli/smb_composite/proto.h"
#include "libcli/util/error.h"
#include "librpc/gen_ndr/nbt.h"
#include "../lib/util/attr.h"
#include "../lib/util/debug.h"
#include "../lib/util/safe_string.h"
#include "../lib/util/smb_threads.h"
#include "../lib/util/smb_threads_internal.h"
#include "../lib/util/util.h"
#include "../lib/util/xfile.h"
#include "../replace/replace.h"
#include "system/locale.h"
#include "system/time.h"
#include "system/wait.h"

and these, in turn, will #include others....


> Alternatively, you should be able to use svcctl from Python rather than
> from C. The svcctl python module is included in the python-samba package
> already.


 Interesting idea!


>> Given that winexe has to be built against the samba source tree, I
>> think it's best if we try to get winexe included in Samba 4.
>>
> This doesn't seem likely given winexe is quite hard to build - it
> requires mingw32.


Building the winexesvc.exe Windows binary does require mingw
(specifically, /usr/bin/i586-mingw32msvc-gcc and
/usr/bin/amd64-mingw32msvc-gcc from the gcc-mingw32 package).  Given
that winexe would be the only component of Samba with this
requirement, it would be sensible for upstream to make winexe an
optional component, built conditionally upon waf being given
"--with-winexe" or something like that.  But this shouldn't be an
issue for Debian which introduced gcc-mingw32 in squeeze.

Are there any difficulties beyond that?

Probably some things would have to be changed to follow Samba coding
style, but that would not be much work.
-- 
Thomas




Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#629100; Package wnpp. (Wed, 17 Aug 2011 15:51:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jelmer Vernooij <jelmer@samba.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Wed, 17 Aug 2011 15:51:03 GMT) Full text and rfc822 format available.

Message #40 received at 629100@bugs.debian.org (full text, mbox):

From: Jelmer Vernooij <jelmer@samba.org>
To: Thomas Hood <jdthood@gmail.com>, 629100@bugs.debian.org
Subject: Re: Bug#629100: Status update
Date: Wed, 17 Aug 2011 17:47:16 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17/08/11 17:10, Thomas Hood wrote:
> On Wed, Aug 17, 2011 at 15:28, Jelmer Vernooij <jelmer@samba.org> wrote:
>> Which headers are necessary?
>
> Here are the header files that are #included by winexe source files
> but which I couldn't find in the -dev packages.
>
> * includes.h = source4/include/includes.h
>
> * libcli/libcli.h = source4/libcli/libcli.h
> * libcli/raw/raw_proto.h = bin/default/source4/libcli/raw/raw_proto.h
> * libcli/resolve/resolve.h = source4/libcli/resolve/resolve.h
> * libcli/smb_composite/smb_composite.h =
> source4/libcli/smb_composite/smb_composite.h
> * lib/events/events.h = source4/lib/events/events.h
> * system/filesys.h = lib/replace/system/filesys.h
Have you verified that these headers are actually necessary? None of
these should strictly be necessary for the stuff that winexe is trying
to do.

Is the source as you currently have it available somewhere?

Cheers,

Jelmer

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOS+KDAAoJEACAbyvXKaRXGV8P/2ObUP2VkmY4T6pcUv1YgRO7
7og/aRUgNGF4ogD49fpo9w2KDcLIS26oPjAQH9r6SMl1Y6tzhrB8Q0Npi/IOu7Gb
pPJn6pbskMrUW1uv7NuwxfOrv9HTEKgrkLNlIc0l/FFjBn6PedG4E/qZbssVTUM2
GosAstv76XxZqT5fahsi+VbuJtHEmH4UzjB+yj/uBaB4JvtxZdTyZ3EenZTz19v0
CI40QT3sg8Yu2pJ7SHU8yTh0U+cFDtgLnozMRC9XKFxO3exZZ2P9ccpXG9qBkgLx
GwJRSzQGPasIhq8d5ZGkY590fnzT6Cfyay+f68yl7xGdW2SUqBWm7+qPs9RxUswR
8JIB1pbkar7d1JuolQSzsp5P1dxMimIKeKfiEursNch0qgd2UYEvOtf+VwUQXxKN
LjMeOvE/ixoTWCl3AqrWq/YSIHKsZ70bnABy/WDdL4U4zreuV3z0Ea3FW7PJ7VAX
WUXEkPTdGQw4arzVxOgyHkNx5omowgkvC8iY6oV5R0CwWBb5xh6Xfd4UuRVcooTD
5+IesAPrV0ctpB3h7KJLHT7ss3KfCfkN6+SD5CSKWmprv81Z7rgRjN6qEbYxgtxN
2yFo3as22aUTN9TSGws6kHIZXkQoUDnS9LNaO5USf4dhorS7dewk1i5APfFzHCsO
0dA5o+/Z8AvzIpt+eUwX
=9vaw
-----END PGP SIGNATURE-----





Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#629100; Package wnpp. (Thu, 06 Dec 2012 13:42:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fabio Fantoni <fabio.fantoni@heliman.it>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Thu, 06 Dec 2012 13:42:03 GMT) Full text and rfc822 format available.

Message #45 received at 629100@bugs.debian.org (full text, mbox):

From: Fabio Fantoni <fabio.fantoni@heliman.it>
To: 629100@bugs.debian.org
Subject: Re: Bug#629100: Status update
Date: Thu, 06 Dec 2012 14:38:57 +0100
I saw no updates for more than one year on this.
I started to prepare package based on one debian folder of actual stable 
version, I had updated it for new winexe version (probably near to 
stable) on git://git.code.sf.net/p/winexe/winexe-waf .
Public repository for debian package is here: 
https://github.com/Fantu/pkg-winexe
I start to learning debian package on last years for support packaging 
of software that I use but without debian or with no more mantainer, 
probably I'll need help for good packaging following the debian standard.



Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#629100; Package wnpp. (Wed, 17 Apr 2013 17:51:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Hood <jdthood@gmail.com>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Wed, 17 Apr 2013 17:51:03 GMT) Full text and rfc822 format available.

Message #50 received at 629100@bugs.debian.org (full text, mbox):

From: Thomas Hood <jdthood@gmail.com>
To: 629100@bugs.debian.org
Subject: Status update
Date: Wed, 17 Apr 2013 19:47:23 +0200
[Message part 1 (text/plain, inline)]
Winexe in the winexe-waf repository now builds nicely against the Samba 4
public API and shared libraries as represented by Debian Samba 4 packages
and I am hoping, therefore, that there will soon be a new Winexe release
based on this winexe-waf code.

Once Winexe has been released it would be very nice if someone from the
Debian community would package it.  :)

(Winexe can also be built statically, but this requires building against
the Samba 4 source tree since the necessary static Samba 4 libraries aren't
available.)
-- 
Thomas
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#629100; Package wnpp. (Tue, 25 Jun 2013 15:09:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Hood <jdthood@gmail.com>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Tue, 25 Jun 2013 15:09:09 GMT) Full text and rfc822 format available.

Message #55 received at 629100@bugs.debian.org (full text, mbox):

From: Thomas Hood <jdthood@gmail.com>
To: 629100@bugs.debian.org
Subject: Re: Status update
Date: Tue, 25 Jun 2013 17:04:06 +0200
[Message part 1 (text/plain, inline)]
The Samba team has been very busy preparing a unified, solid, and
policy-compliant package based on release 4.0.6. Those guys deserve some
serious respect. Their package will soon appear in experimental and then
unstable and in Ubuntu.

Once this package appears and has stabilized for a few weeks, winexe
upstream (viz., the author and myself) will get winexe building against it.
This may require some time, since the samba packaging has changed
significantly. Once that work is done I will post another update here.

To any Debian developer using winexe: please volunteer to package winexe
for Debian!
-- 
Thomas
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#629100; Package wnpp. (Mon, 09 Sep 2013 14:42:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fabio Fantoni <fabio.fantoni@m2r.biz>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Mon, 09 Sep 2013 14:42:09 GMT) Full text and rfc822 format available.

Message #60 received at 629100@bugs.debian.org (full text, mbox):

From: Fabio Fantoni <fabio.fantoni@m2r.biz>
To: 629100@bugs.debian.org
Subject: Re: Bug#629100: Status update
Date: Mon, 09 Sep 2013 16:38:32 +0200
I have updated package to latest winexe git commit [2a03a7] and latest 
samba debian package of experimental.
https://github.com/Fantu/pkg-winexe
I saw other important samba package change ongoing:
http://anonscm.debian.org/gitweb/?p=pkg-samba/samba.git;a=shortlog;h=refs/heads/samba_4.0_integrate
When will be complete I'll update the winexe package also for those 
change with dependencies and any others.

On my latest test on clean sid installation with Samba from experimental 
I had one problem with winexe compilation:

[ 9/16] cprogram: build/winexesvc_launch.c.1.o 
build/winexesvc_loop.c.1.o -> build/winexesvc32.exe
/usr/bin/i686-w64-mingw32-ld: "-z" option unrecognized
collect2: ld returned 1 exit status
Waf: Leaving directory `/root/winexe/source/build'
Build failed
 -> task in 'winexesvc32.exe' failed (exit status 1):
        {task 20082064: cprogram 
winexesvc_launch.c.1.o,winexesvc_loop.c.1.o -> winexesvc32.exe}
['/usr/bin/i686-w64-mingw32-gcc', '-Wl,-z,relro', '-s', 
'winexesvc_launch.c.1.o', 'winexesvc_loop.c.1.o', '-o', 
'/root/winexe/source/build/winexesvc32.exe', '-Wl,-Bstatic', 
'-Wl,-Bdynamic', '-luserenv']

-z option is missed on mingw ld but I not found where to remove it, I 
did grep on winexe source without found '-Wl,-z,relro' options setting.
Can someone help me to solve please?



Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#629100; Package wnpp. (Mon, 14 Oct 2013 12:57:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fabio Fantoni <fabio.fantoni@m2r.biz>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Mon, 14 Oct 2013 12:57:04 GMT) Full text and rfc822 format available.

Message #65 received at 629100@bugs.debian.org (full text, mbox):

From: Fabio Fantoni <fabio.fantoni@m2r.biz>
To: 629100@bugs.debian.org
Subject: Re: Bug#629100: Status update
Date: Mon, 14 Oct 2013 14:53:42 +0200
I updated the package for compatibility with samba 4.0.10+dfsg-2 now on 
unstable:
https://github.com/Fantu/pkg-winexe

On configure gave error of cli-ldap not found (but present).
It was only moved to new samba-libs package and the file now is 
/usr/lib/*/samba/libcli-ldap.so.0
Give the same error with all libraries ending with version (.0) on so 
file and moved to new package.

It still gives "the -z option missed" on winexesvc ld also with 
DEB_BUILD_HARDENING_RELRO=0.
Is there something on winexe source that can force it?
With fast grep search I not found nothing about.

Thanks for any reply.



Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#629100; Package wnpp. (Sun, 10 Nov 2013 11:09:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Hood <jdthood@gmail.com>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Sun, 10 Nov 2013 11:09:04 GMT) Full text and rfc822 format available.

Message #70 received at 629100@bugs.debian.org (full text, mbox):

From: Thomas Hood <jdthood@gmail.com>
To: 629100@bugs.debian.org
Subject: winexe build
Date: Sun, 10 Nov 2013 12:06:16 +0100
> On configure gave error of cli-ldap not found (but present).

The latest code upstream works around this problem.

> It still gives "the -z option missed" on winexesvc ld

I don't get this message when building winexe according to the
instructions in the upstream README on plain Wheezy + Samba 4.0.10
packages from unstable.
-- 
Thomas Hood



Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#629100; Package wnpp. (Thu, 14 Nov 2013 11:45:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fabio Fantoni <fabio.fantoni@m2r.biz>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Thu, 14 Nov 2013 11:45:04 GMT) Full text and rfc822 format available.

Message #75 received at 629100@bugs.debian.org (full text, mbox):

From: Fabio Fantoni <fabio.fantoni@m2r.biz>
To: 629100@bugs.debian.org
Subject: Re: Bug#629100: Status update
Date: Thu, 14 Nov 2013 12:44:21 +0100
Package updated and now build correctly on Sid:
https://github.com/Fantu/pkg-winexe

About Samba private libraries now there is a workaround on upstream, I 
added override to lintian error.
About hardening I disabled it on package and upstream added it on 
winexe's executable, then the hardening is enabled except for mingw's 
executables where is not supported.
I did also some other minor package improvements.



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 20:14:11 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.