i-nex / I-Nex

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

update build dependancy to libcpuid.so.13.0.0 and also think of amd64 path. #29

Closed shirishag75 closed 7 years ago

shirishag75 commented 7 years ago

Was trying to build the package when came across the following -

make[1]: Leaving directory '/home/shirish/games/I-Nex'
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
dpkg-shlibdeps: error: no dependency information found for /usr/lib/libcpuid.so.11 (used by debian/i-nex/usr/bin/i-nex-cpuid)
Hint: check if the library actually comes from a package.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/i-nex.substvars debian/i-nex/usr/bin/i-nex-cpuid debian/i-nex/usr/bin/i-nex-edid returned exit code 2
debian/rules:20: recipe for target 'binary' failed
make: *** [binary] Error 2

The build-dependancy needs to be -

[$] dpkg -L libcpuid13                                                                                                             
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libcpuid.so.13.0.0
/usr/share
/usr/share/doc
/usr/share/doc/libcpuid13
/usr/share/doc/libcpuid13/README
/usr/share/doc/libcpuid13/changelog.gz
/usr/share/doc/libcpuid13/copyright
/usr/lib/x86_64-linux-gnu/libcpuid.so.13

Please fix the above.

eloaders commented 7 years ago

Where is libcpuid.pc file? or headers? dev package. Install libcpuid13-dev and try compile i-nex.

shirishag75 commented 7 years ago

It is already installed, at the time when libcpuid generated, I installed both just so this issue should not come up.

┌─[shirish@debian] - [~] - [10032]
└─[$] dpkg -L libcpuid13-dev | grep libcpuid.pc                                                                                     
/usr/lib/x86_64-linux-gnu/pkgconfig/libcpuid.pc

So it's already there. I actually did try a compilation just an hour ago with the same result.

eloaders commented 7 years ago

i need install debian. I updated the control file. a few seconds ago. I forgot to change libcpuid11 to libcpuid13

shirishag75 commented 7 years ago

Still get the same issue as above. No change. Btw there was a merge conflict while trying to update to the latest master -

┌─[shirish@debian] - [~/games/I-Nex] - [10306]
└─[$] git pull origin master                                                                                                       
From https://github.com/eloaders/I-Nex
 * branch            master     -> FETCH_HEAD
Updating 02ee037..665dbfb
error: Your local changes to the following files would be overwritten by merge:
    I-Nex/i-nex/.startup
Please commit your changes or stash them before you merge.
Aborting

I removed the .startup file and then was able to be on the latest master -

┌─[shirish@debian] - [~/games/I-Nex/I-Nex/i-nex] - [10308]
└─[$] rm -rf .startup  

Latest master -

┌─[shirish@debian] - [~/games/I-Nex] - [10311]
└─[$] git pull origin master                                                                                                      
From https://github.com/eloaders/I-Nex
 * branch            master     -> FETCH_HEAD
Updating 02ee037..665dbfb
Fast-forward
 I-Nex/configure      | 3636 ------------------------------------------------------------------------------------------------------------------
 I-Nex/i-nex/.startup |    2 -
 I-Nex/install-sh     |  508 ----------------
 I-Nex/missing        |  215 -------
 debian/control       |   19 +-
 5 files changed, 5 insertions(+), 4375 deletions(-)
 delete mode 100755 I-Nex/configure
 delete mode 100755 I-Nex/install-sh
 delete mode 100755 I-Nex/missing

I just crawled through the commit, just a small fix, suggestion - Standards-Version: 3.9.8

I have no idea if libcpuid11 is also mentioned somewhere else in the whole directory. Would try grepping at my end to see if I get some more idea.

Update - doing a simple $ grep -inr 'libcpuid11' .' didn't get me anywhere except the readme where libcpuid11 is told/shared.

I saw and updated to the latest git commit where you have updated i-nex-edid , but still get the same issue .

This is the $ fakeroot debian/rules build log - https://paste.debian.net/829850/ and this the $ fakeroot debian/rules binary build log https://paste.debian.net/829851

eloaders commented 7 years ago

michal@michal-EasyNote-SJ51 ~/I-Nex $ LC_ALL=C fakeroot debian/rules binary dh binary --with autoreconf dh_testdir dh_update_autotools_config debian/rules override_dh_autoreconf make[1]: Entering directory '/home/michal/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/michal/I-Nex' debian/rules override_dh_auto_configure make[1]: Entering directory '/home/michal/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 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/michal/I-Nex' dh_auto_build make -j1 make[1]: Entering directory '/home/michal/I-Nex' Build I-Nex... make -C I-Nex make[2]: Entering directory '/home/michal/I-Nex/I-Nex' Compiling i-nex project... OK make[2]: Leaving directory '/home/michal/I-Nex/I-Nex' Build JSON... make -C JSON make[2]: Entering directory '/home/michal/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, ^~~~~~~~~~~~~~~~ fifty ? "50 " : "",

   sixty ? "60 " : "",

seventyfive ? "75 " : "",

   eightyfive ? "85 " : "",

reduced ? "60RB " : "",

   names[(x[2] & 0x60) >> 5],

(((x[2] & 0x60) == 0x20) && reduced) ? "RB" : "");

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:2045: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;
                   ^
Compile i-nex-cpuid ✔
gcc -o i-nex-cpuid i-nex-cpuid.c -I/usr/include/libcpuid -lcpuid -O2
gcc -o i-nex-cpuid2 i-nex-cpuid2.c -I/usr/include/libcpuid -lcpuid -O2
make[2]: Leaving directory '/home/michal/I-Nex/JSON'
Build Pixmaps...
make -C pixmaps
make[2]: Entering directory '/home/michal/I-Nex/pixmaps'
convert i-nex.png -resize 16x16 i-nex-16.png
convert i-nex.png -resize 32x32 i-nex-32.png
convert i-nex.png -resize 128x128 i-nex-128.png
make[2]: Leaving directory '/home/michal/I-Nex/pixmaps'
make[1]: Leaving directory '/home/michal/I-Nex'
   dh_auto_test
   dh_testroot
   dh_prep
   dh_auto_install
    make -j1 install DESTDIR=/home/michal/I-Nex/debian/i-nex AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/home/michal/I-Nex'
Create nedded dirs...
mkdir -p /home/michal/I-Nex/debian/i-nex/usr/share/applications
mkdir -p /home/michal/I-Nex/debian/i-nex/usr/share/i-nex/pastebinit
mkdir -p /home/michal/I-Nex/debian/i-nex/usr/share/i-nex/pastebinit/pastebin.d
Install pastebinit and other...
install -m 0755 debian/i-nex.desktop /home/michal/I-Nex/debian/i-nex/usr/share/applications/
install -m 0755 debian/i-nex-library.desktop /home/michal/I-Nex/debian/i-nex/usr/share/applications/
install -m 0755 pastebinit /home/michal/I-Nex/debian/i-nex/usr/share/i-nex/pastebinit/
install -m 0755 pastebinit.xml /home/michal/I-Nex/debian/i-nex/usr/share/i-nex/pastebinit/
install -m 0755 release.conf /home/michal/I-Nex/debian/i-nex/usr/share/i-nex/pastebinit/
make -C pastebin.d install
make[2]: Entering directory '/home/michal/I-Nex/pastebin.d'
Installing Pastebinit Config files...
mkdir -p /home/michal/I-Nex/debian/i-nex/usr/share/i-nex/pastebinit/pastebin.d
install -Dm644 susepaste.org.conf pastebin.com.conf paste.opensuse.org.conf lpaste.net.conf hpaste.org.conf paste.kde.org.conf paste.pound-python.org.conf paste.pocoo.org.conf paste.ubuntu.org.cn.conf pastie.org.conf paste.ubuntu.com.conf paste.debian.net.conf dpaste.com.conf pastebin.mate-desktop.org.conf paste2.org.conf cxg.de.conf paste.openstack.org.conf yourpaste.net.conf p.defau.lt.conf paste.drizzle.org.conf slexy.org.conf sprunge.us.conf fpaste.org.conf pb.daviey.com.conf /home/michal/I-Nex/debian/i-nex/usr/share/i-nex/pastebinit/pastebin.d/
make[2]: Leaving directory '/home/michal/I-Nex/pastebin.d'
Install pixmaps...
make -C pixmaps install
make[2]: Entering directory '/home/michal/I-Nex/pixmaps'
mkdir -p /home/michal/I-Nex/debian/i-nex/usr/share/pixmaps
install -m 644 i-nex.png /home/michal/I-Nex/debian/i-nex/usr/share/pixmaps/
install -m 644 i-nex-16.png /home/michal/I-Nex/debian/i-nex/usr/share/pixmaps/
install -m 644 i-nex-32.png /home/michal/I-Nex/debian/i-nex/usr/share/pixmaps/
install -m 644 i-nex-128.png /home/michal/I-Nex/debian/i-nex/usr/share/pixmaps/
make[2]: Leaving directory '/home/michal/I-Nex/pixmaps'
Install changelogs...
make -C changelogs install
make[2]: Entering directory '/home/michal/I-Nex/changelogs'
Installing Changelogs...
mkdir -p /home/michal/I-Nex/debian/i-nex/usr/share/doc/i-nex
install -Dm644 changelog-0.5.0 changelog-7.2.1 changelog-0.4.6 changelog-0.6.4 changelog-7.4.0 changelog-0.4.8 changelog-0.5.8 changelog-0.5.6 changelog-0.4.8.1 changelog-0.6.2 changelog-7.2.0 changelog-7.0.0 changelog-0.6.0 changelog-0.5.4 changelog-0.5.1 changelog-0.6.6 changelog-0.5.2 /home/michal/I-Nex/debian/i-nex/usr/share/doc/i-nex
Compress Changelogs...
gzip -9 /home/michal/I-Nex/debian/i-nex/usr/share/doc/i-nex/changelog-*
make[2]: Leaving directory '/home/michal/I-Nex/changelogs'
Install manpages...
make -C manpages install
make[2]: Entering directory '/home/michal/I-Nex/manpages'
Installing Man pages 1...
mkdir -p "/home/michal/I-Nex/debian/i-nex/usr/share/man/man1/"
install -Dm644 i-nex.1 i-nex-cpuid.1 i-nex-lspci.1 i-nex.gambas.1 i-nex-edid.1 "/home/michal/I-Nex/debian/i-nex/usr/share/man/man1/"
Compress Man pages 1...
gzip -9 "/home/michal/I-Nex/debian/i-nex/usr/share/man/man1/i-nex-cpuid.1"
gzip -9 "/home/michal/I-Nex/debian/i-nex/usr/share/man/man1/i-nex-edid.1"
gzip -9 "/home/michal/I-Nex/debian/i-nex/usr/share/man/man1/i-nex-lspci.1"
gzip -9 "/home/michal/I-Nex/debian/i-nex/usr/share/man/man1/i-nex.1"
gzip -9 "/home/michal/I-Nex/debian/i-nex/usr/share/man/man1/i-nex.gambas.1"
make[2]: Leaving directory '/home/michal/I-Nex/manpages'
Install docs...
make -C docs install
make[2]: Entering directory '/home/michal/I-Nex/docs'
Create directory...
mkdir -p /home/michal/I-Nex/debian/i-nex/usr/share/doc/i-nex
Installing Docs copyright...
install -Dm644 copyright "/home/michal/I-Nex/debian/i-nex/usr/share/doc/i-nex/copyright"
Create directory...
mkdir -p /home/michal/I-Nex/debian/i-nex/usr/share/doc/i-nex
Installing Docs I-Nex.LICENSE...
install -Dm644 I-Nex.LICENSE "/home/michal/I-Nex/debian/i-nex/usr/share/doc/i-nex/I-Nex.LICENSE"
Create directory...
mkdir -p /home/michal/I-Nex/debian/i-nex/usr/share/doc/i-nex
Installing Docs Pastebinit.LICENSE...
install -Dm644 Pastebinit.LICENSE "/home/michal/I-Nex/debian/i-nex/usr/share/doc/i-nex/Pastebinit.LICENSE"
Compress Docs copyright...
gzip -9 "/home/michal/I-Nex/debian/i-nex/usr/share/doc/i-nex/copyright"
Compress Docs I-Nex.LICENSE...
gzip -9 "/home/michal/I-Nex/debian/i-nex/usr/share/doc/i-nex/I-Nex.LICENSE"
Compress Docs Pastebinit.LICENSE...
gzip -9 "/home/michal/I-Nex/debian/i-nex/usr/share/doc/i-nex/Pastebinit.LICENSE"
make[2]: Leaving directory '/home/michal/I-Nex/docs'
Install JSON...
make -C JSON install
make[2]: Entering directory '/home/michal/I-Nex/JSON'
chmod +x i-nex-edid
chmod +x i-nex-cpuid
test -d /home/michal/I-Nex/debian/i-nex/usr/bin || mkdir /home/michal/I-Nex/debian/i-nex/usr/bin
install -m 0755 i-nex-edid /home/michal/I-Nex/debian/i-nex/usr/bin
test -d /home/michal/I-Nex/debian/i-nex/usr/bin || mkdir /home/michal/I-Nex/debian/i-nex/usr/bin
install -m 0755 i-nex-cpuid /home/michal/I-Nex/debian/i-nex/usr/bin
test -d /home/michal/I-Nex/debian/i-nex/usr/bin || mkdir /home/michal/I-Nex/debian/i-nex/usr/bin
install -m 0755 i-nex-dimms /home/michal/I-Nex/debian/i-nex/usr/bin
make[2]: Leaving directory '/home/michal/I-Nex/JSON'
Install I-Nex...
make -C I-Nex install
make[2]: Entering directory '/home/michal/I-Nex/I-Nex'
make[3]: Entering directory '/home/michal/I-Nex/I-Nex'
Installing i-nex.gambas file in /usr/bin...
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/michal/I-Nex/I-Nex'
make[2]: Leaving directory '/home/michal/I-Nex/I-Nex'
Install Scripts...
make -C Scripts install
make[2]: Entering directory '/home/michal/I-Nex/Scripts'
mkdir -p /home/michal/I-Nex/debian/i-nex/usr/bin
chmod +x i-nex-lspci
install -m 0755 i-nex-lspci /home/michal/I-Nex/debian/i-nex/usr/bin
make[2]: Leaving directory '/home/michal/I-Nex/Scripts'
install -Dm 600 i2c_smbus.rules /home/michal/I-Nex/debian/i-nex/etc/udev/rules.d/i2c_smbus.rules
ln -s /usr/bin/i-nex.gambas /home/michal/I-Nex/debian/i-nex/usr/bin/i-nex
Install database files...
make -C Database install
make[2]: Entering directory '/home/michal/I-Nex/Database'
mkdir -p /home/michal/I-Nex/debian/i-nex/etc/i-nex
mkdir -p /home/michal/I-Nex/debian/i-nex/etc/i-nex/Database
mkdir -p /home/michal/I-Nex/debian/i-nex/etc/i-nex/Database/Logos
install -m 0755 ../Database/Logos/184.gif ../Database/Logos/216.gif ../Database/Logos/116.gif ../Database/Logos/169.gif ../Database/Logos/55.gif ../Database/Logos/243.gif ../Database/Logos/159.gif ../Database/Logos/288.gif ../Database/Logos/99.gif ../Database/Logos/249.gif ../Database/Logos/297.gif ../Database/Logos/33.gif ../Database/Logos/310.gif ../Database/Logos/107.gif ../Database/Logos/65.gif ../Database/Logos/301.gif ../Database/Logos/201.gif ../Database/Logos/271.gif ../Database/Logos/23.gif ../Database/Logos/263.gif ../Database/Logos/122.gif ../Database/Logos/299.gif ../Database/Logos/35.gif ../Database/Logos/199.gif ../Database/Logos/13.gif ../Database/Logos/96.gif ../Database/Logos/233.gif ../Database/Logos/174.gif ../Database/Logos/117.gif ../Database/Logos/115.gif ../Database/Logos/306.gif ../Database/Logos/45.gif ../Database/Logos/273.gif ../Database/Logos/129.gif ../Database/Logos/237.gif ../Database/Logos/104.gif ../Database/Logos/309.gif ../Database/Logos/11.gif ../Database/Logos/160.gif ../Database/Logos/84.gif ../Database/Logos/246.gif ../Database/Logos/83.gif ../Database/Logos/114.gif ../Database/Logos/154.gif ../Database/Logos/71.gif ../Database/Logos/218.gif ../Database/Logos/61.gif ../Database/Logos/291.gif ../Database/Logos/66.gif ../Database/Logos/118.gif ../Database/Logos/41.gif ../Database/Logos/287.gif ../Database/Logos/31.gif ../Database/Logos/21.gif ../Database/Logos/300.gif ../Database/Logos/119.gif ../Database/Logos/100.gif ../Database/Logos/175.gif ../Database/Logos/4.gif ../Database/Logos/244.gif ../Database/Logos/257.gif ../Database/Logos/172.gif ../Database/Logos/242.gif ../Database/Logos/192.gif ../Database/Logos/27.gif ../Database/Logos/124.gif ../Database/Logos/235.gif ../Database/Logos/290.gif ../Database/Logos/180.gif ../Database/Logos/270.gif ../Database/Logos/60.gif ../Database/Logos/37.gif ../Database/Logos/40.gif ../Database/Logos/304.gif ../Database/Logos/206.gif ../Database/Logos/108.gif ../Database/Logos/34.gif ../Database/Logos/128.gif ../Database/Logos/224.gif ../Database/Logos/221.gif ../Database/Logos/139.gif ../Database/Logos/312.gif ../Database/Logos/293.gif ../Database/Logos/121.gif ../Database/Logos/193.gif ../Database/Logos/112.gif ../Database/Logos/186.gif ../Database/Logos/14.gif ../Database/Logos/79.gif ../Database/Logos/298.gif ../Database/Logos/269.gif ../Database/Logos/158.gif ../Database/Logos/59.gif ../Database/Logos/247.gif ../Database/Logos/166.gif ../Database/Logos/39.gif ../Database/Logos/305.gif ../Database/Logos/29.gif ../Database/Logos/162.gif ../Database/Logos/19.gif ../Database/Logos/105.gif ../Database/Logos/16.gif ../Database/Logos/125.gif ../Database/Logos/313.gif ../Database/Logos/147.gif ../Database/Logos/103.gif ../Database/Logos/57.gif ../Database/Logos/170.gif ../Database/Logos/308.gif ../Database/Logos/177.gif ../Database/Logos/137.gif ../Database/Logos/82.gif ../Database/Logos/111.gif ../Database/Logos/81.gif ../Database/Logos/241.gif ../Database/Logos/268.gif ../Database/Logos/46.gif ../Database/Logos/189.gif ../Database/Logos/265.gif ../Database/Logos/140.gif ../Database/Logos/267.gif ../Database/Logos/191.gif ../Database/Logos/220.gif ../Database/Logos/294.gif ../Database/Logos/42.gif ../Database/Logos/120.gif ../Database/Logos/15.gif ../Database/Logos/43.gif ../Database/Logos/9.gif ../Database/Logos/24.gif ../Database/Logos/102.gif ../Database/Logos/163.gif ../Database/Logos/182.gif ../Database/Logos/171.gif ../Database/Logos/261.gif ../Database/Logos/8.gif ../Database/Logos/248.gif ../Database/Logos/135.gif ../Database/Logos/283.gif ../Database/Logos/80.gif ../Database/Logos/292.gif ../Database/Logos/70.gif ../Database/Logos/275.gif ../Database/Logos/26.gif ../Database/Logos/50.gif ../Database/Logos/47.gif ../Database/Logos/72.gif ../Database/Logos/30.gif ../Database/Logos/20.gif ../Database/Logos/62.gif ../Database/Logos/196.gif ../Database/Logos/178.gif ../Database/Logos/145.gif ../Database/Logos/7.gif ../Database/Logos/234.gif ../Database/Logos/77.gif ../Database/Logos/18.gif ../Database/Logos/32.gif ../Database/Logos/133.gif ../Database/Logos/266.gif ../Database/Logos/22.gif ../Database/Logos/25.gif ../Database/Logos/211.gif ../Database/Logos/181.gif ../Database/Logos/12.gif ../Database/Logos/183.gif ../Database/Logos/302.gif ../Database/Logos/36.gif ../Database/Logos/6.gif ../Database/Logos/127.gif ../Database/Logos/109.gif ../Database/Logos/188.gif ../Database/Logos/101.gif ../Database/Logos/134.gif ../Database/Logos/138.gif ../Database/Logos/110.gif ../Database/Logos/1.gif ../Database/Logos/64.gif ../Database/Logos/303.gif ../Database/Logos/203.gif ../Database/Logos/97.gif ../Database/Logos/63.gif ../Database/Logos/185.gif ../Database/Logos/289.gif ../Database/Logos/98.gif ../Database/Logos/217.gif ../Database/Logos/68.gif ../Database/Logos/56.gif ../Database/Logos/48.gif ../Database/Logos/67.gif ../Database/Logos/28.gif ../Database/Logos/223.gif ../Database/Logos/295.gif ../Database/Logos/262.gif ../Database/Logos/190.gif ../Database/Logos/78.gif ../Database/Logos/274.gif ../Database/Logos/123.gif ../Database/Logos/176.gif ../Database/Logos/272.gif ../Database/Logos/38.gif ../Database/Logos/314.gif ../Database/Logos/245.gif ../Database/Logos/276.gif ../Database/Logos/136.gif ../Database/Logos/113.gif ../Database/Logos/311.gif ../Database/Logos/126.gif ../Database/Logos/296.gif ../Database/Logos/225.gif /home/michal/I-Nex/debian/i-nex/etc/i-nex/Database/Logos/
mkdir -p /home/michal/I-Nex/debian/i-nex/etc/i-nex
mkdir -p /home/michal/I-Nex/debian/i-nex/etc/i-nex/Database
mkdir -p /home/michal/I-Nex/debian/i-nex/etc/i-nex/Database/Distlogos
install -m 0755 ../Database/Distlogos/debian.png ../Database/Distlogos/elementaryos.png ../Database/Distlogos/mint.png ../Database/Distlogos/slax.png ../Database/Distlogos/archlinux.png ../Database/Distlogos/linux_mint_LMDE_Big_sticker.png ../Database/Distlogos/opensuse.png ../Database/Distlogos/LinuxDeepin.png ../Database/Distlogos/gentoo.png ../Database/Distlogos/kubuntu.png ../Database/Distlogos/centos.png ../Database/Distlogos/fedora.png ../Database/Distlogos/manjaro.png ../Database/Distlogos/linux_mint_KDE_BIG_sticker.png ../Database/Distlogos/sabayon.png ../Database/Distlogos/linux_mint_Fluxbox_BIG_sticker.png ../Database/Distlogos/slackware.png ../Database/Distlogos/linux_mint_XFCE_Big_sticker.png ../Database/Distlogos/netrunner.png ../Database/Distlogos/linux_mint_LXDE_BIG_sticker.png ../Database/Distlogos/xubuntu.png ../Database/Distlogos/mandriva.png ../Database/Distlogos/kde_neon.png ../Database/Distlogos/ubuntu.png ../Database/Distlogos/redhat.png /home/michal/I-Nex/debian/i-nex/etc/i-nex/Database/Distlogos/
mkdir -p /home/michal/I-Nex/debian/i-nex/etc/i-nex
mkdir -p /home/michal/I-Nex/debian/i-nex/etc/i-nex/Database
install -m 0755 ../Database/A6.json ../Database/i5.json ../Database/atom.json ../Database/intel_Core_2_Duo.json ../Database/Xeon.json ../Database/i7.json ../Database/Opteron.json ../Database/intel.json ../Database/amd.json ../Database/i3.json ../Database/NULLD.json /home/michal/I-Nex/debian/i-nex/etc/i-nex/Database/
mkdir -p /home/michal/I-Nex/debian/i-nex/etc/i-nex
mkdir -p /home/michal/I-Nex/debian/i-nex/etc/i-nex/Database
mkdir -p /home/michal/I-Nex/debian/i-nex/etc/i-nex/Database/i2c
install -m 0755 ../Database/i2c/devices.json /home/michal/I-Nex/debian/i-nex/etc/i-nex/Database/i2c/
make[2]: Leaving directory '/home/michal/I-Nex/Database'
Install SIV files...
make -C SIV install
make[2]: Entering directory '/home/michal/I-Nex/SIV'
mkdir -p /home/michal/I-Nex/debian/i-nex/etc/i-nex
mkdir -p /home/michal/I-Nex/debian/i-nex/etc/i-nex/SIV
install -m 0755 ../SIV/usbdevs.txt ../SIV/pcidevs.txt ../SIV/pnpdevs.txt ../SIV/mondevs.txt ../SIV/pcmdevs.txt /home/michal/I-Nex/debian/i-nex/etc/i-nex/SIV/
make[2]: Leaving directory '/home/michal/I-Nex/SIV'
make[1]: Leaving directory '/home/michal/I-Nex'
   dh_installdocs
   dh_installchangelogs
   dh_installman
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   debian/rules override_dh_fixperms
make[1]: Entering directory '/home/michal/I-Nex'
dh_fixperms
make[1]: Leaving directory '/home/michal/I-Nex'
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
   dh_installdeb
   dh_gencontrol
dpkg-gencontrol: warning: Depends field of package i-nex: unknown substitution variable ${python:Depends}
dpkg-gencontrol: warning: package i-nex: unused substitution variable ${perl:Depends}
   dh_md5sums
   debian/rules override_dh_builddeb
make[1]: Entering directory '/home/michal/I-Nex'
dh_builddeb -- -z9 -Zxz
dpkg-deb: building package 'i-nex' in '../i-nex_7.4.0.1_amd64.deb'.
make[1]: Leaving directory '/home/michal/I-Nex'
` 
shirishag75 commented 7 years ago

@Do you do the debian/rules build step or just jump right into debian/rules binary with fakeroot.

Also are you doing it on debian/stable or debian/testing which I'm using. Mine errors out at the last bend and have no idea why. Is there a way to get the build to be more verbose ?

Update - can you just add this to the debian/rules file -

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

I did it manually and here is the output, hopefully this tells more . As shared I do first -

┌─[shirish@debian] - [~/games/I-Nex] - [10101]
└─[$] fakeroot debian/rules binary                                                                                                   
dh binary  --with autoreconf
   dh_testroot
   dh_prep
    rm -f debian/i-nex.substvars
    rm -f debian/i-nex.*.debhelper
    rm -rf debian/i-nex/
   dh_auto_install
    install -d debian/i-nex
    make -j1 install DESTDIR=/home/shirish/games/I-Nex/debian/i-nex AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/home/shirish/games/I-Nex'
Create nedded dirs...
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/usr/share/applications
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/usr/share/i-nex/pastebinit
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/usr/share/i-nex/pastebinit/pastebin.d
Install pastebinit and other...
install -m 0755 debian/i-nex.desktop /home/shirish/games/I-Nex/debian/i-nex/usr/share/applications/
install -m 0755 debian/i-nex-library.desktop /home/shirish/games/I-Nex/debian/i-nex/usr/share/applications/
install -m 0755 pastebinit /home/shirish/games/I-Nex/debian/i-nex/usr/share/i-nex/pastebinit/
install -m 0755 pastebinit.xml /home/shirish/games/I-Nex/debian/i-nex/usr/share/i-nex/pastebinit/
install -m 0755 release.conf /home/shirish/games/I-Nex/debian/i-nex/usr/share/i-nex/pastebinit/
make -C pastebin.d install
make[2]: Entering directory '/home/shirish/games/I-Nex/pastebin.d'
Installing Pastebinit Config files...
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/usr/share/i-nex/pastebinit/pastebin.d
install -Dm644 susepaste.org.conf pastebin.com.conf paste.opensuse.org.conf lpaste.net.conf slexy.org.conf hpaste.org.conf paste.kde.org.conf paste.pound-python.org.conf paste.pocoo.org.conf paste.ubuntu.org.cn.conf pastie.org.conf paste.debian.net.conf dpaste.com.conf pastebin.mate-desktop.org.conf paste2.org.conf cxg.de.conf paste.openstack.org.conf yourpaste.net.conf p.defau.lt.conf paste.drizzle.org.conf paste.ubuntu.com.conf sprunge.us.conf fpaste.org.conf pb.daviey.com.conf /home/shirish/games/I-Nex/debian/i-nex/usr/share/i-nex/pastebinit/pastebin.d/
make[2]: Leaving directory '/home/shirish/games/I-Nex/pastebin.d'
Install pixmaps...
make -C pixmaps install
make[2]: Entering directory '/home/shirish/games/I-Nex/pixmaps'
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/usr/share/pixmaps
install -m 644 i-nex.png /home/shirish/games/I-Nex/debian/i-nex/usr/share/pixmaps/
install -m 644 i-nex-16.png /home/shirish/games/I-Nex/debian/i-nex/usr/share/pixmaps/
install -m 644 i-nex-32.png /home/shirish/games/I-Nex/debian/i-nex/usr/share/pixmaps/
install -m 644 i-nex-128.png /home/shirish/games/I-Nex/debian/i-nex/usr/share/pixmaps/
make[2]: Leaving directory '/home/shirish/games/I-Nex/pixmaps'
Install changelogs...
make -C changelogs install
make[2]: Entering directory '/home/shirish/games/I-Nex/changelogs'
Installing Changelogs...
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/usr/share/doc/i-nex
install -Dm644 changelog-7.2.1 changelog-0.5.0 changelog-0.4.8 changelog-0.4.6 changelog-0.6.4 changelog-7.4.0 changelog-0.5.8 changelog-0.5.6 changelog-0.4.8.1 changelog-0.6.2 changelog-7.2.0 changelog-7.0.0 changelog-0.6.0 changelog-0.5.4 changelog-0.5.1 changelog-0.6.6 changelog-0.5.2 /home/shirish/games/I-Nex/debian/i-nex/usr/share/doc/i-nex
Compress Changelogs...
gzip -9 /home/shirish/games/I-Nex/debian/i-nex/usr/share/doc/i-nex/changelog-*
make[2]: Leaving directory '/home/shirish/games/I-Nex/changelogs'
Install manpages...
make -C manpages install
make[2]: Entering directory '/home/shirish/games/I-Nex/manpages'
Installing Man pages 1...
mkdir -p "/home/shirish/games/I-Nex/debian/i-nex/usr/share/man/man1/"
install -Dm644 i-nex.1 i-nex-cpuid.1 i-nex-lspci.1 i-nex.gambas.1 i-nex-edid.1 "/home/shirish/games/I-Nex/debian/i-nex/usr/share/man/man1/"
Compress Man pages 1...
gzip -9 "/home/shirish/games/I-Nex/debian/i-nex/usr/share/man/man1/i-nex-cpuid.1"
gzip -9 "/home/shirish/games/I-Nex/debian/i-nex/usr/share/man/man1/i-nex-edid.1"
gzip -9 "/home/shirish/games/I-Nex/debian/i-nex/usr/share/man/man1/i-nex-lspci.1"
gzip -9 "/home/shirish/games/I-Nex/debian/i-nex/usr/share/man/man1/i-nex.1"
gzip -9 "/home/shirish/games/I-Nex/debian/i-nex/usr/share/man/man1/i-nex.gambas.1"
make[2]: Leaving directory '/home/shirish/games/I-Nex/manpages'
Install docs...
make -C docs install
make[2]: Entering directory '/home/shirish/games/I-Nex/docs'
Create directory...
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/usr/share/doc/i-nex
Installing Docs copyright...
install -Dm644 copyright "/home/shirish/games/I-Nex/debian/i-nex/usr/share/doc/i-nex/copyright"
Create directory...
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/usr/share/doc/i-nex
Installing Docs I-Nex.LICENSE...
install -Dm644 I-Nex.LICENSE "/home/shirish/games/I-Nex/debian/i-nex/usr/share/doc/i-nex/I-Nex.LICENSE"
Create directory...
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/usr/share/doc/i-nex
Installing Docs Pastebinit.LICENSE...
install -Dm644 Pastebinit.LICENSE "/home/shirish/games/I-Nex/debian/i-nex/usr/share/doc/i-nex/Pastebinit.LICENSE"
Compress Docs copyright...
gzip -9 "/home/shirish/games/I-Nex/debian/i-nex/usr/share/doc/i-nex/copyright"
Compress Docs I-Nex.LICENSE...
gzip -9 "/home/shirish/games/I-Nex/debian/i-nex/usr/share/doc/i-nex/I-Nex.LICENSE"
Compress Docs Pastebinit.LICENSE...
gzip -9 "/home/shirish/games/I-Nex/debian/i-nex/usr/share/doc/i-nex/Pastebinit.LICENSE"
make[2]: Leaving directory '/home/shirish/games/I-Nex/docs'
Install JSON...
make -C JSON install
make[2]: Entering directory '/home/shirish/games/I-Nex/JSON'
chmod +x i-nex-edid
chmod +x i-nex-cpuid
test -d /home/shirish/games/I-Nex/debian/i-nex/usr/bin || mkdir /home/shirish/games/I-Nex/debian/i-nex/usr/bin
install -m 0755 i-nex-edid /home/shirish/games/I-Nex/debian/i-nex/usr/bin
test -d /home/shirish/games/I-Nex/debian/i-nex/usr/bin || mkdir /home/shirish/games/I-Nex/debian/i-nex/usr/bin
install -m 0755 i-nex-cpuid /home/shirish/games/I-Nex/debian/i-nex/usr/bin
test -d /home/shirish/games/I-Nex/debian/i-nex/usr/bin || mkdir /home/shirish/games/I-Nex/debian/i-nex/usr/bin
install -m 0755 i-nex-dimms /home/shirish/games/I-Nex/debian/i-nex/usr/bin
make[2]: Leaving directory '/home/shirish/games/I-Nex/JSON'
Install I-Nex...
make -C I-Nex install
make[2]: Entering directory '/home/shirish/games/I-Nex/I-Nex'
make[3]: Entering directory '/home/shirish/games/I-Nex/I-Nex'
Installing i-nex.gambas file in /usr/bin...
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/shirish/games/I-Nex/I-Nex'
make[2]: Leaving directory '/home/shirish/games/I-Nex/I-Nex'
Install Scripts...
make -C Scripts install
make[2]: Entering directory '/home/shirish/games/I-Nex/Scripts'
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/usr/bin
chmod +x i-nex-lspci
install -m 0755 i-nex-lspci /home/shirish/games/I-Nex/debian/i-nex/usr/bin
make[2]: Leaving directory '/home/shirish/games/I-Nex/Scripts'
install -Dm 600 i2c_smbus.rules /home/shirish/games/I-Nex/debian/i-nex/etc/udev/rules.d/i2c_smbus.rules
ln -s /usr/bin/i-nex.gambas /home/shirish/games/I-Nex/debian/i-nex/usr/bin/i-nex
Install database files...
make -C Database install
make[2]: Entering directory '/home/shirish/games/I-Nex/Database'
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex/Database
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex/Database/Logos
install -m 0755 ../Database/Logos/23.gif ../Database/Logos/116.gif ../Database/Logos/169.gif ../Database/Logos/245.gif ../Database/Logos/27.gif ../Database/Logos/246.gif ../Database/Logos/288.gif ../Database/Logos/99.gif ../Database/Logos/110.gif ../Database/Logos/297.gif ../Database/Logos/33.gif ../Database/Logos/310.gif ../Database/Logos/21.gif ../Database/Logos/14.gif ../Database/Logos/36.gif ../Database/Logos/301.gif ../Database/Logos/201.gif ../Database/Logos/171.gif ../Database/Logos/145.gif ../Database/Logos/70.gif ../Database/Logos/122.gif ../Database/Logos/299.gif ../Database/Logos/175.gif ../Database/Logos/199.gif ../Database/Logos/138.gif ../Database/Logos/312.gif ../Database/Logos/40.gif ../Database/Logos/233.gif ../Database/Logos/242.gif ../Database/Logos/117.gif ../Database/Logos/115.gif ../Database/Logos/304.gif ../Database/Logos/45.gif ../Database/Logos/72.gif ../Database/Logos/12.gif ../Database/Logos/177.gif ../Database/Logos/104.gif ../Database/Logos/217.gif ../Database/Logos/183.gif ../Database/Logos/123.gif ../Database/Logos/314.gif ../Database/Logos/43.gif ../Database/Logos/15.gif ../Database/Logos/57.gif ../Database/Logos/291.gif ../Database/Logos/6.gif ../Database/Logos/181.gif ../Database/Logos/216.gif ../Database/Logos/71.gif ../Database/Logos/61.gif ../Database/Logos/67.gif ../Database/Logos/118.gif ../Database/Logos/41.gif ../Database/Logos/287.gif ../Database/Logos/31.gif ../Database/Logos/218.gif ../Database/Logos/300.gif ../Database/Logos/119.gif ../Database/Logos/160.gif ../Database/Logos/35.gif ../Database/Logos/4.gif ../Database/Logos/249.gif ../Database/Logos/172.gif ../Database/Logos/306.gif ../Database/Logos/22.gif ../Database/Logos/296.gif ../Database/Logos/311.gif ../Database/Logos/9.gif ../Database/Logos/124.gif ../Database/Logos/83.gif ../Database/Logos/274.gif ../Database/Logos/290.gif ../Database/Logos/80.gif ../Database/Logos/100.gif ../Database/Logos/50.gif ../Database/Logos/82.gif ../Database/Logos/308.gif ../Database/Logos/20.gif ../Database/Logos/107.gif ../Database/Logos/263.gif ../Database/Logos/128.gif ../Database/Logos/221.gif ../Database/Logos/139.gif ../Database/Logos/166.gif ../Database/Logos/81.gif ../Database/Logos/121.gif ../Database/Logos/193.gif ../Database/Logos/112.gif ../Database/Logos/186.gif ../Database/Logos/237.gif ../Database/Logos/79.gif ../Database/Logos/135.gif ../Database/Logos/292.gif ../Database/Logos/158.gif ../Database/Logos/59.gif ../Database/Logos/247.gif ../Database/Logos/16.gif ../Database/Logos/159.gif ../Database/Logos/101.gif ../Database/Logos/305.gif ../Database/Logos/29.gif ../Database/Logos/162.gif ../Database/Logos/19.gif ../Database/Logos/105.gif ../Database/Logos/180.gif ../Database/Logos/25.gif ../Database/Logos/47.gif ../Database/Logos/298.gif ../Database/Logos/147.gif ../Database/Logos/114.gif ../Database/Logos/64.gif ../Database/Logos/267.gif ../Database/Logos/225.gif ../Database/Logos/235.gif ../Database/Logos/108.gif ../Database/Logos/125.gif ../Database/Logos/11.gif ../Database/Logos/268.gif ../Database/Logos/185.gif ../Database/Logos/224.gif ../Database/Logos/265.gif ../Database/Logos/140.gif ../Database/Logos/77.gif ../Database/Logos/191.gif ../Database/Logos/271.gif ../Database/Logos/294.gif ../Database/Logos/120.gif ../Database/Logos/26.gif ../Database/Logos/55.gif ../Database/Logos/302.gif ../Database/Logos/262.gif ../Database/Logos/102.gif ../Database/Logos/163.gif ../Database/Logos/182.gif ../Database/Logos/313.gif ../Database/Logos/261.gif ../Database/Logos/97.gif ../Database/Logos/248.gif ../Database/Logos/176.gif ../Database/Logos/283.gif ../Database/Logos/134.gif ../Database/Logos/192.gif ../Database/Logos/270.gif ../Database/Logos/60.gif ../Database/Logos/275.gif ../Database/Logos/46.gif ../Database/Logos/18.gif ../Database/Logos/188.gif ../Database/Logos/272.gif ../Database/Logos/30.gif ../Database/Logos/62.gif ../Database/Logos/196.gif ../Database/Logos/178.gif ../Database/Logos/34.gif ../Database/Logos/1.gif ../Database/Logos/276.gif ../Database/Logos/42.gif ../Database/Logos/190.gif ../Database/Logos/154.gif ../Database/Logos/32.gif ../Database/Logos/133.gif ../Database/Logos/66.gif ../Database/Logos/293.gif ../Database/Logos/65.gif ../Database/Logos/211.gif ../Database/Logos/241.gif ../Database/Logos/129.gif ../Database/Logos/269.gif ../Database/Logos/309.gif ../Database/Logos/234.gif ../Database/Logos/137.gif ../Database/Logos/37.gif ../Database/Logos/127.gif ../Database/Logos/96.gif ../Database/Logos/109.gif ../Database/Logos/174.gif ../Database/Logos/273.gif ../Database/Logos/170.gif ../Database/Logos/111.gif ../Database/Logos/243.gif ../Database/Logos/244.gif ../Database/Logos/266.gif ../Database/Logos/203.gif ../Database/Logos/103.gif ../Database/Logos/63.gif ../Database/Logos/98.gif ../Database/Logos/68.gif ../Database/Logos/56.gif ../Database/Logos/48.gif ../Database/Logos/7.gif ../Database/Logos/38.gif ../Database/Logos/184.gif ../Database/Logos/295.gif ../Database/Logos/223.gif ../Database/Logos/289.gif ../Database/Logos/78.gif ../Database/Logos/189.gif ../Database/Logos/84.gif ../Database/Logos/257.gif ../Database/Logos/39.gif ../Database/Logos/220.gif ../Database/Logos/303.gif ../Database/Logos/28.gif ../Database/Logos/24.gif ../Database/Logos/8.gif ../Database/Logos/136.gif ../Database/Logos/113.gif ../Database/Logos/13.gif ../Database/Logos/126.gif ../Database/Logos/206.gif /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex/Database/Logos/
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex/Database
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex/Database/Distlogos
install -m 0755 ../Database/Distlogos/debian.png ../Database/Distlogos/elementaryos.png ../Database/Distlogos/mint.png ../Database/Distlogos/slax.png ../Database/Distlogos/archlinux.png ../Database/Distlogos/linux_mint_LMDE_Big_sticker.png ../Database/Distlogos/opensuse.png ../Database/Distlogos/LinuxDeepin.png ../Database/Distlogos/gentoo.png ../Database/Distlogos/kubuntu.png ../Database/Distlogos/centos.png ../Database/Distlogos/manjaro.png ../Database/Distlogos/fedora.png ../Database/Distlogos/sabayon.png ../Database/Distlogos/linux_mint_Fluxbox_BIG_sticker.png ../Database/Distlogos/slackware.png ../Database/Distlogos/linux_mint_XFCE_Big_sticker.png ../Database/Distlogos/ubuntu.png ../Database/Distlogos/linux_mint_LXDE_BIG_sticker.png ../Database/Distlogos/xubuntu.png ../Database/Distlogos/linux_mint_KDE_BIG_sticker.png ../Database/Distlogos/mandriva.png ../Database/Distlogos/kde_neon.png ../Database/Distlogos/netrunner.png ../Database/Distlogos/redhat.png /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex/Database/Distlogos/
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex/Database
install -m 0755 ../Database/A6.json ../Database/i5.json ../Database/atom.json ../Database/intel_Core_2_Duo.json ../Database/i7.json ../Database/Xeon.json ../Database/Opteron.json ../Database/intel.json ../Database/amd.json ../Database/i3.json ../Database/NULLD.json /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex/Database/
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex/Database
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex/Database/i2c
install -m 0755 ../Database/i2c/devices.json /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex/Database/i2c/
make[2]: Leaving directory '/home/shirish/games/I-Nex/Database'
Install SIV files...
make -C SIV install
make[2]: Entering directory '/home/shirish/games/I-Nex/SIV'
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex
mkdir -p /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex/SIV
install -m 0755 ../SIV/usbdevs.txt ../SIV/pcidevs.txt ../SIV/pnpdevs.txt ../SIV/mondevs.txt ../SIV/pcmdevs.txt /home/shirish/games/I-Nex/debian/i-nex/etc/i-nex/SIV/
make[2]: Leaving directory '/home/shirish/games/I-Nex/SIV'
make[1]: Leaving directory '/home/shirish/games/I-Nex'
   dh_installdocs
   dh_installchangelogs
    install -p -m0644 debian/changelog debian/i-nex/usr/share/doc/i-nex/changelog
   dh_installman
    man --recode UTF-8 ./i\-nex\.1\.gz > i\-nex\.1\.gz\.new
    rm -f i-nex.1.gz
    chmod 644 i-nex.1.gz.new
    mv -f i-nex.1.gz.new i-nex.1
    man --recode UTF-8 ./i\-nex\.gambas\.1\.gz > i\-nex\.gambas\.1\.gz\.new
    rm -f i-nex.gambas.1.gz
    chmod 644 i-nex.gambas.1.gz.new
    mv -f i-nex.gambas.1.gz.new i-nex.gambas.1
    man --recode UTF-8 ./i\-nex\-edid\.1\.gz > i\-nex\-edid\.1\.gz\.new
    rm -f i-nex-edid.1.gz
    chmod 644 i-nex-edid.1.gz.new
    mv -f i-nex-edid.1.gz.new i-nex-edid.1
    man --recode UTF-8 ./i\-nex\-cpuid\.1\.gz > i\-nex\-cpuid\.1\.gz\.new
    rm -f i-nex-cpuid.1.gz
    chmod 644 i-nex-cpuid.1.gz.new
    mv -f i-nex-cpuid.1.gz.new i-nex-cpuid.1
    man --recode UTF-8 ./i\-nex\-lspci\.1\.gz > i\-nex\-lspci\.1\.gz\.new
    rm -f i-nex-lspci.1.gz
    chmod 644 i-nex-lspci.1.gz.new
    mv -f i-nex-lspci.1.gz.new i-nex-lspci.1
   dh_perl
    (grep -a -s -v perl:Depends debian/i-nex.substvars; echo perl:Depends=perl:any) > debian/i-nex.substvars.new
    mv debian/i-nex.substvars.new debian/i-nex.substvars
   dh_link
    rm -f debian/i-nex/usr/bin/i-nex
    ln -sf i-nex.gambas debian/i-nex/usr/bin/i-nex
   dh_strip_nondeterminism
   dh_compress
    cd debian/i-nex
    chmod a-x usr/share/doc/i-nex/changelog usr/share/man/man1/i-nex-cpuid.1 usr/share/man/man1/i-nex-edid.1 usr/share/man/man1/i-nex-lspci.1 usr/share/man/man1/i-nex.1 usr/share/man/man1/i-nex.gambas.1
    gzip -9nf usr/share/doc/i-nex/changelog usr/share/man/man1/i-nex-cpuid.1 usr/share/man/man1/i-nex-edid.1 usr/share/man/man1/i-nex-lspci.1 usr/share/man/man1/i-nex.1 usr/share/man/man1/i-nex.gambas.1
    cd '/home/shirish/games/I-Nex'
   debian/rules override_dh_fixperms
make[1]: Entering directory '/home/shirish/games/I-Nex'
dh_fixperms
    find debian/i-nex  -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
    find debian/i-nex ! -type l  -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
    find debian/i-nex/usr/share/doc -type f  ! -regex 'debian/i-nex/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
    find debian/i-nex/usr/share/doc -type d  -print0 2>/dev/null | xargs -0r chmod 0755
    find debian/i-nex/usr/share/man debian/i-nex/usr/man/ debian/i-nex/usr/X11*/man/ -type f  -print0 2>/dev/null | xargs -0r chmod 0644
    find debian/i-nex/usr/include -type f  -print0 2>/dev/null | xargs -0r chmod 0644
    find debian/i-nex/usr/share/applications -type f  -print0 2>/dev/null | xargs -0r chmod 0644
    find debian/i-nex/usr/lib/x86_64-linux-gnu/perl5/5.22 debian/i-nex/usr/share/perl5 -type f -perm -5 -name '*.pm'  -print0 2>/dev/null | xargs -0r chmod a-X
    find debian/i-nex -perm -5 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' \)  -print0 2>/dev/null | xargs -0r chmod 0644
    find debian/i-nex/usr/bin -type f  -print0 2>/dev/null | xargs -0r chmod a+x
    find debian/i-nex/usr/lib -type f -name '*.ali'  -print0 2>/dev/null | xargs -0r chmod uga-w
make[1]: Leaving directory '/home/shirish/games/I-Nex'
   dh_strip
    install -d debian/.debhelper/i-nex/dbgsym-root/usr/lib/debug/.build-id/e0
    objcopy --only-keep-debug --compress-debug-sections debian/i-nex/usr/bin/i-nex-cpuid debian/.debhelper/i-nex/dbgsym-root/usr/lib/debug/.build-id/e0/84f929ed5b3c659fd37332662b44e13a9ba7b0.debug
    chmod 0644 debian/.debhelper/i-nex/dbgsym-root/usr/lib/debug/.build-id/e0/84f929ed5b3c659fd37332662b44e13a9ba7b0.debug
    strip --remove-section=.comment --remove-section=.note debian/i-nex/usr/bin/i-nex-cpuid
    objcopy --add-gnu-debuglink debian/.debhelper/i-nex/dbgsym-root/usr/lib/debug/.build-id/e0/84f929ed5b3c659fd37332662b44e13a9ba7b0.debug debian/i-nex/usr/bin/i-nex-cpuid
    install -d debian/.debhelper/i-nex/dbgsym-root/usr/lib/debug/.build-id/c5
    objcopy --only-keep-debug --compress-debug-sections debian/i-nex/usr/bin/i-nex-edid debian/.debhelper/i-nex/dbgsym-root/usr/lib/debug/.build-id/c5/7b7d45b0f4aa3fe47d3444987907896708a25d.debug
    chmod 0644 debian/.debhelper/i-nex/dbgsym-root/usr/lib/debug/.build-id/c5/7b7d45b0f4aa3fe47d3444987907896708a25d.debug
    strip --remove-section=.comment --remove-section=.note debian/i-nex/usr/bin/i-nex-edid
    objcopy --add-gnu-debuglink debian/.debhelper/i-nex/dbgsym-root/usr/lib/debug/.build-id/c5/7b7d45b0f4aa3fe47d3444987907896708a25d.debug debian/i-nex/usr/bin/i-nex-edid
    install -d debian/.debhelper/i-nex/dbgsym-root/usr/share/doc
    ln -s i-nex debian/.debhelper/i-nex/dbgsym-root/usr/share/doc/i-nex-dbgsym
   dh_makeshlibs
    rm -f debian/i-nex/DEBIAN/shlibs
   dh_shlibdeps
    install -d debian/i-nex/DEBIAN
    dpkg-shlibdeps -Tdebian/i-nex.substvars debian/i-nex/usr/bin/i-nex-cpuid debian/i-nex/usr/bin/i-nex-edid
dpkg-shlibdeps: error: no dependency information found for /usr/lib/libcpuid.so.11 (used by debian/i-nex/usr/bin/i-nex-cpuid)
Hint: check if the library actually comes from a package.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/i-nex.substvars debian/i-nex/usr/bin/i-nex-cpuid debian/i-nex/usr/bin/i-nex-edid returned exit code 2
debian/rules:23: recipe for target 'binary' failed
make: *** [binary] Error 2
eloaders commented 7 years ago

Packages for Ubuntu on the site launchpad build correctly. On my machine too. I think you are doing something wrong. Maybe you libcpuid11 and 13 in the system? i-nex needs libcpuid13.

try to run make in

cd I-Nex/JSON
make

and put the information

shirishag75 commented 7 years ago

Negative on that . See -

┌─[shirish@debian] - [~] - [10023]
└─[$] aptitude search libcpuid                                                                                                      
i   libcpuid13                                                      - small C library for x86/x86_64 CPU detection and feature extraction       
i   libcpuid13-dev                                                  - Development files for libcpuid

As far as the make under JSON is concerned, here is the output -


┌─[shirish@debian] - [~/games/I-Nex] - [10026]
└─[$] cd JSON    

and then -

┌─[shirish@debian] - [~/games/I-Nex/JSON] - [10027]
└─[$] make                                                                                                                           
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,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   fifty ? "50 " : "",

sixty ? "60 " : "",

   seventyfive ? "75 " : "",

eightyfive ? "85 " : "",

   reduced ? "60RB " : "",

names[(x[2] & 0x60) >> 5],

   (((x[2] & 0x60) == 0x20) && reduced) ? "RB" : "");

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:2045: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; ^ Compile i-nex-cpuid ✔ gcc -o i-nex-cpuid i-nex-cpuid.c -I/usr/local/include/libcpuid -L/usr/local/lib -lcpuid -O2


So it seems to do that part perfectly or at least what I can read from the above. 
eloaders commented 7 years ago

Try add to debian/shlibs

libcpuid 13 libcpuid13
linux-vdso.so 1
libc.so 6
ld-linux-x86-64.so 2
shirishag75 commented 7 years ago

umm... but there isn't a directory called shlibs -

┌─[shirish@debian] - [~/games/I-Nex/debian] - [10147]
└─[$] ls                                                                                                                        
changelog  compat  control  gbp.conf  i-nex.desktop  i-nex-library.desktop  i-nex.triggers  rules  source

Do you want me to create that directory and then put in those files from wherever they are ?

Please be more specific so I know what I have to do.

eloaders commented 7 years ago

create debian/shlibs and paste.

shirishag75 commented 7 years ago

Still no go -

creating the debian/shlibs file https://paste.debian.net/836850/ cleaning the build using fakeroot debian/rules clean - https://paste.debian.net/836851/ building build using fakeroot debian/rules build - https://paste.debian.net/836853/

and finally trying to build binary using fakeroot debian/rules binary - https://paste.debian.net/836854/

:(

alphastar868 commented 7 years ago

@shirishag75 - Try this:

mv /usr/lib/libcpuid.so.11 ~

...then try to rebuild in Debian.

shirishag75 commented 7 years ago

aha... that was the issue, when purging via aptitude it didn't purge libcpuid.so.11 because it was at /usr/lib/libcpuid.so.11 and not at /usr/lib/x86_64-linux-gnu/libcpuid.so.11 . Also found another copy of the same at /usr/local/lib/ . I removed all those and was finally able to build it and even install it .

┌─[shirish@debian] - [/usr/lib] - [10093]
└─[$] ls libcpu*                                                                                                                  
libcpufreq.so.0  libcpufreq.so.0.0.0  libcpuid.a  libcpuid.la  libcpuid.so

hence removed them manually -

┌─[shirish@debian] - [/usr/lib] - [10094]
└─[$] sudo rm -rf libcpuid.a libcpuid.la libcpuid.so                                                                                
[sudo] password for shirish: 

Did the same thing at /usr/local/lib as well.

https://paste.debian.net/837666/ - the successful build.

I'm closing the ticket but there are other areas which would well do with improvement so will file tickets for that.