pkgsrc-Users archive

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

Re: devel/glib2 fails on Linux with "syntax error in VERSION script"



Jeremy C. Reed wrote:
devel/glib2 fails on Linux with "syntax error in VERSION script". This is on Ubuntu.

/usr/bin/ld:.libs/libglib-2.0.ver:2: ignoring invalid character `\001' in script
/usr/bin/ld:.libs/libglib-2.0.ver:2: syntax error in VERSION script
collect2: ld returned 1 exit status

That work/glib-2.12.9/glib/.libs/libglib-2.0.ver file contains a CTRL-A:

{ global:
^A;
local: *; };


I am trying to track down what generated this.

/bin/sh is a symlink to dash, and that shell is not POSIX-compliant. In particular,

"echo '\400'" echoes an @ character.

The bootstrap handles this by setting TOOLS_PLATFORM.sh=/bin/bash (line 861 of bootstrap/bootstrap revision 1.92).

Roland



Home | Main Index | Thread Index | Old Index