Processed: Re: Bug#996885: grpc: FTBS: third_party/protobuf/src - No such file or directory

2021-11-13 Thread Debian Bug Tracking System
Processing control commands:

> severity -1 important
Bug #996885 [src:grpc] grpc: FTBS: third_party/protobuf/src - No such file or 
directory
Severity set to 'important' from 'serious'

-- 
996885: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996885
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#996885: grpc: FTBS: third_party/protobuf/src - No such file or directory

2021-11-13 Thread GCS
Control: severity -1 important

On Sat, Nov 13, 2021 at 9:12 AM László Böszörményi (GCS)  
wrote:
> Control: tags -1 important
Right, important is a bug severity. Sorry for the noise.



Bug#996885: grpc: FTBS: third_party/protobuf/src - No such file or directory

2021-11-13 Thread GCS
Control: tags -1 important

Hi Rob,

On Wed, Oct 20, 2021 at 11:09 AM Rob Shearman  wrote:
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
[...]
> grpc fails to build from source from a clean directory:
>
>   rob@graph-dev:~/grpc ((debian/1.30.2-3))$ git clean -xdf
>   rob@graph-dev:~/grpc ((debian/1.30.2-3))$ gbp buildpackage -uc -us
>   gbp:info: Performing the build
 Please note it's a Git tree and not the package source you can get by
'apt source grpc'. While I merged your update, the original problem is
probably gbp. It didn't check in the empty directory of
third_party/protobuf which otherwise exists in the source tarball.
Decreasing the severity and will investigate the possibility to fix
the Git tree and its tags to include the mentioned empty directory.

Regards,
Laszlo/GCS



Bug#996885: grpc: FTBS: third_party/protobuf/src - No such file or directory

2021-10-20 Thread Rob Shearman
Source: grpc
Version: 1.30.2-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: r...@graphiant.com

Dear Maintainer,

grpc fails to build from source from a clean directory:

  rob@graph-dev:~/grpc ((debian/1.30.2-3))$ git clean -xdf
  rob@graph-dev:~/grpc ((debian/1.30.2-3))$ gbp buildpackage -uc -us
  gbp:info: Performing the build
   dpkg-buildpackage -us -uc -ui -i -I
  dpkg-buildpackage: info: source package grpc
  dpkg-buildpackage: info: source version 1.30.2-3
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Laszlo Boszormenyi (GCS)

   dpkg-source -i -I --before-build .
  dpkg-buildpackage: info: host architecture amd64
  dpkg-source: info: using patch list from debian/patches/series
  dpkg-source: info: applying unvendor-zlib.diff
  dpkg-source: info: applying add-wrap-memcpy-flags.diff
  dpkg-source: info: applying install_libdir.patch
  dpkg-source: info: applying unversion_sphinx.patch
  dpkg-source: info: applying no_embedded_abseil.patch
  dpkg-source: info: applying link_external_abseil.patch
  dpkg-source: info: applying no-embed-libs.patch
  dpkg-source: info: applying remove-missing-files-in-gemspec.patch
  dpkg-source: info: applying no-make-in-extconf.patch
  dpkg-source: info: applying use-system-grpc.patch
  dpkg-source: info: applying fix-protoc-path.patch
  dpkg-source: info: applying add_grpc_libdir.patch
  dpkg-source: info: applying unbreak_foreach.patch
  dpkg-source: info: applying 9e0b427893b65b220faf8a31a6afdc67f6f41364.patch
  dpkg-source: info: applying
16-member_variable_should_not_be_a_reference.patch
  dpkg-source: info: applying
17-fixing_a_member_var_to_not_be_a_reference.patch
   debian/rules clean
  dh clean --with=python3
 debian/rules override_dh_auto_clean
  make[1]: Entering directory '/home/rob/grpc'
  dh_auto_clean
make -j5 clean
  make[2]: Entering directory '/home/rob/grpc'
  rm -f -rf /home/rob/grpc/objs /home/rob/grpc/libs /home/rob/grpc/bins
/home/rob/grpc/gens cache.mk
  make[2]: Leaving directory '/home/rob/grpc'
  dh_auto_clean -O--buildsystem=pybuild
  I: pybuild base:232: python3.9 setup.py clean
  /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning:
Cython directive 'language_level' not set, using 2 for now (Py2). This will
change in a later release! File:
/home/rob/grpc/src/python/grpcio/grpc/_cython/cygrpc.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
  Compiling src/python/grpcio/grpc/_cython/cygrpc.pyx because it changed.
  [1/1] Cythonizing src/python/grpcio/grpc/_cython/cygrpc.pyx
  running clean
  removing '/home/rob/grpc/.pybuild/cpython3_3.9_grpcio/build' (and everything
under it)
  'python_build/bdist.linux-x86_64' does not exist -- can't clean it
  'python_build/scripts-3.9' does not exist -- can't clean it
  find /home/rob/grpc/src/python/grpcio/ -name \*.so -delete
  rm -f -r /home/rob/grpc/src/python/grpcio/grpcio.egg-info/ \
/home/rob/grpc/.eggs/
  rm -f \
/home/rob/grpc/src/python/grpcio/grpc/_cython/_credentials/roots.pem \
/home/rob/grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp \
/home/rob/grpc/src/python/grpcio/grpc/_grpcio_metadata.py
  rm -f a.out
  make[1]: Leaving directory '/home/rob/grpc'
 dh_clean
   dpkg-source -i -I -b .
  dpkg-source: info: using source format '3.0 (quilt)'
  dpkg-source: info: building grpc using existing ./grpc_1.30.2.orig.tar.gz
  dpkg-source: info: using patch list from debian/patches/series
  dpkg-source: warning: ignoring deletion of file
src/python/grpcio/grpc/_grpcio_metadata.py, use --include-removal to override
  dpkg-source: info: building grpc in grpc_1.30.2-3.debian.tar.xz
  dpkg-source: info: building grpc in grpc_1.30.2-3.dsc
   debian/rules binary
  dh binary --with=python3
 dh_update_autotools_config
 dh_autoreconf
 debian/rules override_dh_auto_configure
  make[1]: Entering directory '/home/rob/grpc'
  dh_auto_configure
  dh_auto_configure -O--buildsystem=pybuild
  I: pybuild base:232: python3.9 setup.py config
  /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning:
Cython directive 'language_level' not set, using 2 for now (Py2). This will
change in a later release! File:
/home/rob/grpc/src/python/grpcio/grpc/_cython/cygrpc.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
  Compiling src/python/grpcio/grpc/_cython/cygrpc.pyx because it changed.
  [1/1] Cythonizing src/python/grpcio/grpc/_cython/cygrpc.pyx
  running config
  make[1]: Leaving directory '/home/rob/grpc'
 debian/rules override_dh_auto_build
  make[1]: Entering directory '/home/rob/grpc'
  # Fake included protobuf .proto files
  mkdir -p /home/rob/grpc/Ithird_party/protobuf/
  ln -s /usr/include /home/rob/grpc/third_party/protobuf/src
  ln: failed to create symbolic link '/home/rob/grpc/third_party/protobuf/src':
No such file or directory
  make[1]: *** [debian/rules:59: ov