Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638630 - gnome-base/gvfs-1.32.1 : gvfsbackendcdda.c:182:56: error: too few arguments to function cdtext_get_const
Summary: gnome-base/gvfs-1.32.1 : gvfsbackendcdda.c:182:56: error: too few arguments t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-23 19:07 UTC by Toralf Förster
Modified: 2019-03-03 11:27 UTC (History)
9 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.81 KB, text/plain)
2017-11-23 19:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,98.34 KB, text/plain)
2017-11-23 19:07 UTC, Toralf Förster
Details
environment (environment,126.27 KB, text/plain)
2017-11-23 19:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.03 KB, application/x-bzip)
2017-11-23 19:07 UTC, Toralf Förster
Details
gnome-base:gvfs-1.32.1:20171123-185844.log (gnome-base:gvfs-1.32.1:20171123-185844.log,200.48 KB, text/plain)
2017-11-23 19:07 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,15.27 KB, application/x-bzip)
2017-11-23 19:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,42.36 KB, application/x-bzip)
2017-11-23 19:07 UTC, Toralf Förster
Details
libcdio_1.0.0.patch (libcdio_1.0.0.patch,2.94 KB, patch)
2017-11-23 20:34 UTC, nvinson234
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 2017-11-23 19:07:23 UTC
 const char *cdtext_get_const (const cdtext_t *p_cdtext, cdtext_field_t field,
             ^~~~~~~~~~~~~~~~
gvfsbackendcdda.c:182:56: error: too few arguments to function ‘cdtext_get_const’
     cdda_backend->album_title = cdtext_string_to_utf8 (cdtext_get_const (CDTEXT_TITLE, cdtext));
                                                        ^~~~~~~~~~~~~~~~
In file included from /usr/include/cdio/cdio.h:59:0,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop_20171121-221602

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv gnome-base/gvfs
[ebuild   R   ] gnome-base/gvfs-1.32.1  USE="cdda gtk http policykit udev udisks -afp -archive -bluray -fuse -gnome-keyring -gnome-online-accounts -google -gphoto2 -ios -mtp -nfs -samba -systemd {-test} -zeroconf"
Comment 1 Toralf Förster gentoo-dev 2017-11-23 19:07:26 UTC
Created attachment 506168 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-23 19:07:29 UTC
Created attachment 506170 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-11-23 19:07:32 UTC
Created attachment 506172 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-11-23 19:07:35 UTC
Created attachment 506174 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-11-23 19:07:38 UTC
Created attachment 506176 [details]
gnome-base:gvfs-1.32.1:20171123-185844.log
Comment 6 Toralf Förster gentoo-dev 2017-11-23 19:07:41 UTC
Created attachment 506178 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-11-23 19:07:44 UTC
Created attachment 506180 [details]
temp.tbz2
Comment 8 nvinson234 2017-11-23 20:34:42 UTC
Created attachment 506226 [details, diff]
libcdio_1.0.0.patch

libcdio changed its version number to '1' when it went to 1.0.0.  That breaks the version checks in gvfs.  The broken version checks cause the issue Toralf reported.

This patch fixes that by updating the checks to explicitly check if the version number is set to '1'.
Comment 9 Holger Hoffstätte 2017-11-23 21:52:09 UTC
(In reply to nvinson234 from comment #8)
> Created attachment 506226 [details, diff] [details, diff]
> libcdio_1.0.0.patch
> 
> libcdio changed its version number to '1' when it went to 1.0.0.  That
> breaks the version checks in gvfs.  The broken version checks cause the
> issue Toralf reported.
> 
> This patch fixes that by updating the checks to explicitly check if the
> version number is set to '1'.

Patch works fine: gvfs revdep-rebuild now succeeds. Thanks!
Comment 10 Marien Zwart 2017-11-24 08:24:19 UTC
This might get changed upstream, see https://savannah.gnu.org/bugs/?52491

The (in development) libcdio 1.0.1 will report itself as version 10001, which should unbreak version-checking code like this.

I don't know if upstream is planning to release a 1.0.1 release quickly, to avoid packages like gvfs (and gst-plugins-cdio, see bug 638644) having to patch.
Comment 11 email200202 2017-11-24 12:30:42 UTC
Same here
Comment 12 Mart Raudsepp gentoo-dev 2018-04-17 19:48:47 UTC
Was it changed upstream then for 2.0.0-r1 or earlier? I don't have any issues here; do we need to do anything here for gvfs?
Comment 13 Marien Zwart 2019-03-03 11:22:07 UTC
This was fixed in Gentoo's libcdio-1.0.0 by https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba52139c96a39f6f2285edb173af960a2afb51fa and fixed upstream in later versions of libcdio (1.1.0 and 2.0.0).
Comment 14 Mart Raudsepp gentoo-dev 2019-03-03 11:27:13 UTC
OK, thanks!