New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 733186 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Blocking:
issue 649672



Sign in to add a comment

Fix dev-util/android-tools for openssl-1.1.0

Project Member Reported by djkurtz@chromium.org, Jun 14 2017

Issue description

core/fastboot/fastboot.c:247:27: warning: address of array 'info->device_path' will always evaluate to 'true'
      [-Wpointer-bool-conversion]
        } else if (!info->device_path) {
                   ~~~~~~~^~~~~~~~~~~
core/adb/adb_auth_host.c:85:19: error: incomplete definition of type 'struct rsa_st'
    BN_copy(n, rsa->n);
               ~~~^
/build/soraka/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
core/adb/adb_auth_host.c:99:37: error: incomplete definition of type 'struct rsa_st'
    pkey->exponent = BN_get_word(rsa->e);
                                 ~~~^
/build/soraka/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
2 errors generated.
make: *** [Makefile:55: adb] Error 1
make: *** Waiting for unfinished jobs....
1 warning generated.
extras/ext4_utils/make_ext4fs.c:106:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute
      [-Wunused-result]
                asprintf(&path, "%slost+found", dir_path);
                ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extras/ext4_utils/make_ext4fs.c:232:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute
      [-Wunused-result]
                        readlink(dentries[i].full_path, dentries[i].link, info.block_size - 1);
                        ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extras/ext4_utils/make_ext4fs.c:169:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute
      [-Wunused-result]
                asprintf(&dentries[i].path, "%s%s", dir_path, namelist[i]->d_name);
                ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extras/ext4_utils/make_ext4fs.c:170:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute
      [-Wunused-result]
                asprintf(&dentries[i].full_path, "%s%s", full_path, namelist[i]->d_name);
                ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extras/ext4_utils/make_ext4fs.c:249:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute
      [-Wunused-result]
                asprintf(&dentries[0].path, "%slost+found", dir_path);
                ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.

 
Project Member

Comment 1 by bugdroid1@chromium.org, Jun 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/79bec624ae24851918b6d25f73d459da6c99852c

commit 79bec624ae24851918b6d25f73d459da6c99852c
Author: Daniel Kurtz <djkurtz@chromium.org>
Date: Sun Jun 18 22:08:13 2017

dev-util/android-tools: Re-sync -5.1.1 ebuild with upstream gentoo

The -5.1.1_p13 ebuild in upstream gentoo has had some bugfixes applied.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>

BUG=chromium:733186
TEST=emerge-soraka android-tools

Change-Id: I20fd6a56c9ab9950b4d817837004e1cc92dd045c
Reviewed-on: https://chromium-review.googlesource.com/538518
Commit-Ready: Daniel Kurtz <djkurtz@chromium.org>
Tested-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/79bec624ae24851918b6d25f73d459da6c99852c/dev-util/android-tools/android-tools-5.1.1_p13.ebuild
[modify] https://crrev.com/79bec624ae24851918b6d25f73d459da6c99852c/dev-util/android-tools/metadata.xml

Sign in to add a comment