Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 445012 - =media-libs/taglib-1.8: build failure on FreeBSD
Summary: =media-libs/taglib-1.8: build failure on FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL: https://github.com/taglib/taglib/pull/87
Whiteboard:
Keywords:
Depends on:
Blocks: 236834
  Show dependency tree
 
Reported: 2012-11-27 22:55 UTC by Naohiro Aota
Modified: 2012-12-01 14:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
complete build.log (build.log,259.11 KB, text/plain)
2012-11-27 22:55 UTC, Naohiro Aota
Details
simple patch to include sys/stat.h to define S_* properly (patch,266 bytes, patch)
2012-11-27 22:56 UTC, Naohiro Aota
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2012-11-27 22:55:40 UTC
Created attachment 330780 [details]
complete build.log

Build failure with:

In file included from /var/tmp/portage/media-libs/taglib-1.8/work/taglib-1.8/tests/test_trueaudio.cpp:5:0:
/var/tmp/portage/media-libs/taglib-1.8/work/taglib-1.8/tests/utils.h: In function 'std::string copyFile(const string&, const string&)':
/var/tmp/portage/media-libs/taglib-1.8/work/taglib-1.8/tests/utils.h:36:62: error: 'S_IRUSR' was not declared in this scope
/var/tmp/portage/media-libs/taglib-1.8/work/taglib-1.8/tests/utils.h:36:72: error: 'S_IWUSR' was not declared in this scope
In file included from /var/tmp/portage/media-libs/taglib-1.8/work/taglib-1.8/tests/test_mpeg.cpp:6:0:
/var/tmp/portage/media-libs/taglib-1.8/work/taglib-1.8/tests/utils.h: In function 'std::string copyFile(const string&, const string&)':
/var/tmp/portage/media-libs/taglib-1.8/work/taglib-1.8/tests/utils.h:36:62: error: 'S_IRUSR' was not declared in this scope
/var/tmp/portage/media-libs/taglib-1.8/work/taglib-1.8/tests/utils.h:36:72: error: 'S_IWUSR' was not declared in this scope
gmake[2]: *** [tests/CMakeFiles/test_runner.dir/test_mpeg.cpp.o] Error 1

I've already proposed a patch to the upstream. (See URL)
Comment 1 Naohiro Aota gentoo-dev 2012-11-27 22:56:33 UTC
Created attachment 330782 [details, diff]
simple patch to include sys/stat.h to define S_* properly
Comment 2 Michael Palimaka (kensington) gentoo-dev 2012-12-01 14:34:02 UTC
Thanks, fixed in CVS.

+  01 Dec 2012; Michael Palimaka <kensington@gentoo.org>
+  +files/taglib-1.8-freebsd.patch, taglib-1.8.ebuild:
+  Fix build on FreeBSD wrt bug #445012. Thanks to Naohiro Aota
+  <naota@gentoo.org> for the patch.