Closed Bug 587695 Opened 14 years ago Closed 5 years ago

relative path to android_stub.h is wrong

Categories

(NSS :: Build, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: blassey, Unassigned)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Since last 8/13, when building nss my build fails with the following error:
make[5]: Entering directory `/home/blassey/src/mozilla-central/security/nss/lib/util'
/usr/bin/ccache /home/blassey/android-ndk-r4-crystax/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-gcc -o /home/blassey/src/mozilla-central/objdir-droid/nss/nssutil/quickder.o -c -Os -gdwarf-2 -std=gnu89 -I/home/blassey/android-ndk-r4-crystax/build/platforms/android-5/arch-arm/usr/include  -Wall -W -Wno-unused -Wpointer-arith -W -pedantic -Wno-long-long -mandroid -I/home/blassey/android-ndk-r4-crystax/build/platforms/android-5/arch-arm/usr/include -msoft-float -fno-short-enums -fno-exceptions -march=armv5te -mthumb-interwork -fno-strict-aliasing -march=armv7-a -mthumb -Wa, -march=armv7-a -Wa, -mthumb -pipe  -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fno-reorder-functions -fomit-frame-pointer -DCHECK_FORK_GETPID -DRTLD_NOLOAD=0 -DANDROID_VERSION=5 -include ../../../security/manager/android_stub.h -DLINUX2_1  -Wall -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX -Dlinux -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -DNSS_ENABLE_ECC -DNSS_DISABLE_DBM -DUSE_UTIL_DIRECTLY -I/home/blassey/src/mozilla-central/objdir-droid/dist/include/nspr -I/home/blassey/src/mozilla-central/objdir-droid/dist/include/nspr -I/home/blassey/src/mozilla-central/objdir-droid/dist/public/nss -I/home/blassey/src/mozilla-central/objdir-droid/dist/private/nss  quickder.c
cc1: error: ../../../security/manager/android_stub.h: No such file or directory

the relative path for android_stub.h is wrong (it should have one more ../). Switching this to an absolute path fixes the problem for me.
Attachment #466338 - Flags: review?(me)
Attachment #466338 - Flags: review?(me) → review?(mitchell.field)
Attachment #466338 - Flags: review?(mitchell.field) → review+
isn't this WORKSFORME?

Brad, this looks to be related to your setup environment.
If still relevant, could you inform the steps to reproduce it, please?

Flags: needinfo?(lassey)

What ever machine this was on is in some garbage heap somewhere by now.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(lassey)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: