[Bug 244251] [exp-run] Against projects/clang1000-import branch

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 21 14:06:19 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244251

Dimitry Andric <dim at FreeBSD.org> changed:

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

--- Comment #2 from Dimitry Andric <dim at 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 it is
redirected (but it works OK from the terminal).  E.g.:

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

$ sh readtest.sh 
foo
EOF

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

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


More information about the freebsd-ports-bugs mailing list