Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2020 14:06:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244251] [exp-run] Against projects/clang1000-import branch
Message-ID:  <bug-244251-7788-A0xnMjkTfi@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244251-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244251-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244251

Dimitry Andric <dim@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jilles@FreeBSD.org

--- Comment #2 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to Antoine Brodin from comment #1)
> There is a problem on i386,  very simple ports fail to build

>From pkgconf-1.6.3,1.log:
> libtool:   error: 'libpkgconf/audit.lo' is not a valid libtool object

There's something pretty strange going on with /bin/sh on i386; for some
reason, the 'read' builtin only reads the *first* line of a text file, if i=
t is
redirected (but it works OK from the terminal).  E.g.:

$ cat readtest.sh=20
#!/bin/sh
{ echo foo; echo bar; echo baz; } > readtest.txt
while read line; do
  echo $line
done < readtest.txt
echo EOF

$ sh readtest.sh=20
foo
EOF

This does work properly on amd64, I haven't been able yet to find what caus=
es
this.  But it indeed causes libtool (which is a shell script) to only be ab=
le
to read the first line of the .lo files, and that makes it error out.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244251-7788-A0xnMjkTfi>