Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 759514 - media-gfx/autopano-sift-C-2.5.1 : /.../KeypointXML.c: error: conflicting types for KeypointXMLReader_ReadComplete2
Summary: media-gfx/autopano-sift-C-2.5.1 : /.../KeypointXML.c: error: conflicting type...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-11 20:21 UTC by Toralf Förster
Modified: 2021-02-28 12:26 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.26 KB, text/plain)
2020-12-11 20:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,175.82 KB, text/plain)
2020-12-11 20:21 UTC, Toralf Förster
Details
environment (environment,116.03 KB, text/plain)
2020-12-11 20:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.69 KB, application/x-bzip)
2020-12-11 20:21 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.72 KB, application/x-bzip)
2020-12-11 20:21 UTC, Toralf Förster
Details
media-gfx:autopano-sift-C-2.5.1:20201211-194355.log (media-gfx:autopano-sift-C-2.5.1:20201211-194355.log,12.08 KB, text/plain)
2020-12-11 20:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.72 KB, application/x-bzip)
2020-12-11 20:21 UTC, Toralf Förster
Details
Patch to respect include order dependency (0001-adjust-to-include-order-deoendency.patch,605 bytes, patch)
2021-02-08 11:50 UTC, Mr.Chauv
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-12-11 20:21:47 UTC
[ 10%] Building C object CMakeFiles/libsift.dir/KeypointXML.o
/usr/bin/x86_64-pc-linux-gnu-gcc -DHAS_PANO13 -I/var/tmp/portage/media-gfx/autopano-sift-C-2.5.1/work/autopano-sift-C-2.5.1 -I/usr/include/libxml2 -I/var/tmp/portage/media-gfx/autopano-sift-C-2.5.1/work/autopano-sift-C-2.5.1_build  -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color   -I/usr/include/libxml2 -Wall -o CMakeFiles/libsift.dir/KeypointXML.o -c /var/tmp/portage/media-gfx/autopano-sift-C-2.5.1/work/autopano-sift-C-2.5.1/KeypointXML.c
/var/tmp/portage/media-gfx/autopano-sift-C-2.5.1/work/autopano-sift-C-2.5.1/KeypointXML.c:44:18: error: conflicting types for ‘KeypointXMLReader_ReadComplete2’
   44 | KeypointXMLList* KeypointXMLReader_ReadComplete2 (char* filename, bool compressed)
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/media-gfx/autopano-sift-C-2.5.1/work/autopano-sift-C-2.5.1/KeypointXML.c:16:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20201207-105317

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.9
  [2]   python3.8 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.48.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Dec 11 07:05:12 PM UTC 2020

emerge -qpvO media-gfx/autopano-sift-C
[ebuild  N    ] media-gfx/autopano-sift-C-2.5.1
Comment 1 Toralf Förster gentoo-dev 2020-12-11 20:21:48 UTC
Created attachment 677989 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-12-11 20:21:49 UTC
Created attachment 677992 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-12-11 20:21:51 UTC
Created attachment 677995 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-12-11 20:21:52 UTC
Created attachment 677998 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-12-11 20:21:53 UTC
Created attachment 678001 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-12-11 20:21:54 UTC
Created attachment 678004 [details]
media-gfx:autopano-sift-C-2.5.1:20201211-194355.log
Comment 7 Toralf Förster gentoo-dev 2020-12-11 20:21:56 UTC
Created attachment 678007 [details]
temp.tbz2
Comment 8 Mr.Chauv 2021-02-08 11:50:39 UTC
Created attachment 686040 [details, diff]
Patch to respect include order dependency

put into
/etc/portage/patches/media-gfx/autopano-sift-C-2.5.1
to have emerge automatically apply it
Comment 9 Kalin KOZHUHAROV 2021-02-14 00:45:42 UTC
(In reply to Mr.Chauv from comment #8)
Thank you, I confirm the patch works!
Comment 10 Larry the Git Cow gentoo-dev 2021-02-28 12:26:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e716ed8da37c97742a65cc17d8446640f37b4dc

commit 4e716ed8da37c97742a65cc17d8446640f37b4dc
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-02-28 12:06:34 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-02-28 12:26:12 +0000

    media-gfx/autopano-sift-C: Switch to cmake.eclass, fix build
    
    Thanks-to: Mr.Chauv <mr.chauv@mailbox.org>
    Closes: https://bugs.gentoo.org/759514
    Package-Manager: Portage-3.0.16, Repoman-3.0.2
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../autopano-sift-C/autopano-sift-C-2.5.1.ebuild   | 11 ++++++----
 .../autopano-sift-C-2.5.1-include-order.patch      | 24 ++++++++++++++++++++++
 2 files changed, 31 insertions(+), 4 deletions(-)