Bug#650217: istgt: ftbfs on squeeze

2011-11-30 Thread Arno Töll
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

tags 650217 +pending
thanks

Hello Michal,

thanks for pointing out the issue. I just committed a proper
build-dependency for istgt. As I explained above you can simply remove
that line when trying to buid on Squeeze.

Besides, I added the build-dependency to debian/control now.


- -- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJO1nybAAoJEMcrUe6dgPNtzXYP/i8zm2NMV3CGO/dtYuLQhiE2
ae4Ttf5w5C2KzuRuvoCp3ZJ6NkDX7rmDVZLoSRE+sXKNK8OeN58iAGCCGRKynXuB
gWVD7vylYe3sPFNgV1evyhJOWX7117U+JxQTxzOehy8NkXFPVxAtnMr4QkLwaQAo
Lmu+++g2gcFXLTVz1yH6qBy7ElCIVoxxNQ/rza3llQluV8iKcXgRjVlofKHZVdl+
DRXo+Qc7zGzB/R/a6s+H/1rpZMluCjBObf6//98TTQv3j75RVGSYJ/1B0Ja5WE9J
auTu9+OPPtajRAs+ssuvJGCtGPGUs52W6ga0VKhun7CMEcvMpNSFLNWyy++s1Yo+
0bLJIOyqfLsubu8tdzB0VEG2ZhKIlt/BHDneF3K96a8cy8dSzGw9VDSY3nrUpuOB
0nn+5JIEMG2Ppyymv7tgsJU2G4dIv6IXCDe2k3Ej2gGXknY7eqLXhVtvt1jpNen1
j/VYxtOkIJFhJu2VnVSzOro5gNzsfIJ213u+lRMIzu2AbieRuN5Weez02rnHqJYR
kP8CLffYsvqjpUR7sRUBNHsayyMZoCfXwh8gSZe+1oue81z5VPdbcvHHVMIT6xmt
ROcjoSdLa2wdleuRd3WzL8dTW9MAmJAuGst1E3mQoVyrB27XsD13Ue/8OSfM/XMP
Z770WgG4hQPqkiS2U9Ye
=F3yR
-END PGP SIGNATURE-



--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ed67c9b.1010...@toell.net



Processed: Re: Bug#650217: istgt: ftbfs on squeeze

2011-11-30 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 650217 +pending
Bug #650217 [istgt] istgt: ftbfs on squeeze
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
650217: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650217
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.132267945422726.transcr...@bugs.debian.org



Bug#650217: istgt: ftbfs on squeeze

2011-11-28 Thread Arno Töll
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Michal,

On 28.11.2011 22:18, Michal Suchanek wrote:
> I am not horrified of installing dpkg from Wheezy to build the package.

It's no hard dependency. The only benefit of that line is to add this
line to ./configure:

$ dpkg-buildflags --export=configure
CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
- -Wformat-security -Werror=format-security"
CPPFLAGS="-D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -fstack-protector
- --param=ssp-buffer-size=4 -Wformat -Wformat-security
- -Werror=format-security" FFLAGS="-g -O2" LDFLAGS="-Wl,-z,relro"

Removing that line does not change anything for success of the build
process itself.

> However, not specifying the dependency in the package requires me to
> guess that it's dpkg what I need whereas setting the requirement would
> take care of the dependency automagically by mk-build-deps and any
> prospective backporters would know that they need dpkg or change the
> build script.

Well, I'm sorry but we're developing for Stable+1 not Stable. That's how
things generally are in Debian.
However, asking for other opinions I am convinced now, that adding build
dependencies for package versions which aren't fulfilled in stable
should be denoted by a versioned build dependency. Thus, I will add it
for the next upload.

> Also note that the package requires quilt to build but does not depend on it.

It doesn't. dpkg includes support for quilt packages when using 3.0
source packages as we do. dpkg-source will automatically apply patches
upon extraction of the source package. That's true for the Squeeze
version as well.
You only need quilt if you want to work yourself on the package, e.g.
for refreshing patches or introducing new ones.


- -- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJO1BJgAAoJEMcrUe6dgPNti/gP/j7muPE+LFx1rEYHJ9iLmSOO
1dWcPgups/9VwPHt6k1CnnnQ+Dlb3K1pAqK/uGnFXPRlwhab1/R/HVDJdxmmVDor
grJUeOxb7m8mXjkxygxH0sVj2+GsTkydiPzDy/PqaDw/NiK13lCt2jK5sBmPsPpP
+8PJBddkPiwKdCFD6JLJcOUjV+U4LfJN3wd/jWvQQpBNE7tiEK1j92NQ3K0OQkhf
hV7F+SwiASZBdIxbV/bjcJa81HgAGlBLZbybAkkstWOGE2ekaF6v4UDmTcuncUPz
Z8gBTf0sVn4BDxIlmI0HI7/RsbmY4uWmKsC4pJ0DIMJUFehc4NnIVrza/kQmKE1a
4YKVJIaqhNHR/AEcln+woTZr+VdVh8XWojRaqa1RX3lznz7NgU+yH9dbSEXPJ7BG
3qY8pXatc0uhaJdjSPZM9egoFfBDPCMTU0rRnWa+hr6gPr2wUzfDZrdD2wEp4Jy0
oIPjk7xNDQ4844157ClD7yM46Kymtq9yLZk4E+9JANROGYJtVxTEexY8lIBJWU49
hBKsO4X73j5UfqaN1yorlpCDlXMDlkhRuQTrzIHklYXJxDx/SW9LbrjtA4YXxf8A
eDVN1PTGQal7WPQgm3JCm5O8AzXswtCMhjR61Kvx3stLyl7ae4iuIHv5Xp+0u/QE
A6t6osY+xnhWCiWvS1p9
=iEEx
-END PGP SIGNATURE-



--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ed41260.7010...@toell.net



Bug#650217: istgt: ftbfs on squeeze

2011-11-28 Thread Michal Suchanek
On 28 November 2011 01:31, Arno Töll  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hello Michal,
>
> On 27.11.2011 21:52, Michal Suchanek wrote:
>> /bin/sh: -c: line 3: syntax error near unexpected token `('
>> /bin/sh: -c: line 3: `  Usage: dpkg-buildflags []  Actions:   --get 
>>        output the requested flag to stdout.   --origin     
>> output the origin of the flag to stdout:                      value is one 
>> of vendor, system, user, env.   --list             output a list of the 
>> flags supported by the current vendor.   --export=(sh|make) output commands 
>> to be executed in shell or make that export                      all the 
>> compilation flags as environment variables.   --help             show this 
>> help message.   --version          show the version.'
>> make[1]: *** [override_dh_auto_configure] Error 1
>> make[1]: Leaving directory `/usr/src/istgt-0.4~20111008'
>> make: *** [build] Error 2
>
> yes, istgt has a dependency to dpkg 1.16.1 available from Wheezy and
> beyond. Since dpkg is an essential package and this particular version
> is guaranteed to be fulfilled in Wheezy, I didn't add a build-dependency
> to it.
>
> As far as I know, there is no backport of Squeeze for dpkg available
> yet. Hence it is not easily possible to fix that bug cleanly. If you
> want to make a backport of istgt for Squeeze for your own purposes, just
> remove the line "$(shell dpkg-buildflags --export=configure)" entirely.
> You will lose build-hardening flags by doing so though, introduced by
> dpkg 1.16.1 as well, but you can at least compile istgt. That said, I
> have never tried whether that actually works.

I am not horrified of installing dpkg from Wheezy to build the package.

However, not specifying the dependency in the package requires me to
guess that it's dpkg what I need whereas setting the requirement would
take care of the dependency automagically by mk-build-deps and any
prospective backporters would know that they need dpkg or change the
build script.

Also note that the package requires quilt to build but does not depend on it.

Thanks

Michal



--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caomqctrc9ixo0y6v3etwfjkx3ehmbipefv9mho7qm2rfydz...@mail.gmail.com



Bug#650217: istgt: ftbfs on squeeze

2011-11-27 Thread Arno Töll
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Michal,

On 27.11.2011 21:52, Michal Suchanek wrote:
> /bin/sh: -c: line 3: syntax error near unexpected token `('
> /bin/sh: -c: line 3: `  Usage: dpkg-buildflags []  Actions:   --get 
>output the requested flag to stdout.   --origin output 
> the origin of the flag to stdout:  value is one of 
> vendor, system, user, env.   --list output a list of the flags 
> supported by the current vendor.   --export=(sh|make) output commands to be 
> executed in shell or make that export  all the 
> compilation flags as environment variables.   --help show this 
> help message.   --version  show the version.'
> make[1]: *** [override_dh_auto_configure] Error 1
> make[1]: Leaving directory `/usr/src/istgt-0.4~20111008'
> make: *** [build] Error 2

yes, istgt has a dependency to dpkg 1.16.1 available from Wheezy and
beyond. Since dpkg is an essential package and this particular version
is guaranteed to be fulfilled in Wheezy, I didn't add a build-dependency
to it.

As far as I know, there is no backport of Squeeze for dpkg available
yet. Hence it is not easily possible to fix that bug cleanly. If you
want to make a backport of istgt for Squeeze for your own purposes, just
remove the line "$(shell dpkg-buildflags --export=configure)" entirely.
You will lose build-hardening flags by doing so though, introduced by
dpkg 1.16.1 as well, but you can at least compile istgt. That said, I
have never tried whether that actually works.

- -- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJO0tZnAAoJEMcrUe6dgPNt8J4P/iLuYNdA/gDlgbSWceYfLn4a
RiS7C4BCcUUT+ixDEpRyza8crlj6fJVbTrDC7TUm0huGJ52yW/2E9PXnh4sCy6SE
zs4SwiqG3YKLHXDqA7DsuWJLcWgSg728G3h5M/0I3dVNJgLxEgSFDKRLZyyd2DBY
W4typKX5sgL3bCeqfQw52MSSCeSVqPUr1p0rahUT+DzEifuWAEpktJJY5wHkbNGo
PqLSd6WSNvvUnnvkKJLed9U+PhhEhl6IIXD2phvrHoCGU2IRylvuDUJyGyq8Z+O6
bY+wS1cvHRe6nuXlPELRj6/90XU0Iw2bKdRJai3ZT/iEQ+lVbAGduUHJ1mZcDbIn
ISkcFfZcD47bxJdjd1uYo2s2dSjLpVWJBwaShvn1LbKX4zF1u26ojrQf+6ISVcOx
bTH9UB3i5BvgKn5IO7ualnZtd4ZNT0j4/tICs22IECIN4K6vs1ytFRzT7hQs0mEg
r4O9dK5ZB72otZPivD4X7dSRvU8N3LC4KfgpKLBglqeHUEy8ftPijOms4tszkGYR
0oqjc398MiPD9HeYCz1XF7RuCduYXENtibfX4MWCWPigb244GS0b/UD2GkuIizsy
2rG7U50TxAE7g8DPezkiE6fMJ6FXT7y5YXy9erE2NafqfZkjITc7yrGnecGK1tWU
PFlZg60zUJs/d3Wmn5Z/
=XyW0
-END PGP SIGNATURE-



--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ed2d668.5020...@toell.net



Bug#650217: istgt: ftbfs on squeeze

2011-11-27 Thread Michal Suchanek
Package: istgt
Version: 0.4~20111008-1
Severity: normal


Cannot build istgt in Squeeze.

make[1]: Entering directory `/usr/src/istgt-0.4~20111008'
dh_auto_configure -- --with-configdir=/etc/istgt \
--with-logfacility=daemon \
--localstatedir=/var/run/istgt \
Usage: dpkg-buildflags []  Actions:   --get   
 output the requested flag to stdout.   --origin output the origin of 
the flag to stdout:  value is one of vendor, system, user, 
env.   --list output a list of the flags supported by the current 
vendor.   --export=(sh|make) output commands to be executed in shell or make 
that export  all the compilation flags as environment 
variables.   --help show this help message.   --version  
show the version.
/bin/sh: -c: line 3: syntax error near unexpected token `('
/bin/sh: -c: line 3: `  Usage: dpkg-buildflags []  Actions:   --get 
   output the requested flag to stdout.   --origin output 
the origin of the flag to stdout:  value is one of vendor, 
system, user, env.   --list output a list of the flags supported by 
the current vendor.   --export=(sh|make) output commands to be executed in 
shell or make that export  all the compilation flags as 
environment variables.   --help show this help message.   --version 
 show the version.'
make[1]: *** [override_dh_auto_configure] Error 1
make[1]: Leaving directory `/usr/src/istgt-0.4~20111008'
make: *** [build] Error 2



-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (990, 'stable'), (700, 'oldstable'), (500, 'testing'), (400, 
'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot set 
LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages istgt depends on:
ii  libc6   2.13-21  Embedded GNU C Library: Shared lib
pn  libssl1.0.0(no description available)
ii  lsb-base3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip

istgt recommends no packages.

istgt suggests no packages.



-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/2027205254.11447.98007.report...@gluster.burning-in.hell