Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 563620

Summary: gnome-base/gnome-common-3.14.0-r1 fails to install
Product: Gentoo Linux Reporter: Marcin Szamotulski <profunctor>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Marcin Szamotulski 2015-10-20 23:06:53 UTC
Created attachment 415046 [details]
emerge --info

During the install phase:

>>> Install gnome-common-3.14.0-r1 into /var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image/ category gnome-base
make -j5 DESTDIR=/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image/ install 
Making install in macros2
make[1]: Entering directory '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0/macros2'
make[2]: Entering directory '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0/macros2'
 /bin/mkdir -p '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image//usr/bin'
 /bin/mkdir -p '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image//usr/share/aclocal'
 /usr/bin/install -c -m 644 gnome-common.m4 gnome-compiler-flags.m4 gnome-code-coverage.m4 ax_check_enable_debug.m4 ax_code_coverage.m4 .//dev/null '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image//usr/share/aclocal'
 /usr/bin/install -c gnome-autogen.sh '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image//usr/bin'
/usr/bin/install: cannot stat ‘.//dev/null’: No such file or directory
Makefile:303: recipe for target 'install-aclocalDATA' failed


I moved to `default/linux/amd64/13.0/desktop/gnome/systemd` profile in order to try out gnome and run `emerge -DN world`.
Comment 1 Pacho Ramos gentoo-dev 2015-10-24 07:51:12 UTC
I cannot reproduce this :/, can you try with MAKEOPTS="-j1" to be able to see the concrete offending command that is trying to stat that .//dev/null instead of /dev/null?
Comment 2 Marcin Szamotulski 2015-10-24 09:28:59 UTC
sure here is the output:

make -j1 DESTDIR=/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image/ install
Making install in macros2
make[1]: Entering directory '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0/macros2'
make[2]: Entering directory '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0/macros2'
 /bin/mkdir -p '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image//usr/bin'
 /usr/bin/install -c gnome-autogen.sh '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image//usr/bin'
 /bin/mkdir -p '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image//usr/share/aclocal'
 /usr/bin/install -c -m 644 gnome-common.m4 gnome-compiler-flags.m4 gnome-code-coverage.m4 ax_check_enable_debug.m4 ax_code_coverage.m4 .//dev/null '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image//usr/share/aclocal'
/usr/bin/install: cannot stat ‘.//dev/null’: No such file or directory
Makefile:303: recipe for target 'install-aclocalDATA' failed
make[2]: *** [install-aclocalDATA] Error 1
make[2]: Leaving directory '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0/macros2'
Makefile:373: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0/macros2'
Makefile:315: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-10-25 10:22:02 UTC
Please attach the full build.log.
Comment 4 Marcin Szamotulski 2015-10-25 10:51:27 UTC
Sorry for dumping the build.log as a comment, the add attachment did not work for me.

 * Package:    gnome-base/gnome-common-3.14.0-r1
 * Repository: gentoo
 * Maintainer: gnome@gentoo.org
 * USE:        abi_x86_64 amd64 autoconf-archive elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking gnome-common-3.14.0.tar.xz to /var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work
>>> Source unpacked in /var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work
>>> Preparing source in /var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-silent-rules --libdir=/usr/lib64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating macros2/Makefile
config.status: creating doc-build/Makefile
config.status: creating doc-build/gnome-doc-common
>>> Source configured.
>>> Compiling source in /var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0 ...
make -j1 
Making all in macros2
make[1]: Entering directory '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0/macros2'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0/macros2'
Making all in doc-build
make[1]: Entering directory '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0/doc-build'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0/doc-build'
make[1]: Entering directory '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0'
>>> Source compiled.
>>> Test phase [not enabled]: gnome-base/gnome-common-3.14.0-r1

>>> Install gnome-common-3.14.0-r1 into /var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image/ category gnome-base
make -j1 DESTDIR=/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image/ install 
Making install in macros2
make[1]: Entering directory '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0/macros2'
make[2]: Entering directory '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0/macros2'
 /bin/mkdir -p '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image//usr/bin'
 /usr/bin/install -c gnome-autogen.sh '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image//usr/bin'
 /bin/mkdir -p '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image//usr/share/aclocal'
 /usr/bin/install -c -m 644 gnome-common.m4 gnome-compiler-flags.m4 gnome-code-coverage.m4 ax_check_enable_debug.m4 ax_code_coverage.m4 .//dev/null '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/image//usr/share/aclocal'
/usr/bin/install: cannot stat ‘.//dev/null’: No such file or directory
Makefile:303: recipe for target 'install-aclocalDATA' failed
make[2]: *** [install-aclocalDATA] Error 1
make[2]: Leaving directory '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0/macros2'
Makefile:373: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0/macros2'
Makefile:315: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
 * ERROR: gnome-base/gnome-common-3.14.0-r1::gentoo failed (install phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=gnome-base/gnome-common-3.14.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=gnome-base/gnome-common-3.14.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0'
 * S: '/var/tmp/portage/gnome-base/gnome-common-3.14.0-r1/work/gnome-common-3.14.0'
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2016-01-03 15:22:30 UTC
For some reason, it appears that NULL is defined to .//dev/null on your system.
Do you have this variable set somewhere, in your environment, in portage make.conf ?