Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926999 - app-pda/usbmuxd-1.1.1 - utils.h: error: redeclaration of enumerator PLIST_FORMAT_XML
Summary: app-pda/usbmuxd-1.1.1 - utils.h: error: redeclaration of enumerator PLIST_FOR...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: zurabid2016
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on: 930276
Blocks:
  Show dependency tree
 
Reported: 2024-03-14 08:39 UTC by Toralf Förster
Modified: 2024-04-20 13:59 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.00 KB, text/plain)
2024-03-14 08:39 UTC, Toralf Förster
Details
app-pda:usbmuxd-1.1.1:20240314-035155.log (app-pda:usbmuxd-1.1.1:20240314-035155.log,15.98 KB, text/plain)
2024-03-14 08:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,197.63 KB, text/plain)
2024-03-14 08:39 UTC, Toralf Förster
Details
environment (environment,82.85 KB, text/plain)
2024-03-14 08:39 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,968 bytes, application/x-xz)
2024-03-14 08:39 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,27.15 KB, application/x-xz)
2024-03-14 08:39 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,8.82 KB, application/x-xz)
2024-03-14 08:39 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,50.24 KB, application/x-xz)
2024-03-14 08:39 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,24.38 KB, application/x-xz)
2024-03-14 08:39 UTC, Toralf Förster
Details
0003-Port-to-libplist-2.3.0 (0003-Port-to-libplist-2.3.0.patch,4.43 KB, patch)
2024-03-19 17:53 UTC, Attila Tóth
Details | Diff
0004-conf-Fix-false-plist-read-write-errors-caused-by-usi.patch (0004-conf-Fix-false-plist-read-write-errors-caused-by-usi.patch,1.53 KB, patch)
2024-03-19 17:53 UTC, Attila Tóth
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 2024-03-14 08:39:33 UTC
too long lines were shrinked:

make[2]: Entering directory '/var/tmp/portage/app-pda/usbmuxd-1.1.1/work/usbmuxd-1.1.1/src'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I..  -g -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter  -I/usr/include/libusb-1.0  -O2 -pipe -march=native -fno-diagnostics-color -c -o usbmuxd-clie
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I..  -g -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter  -I/usr/include/libusb-1.0  -O2 -pipe -march=native -fno-diagnostics-color -c -o usbmuxd-devi
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I..  -g -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter  -I/usr/include/libusb-1.0  -O2 -pipe -march=native -fno-diagnostics-color -c -o usbmuxd-pref
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I..  -g -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter  -I/usr/include/libusb-1.0  -O2 -pipe -march=native -fno-diagnostics-color -c -o usbmuxd-log.
In file included from log.c:34:
utils.h:82:9: error: redeclaration of enumerator PLIST_FORMAT_XML
   82 |         PLIST_FORMAT_XML,
      |         ^~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-20240311-120512

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.0
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.76.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.1 linux/amd64

  HEAD of ::gentoo
commit 65fdc747062cbd0095cc47e76002dc8eb2bba07b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Mar 14 03:04:11 2024 +0000

    2024-03-14 03:04:11 UTC

emerge -qpvO app-pda/usbmuxd
[ebuild  N    ] app-pda/usbmuxd-1.1.1-r2  USE="(-selinux) -systemd"
Comment 1 Toralf Förster gentoo-dev 2024-03-14 08:39:33 UTC
Created attachment 887602 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-03-14 08:39:34 UTC
Created attachment 887603 [details]
app-pda:usbmuxd-1.1.1:20240314-035155.log
Comment 3 Toralf Förster gentoo-dev 2024-03-14 08:39:36 UTC
Created attachment 887604 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-03-14 08:39:37 UTC
Created attachment 887605 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-03-14 08:39:38 UTC
Created attachment 887606 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-03-14 08:39:39 UTC
Created attachment 887607 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-03-14 08:39:40 UTC
Created attachment 887608 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-03-14 08:39:41 UTC
Created attachment 887609 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-03-14 08:39:42 UTC
Created attachment 887610 [details]
temp.tar.xz
Comment 10 benoit.dufour 2024-03-19 16:17:01 UTC
I got the same issue and I can't emerge app-pda/usbmuxd-1.1.1-r2
Comment 11 Attila Tóth 2024-03-19 17:53:20 UTC
Created attachment 887946 [details, diff]
0003-Port-to-libplist-2.3.0

Taken from Debian to handle this issue
Comment 12 Attila Tóth 2024-03-19 17:53:52 UTC
Created attachment 887947 [details, diff]
0004-conf-Fix-false-plist-read-write-errors-caused-by-usi.patch

Additional Debian fix
Comment 13 zurabid2016 2024-03-20 05:28:32 UTC
Sorry for not answering right away, I was really busy during the week. I will revbump the ebuild with the relevant patches included soon-ish. 
There is a commit[1] in the master branch upstream, it is not yet in any release.
[1]: https://github.com/libimobiledevice/usbmuxd/commit/32a8ebedc695dfae21497977bf2f77a3d5b50f91
Comment 14 Larry the Git Cow gentoo-dev 2024-04-20 13:59:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6820af89912277871ba165dcd7815dc99cabced3

commit 6820af89912277871ba165dcd7815dc99cabced3
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2024-04-20 13:59:09 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2024-04-20 13:59:09 +0000

    app-pda/usbmuxd: drop 1.1.1
    
    Closes: https://bugs.gentoo.org/926999
    Closes: https://github.com/gentoo/gentoo/pull/35853
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 app-pda/usbmuxd/usbmuxd-1.1.1.ebuild | 44 ------------------------------------
 1 file changed, 44 deletions(-)