i-nex / I-Nex

System information tool written in gambas3, python, bash
http://i-nex.linux.pl/
174 stars 24 forks source link

dependencies don't tell about gambas3-gb-desktop-x11 #27

Closed shirishag75 closed 7 years ago

shirishag75 commented 7 years ago

I was trying to build I-Nex after sometime and came across this -

┌─[shirish@debian] - [~/games/I-Nex] - [10093]
└─[$] fakeroot debian/rules build                                                                                                
dh build  --with autoreconf
   dh_testdir
   dh_update_autotools_config
   debian/rules override_dh_autoreconf
make[1]: Entering directory '/home/shirish/games/I-Nex'
cd I-Nex && autoreconf -i
configure.ac:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.ac:4: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.ac:4: installing './install-sh'
configure.ac:4: installing './missing'
make[1]: Leaving directory '/home/shirish/games/I-Nex'
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/home/shirish/games/I-Nex'
dh_auto_configure --sourcedirectory=I-Nex
    ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=\${prefix}/lib/i-nex --disable-maintainer-mode --disable-dependency-tracking
configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking
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 for gambas3 binaries... Ok
checking for gambas3 components path... Ok
checking for gb.image component... Ok
checking for gb.qt5 component... Ok
checking for gb.form component... Ok
checking for gb.desktop.x11 component... No
configure: error: Failed to find gb.desktop.x11 component !
    "tail -v -n +0 config.log"
==> config.log <==
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=${prefix}/lib/i-nex --disable-maintainer-mode --disable-dependency-tracking

## --------- ##
## Platform. ##
## --------- ##

hostname = debian
uname -m = x86_64
uname -r = 4.6.0-1-amd64
uname -s = Linux
uname -v = #1 SMP Debian 4.6.2-2 (2016-06-25)

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/games
PATH: /usr/games

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1766: checking for a BSD-compatible install
configure:1834: result: /usr/bin/install -c
configure:1845: checking whether build environment is sane
configure:1900: result: yes
configure:2051: checking for a thread-safe mkdir -p
configure:2090: result: /bin/mkdir -p
configure:2097: checking for gawk
configure:2113: found /usr/bin/gawk
configure:2124: result: gawk
configure:2135: checking whether make sets $(MAKE)
configure:2157: result: yes
configure:2186: checking whether make supports nested variables
configure:2203: result: yes
configure:2349: checking for gambas3 binaries
configure:2357: result: Ok
configure:2363: checking for gambas3 components path
configure:2371: result: Ok
configure:2386: checking for gb.image component
configure:2448: result: Ok
configure:2386: checking for gb.qt5 component
configure:2448: result: Ok
configure:2386: checking for gb.form component
configure:2448: result: Ok
configure:2386: checking for gb.desktop.x11 component
configure:2444: result: No
configure:2446: error: Failed to find gb.desktop.x11 component !

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-linux-gnu
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/shirish/games/I-Nex/I-Nex/missing aclocal-1.15'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='${SHELL} /home/shirish/games/I-Nex/I-Nex/missing autoconf'
AUTOHEADER='${SHELL} /home/shirish/games/I-Nex/I-Nex/missing autoheader'
AUTOMAKE='${SHELL} /home/shirish/games/I-Nex/I-Nex/missing automake-1.15'
AWK='gawk'
COMPONENT_build=''
COMPONENT_name=''
CYGPATH_W='echo'
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
GAMBAS_path='/usr/bin'
GBCONTROL_path='/usr/share/gambas3/control'
GBINFO_path='/usr/share/gambas3/info'
GBLIBRARY_path='/usr/lib/gambas3'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/shirish/games/I-Nex/I-Nex/missing makeinfo'
MKDIR_P='/bin/mkdir -p'
PACKAGE='i-nex'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='7.4.0'
am__isrc=''
am__leading_dot='.'
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build_alias='x86_64-linux-gnu'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${prefix}/share/info'
install_sh='${SHELL} /home/shirish/games/I-Nex/I-Nex/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${prefix}/lib/i-nex'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${prefix}/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "i-nex"
#define VERSION "7.4.0"

configure: exit 1
Died at /usr/share/perl5/Debian/Debhelper/Buildsystem/autoconf.pm line 81.
debian/rules:12: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 25
make[1]: Leaving directory '/home/shirish/games/I-Nex'
debian/rules:20: recipe for target 'build' failed
make: *** [build] Error 2

The first error on parsing/seeing the output is this line -

checking for gb.desktop.x11 component... No

and had a look

┌─[shirish@debian] - [~/games/I-Nex] - [10086]
└─[$] apt-file search gb.desktop.x11                                                                                                
gambas3-gb-desktop-x11: /usr/lib/gambas3/gb.desktop.x11.component
gambas3-gb-desktop-x11: /usr/lib/gambas3/gb.desktop.x11.so
gambas3-gb-desktop-x11: /usr/lib/gambas3/gb.desktop.x11.so.0
gambas3-gb-desktop-x11: /usr/lib/gambas3/gb.desktop.x11.so.0.0.0
gambas3-gb-desktop-x11: /usr/share/gambas3/info/gb.desktop.x11.info
gambas3-gb-desktop-x11: /usr/share/gambas3/info/gb.desktop.x11.list

I had look at the homepage https://github.com/eloaders/I-Nex to see if gambas3-gb-desktop-x11 was mentioned anywhere on the page, but it wasn't . Please fix this.

eloaders commented 7 years ago

I removed the component. Please check.

eloaders commented 7 years ago

I-Nex needs gb.desktop.x11 component. I do not use Debian, but I'll try to test the I-Nex few days.

shirishag75 commented 7 years ago

what i mean/t was add/declare it in your dependencies, on the homepage so people know and don't have to hunt around.

eloaders commented 7 years ago

debian/control have build depends gb.desktop.x11. But configure sometimes has trouble finding the component.

shirishag75 commented 7 years ago

There are actually two parts of this bug -

a. It needs to be added to the homepage (this I can see is now mentioned in the homepage). b. Sometimes, as you rightly pointed out (although it has become rare) , configure doesn't find the gambas3-component. How to fix this I have no idea.

eloaders commented 7 years ago

you builds in virtual machine or chroot?

shirishag75 commented 7 years ago

neither, they are on the system, neither vm or chroot .

eloaders commented 7 years ago

Added to readme.md info about desktop-x11