Re: Problem compiling source package (Estonian eID Software)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 03/13/2018 06:04 AM, Michelle Konzack wrote:
> Good day,
> 
> because since 2 weeks my Firefox 52 does not more work with the Swedbank
> Online Banking and I had to compile my own version of  Firefox (SELinux
> enhanced), I took the opportunity to recompile the Open-eID Software for
> Debian Stretch since all THREE versions from Ubuntu can not be installed
> on Debian Stretch.
> 
> Unfortunately I get the answer from the responsable with:
> 
> ------------------------------------------------------------------------
> 2018-03-06 11:35:00 EET - Martin VestAnswer:
> Hi,
>  thank you for the e-mail.
>  I have consulted with eID software development, and unfortunately I
> have to report that Debian op. system is not supported.
> We recommend to use supported Ubuntu versions.
>  Kind regards,
>  Martin Vest
> Technical support specialist
> SK ID Solutions AS
> ------------------------------------------------------------------------
> 
> which realy piss me off!  If I have to install Ubuntu, then I  can  also
> buy a licence of Windows 10 Nightmare!
> 
> However, most of the software compiled fine, but  with  two  packages  I
> have problems because I do not find the error...
> 
> My mirror is here:
> 
> ------------------------------------------------------------------------
> deb     http://devel.debian.tamay-dogan.net/debian-eid stretch main
> deb-src http://devel.debian.tamay-dogan.net/debian-eid stretch main
> ------------------------------------------------------------------------
> 
> Note: My mirror is currently not GPG signed because of a reconstruction.
> 
> 
> However, I have errors building the following 2 sources:
> <http://devel.debian.tamay-dogan.net/debian-eid/pool/main/libd/libdigidoc/libdigidoc_3.10.1.1212-1404-michelle1_amd64.build>
> and
> <http://devel.debian.tamay-dogan.net/debian-eid/pool/main/q/qdigidoc-tera/qdigidoc-tera_1.0.0.6-1604-michelle1_amd64.build>
> 
> Please can you help me?
> 

Incompatible Libraries, like OpenSSL for example?

I looked in the projects debian/control files, they
have almost no required version in their (build-)dependency
list, which does not really help...

But looking for some of your errors seems to confirm it:
 
> You are using OpenSSL 1.1.0 which made this structure (and many others) opaque - which means you cannot stack allocate it. Instead do this:
> 
> EVP_MD_CTX *md_ctx;
> 
> md_ctx = EVP_MD_CTX_new();
> if (md_ctx == NULL)
>     ...
> ...
> EVP_MD_CTX_free(md_ctx);
> 
-- https://stackoverflow.com/a/42666983


I.e., running stretch I have OpenSSL 1.1.0f:
# apt show libssl-dev
Package: libssl-dev
Version: 1.1.0f-3+deb9u1

Whereas they probably still expect 1.0.X (reasonable guess)
See: https://packages.ubuntu.com/search?keywords=libssl-dev

All released Ubuntus have still 1.0.2g or earlier, only the
upcoming "bionic" release will sync up with Debian.

So either add some #ifdef macros checking which OpenSSL version
is on the build host and use the new patterns to differ between 1.0.1
and 1.1.0 or write them again that their code won't work under the
Ubuntu 18.04 LTS Bionic Beaver, they have tto support it sooner or
later so should fix it them self.

hope that helps at least a bit,
cheers,
Thomas

--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux