Summary: | sci-geosciences/gpsd-3.7[-dbus,-shm,-sockets] fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Sci-geo Project <sci-geosciences> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | floppym, vapier |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 463428 | ||
Attachments: | build log |
Description
Agostino Sarubbo
![]() libgps.h:24:1: error: expected identifier before '}' token scons: *** [libgps_sock.os] Error 1 Here's the code in question: enum export_t { #ifdef SOCKET_EXPORT_ENABLE sockets, #endif /* SOCKET_EXPORT_ENABLE */ #ifdef SHM_EXPORT_ENABLE shm, #endif /* SHM_EXPORT_ENABLE */ #ifdef DBUS_EXPORT_ENABLE dbus, #endif /* DBUS_EXPORT_ENABLE */ }; A quick "fix" would be REQUIRED_USE="|| ( dbus shm sockets )". However, that looks like a very suspicious bit of code... seems likely to cause ABI breaks. should be all set now in the tree; thanks for the report! Commit message: Fix building when USE="-dbus -shm -sockets" http://sources.gentoo.org/sci-geosciences/gpsd/files/gpsd-3.7-no-export-t.patch?rev=1.1 http://sources.gentoo.org/sci-geosciences/gpsd/files/gpsd-3.8-no-export-t.patch?rev=1.1 http://sources.gentoo.org/sci-geosciences/gpsd/gpsd-3.7.ebuild?r1=1.5&r2=1.6 http://sources.gentoo.org/sci-geosciences/gpsd/gpsd-3.8.ebuild?r1=1.3&r2=1.4 http://sources.gentoo.org/sci-geosciences/gpsd/gpsd-9999.ebuild?r1=1.11&r2=1.12 |