After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 789290 - Problem compiling vte git pull of 21st Oct 2017
Problem compiling vte git pull of 21st Oct 2017
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-10-21 13:35 UTC by Dave
Modified: 2017-10-21 15:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
resources.cc (5.45 KB, text/x-c++src)
2017-10-21 14:05 UTC, Dave
Details
make.log (130.14 KB, text/plain)
2017-10-21 14:42 UTC, Dave
Details

Description Dave 2017-10-21 13:35:20 UTC
I'm compiling on slackware 14.2 x86_64 using gcc 5.3.0.

During make I get a lot of errors from resources.cc such as the following:

resources.cc:43:1: error: stray â<80><98>\221â<80><99> in program

Errors are repeated many times and finally spit out a bunch of characters that require me to use the 'reset' command. Finally, I end at:

make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Comment 1 Christian Persch 2017-10-21 13:53:18 UTC
What's your locale? If it's not an UTF-8 locale, try using one.  Also, 5.3.0 is rather old....

Not reproducible here.
Comment 2 Dave 2017-10-21 13:56:33 UTC
locale:

LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

I expect gcc will be updated when the next Slackware release comes out. 14.2 is about one year old.
Comment 3 Christian Persch 2017-10-21 14:00:07 UTC
Locale looks fine. Can you attach the generated resources.cc file here, please?
Comment 4 Dave 2017-10-21 14:05:34 UTC
Created attachment 362014 [details]
resources.cc

I also meant to add build options in report:

./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --infodir=/usr/info \
  --docdir=/usr/doc/$PRGNAM-$VERSION \
  --enable-static=no \
  --enable-introspection \
  --build=$ARCH-slackware-linux

make
make install DESTDIR=$PKG
Comment 5 Dave 2017-10-21 14:07:06 UTC
$SLKCFLAGS="-O2 -fPIC"
$LIBDIRSUFFIX="64"
$PRGNAM-$VERSION="vte3-git20171021"
Comment 6 Christian Persch 2017-10-21 14:09:59 UTC
Ok something went wrong here; resources.cc is in the wrong format. Can you make clean, then do a build with 'make V=1' and see what exactly is the output when make generates resources.cc ?
Comment 7 Dave 2017-10-21 14:14:26 UTC
Exactly the same output.
Comment 8 Christian Persch 2017-10-21 14:35:05 UTC
The output of *make*, not the file resources.cc.
Comment 9 Dave 2017-10-21 14:42:09 UTC
Created attachment 362015 [details]
make.log

Made using

make clean
make V=1 2>&1 >make.log
Comment 10 Christian Persch 2017-10-21 15:09:34 UTC
I see. Your glib version is < 2.50; since the fix was simple, I just fixed this on git master now instead of bumping the glib required version.