Bug#824740: [Build-common-hackers] [Pkg-telepathy-maintainers] Bug#824740: telepathy-ring: FTBFS: cp: cannot stat './AUTHORS--no-act': No such file or directory

2016-07-29 Thread Adrian Heine
Hi,

On Fri, 20 May 2016 10:55:58 +0200 Jonas Smedegaard  wrote:
> The correct way to have CDBS not auto-include any docs/changelog files 
> is to set the variables to the empty value:
> 
> DEB_INSTALL_DOCS_telepathy-ring-dbg =
> DEB_INSTALL_CHANGELOGS_telepathy-ring-dbg =

for the record, this didn't work for me. dh_installchangelogs always
installs the debian changelog, if present. In the end I gave up on the
symlink.

Bye,
Adrian



Bug#824740: [Build-common-hackers] [Pkg-telepathy-maintainers] Bug#824740: telepathy-ring: FTBFS: cp: cannot stat './AUTHORS--no-act': No such file or directory

2016-05-20 Thread Jonas Smedegaard
Quoting Jonas Smedegaard (2016-05-20 10:55:58)
> The correct way to have CDBS not auto-include any docs/changelog files 
> is to set the variables to the empty value:
>
> DEB_INSTALL_DOCS_telepathy-ring-dbg =
> DEB_INSTALL_CHANGELOGS_telepathy-ring-dbg =
>
> (what you effectively did in the past was not pass as argument, but 
> instead tell CDBS to only install the file "--no-act" which was 
> skipped because it didn't exist).

I realize now that a) you want to suppress only on debug packages, and 
b) indeed you did effectively succeed in passing the option as a 
space-separated addition.  Still, you misused a wrong variable for that, 
and I will not revert CDBS to support such misuse.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Bug#824740: [Build-common-hackers] [Pkg-telepathy-maintainers] Bug#824740: telepathy-ring: FTBFS: cp: cannot stat './AUTHORS--no-act': No such file or directory

2016-05-20 Thread Jonas Smedegaard
Control: reassign -1 telepathy-ring

[re-sending to bugreport]

Quoting Emilio Pozuelo Monfort (2016-05-19 13:44:51)
> Control: reassign -1 cdbs 0.4.136
> 
> On 19/05/16 12:57, Chris Lamb wrote:
> > telepathy-ring fails to build from source in unstable/amd64:
> > 
> >   [..]
> 
> >   dh_installdocs -ptelepathy-ring-dbg ./README ./AUTHORS--no-act
> >   cp: cannot stat './AUTHORS--no-act': No such file or directory
> >   dh_installdocs: cp --reflink=auto -a ./AUTHORS--no-act 
> > debian/telepathy-ring-dbg/usr/share/doc/telepathy-ring-dbg returned exit 
> > code 1
> >   /usr/share/cdbs/1/rules/debhelper.mk:240: recipe for target 
> > 'binary-install/telepathy-ring-dbg' failed
> >   make: *** [binary-install/telepathy-ring-dbg] Error 2
> 
> telepathy-ring does:
> 
> # this has a tight dependency, so we can symlink the doc directories together
> DEB_INSTALL_DOCS_telepathy-ring-dbg := --no-act
> DEB_INSTALL_CHANGELOGS_telepathy-ring-dbg := --no-act
> 
> Looks like a regression in CDBS. Reassigning.
> 
> Please reassign back and let us know if this actually is a bug in 
> telepathy-ring
> and it is misusing CDBS.

Oh.  That's a misuse of a CDBS variable intended only to declare files 
to install, not pass arguments to the debhelper tool.

The correct way to have CDBS not auto-include any docs/changelog files 
is to set the variables to the empty value:

DEB_INSTALL_DOCS_telepathy-ring-dbg =
DEB_INSTALL_CHANGELOGS_telepathy-ring-dbg =

(what you effectively did in the past was not pass as argument, but 
instead tell CDBS to only install the file "--no-act" which was 
skipped because it didn't exist).

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Bug#824740: [Pkg-telepathy-maintainers] Bug#824740: telepathy-ring: FTBFS: cp: cannot stat './AUTHORS--no-act': No such file or directory

2016-05-19 Thread Emilio Pozuelo Monfort
Control: reassign -1 cdbs 0.4.136

On 19/05/16 12:57, Chris Lamb wrote:
> Source: telepathy-ring
> Version: 2.1.0-1
> Severity: serious
> Justification: fails to build from source
> User: reproducible-bui...@lists.alioth.debian.org
> Usertags: ftbfs
> X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
> 
> Dear Maintainer,
> 
> telepathy-ring fails to build from source in unstable/amd64:
> 
>   [..]

>   dh_installdocs -ptelepathy-ring-dbg ./README ./AUTHORS--no-act
>   cp: cannot stat './AUTHORS--no-act': No such file or directory
>   dh_installdocs: cp --reflink=auto -a ./AUTHORS--no-act 
> debian/telepathy-ring-dbg/usr/share/doc/telepathy-ring-dbg returned exit code 
> 1
>   /usr/share/cdbs/1/rules/debhelper.mk:240: recipe for target 
> 'binary-install/telepathy-ring-dbg' failed
>   make: *** [binary-install/telepathy-ring-dbg] Error 2

telepathy-ring does:

# this has a tight dependency, so we can symlink the doc directories together
DEB_INSTALL_DOCS_telepathy-ring-dbg := --no-act
DEB_INSTALL_CHANGELOGS_telepathy-ring-dbg := --no-act

Looks like a regression in CDBS. Reassigning.

Please reassign back and let us know if this actually is a bug in telepathy-ring
and it is misusing CDBS.

Cheers,
Emilio



Bug#824740: telepathy-ring: FTBFS: cp: cannot stat './AUTHORS--no-act': No such file or directory

2016-05-19 Thread Chris Lamb
Source: telepathy-ring
Version: 2.1.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

telepathy-ring fails to build from source in unstable/amd64:

  [..]

  # source='ring-conference-channel.c' object='ring-conference-channel.lo' 
libtool=yes 
  /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. 
-I.. -I../tests -I..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread 
-I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fstack-protector-strong 
-Wformat -Werror=format-security -c -o ring-conference-channel.lo 
ring-conference-channel.c
  libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../tests -I.. 
-Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread 
-I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fstack-protector-strong 
-Wformat -Werror=format-security -c ring-conference-channel.c -o 
ring-conference-channel.o
  ring-conference-channel.c: In function 'ring_mergeable_conference_merge':
  ring-conference-channel.c:208:5: warning: 'tp_errors_quark' is deprecated: 
Use 'TP_ERROR' instead [-Wdeprecated-declarations]
   error = g_error_new(TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
   ^
  In file included from /usr/include/telepathy-1.0/telepathy-glib/handle.h:31:0,
   from 
/usr/include/telepathy-1.0/telepathy-glib/handle-repo.h:36,
   from 
/usr/include/telepathy-1.0/telepathy-glib/group-mixin.h:31,
   from ring-media-channel.h:26,
   from ring-conference-channel.h:35,
   from ring-conference-channel.c:40:
  /usr/include/telepathy-1.0/telepathy-glib/errors.h:39:8: note: declared here
   GQuark tp_errors_quark (void);
  ^
  ring-conference-channel.c: In function 
'ring_conference_channel_remove_member_with_reason':
  ring-conference-channel.c:630:5: warning: 'tp_errors_quark' is deprecated: 
Use 'TP_ERROR' instead [-Wdeprecated-declarations]
   g_set_error(error, TP_ERRORS, TP_ERROR_PERMISSION_DENIED,
   ^
  In file included from /usr/include/telepathy-1.0/telepathy-glib/handle.h:31:0,
   from 
/usr/include/telepathy-1.0/telepathy-glib/handle-repo.h:36,
   from 
/usr/include/telepathy-1.0/telepathy-glib/group-mixin.h:31,
   from ring-media-channel.h:26,
   from ring-conference-channel.h:35,
   from ring-conference-channel.c:40:
  /usr/include/telepathy-1.0/telepathy-glib/errors.h:39:8: note: declared here
   GQuark tp_errors_quark (void);
  ^
  ring-conference-channel.c: In function 'ring_conference_channel_join':
  ring-conference-channel.c:921:5: warning: 'tp_errors_quark' is deprecated: 
Use 'TP_ERROR' instead [-Wdeprecated-declarations]
   g_set_error(error, TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
   ^
  In file included from /usr/include/telepathy-1.0/telepathy-glib/handle.h:31:0,
   from 
/usr/include/telepathy-1.0/telepathy-glib/handle-repo.h:36,
   from 
/usr/include/telepathy-1.0/telepathy-glib/group-mixin.h:31,
   from ring-media-channel.h:26,
   from ring-conference-channel.h:35,
   from ring-conference-channel.c:40:
  /usr/include/telepathy-1.0/telepathy-glib/errors.h:39:8: note: declared here
   GQuark tp_errors_quark (void);
  ^
  ring-conference-channel.c: In function 'ring_conference_channel_release':
  ring-conference-channel.c:1039:10: warning: variable 'details' set but not 
used [-Wunused-but-set-variable]
 int i, details;
^
  ring-conference-channel.c: In function 
'ring_conference_channel_validate_media_handle':
  ring-conference-channel.c:1150:5: warning: 'tp_errors_quark' is deprecated: 
Use 'TP_ERROR' instead [-Wdeprecated-declarations]
   g_set_error(error, TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
   ^
  In file included from /usr/include/telepathy-1.0/telepathy-glib/handle.h:31:0,
   from 
/usr/include/telepathy-1.0/telepathy-glib/handle-repo.h:36,
   from 
/usr/include/telepathy-1.0/telepathy-glib/group-mixin.h:31,
   from ring-media-channel.h:26,
   from