Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463900 - media-libs/oyranos-0.9.1-r1: fix various compiler warnings / possible runtime failure
Summary: media-libs/oyranos-0.9.1-r1: fix various compiler warnings / possible runtime...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-03-30 17:31 UTC by Andreas Sturmlechner
Modified: 2013-04-13 00:19 UTC (History)
0 users

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


Attachments
oyranos-0.9.1-fix-real-compiler-warnings.patch (oyranos-0.9.1-fix-real-compiler-warnings.patch,2.00 KB, patch)
2013-03-30 17:31 UTC, Andreas Sturmlechner
Details | Diff
oyranos-0.9.1-fix-more-compiler-warnings.patch (oyranos-0.9.1-fix-more-compiler-warnings.patch,17.17 KB, patch)
2013-03-30 17:35 UTC, Andreas Sturmlechner
Details | Diff
oyranos-0.9.1-patches.tar.xz (oyranos-0.9.1-patches.tar.xz,3.93 KB, application/x-xz)
2013-04-01 19:17 UTC, Andreas Sturmlechner
Details
oyranos-0.9.1-r3.ebuild.diff against 0.9.1-r1 (oyranos-0.9.1-r3.ebuild.diff,2.65 KB, patch)
2013-04-01 19:36 UTC, Andreas Sturmlechner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2013-03-30 17:31:07 UTC
Created attachment 343784 [details, diff]
oyranos-0.9.1-fix-real-compiler-warnings.patch

First backported patch fixes the following portage warning:

 * QA Notice: Package triggers severe warnings which indicate that it
 *            may exhibit random runtime failures.
 * /usr/include/bits/string3.h:104:3: warning: call to __builtin___memcpy_chk will always overflow destination buffer [enabled by default]

 * Please do not file a Gentoo bug and instead report the above QA
 * issues directly to the upstream developers of this software.
 * Homepage: http://www.oyranos.org/


The original upstream commit contained a lot of duplicate typo corrections that I re-did with one sed command in my oyranos-0.9.1 ebuild and tore out of this attached patch to keep it reasonably small.
Comment 1 Andreas Sturmlechner gentoo-dev 2013-03-30 17:35:03 UTC
Created attachment 343786 [details, diff]
oyranos-0.9.1-fix-more-compiler-warnings.patch

fix even more warnings
Comment 2 Andreas Sturmlechner gentoo-dev 2013-04-01 19:17:34 UTC
Created attachment 343984 [details]
oyranos-0.9.1-patches.tar.xz

Various backports to try and make oyranos-0.9.1 more robust, since 0.9.4 doesn't yet work.
Comment 3 Andreas Sturmlechner gentoo-dev 2013-04-01 19:36:24 UTC
Created attachment 343988 [details, diff]
oyranos-0.9.1-r3.ebuild.diff against 0.9.1-r1

Ebuild that makes use of them all. It is what I am currently using to fix bug 447246 (also depends on elektra-0.7.1-r3.ebuild from there), bug 464094 and bug 464102, correcting some typos along the way.

Take whatever you deem fit. ;)
Comment 4 Michael Weber (RETIRED) gentoo-dev 2013-04-13 00:19:22 UTC
+*oyranos-0.9.1-r2 (13 Apr 2013)
+
+  13 Apr 2013; Michael Weber <xmw@gentoo.org> +oyranos-0.9.1-r2.ebuild,
+  +files/oyranos-0.9.1-fix-array-access.patch,
+  +files/oyranos-0.9.1-fix-crash-over-missed-output-image.patch,
+  +files/oyranos-0.9.1-fix-double-object-release.patch,
+  +files/oyranos-0.9.1-fix-more-compiler-warnings.patch,
+  +files/oyranos-0.9.1-fix-oyRankMap-helper-functions-crashes.patch,
+  +files/oyranos-0.9.1-fix-oyStringSegment-crash.patch,
+  +files/oyranos-0.9.1-fix-pseq-crash.patch,
+  +files/oyranos-0.9.1-fix-real-compiler-warnings.patch,
+  +files/oyranos-0.9.1-initialise-memory-for-strtod.patch,
+  +files/oyranos-0.9.1-omit-profile-with-error.patch,
+  +files/oyranos-0.9.1-support-pur-xrandr-without-xinerama.patch:
+  Revbump fix RDEPEND on icc profiles (bug 464094), compiler/runtime issues
+  (bug 463900), add fltk IUSE (bug 464102). Thanks to Andreas Sturmlechner.
+