Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634764 - media-libs/libgphoto2-2.5.14 Bump fixes upstream bug:#1032 No access to fuji x-t20 files since upgrade from 2.5.12 to 2.5.14
Summary: media-libs/libgphoto2-2.5.14 Bump fixes upstream bug:#1032 No access to fuji ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://sourceforge.net/p/gphoto/bugs...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-19 10:17 UTC by Fab
Modified: 2018-01-23 08:24 UTC (History)
3 users (show)

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


Attachments
gtkam debug file with libgphoto2-2.5.14 (gtkam.debug,11.90 KB, text/plain)
2017-10-19 10:17 UTC, Fab
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fab 2017-10-19 10:17:52 UTC
Created attachment 499276 [details]
gtkam debug file with libgphoto2-2.5.14

Hi,

I have a camera which use the PTP2 protocol. Usually, I'm using media-gfx/gtkam to import pictures from this camera, and it worked fine until media-libs/libgphoto2-2.5.14 was stabilized.

With libgphoto2-2.5.14, into gtkam, when trying to add the camera, I'm having a popup error saying :
> could not initialize camera

Downgrading to libgphoto2-2.5.12 solves the problem.

Attach file is a debug file coming from media-gfx/gtkam with libgphoto2-2.5.14.
Noticeable errors :
> PTP_OC 0x1002 receiving resp failed: PTP Session Already Opened (0x201e)

> PTP_OC 0x1016 receiving resp failed: PTP Device Prop Not Supported (0x200a)

> 'camera_prepare_capture (camera, context)' failed: 'Unspecified error' (-1)

> Invalid parameters: 'camera' is NULL/FALSE.
Comment 1 Fab 2017-10-19 10:21:12 UTC
$ emerge --info gtkam libgphoto2
Portage 2.3.8 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.23-r4, 4.9.45 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.45-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.4.1
KiB Mem:     8145548 total,   2973220 free
KiB Swap:    6291444 total,   6291444 free
Head commit of repository cubieboard-overlay: 109851818a7a7595cc55baa9d736b05229e08510

Timestamp of repository gentoo: Wed, 18 Oct 2017 12:15:01 +0000
Head commit of repository gentoo: 9534222100a4d225617bc6ddaaced39181814cc2
Head commit of repository gnome15: d79956488ea7df3a63d2dcdf971741b0ccf7d277

Head commit of repository java: 27cf97f28eef68dca10fb21be334c973021bf297

Head commit of repository obs-studio-overlay: 986b6a026efbf0cfe46d4cc0d850a80ff79766f8

Head commit of repository steam-overlay: 95363f3e4f2589448c912097ff13b9e48073c7de

Head commit of repository voyageur: 8c251722d813f73223437992abe067fd2ef8425b

Head commit of repository perso: ac703da46532928a8068716dbac49d7ca5a42afd

Head commit of repository netfab: 02a270e986953ccc354458ada888d19612f8298c

sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.32.1::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

cubieboard-overlay
    location: /portage/trees/cubieboard
    sync-type: git
    sync-uri: https://github.com/ksa242/gentoo-cubieboard-overlay.git
    masters: gentoo
    priority: -1001

gentoo
    location: /portage/trees/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.fr.gentoo.org/gentoo-portage
    priority: -1000

gnome15
    location: /portage/trees/gnome15
    sync-type: git
    sync-uri: https://github.com/CMoH/gnome15-overlay.git
    masters: gentoo
    priority: 0

java
    location: /portage/trees/java
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 0

obs-studio-overlay
    location: /portage/trees/obs-studio
    sync-type: git
    sync-uri: https://github.com/saintdev/obs-studio-overlay
    masters: gentoo
    priority: 0

steam-overlay
    location: /portage/trees/steam
    sync-type: git
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 0

voyageur
    location: /portage/trees/voyageur
    sync-type: git
    sync-uri: https://cafarelli.fr/git/voyageur-overlay/
    masters: gentoo
    priority: 0

crossdev
    location: /portage/trees/portage-crossdev
    masters: gentoo
    priority: 10

perso
    location: /portage/trees/perso
    sync-type: git
    sync-uri: /home/depots/gentoo/overlays/perso.git
    masters: gentoo
    priority: 9998

netfab
    location: /portage/trees/netfab
    sync-type: git
    sync-uri: /home/depots/gentoo/overlays/netfab.git
    masters: gentoo
    priority: 9999

Installed sets: @common-apps, @dev-apps, @games-apps, @portage-apps, @qemukvm, @system-apps, @xfce
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=sandybridge -mtune=generic -O2 -pipe -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mpclmul -mpopcnt -mavx -msse4.2 -msse4.1 -mfxsr -mxsave -mxsaveopt -fstack-protector-strong -mno-3dnow -mno-sse4a -mno-movbe -mno-aes -mno-sha -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=sandybridge -mtune=generic -O2 -pipe -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mpclmul -mpopcnt -mavx -msse4.2 -msse4.1 -mfxsr -mxsave -mxsaveopt -fstack-protector-strong -mno-3dnow -mno-sse4a -mno-movbe -mno-aes -mno-sha -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1"
DISTDIR="/portage/distpack/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --jobs 3 --load-average 3 --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg clean-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/portage/distpack/packages/coreIx"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gnutls gstreamer gtk gtk2 gtk3 hddtemp iconv id3tag ipv6 java jpeg lcms libnotify lm_sensors mad matroska mng modules mp3 mp4 mpeg multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl seccomp session sox spell ssl startup-notification steamruntime svg tcpd theora tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-gfx/gtkam-1.0::gentoo was built with the following:
USE="nls -gimp" ABI_X86="(64)"


media-libs/libgphoto2-2.5.14::gentoo was built with the following:
USE="exif jpeg nls -doc -examples -gd -serial" ABI_X86="(64) -32 (-x32)" CAMERAS="adc65 agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a jl2005c kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 pentax polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z topfield toshiba_pdrm11 tp6801"
Comment 2 Fab 2017-10-19 12:29:48 UTC
Upstream bug : https://sourceforge.net/p/gphoto/bugs/1032/

> there is fix in current GIT, not yet released.
> but as I know see it would affect all Fuji cameras,


2.5.15 and 2.5.16 were released since the bug was reported.
Can someone please bump it ? Thanks.
Comment 3 Fab 2017-11-17 17:34:51 UTC
Last comment on upstream bug :
> the commit fixing this issue for backporting
> is 472a9461b457b4d08ecf10a93bb7f1efdc2124c0

I confirm that applying this commit⁽¹⁾ to 2.5.14 fix it.
Please bump, or apply patch, else all fuji camera are unusable.

1. https://github.com/gphoto/libgphoto2/commit/472a9461b457b4d08ecf10a93bb7f1efdc2124c0.patch
Comment 4 Petr Morávek 2018-01-21 18:50:11 UTC
I can also confirm this bug and the linked patch fixed it for me as well.
Comment 5 Larry the Git Cow gentoo-dev 2018-01-23 08:24:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=783576405e55e8f938fe078a4163f5c5368ad6f8

commit 783576405e55e8f938fe078a4163f5c5368ad6f8
Author:     Gilles Dartiguelongue <eva@gentoo.org>
AuthorDate: 2018-01-23 08:02:15 +0000
Commit:     Gilles Dartiguelongue <eva@gentoo.org>
CommitDate: 2018-01-23 08:02:15 +0000

    media-libs/libgphoto2: version bump 2.5.14 → 2.5.16
    
    Leave vusb configure switch to upstream default for now as it appears
    development related only and defaults to off.
    
    Closes: https://bugs.gentoo.org/634764
    Package-Manager: Portage-2.3.20, Repoman-2.3.6

 media-libs/libgphoto2/Manifest                 |   1 +
 media-libs/libgphoto2/libgphoto2-2.5.16.ebuild | 211 +++++++++++++++++++++++++
 2 files changed, 212 insertions(+)