Unable to compile I-Nex, using arnieff's libcpuid library.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
I-Nex |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I first installed arnieff's libcpuid in /usr/lib/ as described below.
see :-
~/games/libcpuid$ git remote -v
origin https:/
origin https:/
the only change I did was while configuring libcpuid is :-
./configure --prefix=/usr/
the duplicate status is wrong because I'm using arnieff's libcpuid library only.
so when I did
~/games/
it installed the libcpuid libthe duplicate status is wrong because I'm using arnieff's libcpuid library only. rary in /usr/lib/
/usr/lib$ ls libcpu*
libcpufreq.so.0 libcpufreq.so.0.0.0 libcpuid.a libcpuid.la libcpuid.so libcpuid.so.11 libcpuid.so.11.1.1
/usr/lib/pkgconfig$ ls libcpu*
libcpuid.pcthe duplicate status is wrong because I'm using arnieff's libcpuid library only.
Then tried to use fakeroot rules/build command.
~/games/I-Nex$ fakeroot debian/rules build
dh build --with autoreconf
dh_testdir
debian/rules override_
make[1]: Entering directory '/data/
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://
configure.ac:4: installing './install-sh'
configure.ac:4: installing './missing'
make[1]: Leaving directory '/data/
debian/rules override_
make[1]: Entering directory '/data/
dh_auto_configure --sourcedirecto
configure: WARNING: unrecognized options: --disable-
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 component... Ok
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
configure: WARNING: unrecognized options: --disable-
make[1]: Leaving directory '/data/
dh_auto_build
make[1]: Entering directory '/data/
Build I-Nex...
make -C I-Nex
make[2]: Entering directory '/data/
Compiling i-nex project...
OK
make[2]: Leaving directory '/data/
Build JSON...
make -C JSON
make[2]: Entering directory '/data/
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-
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.
nonconformant
i-nex-edid.c:110:5: warning: ‘v’ may be used uninitialized in this function [-Wmaybe-
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.
printf(" %dx%d@%dHz\n", x, y, refresh);
^
i-nex-edid.
write(ofd, edid, edid_lines * 16);
^
Compile i-nex-cpuid ✔
gcc -o i-nex-cpuid i-nex-cpuid.c -static -I/usr/
i-nex-cpuid.c: In function ‘main’:
i-nex-cpuid.
printf(" \"VALUE\": %s \n", data.flags[
i-nex-cpuid.
i-nex-cpuid.
printf(" \"VALUE\": %s \n", data.flags[
i-nex-cpuid.
printf(" \"VALUE\": %s \n", data.flags[
i-nex-cpuid.
printf(" \"VALUE\": %s \n", data.flags[
Makefile:23: recipe for target 'compile-
make[2]: *** [compile-
make[2]: Leaving directory '/data/
Makefile:24: recipe for target 'build-json' failed
make[1]: *** [build-json] Error 2
make[1]: Leaving directory '/data/
dh_auto_build: make -j1 returned exit code 2
debian/rules:20: recipe for target 'build' failed
make: *** [build] Error 2
can you tell/share why the build errored out at the fakeroot debian/rules build stage itself ?
Changed in i-nex: | |
status: | New → Invalid |
Ubuntu builds must be always build in clean system. Fresh instalation.
You are using an old version of the library. check if you do not have a duplicate in /usr/local
I recommend using the Ubuntu ppa or change the static compilation by editing inex.mk.