Advertisement
Guest User

Mysecondtry

a guest
Jan 7th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.47 KB | None | 0 0
  1. [homepc@HomePC ~]$ yaourt -Ss grub cust
  2. aur/grub-customizer 5.0.6-1 (229) (8.19)
  3. A graphical grub2 settings manager
  4. [homepc@HomePC ~]$ yaourt -S grub-customizer
  5.  
  6. ==> Downloading grub-customizer PKGBUILD from AUR...
  7. x .SRCINFO
  8. x PKGBUILD
  9. x grub-customizer.install
  10. x grub.cfg
  11. fusion809 commented on 2016-09-29 14:02
  12. This package's build fails with gtkmm-3.22.0 (in gnome-unstable), giving this output:
  13.  
  14. == Making package: grub-customizer 5.0.6-1 (Thu Sep 29 23:56:01 AEST 2016)
  15. == Checking runtime dependencies...
  16. == Checking buildtime dependencies...
  17. == Retrieving sources...
  18. - Found grub-customizer_5.0.6.tar.gz
  19. - Found grub.cfg
  20. == Validating source files with md5sums...
  21. grub-customizer_5.0.6.tar.gz ... Passed
  22. grub.cfg ... Passed
  23. == Removing existing $srcdir/ directory...
  24. == Extracting sources...
  25. - Extracting grub-customizer_5.0.6.tar.gz with bsdtar
  26. == Entering fakeroot environment...
  27. == Starting package()...
  28. == Starting make...
  29. -- The C compiler identification is GNU 6.2.1
  30. -- The CXX compiler identification is GNU 6.2.1
  31. -- Check for working C compiler: /usr/lib/hardening-wrapper/bin/cc
  32. -- Check for working C compiler: /usr/lib/hardening-wrapper/bin/cc -- works
  33. -- Detecting C compiler ABI info
  34. -- Detecting C compiler ABI info - done
  35. -- Detecting C compile features
  36. -- Detecting C compile features - done
  37. -- Check for working CXX compiler: /usr/lib/hardening-wrapper/bin/c++
  38. -- Check for working CXX compiler: /usr/lib/hardening-wrapper/bin/c++ -- works
  39. -- Detecting CXX compiler ABI info
  40. -- Detecting CXX compiler ABI info - done
  41. -- Detecting CXX compile features
  42. -- Detecting CXX compile features - done
  43. -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
  44. -- Checking for module 'gtkmm-3.0'
  45. -- Package 'gdk-3.0' requires 'gio-unix-2.0 = 2.49.4' but version of gio-unix-2.0 is 2.48.2
  46. -- Checking for module 'gthread-2.0'
  47. -- Found gthread-2.0, version 2.48.2
  48. -- Checking for module 'openssl'
  49. -- Found openssl, version 1.0.2j
  50. -- Checking for module 'libarchive'
  51. -- Found libarchive, version 3.2.1
  52. -- Configuring done
  53. -- Generating done
  54. -- Build files have been written to: /home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6
  55. Scanning dependencies of target grub-customizer
  56. [ 12%] Building CXX object CMakeFiles/grub-customizer.dir/src/main/client.cpp.o
  57. In file included from /home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6/src/main/../Bootstrap/../Model/ListCfg.hpp:50:0,
  58. from /home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6/src/main/../Bootstrap/Factory.hpp:24,
  59. from /home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6/src/main/client.cpp:23:
  60. /home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6/src/main/../Bootstrap/../Model/SettingsManagerData.hpp: In static member function ‘static std::mapstd::__cxx11::basic_stringchar, std::__cxx11::basic_stringchar Model_SettingsManagerData::parsePf2(const string)’:
  61. /home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6/src/main/../Bootstrap/../Model/SettingsManagerData.hpp:58:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  62. fgets(sizeBuf, 5, file);
  63. ^
  64. /home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6/src/main/../Bootstrap/../Model/SettingsManagerData.hpp:63:38: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  65. fgets(contentBuf, size + 1, file);
  66. ^
  67. [ 25%] Building CXX object CMakeFiles/grub-customizer.dir/src/Bootstrap/GtkView.cpp.o
  68. In file included from /home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6/src/Bootstrap/GtkView.cpp:18:0:
  69. /home/fusion809/AUR/grub-customizer/src/grub-customizer-5.0.6/src/Bootstrap/../View/Gtk/About.hpp:23:19: fatal error: gtkmm.h: No such file or directory
  70. #include gtkmm.h
  71. ^
  72. compilation terminated.
  73. make[2]: *** [CMakeFiles/grub-customizer.dir/build.make:87: CMakeFiles/grub-customizer.dir/src/Bootstrap/GtkView.cpp.o] Error 1
  74. make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/grub-customizer.dir/all] Error 2
  75. make: *** [Makefile:128: all] Error 2
  76. == ERROR: A failure occurred in package().
  77. Aborting...
  78.  
  79.  
  80.  
  81. dvzrv commented on 2016-09-29 14:47
  82. @fusion809: Well, I guess that's something to report upstream, not here. Also, the current stable gtkmm3 version is 3.20.1 in the repos.
  83.  
  84. Thanks for the heads up nonetheless!
  85.  
  86. dvzrv commented on 2016-10-03 22:16
  87. @fusion809: In case you're still tracking that issue.
  88. gtkmm3 3.20.1 installs gtkmm.h into this place: /usr/include/gtkmm-3.0/gtkmm.h
  89. This supposedly is the same for 3.22 (according to the file list: https://www.archlinux.org/packages/testing/x86_64/gtkmm3/files/).
  90. Is that file really not there?
  91. This is pretty awkward and should not happen, as it's a system-wide include. Have you rebooted?
  92.  
  93. Sachiko commented on 2016-10-13 06:16
  94. @dvzrv: as per @fusion809's issue, gtkmm3 is indeed installed in the correct area, however, that file fails to show up even after a reboot. A complete system reinstall does not fix the problem either.
  95.  
  96. And based on his output of his command he is building it via makepkg -sri which should pull in the required dependencies, so it isn't a question of if the package is installed. I'm scratching my head as well on this one for sure as grub-customizer was my easy way of setting grub up.
  97.  
  98. EDIT: Seems my complaint was short lived. The mirrors I was using apparently weren't in sync so they didn't have the latest GTK3 yet. Switched mirrors, updated system, and everything works.
  99.  
  100. PhotonX commented on 2016-11-08 16:35
  101. I have the same problem with gtkmm.h. It is present:
  102.  
  103. $ locate gtkmm.h
  104. /usr/include/gtkmm-3.0/gtkmm.h
  105.  
  106. but isn't found during compilation (same error as reported by fusion809). What can be done here?
  107.  
  108. grub-customizer 5.0.6-1 (2016-05-11 22:55)
  109. ( Unsupported package: Potentially dangerous ! )
  110. ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
  111. ==> ------------------------------------
  112. ==> n
  113.  
  114. ==> grub-customizer dependencies:
  115. - gtkmm3 (already installed)
  116. - openssl (already installed)
  117. - hicolor-icon-theme (already installed)
  118. - grub-common (already installed)
  119. - libarchive (already installed)
  120. - cmake (package found) [makedepend]
  121.  
  122.  
  123. ==> Edit grub-customizer.install ? [Y/n] ("A" to abort)
  124. ==> ---------------------------------------------------
  125. ==> n
  126.  
  127. ==> Continue building grub-customizer ? [Y/n]
  128. ==> -----------------------------------------
  129. ==> n
  130.  
  131. [homepc@HomePC ~]$ ^C
  132. [homepc@HomePC ~]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement