Bug 195267 - x11-toolkits/vte3: build broken
Summary: x11-toolkits/vte3: build broken
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-21 23:46 UTC by Barbara Guida
Modified: 2014-11-25 20:55 UTC (History)
2 users (show)

See Also:
bar: maintainer-feedback? (gnome)


Attachments
patch (325 bytes, text/plain)
2014-11-21 23:46 UTC, Barbara Guida
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Barbara Guida freebsd_committer freebsd_triage 2014-11-21 23:46:45 UTC
Created attachment 149701 [details]
patch

Trying to build vte3 to upgrade to gnome3, I'm receiving the following error:

  GISCAN   Vte-2.91.gir
  CCLD     testvte
./.libs/libvte-2.91.so: undefined reference to `__stack_chk_fail_local'
linking of temporary binary failed: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', '--silent', 'cc', '-o', '/usr/ports/x11-toolkits/vte3/work/vte-0.38.0/src/tmp-introspectFWkmPB/Vte-2.91', '-export-dynamic', '-I/usr/local/include', '-O2', '-pipe', '-fno-strict-aliasing', '-march=prescott', '/usr/ports/x11-toolkits/vte3/work/vte-0.38.0/src/tmp-introspectFWkmPB/Vte-2.91.o', '-L.', 'libvte-2.91.la', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-L/usr/local/lib', '-lglib-2.0', '-lintl']' returned non-zero exit status 1

FreeBSD satanasso.local.net 9.3-STABLE FreeBSD 9.3-STABLE #0 r272192: Sat Sep 27 04:43:06 CEST 2014     root@satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO  i386

I've successfully built the port with the attached patch.
I'm not sure if it builds on different ARCH and OSVERSION as I can't test right now.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-11-21 23:46:45 UTC
Auto-assigned to maintainer gnome@FreeBSD.org
Comment 2 Henk van Oers 2014-11-25 08:34:51 UTC
uname -a
FreeBSD mbox 9.3-RELEASE-p5 FreeBSD 9.3-RELEASE-p5 #0: Mon Nov  3 22:02:57 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

This patch works for my.

Thanks.

[...]
===>>> Installation of x11/gnome-terminal (gnome-terminal-3.14.1) complete
Comment 3 Henk van Oers 2014-11-25 08:38:02 UTC
 Importance: 	--- Affects Only Me 

Is an understatement :)

Affects Many....
Comment 4 commit-hook freebsd_committer freebsd_triage 2014-11-25 20:50:19 UTC
A commit references this bug:

Author: kwm
Date: Tue Nov 25 20:49:21 UTC 2014
New revision: 373430
URL: https://svnweb.freebsd.org/changeset/ports/373430

Log:
  Make sure vte doesn't enabled stack-protector on it own on i386 when
  OSVERSION < 1000036 (taken from bsd.ssp.mk). Else it fails to build with:
  libvte-2.91.so: undefined reference to `__stack_chk_fail_local'.

  PR:		195267
  Submitted by:	bar@

Changes:
  head/x11-toolkits/vte3/Makefile
Comment 5 Koop Mast freebsd_committer freebsd_triage 2014-11-25 20:55:48 UTC
A slightly diffrent fix committed, thanks for the report!