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

Re: AST ksh alpha: compilation failure related to multiarch

Hi Giovanni,

On Sun, Oct 27, 2013 at 07:36:15PM +0100, Giovanni Rapagnani wrote:
> Hi, I am trying to build the alpha release of AST ksh on debian testing
> but the compilation fails because it cannot find header files under
> /usr/include/x86_64-linux-gnu/sys.

> Actually, if I create the symlink /usr/include/sys ->
> /usr/include/x86_64-linux-gnu/sys the compilation succeeds.

> I have the same behavior (i.e compilation failure solved with the
> symlink) under debian wheezy and ubuntu 12.04.

> So I think ksh does not handle correctly the implementation of multiarch
> in debian. Am I right?

I would say, rather, than AST ksh doesn't correctly handle using the
compiler's default include path.  If you are using any of the compilers
included in Debian to build this software, the include path should be set up
transparently for you; so for AST ksh to not find these headers means that
it's doing something nonstandard.  Perhaps you can post a build log?

> If ksh source code does not handle multiarch correctly, which document
> should I ask upstream to look into in order to understand how multiarch
> is implemented in debian? I have the feeling the people on
> ast-developpers ml are not familiar with debian or ubuntu. Actually,
> they asked me if "my test machine was broken"; and "how could I have
> such a weird header files setup".

> I think to submit them a summary of
> https://wiki.debian.org/Multiarch/TheCaseForMultiarch for the reason of
> such a header files setup in debian/ubuntu and
> https://wiki.debian.org/Multiarch/LibraryPathOverview for the way their
> source code should handle it.

Those seem like good starting points for discussion, with upstream, yeah.

> Am I right this issue is related to multiarch in debian?
> Do you have any advices to make my point against the ksh developers?

"Stop second-guessing the compiler" :)

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature

Reply to: