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

Bug 635054

Summary: sys-apps/gsmartcontrol should depend on dbus
Product: Gentoo Linux Reporter: Peter Asplund <azpegath>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Deadline: 2020-10-26   

Description Peter Asplund 2017-10-22 09:54:22 UTC
I think that gsmartcontrol should depend on dbus, since after uninstalling dbus (because of numerous blocking issues) and running emerge -uDvatN world, gsmartcontrol fails because of missing dbus. Or perhaps it is one of its dependencies that should have the dependency.

equery g sys-apps/gsmartcontrol

[ sys-apps/gsmartcontrol-1.1.0 stats: packages (8), max depth (1) ]

 * dependency graph for sys-apps/gsmartcontrol-1.1.1
 `--  sys-apps/gsmartcontrol-1.1.1  ~amd64 
   `--  dev-cpp/gtkmm-3.22.2  (dev-cpp/gtkmm) ~amd64 
   `--  dev-libs/libpcre-8.41  (dev-libs/libpcre) amd64 
   `--  sys-apps/smartmontools-6.5  (sys-apps/smartmontools) ~amd64 
   `--  virtual/pkgconfig-0-r1  (virtual/pkgconfig) amd64 
   `--  dev-util/gtk-builder-convert-2.24.31-r1  (dev-util/gtk-builder-convert) amd64 
   `--  sys-apps/sed-4.4  (>=sys-apps/sed-4) ~amd64 
   `--  x11-apps/xmessage-1.0.4  (x11-apps/xmessage) amd64 
[ sys-apps/gsmartcontrol-1.1.1 stats: packages (8), max depth (1) ]

Calculating dependencies... done!
 * Package:    sys-apps/gsmartcontrol-1.1.1
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking gsmartcontrol-1.1.1.tar.bz2 to /var/tmp/portage/sys-apps/gsmartcontrol-1.1.1/work
>>> Source unpacked in /var/tmp/portage/sys-apps/gsmartcontrol-1.1.1/work
>>> Preparing source in /var/tmp/portage/sys-apps/gsmartcontrol-1.1.1/work/gsmartcontrol-1.1.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/gsmartcontrol-1.1.1/work/gsmartcontrol-1.1.1 ...
 * econf: updating gsmartcontrol-1.1.1/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating gsmartcontrol-1.1.1/config.guess with /usr/share/gnuconfig/config.guess
./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-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/gsmartcontrol-1.1.1 --htmldir=/usr/share/doc/gsmartcontrol-1.1.1/html --libdir=/usr/lib64
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
configure: Enable user-specified compiler flags: yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-windres... no
checking for windres... no
checking whether ln -s works... yes
checking for C++ compiler vendor... gnu
checking for target OS kernel... linux
checking for target OS userland environment... gnu
checking for build OS kernel... linux
configure: Enable common compiler flags for: none
configure: Enable debug build flags for: none
configure: Enable optimized build flags for: none
configure: Enable GCC precompiled header usage: no
configure: Compiler-specific build options:
configure: CFLAGS: 
configure: CXXFLAGS: 
configure: LDFLAGS: 
checking for target thread support flags... CFLAGS: -pthread -D_MT -D_THREAD_SAFE;  CXXFLAGS: -pthread -D_MT -D_THREAD_SAFE;  LIBS: -pthread
checking for target system extension flags... CFLAGS: -D_GNU_SOURCE;  CXXFLAGS: -D_GNU_SOURCE;  LIBS: 
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for int8_t... yes
checking for uint8_t... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for int64_t... yes
checking for uint64_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for intmax_t... yes
checking for uintmax_t... yes
checking for long long int... (cached) yes
checking for unsigned long long int... (cached) yes
checking whether the compiler supports Run-Time Type Identification... yes
checking whether the compiler supports exceptions... yes
checking whether the compiler supports GCC C++ ABI name demangling... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler has __gnu_cxx::__verbose_terminate_handler... yes
checking whether x86_64-pc-linux-gnu-g++ recognizes __func__... yes
checking whether x86_64-pc-linux-gnu-g++ recognizes __FUNCTION__... yes
checking whether x86_64-pc-linux-gnu-g++ accepts extern C function pointer overload... no
checking stdc++.h usability... no
checking stdc++.h presence... no
checking for stdc++.h... no
checking whether strtof is declared... yes
checking whether strtold is declared... yes
checking for getrawpartition in -lutil... no
configure: Abort if no gtkmm is found: yes
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTKMM... no
configure: error: Package 'dbus-1', required by 'atspi-2', not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-apps/gsmartcontrol-1.1.1/work/gsmartcontrol-1.1.1/config.log
 * ERROR: sys-apps/gsmartcontrol-1.1.1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 2613:  Called econf
 *        phase-helpers.sh, line  665:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/gsmartcontrol-1.1.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/gsmartcontrol-1.1.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/gsmartcontrol-1.1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/gsmartcontrol-1.1.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/gsmartcontrol-1.1.1/work/gsmartcontrol-1.1.1'
 * S: '/var/tmp/portage/sys-apps/gsmartcontrol-1.1.1/work/gsmartcontrol-1.1.1'
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-03 03:38:43 UTC
Missing config.log attachment but...

>checking for GTKMM... no
>configure: error: Package 'dbus-1', required by 'atspi-2', not found

This seems like atspi-2 got broken by what you did. You should never need to -C or unmerge anything to resolve blockers, just emerge --deselect.