i-nex / I-Nex

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

debian doesn't recognizes "--disable-maintianer-mode" and "--disable-dependancy-tracking" #21

Closed shirishag75 closed 8 years ago

shirishag75 commented 8 years ago

I was trying to compile I-Nex after a long interval/time. I got the following error while compiiing . Sharing the whole she-bang which happened wll try to compile -:-

$ 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.qt4 component... Ok
checking for gb.form component... Ok
checking for gb.desktop.x11 component... Ok
checking for gb.desktop component... Ok
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking
make[1]: Leaving directory '/home/shirish/games/I-Nex'
   dh_auto_build
    make -j1
make[1]: Entering directory '/home/shirish/games/I-Nex'
Build I-Nex...
make -C I-Nex
make[2]: Entering directory '/home/shirish/games/I-Nex/I-Nex'
Compiling i-nex project...
OK
make[2]: Leaving directory '/home/shirish/games/I-Nex/I-Nex'
Build JSON...
make -C JSON
make[2]: Entering directory '/home/shirish/games/I-Nex/JSON'
Compile Static ⚑
Compile i-nex-edid ✔
gcc -o i-nex-edid i-nex-edid.c -g -Wall -O2
i-nex-edid.c: In function ‘detailed_block’:
i-nex-edid.c:194:2: warning: ‘width’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("    %dx%d @ ( %s%s%s%s%s) Hz (%s%s preferred)\n", width, height,
  ^
i-nex-edid.c:155:9: note: ‘width’ was declared here
     int width, height;
         ^
i-nex-edid.c: In function ‘main’:
i-nex-edid.c:1656:26: warning: ‘conformant_extension’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  nonconformant_extension += parse_extension(x);
                          ^
i-nex-edid.c:110:5: warning: ‘v’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     printf("%s%s: %s (%d)\n", prefix, field->name, v->description, val);
     ^
i-nex-edid.c:95:19: note: ‘v’ was declared here
     struct value *v;
                   ^
i-nex-edid.c:1417:2: warning: ‘ofd’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  write(ofd, edid, edid_lines * 16);
  ^
Package libcpuid was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcpuid.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcpuid' found
Compile i-nex-cpuid ✔
gcc -o i-nex-cpuid i-nex-cpuid.c -static  -O2
i-nex-cpuid.c:20:22: fatal error: libcpuid.h: No such file or directory
compilation terminated.
Makefile:23: recipe for target 'compile-i-nex-cpuid' failed
make[2]: *** [compile-i-nex-cpuid] Error 1
make[2]: Leaving directory '/home/shirish/games/I-Nex/JSON'
Makefile:24: recipe for target 'build-json' failed
make[1]: *** [build-json] Error 2
make[1]: Leaving directory '/home/shirish/games/I-Nex'
dh_auto_build: make -j1 returned exit code 2
debian/rules:20: recipe for target 'build' failed
make: *** [build] Error 2

Could somebody share what am I doing wrong here ?

<bountysource-plugin>

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36009949-debian-doesn-t-recognizes-disable-maintianer-mode-and-disable-dependancy-tracking?utm_campaign=plugin&utm_content=tracker%2F488098&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F488098&utm_medium=issues&utm_source=github).
</bountysource-plugin>
eloaders commented 8 years ago

No package 'libcpuid' found.

alphastar868 commented 8 years ago

As per @eloaders, the main problem is resolving the missing libcpuid first...

Why did you try to use these options (were they in the documentation somewhere?):

--disable-maintainer-mode, --disable-dependency-tracking

AFAIK, they are not needed...

shirishag75 commented 8 years ago

I didn't do that, this is what is/was there probably in debian/rules file.