Advertisement
Guest User

Untitled

a guest
Jan 28th, 2015
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 8.85 KB | None | 0 0
  1. makepkg -src
  2. ==> WARNING: Cannot find the sudo binary. Will use su to acquire root privileges.
  3. ==> Making package: j7z 1.3.0-1 (Wed 28 Jan 17:20:35 GMT 2015)
  4. ==> Checking runtime dependencies...
  5. ==> Checking buildtime dependencies...
  6. ==> Retrieving sources...
  7.   -> Downloading J7Z-1.3.0-bin.tar.bz2...
  8.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  9.                                  Dload  Upload   Total   Spent    Left  Speed
  10.   0   388    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  11.   0   355    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  12. 100  159k  100  159k    0     0   252k      0 --:--:-- --:--:-- --:--:--  252k
  13. ==> Validating source files with sha1sums...
  14.     J7Z-1.3.0-bin.tar.bz2 ... Passed
  15. ==> Extracting sources...
  16.   -> Extracting J7Z-1.3.0-bin.tar.bz2 with bsdtar
  17. ==> Starting build()...
  18. /bin/sh: - : invalid option
  19. /bin/sh: - : invalid option
  20.  
  21. Viewing the J7Z environment and dependencies ...
  22.  
  23. # Environment
  24. App-Name = J7Z
  25. USER = giorgos
  26. LOGNAME = giorgos
  27. HOME = /home/giorgos
  28. Java = /usr/bin/java
  29. Java-Ver = 1.7
  30. JavaC =
  31. JavaC-Ver = allexport           off braceexpand         on emacs                on errexit        on errtrace              off functrace           off hashall             on histexpand           on history         on ignoreeof            off interactive-comments        on keyword              off monitor                off noclobber           off noexec              off noglob              off nolog                  off notify              off nounset             off onecmd              off physical               off pipefail            off posix               off privileged          off verbose                on vi                   off xtrace              off
  32. Ant =
  33. Ant-Ver = on
  34. P7Zip = /usr/bin/7z
  35. P7Zip-Ver = 9.20
  36. KDE_SESSION_VERSION = 4
  37. KDE-Config = /usr/bin/kde4-config
  38. KDE-Prefix = /usr
  39. KDE-Local-Prefix = /home/giorgos/.kde4/
  40. Sys-Prefix = /usr
  41. Sys-SBin = /usr/sbin
  42. Sys-Bin = /usr/bin
  43. Local-Prefix = /home/giorgos/.local
  44. Local-SBin = /home/giorgos/.local/sbin
  45. Local-Bin = /home/giorgos/.local/bin
  46.  
  47.  
  48. Setting the J7Z permissions ...
  49.  
  50. # Normal
  51. find ../../ -type d -print0 | xargs -0 chmod 755
  52. find ../../ -type f -print0 | xargs -0 chmod 644
  53. # Special
  54. chmod 755 ../Bin/J7Z.*
  55. chmod -R 755 ../Desktop/Gnome/*
  56. # Dependencies
  57. # Permissions
  58. Makefile:436: Warning: The source code wasn't found; won't rebuild previously built files.
  59.  
  60. Making the J7Z executables ...
  61.  
  62.  
  63. Before installing J7Z, see the documentation for more info.
  64.  
  65. ==> Entering fakeroot environment...
  66. ==> WARNING: Cannot find the sudo binary. Will use su to acquire root privileges.
  67. ==> Starting package()...
  68. # Dependencies
  69. # Permissions
  70. make made
  71. make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
  72. make[1]: Entering directory '/tmp/makepkg/j7z/src/J7Z/Linux/Build'
  73.  
  74. Checking for the J7Z objects ...
  75.  
  76. make[1]: Leaving directory '/tmp/makepkg/j7z/src/J7Z/Linux/Build'
  77. make uninstall
  78. make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
  79. make[1]: Entering directory '/tmp/makepkg/j7z/src/J7Z/Linux/Build'
  80.  
  81. Removing J7Z for all users ...
  82. Only root can run 'make uninstall'.  Others should instead run: 'make uninstall-user'
  83.  
  84. #make echo
  85. # Remove package
  86. /usr/bin/pacman -R --noconfirm q7z
  87. error: failed to init transaction (unable to lock database)
  88. error: could not lock database: Permission denied
  89. Makefile:349: recipe for target 'UnInstall.AllUsers' failed
  90. make[1]: [UnInstall.AllUsers] Error 1 (ignored)
  91. # Remove package
  92. /usr/bin/pacman -R --noconfirm j7z
  93. error: failed to init transaction (unable to lock database)
  94. error: could not lock database: Permission denied
  95. Makefile:349: recipe for target 'UnInstall.AllUsers' failed
  96. make[1]: [UnInstall.AllUsers] Error 1 (ignored)
  97. # Application
  98. rm -f /tmp/makepkg/j7z/pkg/j7z/usr/bin/?7Z*
  99. rm -f /tmp/makepkg/j7z/pkg/j7z/usr/share/icons/hicolor/16x16/actions/ark*
  100. rm -f /tmp/makepkg/j7z/pkg/j7z/usr/share/icons/hicolor/16x16/actions/endturn*
  101. rm -f /tmp/makepkg/j7z/pkg/j7z/usr/share/icons/hicolor/32x32/actions/ark*
  102. rm -f /tmp/makepkg/j7z/pkg/j7z/usr/share/icons/hicolor/32x32/actions/endturn*
  103. rm -f /tmp/makepkg/j7z/pkg/j7z/usr/share/icons/hicolor/32x32/apps/?7Z*
  104. rm -f /tmp/makepkg/j7z/pkg/j7z/usr/share/apps/konqueror/servicemenus/?7Z*
  105. rm -f /tmp/makepkg/j7z/pkg/j7z/usr/share/kde4/services/ServiceMenus/?7Z*
  106. rm -f /tmp/makepkg/j7z/pkg/j7z/usr/share/applnk/Utilities/File/?7Z*
  107. rm -f /tmp/makepkg/j7z/pkg/j7z/usr/share/applications/?7Z*
  108. #rm -rf /tmp/makepkg/j7z/pkg/j7z/usr/share/J7Z/
  109. rm -rf `find /tmp/makepkg/j7z/pkg/j7z/usr/share/?7Z/* -type d -not -name 'Lib'`
  110. find: `/tmp/makepkg/j7z/pkg/j7z/usr/share/?7Z/*': No such file or directory
  111. # KDE
  112. rm -f /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.kde*/share/apps/konqueror/servicemenus/?7Z*
  113. rm -f /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.kde*/share/kde4/services/ServiceMenus/?7Z*
  114. # Gnome
  115. rm -rf /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.gnome2/nautilus-scripts/J7Z*/
  116. # Xfce
  117. #if test -f /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.config/Thunar/uca.xml ; \
  118. #       then mv -f /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.config/Thunar/uca.xml /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.config/Thunar/uca.xml.J7Z ; \
  119. #fi
  120. #if test -f /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.config/Thunar/uca.xml.orig ; \
  121. #       then mv -f /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.config/Thunar/uca.xml.orig /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.config/Thunar/uca.xml ; \
  122. #fi
  123. #mv -f /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.config/Thunar/uca.xml.orig /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.config/Thunar/uca.xml
  124. rm -f /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.config/Thunar/uca.xml.J7Z
  125. make[1]: Leaving directory '/tmp/makepkg/j7z/src/J7Z/Linux/Build'
  126. #make clean
  127. #make echo
  128.  
  129. Installing J7Z for all users ...
  130. Only root can run 'make install'.  Others should instead run: 'make install-user'
  131.  
  132. # Application
  133. mkdir -p /tmp/makepkg/j7z/pkg/j7z/usr/share/J7Z/
  134. #cp -r ../Build/ /tmp/makepkg/j7z/pkg/j7z/usr/share/J7Z/
  135. cp -r ../Desktop/ /tmp/makepkg/j7z/pkg/j7z/usr/share/J7Z/
  136. cp -r ../../Dist/ /tmp/makepkg/j7z/pkg/j7z/usr/share/J7Z/
  137. cp -r ../Externals/ /tmp/makepkg/j7z/pkg/j7z/usr/share/J7Z/
  138. cp -r ../../Lib/ /tmp/makepkg/j7z/pkg/j7z/usr/share/J7Z/
  139. cp -r ../../License/ /tmp/makepkg/j7z/pkg/j7z/usr/share/J7Z/
  140. #cp -r ../../Lists/ /tmp/makepkg/j7z/pkg/j7z/usr/share/J7Z/
  141. cp -r ../Profiles/ /tmp/makepkg/j7z/pkg/j7z/usr/share/J7Z/
  142. mkdir -p /tmp/makepkg/j7z/pkg/j7z/usr/bin/
  143. cp -r --preserve=mode ../Bin/J7Z.sh /tmp/makepkg/j7z/pkg/j7z/usr/bin/
  144. sed -i 's|AppPath="/Path/to/App/Root"|AppPath="/usr/share/J7Z"|g' /tmp/makepkg/j7z/pkg/j7z/usr/bin/J7Z.sh
  145. sed -i 's|JavaBin="/Path/of/Java/Binary"|JavaBin="/usr/bin/java"|g' /tmp/makepkg/j7z/pkg/j7z/usr/bin/J7Z.sh
  146. # KDE
  147. #mkdir -p /tmp/makepkg/j7z/pkg/j7z/usr/share/apps/konqueror/servicemenus/
  148. mkdir -p /tmp/makepkg/j7z/pkg/j7z/usr/share/kde4/services/ServiceMenus/
  149. #cp ../Desktop/KDE/*.desktop /tmp/makepkg/j7z/pkg/j7z/usr/share/apps/konqueror/servicemenus/
  150. cp ../Desktop/KDE/*.desktop /tmp/makepkg/j7z/pkg/j7z/usr/share/kde4/services/ServiceMenus/
  151. mkdir -p /tmp/makepkg/j7z/pkg/j7z/usr/share/applications/
  152. cp ../Desktop/Menu/* /tmp/makepkg/j7z/pkg/j7z/usr/share/applications/
  153. mkdir -p /tmp/makepkg/j7z/pkg/j7z/usr/share/icons/hicolor/16x16/actions/
  154. cp ../../Source/Image/actions/ark*.png /tmp/makepkg/j7z/pkg/j7z/usr/share/icons/hicolor/16x16/actions/
  155. cp ../../Source/Image/actions/endturn*.png /tmp/makepkg/j7z/pkg/j7z/usr/share/icons/hicolor/16x16/actions/
  156. mkdir -p /tmp/makepkg/j7z/pkg/j7z/usr/share/icons/hicolor/32x32/apps/
  157. cp ../../Source/Image/apps/J7Z.png /tmp/makepkg/j7z/pkg/j7z/usr/share/icons/hicolor/32x32/apps/
  158. rm -rf `find /tmp/makepkg/j7z/pkg/j7z/usr/share/J7Z/ -type d -name .svn`
  159. # Gnome
  160. #mkdir -p /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.gnome2/nautilus-scripts/
  161. #cp -r ../Desktop/Gnome/* /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.gnome2/nautilus-scripts/
  162. # Xfce
  163. #mkdir -p /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.config/Thunar/
  164. #if test -f /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.config/Thunar/uca.xml ; \
  165. #       then mv -f /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.config/Thunar/uca.xml /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.config/Thunar/uca.xml.orig ; \
  166. #fi
  167. #cp -r ../Desktop/Xfce/uca.xml /tmp/makepkg/j7z/pkg/j7z/home/giorgos/.config/Thunar/uca.xml.J7Z
  168. # Misc
  169. #rm -rf /tmp/makepkg/j7z/pkg/j7z/home/giorgos/Profiles/
  170.  
  171. To run J7Z, enter: J7Z.sh
  172.  
  173. ==> Seek further information or send feedback via the 'Help' menu.
  174. ==> Tidying install...
  175.  -> Purging unwanted files...
  176.  -> Compressing man and info pages...
  177.  -> Stripping unneeded symbols from binaries and libraries...
  178. ==> Creating package "j7z"...
  179.  -> Generating .PKGINFO file...
  180.  -> Adding install file...
  181.  -> Generating .MTREE file...
  182.  -> Compressing package...
  183. ==> Leaving fakeroot environment.
  184. ==> Finished making: j7z 1.3.0-1 (Wed 28 Jan 17:20:38 GMT 2015)
  185. ==> Cleaning up...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement