[opensuse-packaging] ./configure failing in builds, but not if manually invoked
In https://build.opensuse.org/package/show/home:gregfreemyer:Tools-for-forensic... I get an error I don't recognize: configure: error: conditional "HAVE_WINCRYPT" was never defined. [ 81s] Usually this means the macro was only invoked conditionally Both in OBS and via "osc build locally" If I expand the tarball in a Leap 42.1 machine and invoke ./configure I have no problem. Anyone know what's wrong? Thanks, Greg -- Greg Freemyer Upset at the Hillary/Trump choice Don't get mad, get Evan Evan (Never Trump) McMullin for President www.IntelligentAvatar.net -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Greg Freemyer
In https://build.opensuse.org/package/show/home:gregfreemyer:Tools-for-forensic...
I get an error I don't recognize:
configure: error: conditional "HAVE_WINCRYPT" was never defined. [ 81s] Usually this means the macro was only invoked conditionally
Both in OBS and via "osc build locally"
If I expand the tarball in a Leap 42.1 machine and invoke ./configure I have no problem.
Anyone know what's wrong?
%configure expands into: [ 58s] + CFLAGS='-fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' [ 58s] + export CFLAGS [ 58s] + CXXFLAGS='-fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' [ 58s] + export CXXFLAGS [ 58s] + FFLAGS='-fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' [ 58s] + export FFLAGS [ 58s] + ./configure --host=i586-suse-linux-gnu --build=i586-suse-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-static --enable-wide-character-type --enable-python2 --enable-python3 And you could bisect locally what option breaks it. -- Best regards, Dmitriy Perlow R&D chemical engineer Lekpharm JLLC -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tue, Sep 13, 2016 at 11:15 PM, Dmitriy Perlow
Greg Freemyer
Wed, 14 Sep 2016 05:43:35 +0300: In https://build.opensuse.org/package/show/home:gregfreemyer:Tools-for-forensic...
I get an error I don't recognize:
configure: error: conditional "HAVE_WINCRYPT" was never defined. [ 81s] Usually this means the macro was only invoked conditionally
Both in OBS and via "osc build locally"
If I expand the tarball in a Leap 42.1 machine and invoke ./configure I have no problem.
Anyone know what's wrong?
%configure expands into:
[ 58s] + CFLAGS='-fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' [ 58s] + export CFLAGS [ 58s] + CXXFLAGS='-fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' [ 58s] + export CXXFLAGS [ 58s] + FFLAGS='-fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' [ 58s] + export FFLAGS [ 58s] + ./configure --host=i586-suse-linux-gnu --build=i586-suse-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-static --enable-wide-character-type --enable-python2 --enable-python3
And you could bisect locally what option breaks it.
Thanks, Hopefully that will let me reproduce it locally. Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tue 13 Sep 2016 10:43:35 PM CDT, Greg Freemyer wrote:
In https://build.opensuse.org/package/show/home:gregfreemyer:Tools-for-forensic...
I get an error I don't recognize:
configure: error: conditional "HAVE_WINCRYPT" was never defined. [ 81s] Usually this means the macro was only invoked conditionally
Hi Perhaps update your libhmac package, this seems to have had some associated work lately? https://github.com/libyal/libhmac I think you need to disable winapi in your configure options. -- Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890) openSUSE Leap 42.1|GNOME 3.16.2|4.1.31-30-default up 1:50, 3 users, load average: 0.17, 0.21, 0.17 CPU AMD Athlon(tm) II X4 635 @ 2.90GHz | GPU Nvidia GeForce 8800 GT -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Wed, Sep 14, 2016 at 12:03 AM, Malcolm
On Tue 13 Sep 2016 10:43:35 PM CDT, Greg Freemyer wrote:
In https://build.opensuse.org/package/show/home:gregfreemyer:Tools-for-forensic...
I get an error I don't recognize:
configure: error: conditional "HAVE_WINCRYPT" was never defined. [ 81s] Usually this means the macro was only invoked conditionally
Hi Perhaps update your libhmac package, this seems to have had some associated work lately? https://github.com/libyal/libhmac
I check it out, but something in libyal seems to get updated every week or so. Very much a moving target.
I think you need to disable winapi in your configure options.
That sounds very much on target. Thanks, Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 09/14/2016 12:13 PM, Greg Freemyer wrote:
In https://build.opensuse.org/package/show/home:gregfreemyer:Tools-for-forensic...
I get an error I don't recognize:
configure: error: conditional "HAVE_WINCRYPT" was never defined. [ 81s] Usually this means the macro was only invoked conditionally
Both in OBS and via "osc build locally"
If I expand the tarball in a Leap 42.1 machine and invoke ./configure I have no problem.
Anyone know what's wrong?
Many projects are not the nicest and try and autodetect various flags which can often lead to issues only showing up in this case but not others often because your system has a different set of development headers installed or sometimes another environment factor. One of my upstreams once had a bug where autotools generated different source tarballs depending on whether or not the systemd development headers were installed on the machine the tarball was built on. Cheers -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adeliade Australia, UTC+9:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
participants (4)
-
Dmitriy Perlow
-
Greg Freemyer
-
Malcolm
-
Simon Lees