Bug 196305

Summary: mail/faces: Does not build with OPTIONS_UNSET=NLS
Product: Ports & Packages Reporter: Dirk Meyer <dinoex>
Component: Individual Port(s)Assignee: Ashish SHUKLA <ashish>
Status: Closed FIXED    
Severity: Affects Some People Keywords: patch
Priority: --- Flags: koobs: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
mail/faces diff none

Description Dirk Meyer freebsd_committer freebsd_triage 2014-12-27 19:17:34 UTC
faces was build successfully without NLS support

last working build: Nov  4, faces-1.7.7_10

All dependencies build with OPTIONS_UNSET=NLS

mail/faces does not build anymore with OPTIONS_UNSET=NLS

[...]
cc  -O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu89 -Wall  -L../compface -L/usr/local/lib -fstack-protector -o faces  main.o address.o get.o  mon.o pop.o md5c.o imap.o  face_socket.o parsefrom.o parsedate.o  rec.o gtk.o -L/usr/local/lib -L/usr/local/lib -lgtk -lgdk -lgmodule -lglib -lXi -lXext -lX11 -lm    -lX11 -L../compface -lcompface  
gtk.o: In function `create_imap_popup':
gtk.c:(.text+0x190): undefined reference to `libintl_dgettext'
gtk.c:(.text+0x4f9): undefined reference to `libintl_dgettext'
gtk.c:(.text+0x5b9): undefined reference to `libintl_dgettext'
gtk.c:(.text+0x67c): undefined reference to `libintl_dgettext'
gtk.c:(.text+0x765): undefined reference to `libintl_dgettext'
gtk.o:gtk.c:(.text+0x851): more undefined references to `libintl_dgettext' follow
gtk.o: In function `init_graphics':
gtk.c:(.text+0x2168): undefined reference to `libintl_bindtextdomain'
gtk.c:(.text+0x2172): undefined reference to `libintl_textdomain'
gtk.o: In function `make_frame':
gtk.c:(.text+0x2806): undefined reference to `libintl_dgettext'
gtk.o: In function `button_press':
gtk.c:(.text+0x2d6b): undefined reference to `libintl_dgettext'
gtk.c:(.text+0x2e6c): undefined reference to `libintl_dgettext'
gtk.c:(.text+0x2f0c): undefined reference to `libintl_dgettext'
gtk.c:(.text+0x2fc1): undefined reference to `libintl_dgettext'
gtk.o:gtk.c:(.text+0x30fe): more undefined references to `libintl_dgettext' follow
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-12-27 19:17:34 UTC
Auto-assigned to maintainer ashish@FreeBSD.org
Comment 2 Ashish SHUKLA freebsd_committer freebsd_triage 2014-12-28 17:02:50 UTC
Created attachment 151039 [details]
mail/faces diff

Hi,

Could you try this attached diff, and see if it fixes your issue ?

HTH
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2014-12-28 18:27:57 UTC
With your patch applied it builds successful.
Comment 4 Dirk Meyer freebsd_committer freebsd_triage 2015-01-18 10:57:52 UTC
The update committed solves the problem