Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612904 - gnome-base/nautilus-3.22.3: error: ‘real_rename’ undeclared
Summary: gnome-base/nautilus-3.22.3: error: ‘real_rename’ undeclared
Status: RESOLVED INVALID
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-03-17 13:40 UTC by José Romildo Malaquias
Modified: 2017-03-22 22:03 UTC (History)
1 user (show)

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


Attachments
gnome-base:nautilus-3.22.3:20170317-132837.log (gnome-base:nautilus-3.22.3:20170317-132837.log,393.78 KB, text/plain)
2017-03-17 13:40 UTC, José Romildo Malaquias
Details
Output of `emerge --info '=gnome-base/nautilus-3.22.3::gentoo'` (nada.txt,15.22 KB, text/plain)
2017-03-17 13:42 UTC, José Romildo Malaquias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description José Romildo Malaquias 2017-03-17 13:40:55 UTC
Created attachment 467308 [details]
gnome-base:nautilus-3.22.3:20170317-132837.log

Updating my ~amd64 gentoo systems is failing on nautilus-3.22.3, with the error message:

nautilus-file.c:9273:21: error: ‘real_rename’ undeclared (first use in this function)
     class->rename = real_rename;
                     ^~~~~~~~~~~
Comment 1 José Romildo Malaquias 2017-03-17 13:42:34 UTC
Created attachment 467310 [details]
Output of `emerge --info '=gnome-base/nautilus-3.22.3::gentoo'`
Comment 2 Mart Raudsepp gentoo-dev 2017-03-20 17:22:14 UTC
You are breaking it yourself, as real_rename is on a different line than 9273 in reality and there's no way real_rename could be missing as is from clean gentoo tree version.

This is breaking it:

Applying patches from /etc/portage/patches/gnome-base/nautilus ...
0001-Hide-batch-rename-behind-ENABLE_TRACKER-ifdef.patch ...
Comment 3 José Romildo Malaquias 2017-03-21 12:14:26 UTC
(In reply to Mart Raudsepp from comment #2)
> You are breaking it yourself, as real_rename is on a different line than
> 9273 in reality and there's no way real_rename could be missing as is from
> clean gentoo tree version.
> 
> This is breaking it:
> 
> Applying patches from /etc/portage/patches/gnome-base/nautilus ...
> 0001-Hide-batch-rename-behind-ENABLE_TRACKER-ifdef.patch ...

Sorry for the noise. I do not remember why this patch has been included. Probably to fix a temporary issue. After removing it compilation succeeds.
Comment 4 Mart Raudsepp gentoo-dev 2017-03-22 22:02:59 UTC
Yes, you added it because 3.22.2 needed it to compile with USE=-tracker, but 3.22.3 fixes it with a similar patch upstream, but the old patch you had partially applied and made the #ifdef stuff not line up right.