Bug 153458

Summary: /usr/ports/net-im/telepathy-glib fails to build: isses with /usr/include/machine/endian.h
Product: Ports & Packages Reporter: paul <paul>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description paul 2010-12-26 22:40:09 UTC
After countless iterations of recursive port building (with both portmaster and portupgrade, as well as individually,
this port fails to build, and the warning point to a machine-specific header file which seems unlikely. 

/usr/local/bin/g-ir-scanner -v \
                --namespace TelepathyGLib \
                --nsversion=0.12 \
                --identifier-prefix=Tp \
                -I.. \
                -I.. \
                --include=GLib-2.0 \
                --include=Gio-2.0 \
                --libtool="../libtool" \
                --library=libtelepathy-glib.la \
                --pkg gio-2.0 \
                --pkg dbus-glib-1 \
                --warn-all \
                --output _gen/TelepathyGLib-0.12.gir.tmp \
                ./proxy.c _gen/proxy-introspectable.h ./account.c ./account.h ./account-channel-request.c ./account-channel-request.h ./account-manager.c ./account-manager.h ./connection.c ./connection.h ./connection-handles.c ./connection-contact-info.c ./protocol.c ./protocol.h ./connection-manager.c ./connection-manager.h ./channel.c ./channel.h ./handle.c ./handle.h ./handle-channels-context.c ./handle-channels-context.h ./dbus-daemon.c ./dbus-daemon.h ./interfaces.c ./interfaces.h ./intset.c ./intset.h ./dbus.c ./dbus.h ./capabilities.c ./capabilities.h ./contact.c ./contact.h ./defs.h ./debug.c ./debug.h ./base-client.c ./base-client.h ./simple-approver.c ./simple-approver.h ./simple-handler.c ./simple-handler.h ./simple-observer.c ./simple-observer.h ./dbus-properties-mixin.c ./dbus-properties-mixin.h ./contacts-mixin.c ./contacts-mixin.h ./group-mixin.c ./group-mixin.h ./presence-mixin.c ./presence-mixin.h ./channel-dispatch-operation.c ./channel-dispatch-operation.h 
 ./channel-request.c ./channel-request.h ./observe-channels-context.c ./observe-channels-context.h ./add-dispatch-operation-context.c ./add-dispatch-operation-context.h ./protocol.c ./protocol.h ./base-connection.c ./base-connection.h ./handle-repo.c ./handle-repo.h ./handle-set.c ./errors.c ./errors.h _gen/telepathy-enums.h 
/usr/include/machine/endian.h:107: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at '{'
/usr/include/machine/endian.h:107: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at ';'
_gen/proxy-introspectable.h:56: Warning: TelepathyGLib: symbol='NUM_TP_DBUS_ERRORS': Unknown namespace for symbol 'NUM_TP_DBUS_ERRORS'

Fix: 

Tried everything I know. gnome@freebsd.org seems of the opinion it's pilot error but Google has other results for this 
[http://bit.ly/fKSdj3] and no resolutions on record [http://tinyurl.com/26sze3 ]
How-To-Repeat: portmaster net-im/telepathy-glib
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-12-26 22:40:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jeremy Messenger freebsd_committer freebsd_triage 2010-12-28 20:14:09 UTC
State Changed
From-To: open->feedback

Please respone back to my requests[1]. Submit a PR and skip my requests are not 
going to change anything. An add question, what is version of FreeBSD? 

[1] http://lists.freebsd.org/pipermail/freebsd-gnome/2010-December/025379.html
Comment 3 Jeremy Messenger freebsd_committer freebsd_triage 2010-12-28 20:36:39 UTC
State Changed
From-To: feedback->open

Fix a typo of email address... open and will get back to feedback..
Comment 4 Jeremy Messenger freebsd_committer freebsd_triage 2010-12-28 20:37:20 UTC
State Changed
From-To: open->feedback

Please respone back to my requests[1]. Submit a PR and skip my requests are not 
going to change anything. An add question, what is version of FreeBSD? 

[1] http://lists.freebsd.org/pipermail/freebsd-gnome/2010-December/025379.html
Comment 5 Jeremy Messenger freebsd_committer freebsd_triage 2010-12-28 20:52:36 UTC
State Changed
From-To: feedback->closed

Give us your correct email address otherwise I will keep this PR closed.