Bug 192523 - Port devel/gvfs fails to build with 'cdio/paranoia.h' file not found error
Summary: Port devel/gvfs fails to build with 'cdio/paranoia.h' file not found error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-09 12:28 UTC by Robert Cina
Modified: 2014-08-09 14:21 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Cina 2014-08-09 12:28:30 UTC
The devel/gvfs port fails to build on my 10-Stable box with the following error:

gmake[6]: Entering directory `/usr/ports/devel/gvfs/work/gvfs-1.12.3/daemon'
  CC     gvfsd_cdda-gvfsbackendcdda.o
  CC     gvfsd_gphoto2-daemon-main.o
gvfsbackendcdda.c:58:10: fatal error: 'cdio/paranoia.h' file not found
#include <cdio/paranoia.h>
         ^
daemon-main.c:66:3: warning: 'g_type_init' is deprecated
      [-Wdeprecated-declarations]
  g_type_init ();
  ^
/usr/local/include/glib-2.0/gobject/gtype.h:669:23: note: 'g_type_init' declared
      here
void                  g_type_init                    (void);
                      ^
1 error generated.
gmake[6]: *** [gvfsd_cdda-gvfsbackendcdda.o] Error 1
gmake[6]: *** Waiting for unfinished jobs....
1 warning generated.
gmake[6]: Leaving directory `/usr/ports/devel/gvfs/work/gvfs-1.12.3/daemon'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory `/usr/ports/devel/gvfs/work/gvfs-1.12.3/daemon'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/usr/ports/devel/gvfs/work/gvfs-1.12.3/daemon'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/devel/gvfs/work/gvfs-1.12.3'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/devel/gvfs/work/gvfs-1.12.3'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/gvfs
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/gvfs


As far as I can tell on my system that include file exists and is located at /usr/local/include/cdio/paranoia/paranoia.h  It is installed by the port sysutils/libcdio-paranoia and that port is already installed on my system.
Comment 1 Piotr Kubaj freebsd_committer freebsd_triage 2014-08-09 13:45:10 UTC
The solution is to change "#include "cdio/paranoia.h"" to "#include "cdio/paranoia/paranoia.h"" as that file has been moved due to libcdio split. That, however, does not fix further issues, as there is API incompatibility between the old and new libcdio's.
Comment 2 Piotr Kubaj freebsd_committer freebsd_triage 2014-08-09 14:12:13 UTC
It seems to have been fixed in r364442.
Comment 3 John Marino freebsd_committer freebsd_triage 2014-08-09 14:21:25 UTC
yep. ;)