After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 656470 - Dangling symlinks created by make install
Dangling symlinks created by make install
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: documentation
git master
Other Linux
: Normal normal
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2011-08-13 17:52 UTC by Dominique Leuenberger
Modified: 2011-09-27 11:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Build log of anjuta 3.1.91 (107.34 KB, application/x-gzip)
2011-09-06 14:18 UTC, Vincent Untz
Details

Description Dominique Leuenberger 2011-08-13 17:52:52 UTC
While building packages for openSUSE Factory, make install passes correctly, but the build root check complains about:

+ /usr/lib/rpm/brp-symlink
ERROR: link target doesn't exist (neither in build root nor in installed system):
  /usr/share/gnome/help/anjuta-manual/zh_CN/anjuta_logo.png -> /usr/share/gnome/help/C/anjuta_logo.png
Add the package providing the target to neededforbuild and Requires
ERROR: link target doesn't exist (neither in build root nor in installed system):
  /usr/share/gnome/help/anjuta-manual/uk/anjuta_logo.png -> /usr/share/gnome/help/C/anjuta_logo.png
Add the package providing the target to neededforbuild and Requires
ERROR: link target doesn't exist (neither in build root nor in installed system):
[...and the same for every language...]

Checking in the buildroot, /usr/share/gnome/help/anjuta-manual/uk/anjuta_logo.png has a symlink to ../../C/anjuta_logo.png (which, as a reference to C, is one folder too far).

Even in the C-lang folder, the link is:
lrwxrwxrwx 1 abuild abuild   23 Aug 13 15:45 anjuta_logo.png -> ../../C/anjuta_logo.png
Comment 1 Sébastien Granjoux 2011-09-05 17:44:40 UTC
Thanks for reporting these errors.

I think it was because some files of the manual were missing in Makefile.am and I have fixed this. Could you check that it is working now and reopen this bug report if there are still some errors?
Comment 2 Vincent Untz 2011-09-06 14:14:58 UTC
Still not fixed in 3.1.91, I'll attach a build log from our package where you can search for anjuta_logo and see that it's still not good.
Comment 3 Vincent Untz 2011-09-06 14:18:09 UTC
Created attachment 195787 [details]
Build log of anjuta 3.1.91
Comment 4 Vincent Untz 2011-09-06 15:55:39 UTC
Hrm, sorry, your fix isn't in 3.1.91 (the git log made me believe it is, but it got rebased, I guess)
Comment 5 Sébastien Granjoux 2011-09-06 17:59:14 UTC
(In reply to comment #4)
> Hrm, sorry, your fix isn't in 3.1.91 (the git log made me believe it is, but it
> got rebased, I guess)

Ok, then is it working with the master branch?
Comment 6 Vincent Untz 2011-09-27 11:33:42 UTC
Sorry, forgot to mention that it all works fine now.