Bug#765129: tcos: diff for NMU version 0.89.93+nmu1

2014-12-21 Thread Mario Izquierdo Rodríguez

El 19/12/14 a las 22:03, Tobias Hansen escribió:

On Tue, 02 Dec 2014 21:29:29 +0100
=?UTF-8?B?TWFyaW8gSXpxdWllcmRvIFJvZHLDrWd1ZXo=?=
  mariodeb...@gmail.com wrote:

El 24/11/14 a las 15:28, Jonathan Wiltshire escribió:

On Mon, Nov 24, 2014 at 12:05:21AM +0100, Mario Izquierdo Rodríguez wrote:

El 23/11/14 a las 19:40, Jonathan Wiltshire escribió:

Control: tags 765129 + pending

Dear maintainer,

I've prepared an NMU for tcos (versioned as 0.89.93+nmu1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.




Hi, thanks for NMU, I'm not a DD and I have a new package but no sponsor for
upload.


How about preparing a maintainer upload and I'll sponsor it for you?



Hi Jonathan.

I had prepared new TCOS package:

http://mariodebian.com/debian-packages/tcos_0.89.97.dsc

Only sources (not binary)

Can you upload it?

Thanks in advance.



Hi Mario,

the freeze policy allows only targeted fixes for rc bugs. The changes in
0.89.97 are too extensive. I could upload Jonathans NMU patch, unless
there's another small and important fix you want to include. Is the
patch you mentioned on Nov 24 important?

Best,
Tobias





Hi I attach the minimal patch needed to fix this bug and another one 
that fix start-stop-daemon start


You can split to use only debian/control diff but the diff of 
debian/tcos-standalone.init is needed to fix start-stop-daemon


Thanks in advance


--
Mario Izquierdo Rodríguez
http://mariodebian.com
diff --git a/debian/control b/debian/control
index df22fab..3d61e7d 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Mario Izquierdo (mariodebian) mariodeb...@gmail.com
 Build-Depends: debhelper (= 7.0.50~),
python (= 2.6.6-3~),
dh-python,
-   libxmlrpc-c3-dev | libxmlrpc-core-c3-dev,
+   libxmlrpc-core-c3-dev | libxmlrpc-c3-dev,
libxau-dev,
libxaw7-dev,
libimlib2-dev,
diff --git a/debian/tcos-standalone.init b/debian/tcos-standalone.init
index ebc2dd5..5abfeda 100644
--- a/debian/tcos-standalone.init
+++ b/debian/tcos-standalone.init
@@ -23,7 +23,7 @@ NAME=tcosxmlrpc-standalone
 DAEMON=/usr/lib/tcos/$NAME
 
 DAEMON_WWW=/var/lib/tcos/standalone/www
-PID_FILE=/var/lib/tcos/standalone/log/abyss.pid
+PIDFILE=/var/lib/tcos/standalone/log/abyss.pid
 
 SCRIPTNAME=/etc/init.d/$NAME
 DEFAULT_CONF=/etc/default/tcos-standalone
@@ -83,9 +83,9 @@ do_start()
 
stunnel4 /var/lib/tcos/standalone/etc/stunnel/stunnel.conf  /dev/null 21 
 fi
-
+
 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test  /dev/null || return 1
-start-stop-daemon --background --start --quiet --pidfile $PIDFILE --exec $DAEMON || return 2
+start-stop-daemon --background --start --quiet --make-pidfile --pidfile $PIDFILE --exec $DAEMON || return 2
 }
 
 #
@@ -139,7 +139,7 @@ do_checklog_size()
 {
 # clean logs when size  5 MB
 for logfile in /var/lib/tcos/standalone/log/*; do
-[ $(du $logfile| awk '{print $1}') -gt 5000 ]  \
+[ -f $logfile ]  [ $(du $logfile| awk '{print $1}') -gt 5000 ]  \
 cat /dev/null  $logfile
 done
 }


Bug#765129: tcos: diff for NMU version 0.89.93+nmu1

2014-12-21 Thread Mario Izquierdo Rodríguez

El 21/12/14 a las 16:17, Tobias Hansen escribió:

Am 21.12.2014 um 16:05 schrieb Mario Izquierdo Rodríguez:

El 19/12/14 a las 22:03, Tobias Hansen escribió:

On Tue, 02 Dec 2014 21:29:29 +0100
=?UTF-8?B?TWFyaW8gSXpxdWllcmRvIFJvZHLDrWd1ZXo=?=
   mariodeb...@gmail.com wrote:

El 24/11/14 a las 15:28, Jonathan Wiltshire escribió:

On Mon, Nov 24, 2014 at 12:05:21AM +0100, Mario Izquierdo Rodríguez
wrote:

El 23/11/14 a las 19:40, Jonathan Wiltshire escribió:

Control: tags 765129 + pending

Dear maintainer,

I've prepared an NMU for tcos (versioned as 0.89.93+nmu1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.




Hi, thanks for NMU, I'm not a DD and I have a new package but no
sponsor for
upload.


How about preparing a maintainer upload and I'll sponsor it for you?



Hi Jonathan.

I had prepared new TCOS package:

http://mariodebian.com/debian-packages/tcos_0.89.97.dsc

Only sources (not binary)

Can you upload it?

Thanks in advance.



Hi Mario,

the freeze policy allows only targeted fixes for rc bugs. The changes in
0.89.97 are too extensive. I could upload Jonathans NMU patch, unless
there's another small and important fix you want to include. Is the
patch you mentioned on Nov 24 important?

Best,
Tobias





Hi I attach the minimal patch needed to fix this bug and another one
that fix start-stop-daemon start

You can split to use only debian/control diff but the diff of
debian/tcos-standalone.init is needed to fix start-stop-daemon

Thanks in advance




Hi,

could you please prepare a maintainer upload (create a .dsc) where these
patches are applied? Please mention both changes in the changelog. Then
I upload it.

Best,
Tobias



Here is it:

http://mariodebian.com/debian-packages/tcos_0.89.96+1.dsc

Diff from 0.89.96 (current Debian unstable version) attached.



Thanks

--
Mario Izquierdo Rodríguez
http://mariodebian.com
diff --git a/debian/changelog b/debian/changelog
index fe30f0c..f5f6ba1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tcos (0.89.96+1) unstable; urgency=medium
+
+  * Fix build dependencies libxmlrpc-core-c3-dev (closes: #765129)
+  * Fix tcos-standalone start-stop-daemon command
+
+ -- Mario Izquierdo (mariodebian) mariodeb...@gmail.com  Sun, 21 Dec 2014 16:23:51 +0100
+
 tcos (0.89.96) unstable; urgency=medium
 
   * Start tcosxmlrpc with start-stop-daemon
diff --git a/debian/control b/debian/control
index df22fab..3d61e7d 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Mario Izquierdo (mariodebian) mariodeb...@gmail.com
 Build-Depends: debhelper (= 7.0.50~),
python (= 2.6.6-3~),
dh-python,
-   libxmlrpc-c3-dev | libxmlrpc-core-c3-dev,
+   libxmlrpc-core-c3-dev | libxmlrpc-c3-dev,
libxau-dev,
libxaw7-dev,
libimlib2-dev,
diff --git a/debian/tcos-standalone.init b/debian/tcos-standalone.init
index ebc2dd5..aeb1abc 100644
--- a/debian/tcos-standalone.init
+++ b/debian/tcos-standalone.init
@@ -23,7 +23,7 @@ NAME=tcosxmlrpc-standalone
 DAEMON=/usr/lib/tcos/$NAME
 
 DAEMON_WWW=/var/lib/tcos/standalone/www
-PID_FILE=/var/lib/tcos/standalone/log/abyss.pid
+PIDFILE=/var/lib/tcos/standalone/log/abyss.pid
 
 SCRIPTNAME=/etc/init.d/$NAME
 DEFAULT_CONF=/etc/default/tcos-standalone
@@ -83,9 +83,9 @@ do_start()
 
stunnel4 /var/lib/tcos/standalone/etc/stunnel/stunnel.conf  /dev/null 21 
 fi
-
+
 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test  /dev/null || return 1
-start-stop-daemon --background --start --quiet --pidfile $PIDFILE --exec $DAEMON || return 2
+start-stop-daemon --background --start --quiet --make-pidfile --pidfile $PIDFILE --exec $DAEMON || return 2
 }
 
 #
@@ -139,7 +139,7 @@ do_checklog_size()
 {
 # clean logs when size  5 MB
 for logfile in /var/lib/tcos/standalone/log/*; do
-[ $(du $logfile| awk '{print $1}') -gt 5000 ]  \
+[ -f $logfile ]  [ $(du $logfile| awk '{print $1}') -gt 5000 ]  \
 cat /dev/null  $logfile
 done
 }


Bug#753741: tcos-core: please depend on iproute2 instead of iproute transitional package

2014-12-21 Thread Mario Izquierdo Rodríguez

Version: 0.89.94
thanks

Bug is fixed in 0.89.94

https://github.com/mariodebian/tcos/commit/b04fb2cc5db19f22f86fd6bcbc5c6b21e33b38d0


El 04/07/14 a las 17:01, Andreas Henriksson escribió:

Package: tcos-core
Version: 0.89.93
Severity: normal
Usertags: iproute-removal


Dear Maintainer,

The iproute package is now a transitional package to iproute2.
It will soon be removed.

Please update your dependency to iproute2 (or alternatively
iproute2 | iproute if you're concerned with backports).



-- System Information:
Debian Release: jessie/sid
   APT prefers unstable
   APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash




--
Mario Izquierdo Rodríguez
http://mariodebian.com


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#765129: tcos: diff for NMU version 0.89.93+nmu1

2014-12-21 Thread Mario Izquierdo Rodríguez




Hi,

I just realized that there are already different versions in testing and
unstable. That means we have to upload a targeted fix for the bug for
the package version that is in testing (0.89.93) to
testing-proposed-updates.

Is the start-stop-daemon bug relevant for that version? Also, we can
really just fix RC bugs this late in the freeze (freeze policy was
tightened on Dec 5), so if the second bug is also RC you have to open a
bug for it and close it in the changelog. If the second bug is not in
version 0.89.93 or not RC, I'll just upload Jonathans debdiff to t-p-u ok?

Best,
Tobias




The transition to libxmlrpc-core-c3-dev breaks some binaries and 0.89.93 
+ debian/control diff don't fix the real problem.


I think it's better to remove from testing, and 0.89.97 will be too 
dificult to upload to testing-proposed-updates because of freeze.


What's your opinion?

Thanks for your help

--
Mario Izquierdo Rodríguez
http://mariodebian.com


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#765129: tcos: diff for NMU version 0.89.93+nmu1

2014-12-02 Thread Mario Izquierdo Rodríguez

El 24/11/14 a las 15:28, Jonathan Wiltshire escribió:

On Mon, Nov 24, 2014 at 12:05:21AM +0100, Mario Izquierdo Rodríguez wrote:

El 23/11/14 a las 19:40, Jonathan Wiltshire escribió:

Control: tags 765129 + pending

Dear maintainer,

I've prepared an NMU for tcos (versioned as 0.89.93+nmu1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.




Hi, thanks for NMU, I'm not a DD and I have a new package but no sponsor for
upload.


How about preparing a maintainer upload and I'll sponsor it for you?



Hi Jonathan.

I had prepared new TCOS package:

http://mariodebian.com/debian-packages/tcos_0.89.97.dsc

Only sources (not binary)

Can you upload it?

Thanks in advance.


--
Mario Izquierdo Rodríguez
http://mariodebian.com


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#765129: tcos: diff for NMU version 0.89.93+nmu1

2014-11-23 Thread Mario Izquierdo Rodríguez

El 23/11/14 a las 19:40, Jonathan Wiltshire escribió:

Control: tags 765129 + pending

Dear maintainer,

I've prepared an NMU for tcos (versioned as 0.89.93+nmu1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.




Hi, thanks for NMU, I'm not a DD and I have a new package but no sponsor 
for upload.


Can you add another small patch?

https://github.com/mariodebian/tcos/commit/83025368d1e4b5a22c1796fcebad98bdb20b5b7b




Thanks again

--
Mario Izquierdo Rodríguez
http://mariodebian.com


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#770739: tcos: should not be a native package

2014-11-23 Thread Mario Izquierdo Rodríguez

El 23/11/14 a las 19:24, Jonathan Wiltshire escribió:

Package: tcos
Version: 0.89.93
Severity: important

tcos doesn't sound like it has no use outside Debian. It probably should not
be a native package.





Hi.

TCOS build network boot images with initramfs-tools that is only Debian 
(and derivatives)



Only works on Debian/Ubuntu, this is the reason to set as native when 
uploaded at first time.




--
Mario Izquierdo Rodríguez
http://mariodebian.com


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#765129: tcos: FTBFS: build-dependency not installable: libxmlrpc-c3-dev

2014-11-04 Thread Mario Izquierdo Rodríguez

Hello Emilio.

Can I reverse the build deps order or I need to remove libxmlrpc-c3-dev 
from build deps?



-   libxmlrpc-c3-dev | libxmlrpc-core-c3-dev,
+   libxmlrpc-core-c3-dev | libxmlrpc-c3-dev,

I want to build the same source in old distros, for ex:

http://www.tcosproject.org/versions.php

Thanks for your help

El 04/11/14 a las 14:08, Emilio Pozuelo Monfort escribió:

Control: reopen -1

On 14/10/14 19:03, Mario Izquierdo Rodríguez wrote:


El 13/10/14 a las #4, David Suárez escribió:


Source: tcos
Version: 0.89.93
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20141012 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):

┌──┐

│ Install tcos build dependencies (apt-based
resolver) │
└──┘


Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  sbuild-build-depends-tcos-dummy : Depends: libxmlrpc-c3-dev but it
is not
installable
E: Unable to correct problems, you have held broken packages.
apt-get failed.

The full build log is available from:

http://aws-logs.debian.net/ftbfs-logs/2014/10/12/tcos_0.89.93_unstable.log


A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to
contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Hi

Build-Depends of tcos contains:

|libxmlrpc-c3-dev | libxmlrpc-core-c3-dev|

||

|It isn't enough?|


No, that's not good. The buildds only consider the first alternative, so
that must be installable. However libxmlrpc-c3-dev no longer exists. See
e.g.:

https://buildd.debian.org/status/fetch.php?pkg=tcosarch=armelver=0.89.96stamp=1415104393


Emilio



--
Mario Izquierdo Rodríguez
http://mariodebian.com


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#765129: tcos: FTBFS: build-dependency not installable: libxmlrpc-c3-dev

2014-10-14 Thread Mario Izquierdo Rodríguez


El 13/10/14 a las #4, David Suárez escribió:


Source: tcos
Version: 0.89.93
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20141012 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):

┌──┐
│ Install tcos build dependencies (apt-based resolver) │
└──┘

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  sbuild-build-depends-tcos-dummy : Depends: libxmlrpc-c3-dev but it is not 
installable
E: Unable to correct problems, you have held broken packages.
apt-get failed.

The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/10/12/tcos_0.89.93_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Hi

Build-Depends of tcos contains:

|libxmlrpc-c3-dev | libxmlrpc-core-c3-dev|

||

|It isn't enough?|

||




--
Mario Izquierdo Rodríguez
http://mariodebian.com