libpulse n nss error

308 views
Skip to first unread message

chetan gupta

unread,
Jun 3, 2014, 4:35:58 AM6/3/14
to Chromium-dev
When i am using gclient sync after downloading the code i am getting like this
Syncing projects:  23% (23/98) src/third_party/eyesfree/src/android/java/src/comSyncing projects:  24% (24/98) src/third_party/elfutils/src                     Syncing projects:  53% (52/98) src/third_party/WebKit/LayoutTests/w3c/web-platfoSyncing projects:  54% (53/98) src/third_party/libc++/trunk                     Syncing projects:  98% (97/98), done.                                        

________ running '/usr/bin/python src/build/download_nacl_toolchains.py --exclude arm_trusted' in '/home/chetan/chromium'

________ running '/usr/bin/python src/build/linux/install-arm-sysroot.py --linux-only' in '/home/chetan/chromium'

________ running '/usr/bin/python src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py --linux-only --arch=amd64' in '/home/chetan/chromium'

________ running '/usr/bin/python src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py --linux-only --arch=i386' in '/home/chetan/chromium'

________ running '/usr/bin/python src/tools/clang/scripts/update.py --if-needed' in '/home/chetan/chromium'

________ running '/usr/bin/python src/build/vs_toolchain.py update' in '/home/chetan/chromium'

________ running '/usr/bin/python src/build/util/lastchange.py -o src/build/util/LASTCHANGE' in '/home/chetan/chromium'

________ running '/usr/bin/python src/build/util/lastchange.py -s src/third_party/WebKit -o src/build/util/LASTCHANGE.blink' in '/home/chetan/chromium'

________ running 'download_from_google_storage --no_resume --platform=win32 --no_auth --bucket chromium-gn -s src/tools/gn/bin/win/gn.exe.sha1' in '/home/chetan/chromium'

________ running 'download_from_google_storage --no_resume --platform=darwin --no_auth --bucket chromium-gn -s src/tools/gn/bin/mac/gn.sha1' in '/home/chetan/chromium'

________ running 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-gn -s src/tools/gn/bin/linux/gn.sha1' in '/home/chetan/chromium'
Hook 'download_from_google_storage --no_resume '--platform=linux*' --no_auth --bucket chromium-gn -s src/tools/gn/bin/linux/gn.sha1' took 10.50 secs

________ running 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-gn -s src/tools/gn/bin/linux/gn32.sha1' in '/home/chetan/chromium'

________ running 'download_from_google_storage --no_resume --platform=win32 --no_auth --bucket chromium-clang-format -s src/third_party/clang_format/bin/win/clang-format.exe.sha1' in '/home/chetan/chromium'

________ running 'download_from_google_storage --no_resume --platform=darwin --no_auth --bucket chromium-clang-format -s src/third_party/clang_format/bin/mac/clang-format.sha1' in '/home/chetan/chromium'

________ running 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-clang-format -s src/third_party/clang_format/bin/linux/clang-format.sha1' in '/home/chetan/chromium'
Hook 'download_from_google_storage --no_resume '--platform=linux*' --no_auth --bucket chromium-clang-format -s src/third_party/clang_format/bin/linux/clang-format.sha1' took 11.26 secs

________ running '/usr/bin/python src/third_party/binutils/download.py' in '/home/chetan/chromium'

________ running 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-eu-strip -s src/build/linux/bin/eu-strip.sha1' in '/home/chetan/chromium'

________ running '/usr/bin/python src/build/gyp_chromium' in '/home/chetan/chromium'
Updating projects from gyp files...
Package nss was not found in the pkg-config search path.
Perhaps you should add the directory containing `nss.pc'
to the PKG_CONFIG_PATH environment variable
No package 'nss' found
gyp: Call to 'pkg-config --libs-only-l nss | sed -e "s/-lssl3//"' returned exit status 0.
/bin/sh: 1: cups-config: not found
gyp: Call to 'cups-config --api-version' returned exit status 127.
Package libpulse was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpulse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpulse' found
gyp: Call to 'pkg-config --cflags libpulse' returned exit status 1.
Package gdk-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdk-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gdk-2.0' found
gyp: Call to 'pkg-config --cflags gdk-2.0' returned exit status 1.
Error: Command /usr/bin/python src/build/gyp_chromium returned non-zero exit status 1 in /home/chetan/chromium
Hook '/usr/bin/python src/build/gyp_chromium' took 17.26 secs

Primiano Tucci

unread,
Jun 3, 2014, 4:48:56 AM6/3/14
to chetan gupta, Chromium-dev
.../chromium/src$ build/install-build-deps-android.sh 

Or you will spend the rest of you life manually installing dependencies.

Also, please be considerate don't create a thread on chromium-dev every time you fail something in the build process. Consider reusing the same thread.
The more you spam on a ML, the more is likely that people will ignore you.


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Lei Zhang

unread,
Jun 3, 2014, 5:02:10 AM6/3/14
to chetan gupta, Chromium-dev, Primiano Tucci
Furthermore, it seems you have not been carefully following
instructions. On
https://code.google.com/p/chromium/wiki/AndroidBuildInstructions, the
first step under "Prerequisites" is to go through
https://code.google.com/p/chromium/wiki/LinuxBuildInstructions, which
you haven't done yet.

chetan gupta

unread,
Jun 3, 2014, 5:04:08 AM6/3/14
to Primiano Tucci, Chromium-dev
thanks for your help. I did the same thing and now i am getting the error
It produces the following output:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
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:
 libgbm-dev : Depends: libgbm1 (= 8.0.4-0ubuntu0.7)
E: Unable to correct problems, you have held broken packages.

You will have to install the above packages yourself.




Primiano Tucci

unread,
Jun 3, 2014, 5:06:30 AM6/3/14
to chetan gupta, Chromium-dev
Which Linux distribution (and version) are you using?

The following packages have unmet dependencies:
 libgbm-dev : Depends: libgbm1 (= 8.0.4-0ubuntu0.7)
E: Unable to correct problems, you have held broken packages.
You will have to install the above packages yourself

Which seems pretty self-explicative. 

Anyways, if you use a supported distribution, that should just not happen. May I guess you use something != Ubuntu 12.04?

chetan gupta

unread,
Jun 3, 2014, 5:12:21 AM6/3/14
to Primiano Tucci, Chromium-dev
 I am using ubuntu 12.04 LTS 64 bit

Lei Zhang

unread,
Jun 3, 2014, 5:24:34 AM6/3/14
to chetan gupta, Primiano Tucci, Chromium-dev
Your system seems broken in some way that's beyond the scope of
chromium-dev. libgbm1 8.0.4-0ubuntu0.7 certainly exists.

http://packages.ubuntu.com/precise-updates/libgbm1
http://packages.ubuntu.com/precise-updates/libgbm-dev

chetan gupta

unread,
Jun 3, 2014, 7:41:47 AM6/3/14
to Lei Zhang, Chromium-dev
I install the above package and my system opens with a blank screen and giving error 
could not write bytes broken pipe

Yuta Kitamura

unread,
Jun 3, 2014, 10:23:27 PM6/3/14
to chetan...@gmail.com, Lei Zhang, Chromium-dev
This forum is not a right place to talk about how to fix your broken system. Sorry.

chetan gupta

unread,
Jun 5, 2014, 6:32:54 AM6/5/14
to Yuta Kitamura, Lei Zhang, Chromium-dev
I started again the whole process again and i successfully finish gclient sync command. Now when i am running
build/install-build-deps.sh
 It is giving me the same error

  The following packages have unmet dependencies:
 g++-mingw-w64-i686 : Depends: gcc-mingw-w64-i686 (= 4.6.3-1ubuntu5+5ubuntu1) but it is not going to be installed

 libgbm-dev : Depends: libgbm1 (= 8.0.4-0ubuntu0.7)
 libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 8.0.4-0ubuntu0.7)
                        Recommends: libgl1-mesa-dri:i386 (>= 7.2)

E: Unable to correct problems, you have held broken packages.

You will have to install the above packages yourself.

But no solution work. Need help guys

chetan gupta

unread,
Jun 9, 2014, 12:28:40 AM6/9/14
to Yuta Kitamura, Primiano Tucci, Lei Zhang, Chromium-dev
Thank you guys i was able to build content shell apk.
Reply all
Reply to author
Forward
0 new messages