Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911522 - app-pda/libimobiledevice-1.3.0-r2: common/utils.h:55:9: error: redeclaration of enumerator 'PLIST_FORMAT_XML'
Summary: app-pda/libimobiledevice-1.3.0-r2: common/utils.h:55:9: error: redeclaration ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Matthew Smith
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-31 11:23 UTC by Kostadin Shishmanov
Modified: 2023-08-01 05:55 UTC (History)
0 users

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


Attachments
emerge --info and build log (build.log,38.96 KB, text/x-log)
2023-07-31 11:23 UTC, Kostadin Shishmanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kostadin Shishmanov 2023-07-31 11:23:50 UTC
Created attachment 866703 [details]
emerge --info and build log

sys-devel/gcc-13.2.0 is built with USE="cxx debug default-stack-clash-protection default-znow hardened multilib nls nptl openmp pgo pie sanitize ssp zstd"

I tried building it with more sane CFLAGS="-O2 -pipe", but the outcome was the same.

In file included from /mnt/tmp/portage/app-pda/libimobiledevice-1.3.0-r2/work/libimobiledevice-1.3.0/common/utils.c:37:
/mnt/tmp/portage/app-pda/libimobiledevice-1.3.0-r2/work/libimobiledevice-1.3.0/common/utils.h:55:9: error: redeclaration of enumerator 'PLIST_FORMAT_XML'
   55 |         PLIST_FORMAT_XML,
      |         ^~~~~~~~~~~~~~~~
In file included from /mnt/tmp/portage/app-pda/libimobiledevice-1.3.0-r2/work/libimobiledevice-1.3.0/common/utils.h:37:
/usr/local/include/plist/plist.h:162:9: note: previous definition of 'PLIST_FORMAT_XML' with type 'enum <anonymous>'
  162 |         PLIST_FORMAT_XML     = 1,  /**< XML format */
      |         ^~~~~~~~~~~~~~~~
/mnt/tmp/portage/app-pda/libimobiledevice-1.3.0-r2/work/libimobiledevice-1.3.0/common/utils.h:56:9: error: redeclaration of enumerator 'PLIST_FORMAT_BINARY'
   56 |         PLIST_FORMAT_BINARY
      |         ^~~~~~~~~~~~~~~~~~~
/usr/local/include/plist/plist.h:163:9: note: previous definition of 'PLIST_FORMAT_BINARY' with type 'enum <anonymous>'
  163 |         PLIST_FORMAT_BINARY  = 2,  /**< bplist00 format */
      |         ^~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:473: utils.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /mnt/tmp/portage/app-pda/libimobiledevice-1.3.0-r2/work/libimobiledevice-1.3.0/common/userpref.c:69:
/mnt/tmp/portage/app-pda/libimobiledevice-1.3.0-r2/work/libimobiledevice-1.3.0/common/utils.h:55:9: error: redeclaration of enumerator 'PLIST_FORMAT_XML'
   55 |         PLIST_FORMAT_XML,
      |         ^~~~~~~~~~~~~~~~
In file included from /mnt/tmp/portage/app-pda/libimobiledevice-1.3.0-r2/work/libimobiledevice-1.3.0/common/userpref.h:41,
                 from /mnt/tmp/portage/app-pda/libimobiledevice-1.3.0-r2/work/libimobiledevice-1.3.0/common/userpref.c:67:
/usr/local/include/plist/plist.h:162:9: note: previous definition of 'PLIST_FORMAT_XML' with type 'enum <anonymous>'
  162 |         PLIST_FORMAT_XML     = 1,  /**< XML format */
      |         ^~~~~~~~~~~~~~~~
/mnt/tmp/portage/app-pda/libimobiledevice-1.3.0-r2/work/libimobiledevice-1.3.0/common/utils.h:56:9: error: redeclaration of enumerator 'PLIST_FORMAT_BINARY'
   56 |         PLIST_FORMAT_BINARY
      |         ^~~~~~~~~~~~~~~~~~~
/usr/local/include/plist/plist.h:163:9: note: previous definition of 'PLIST_FORMAT_BINARY' with type 'enum <anonymous>'
  163 |         PLIST_FORMAT_BINARY  = 2,  /**< bplist00 format */
      |         ^~~~~~~~~~~~~~~~~~~
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-01 05:55:37 UTC
>/usr/local/include/plist/plist.h

You have a copy of app-pda/libplist in /usr/local.