devinteske

RPM build on FreeBSD... install on Linux == Fail

Jul 15th, 2013
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.81 KB | None | 0 0
  1. dteske@cfg0.lbxrich.vicor.com pkgbase $ ls
  2. CVS Makefile Mk depend freebsd redhat
  3. dteske@cfg0.lbxrich.vicor.com pkgbase $ pkg_info -Ix rpm
  4. pkg_info: no packages match pattern(s)
  5. dteske@cfg0.lbxrich.vicor.com pkgbase $ uname -spr
  6. FreeBSD 8.1-RELEASE-p13 i386
  7. dteske@cfg0.lbxrich.vicor.com pkgbase $ sr pkg_add /repos/FreeBSD-8.1/packages/rpm-4.9.1.1_1.tbz
  8. [sudo] Password:
  9. pkg_add: could not find package sqlite3-3.6.23.1_1 !
  10. pkg_add: could not find package nss-3.12.6_3 !
  11. dteske@cfg0.lbxrich.vicor.com pkgbase $ sr pkg_add /repos/FreeBSD-8.1/packages/sqlite3-3.6.23.1_1.tbz
  12. dteske@cfg0.lbxrich.vicor.com pkgbase $ sr pkg_add /repos/FreeBSD-8.1/packages/nss-3.12.6_3.tbz
  13. dteske@cfg0.lbxrich.vicor.com pkgbase $ sr pkg_add /repos/FreeBSD-8.1/packages/rpm-4.9.1.1_1.tbz
  14.  
  15. No RPM database found. If you wish to use RPM to install
  16. RPM packages the you will need to initialise the database
  17. with the commands:
  18.  
  19. mkdir -p /var/lib/rpm
  20. /usr/local/bin/rpm --initdb
  21.  
  22. dteske@cfg0.lbxrich.vicor.com pkgbase $ pkg_info -Ix rpmrpm-4.9.1.1_1 The RPM Package Manager
  23. dteske@cfg0.lbxrich.vicor.com pkgbase $ which rpm
  24. /usr/local/bin/rpm
  25. dteske@cfg0.lbxrich.vicor.com pkgbase $ ls
  26. CVS Makefile Mk depend freebsd redhat
  27. dteske@cfg0.lbxrich.vicor.com pkgbase $ cd redhat/
  28. dteske@cfg0.lbxrich.vicor.com redhat $ ls
  29. CVS Mk rhel4es-i386 rhel6-x86_64 unpack.sh
  30. Makefile create.sh rhel6-x86 skel
  31. dteske@cfg0.lbxrich.vicor.com redhat $ cd rhel6-x86
  32. dteske@cfg0.lbxrich.vicor.com rhel6-x86 $ ls
  33. Applications Development Makefile
  34. CVS ISO System_Environment
  35. dteske@cfg0.lbxrich.vicor.com rhel6-x86 $ ls *
  36. Makefile
  37.  
  38. Applications:
  39. CPAN CVS Editors
  40.  
  41. CVS:
  42. Entries Entries.Log Repository Root
  43.  
  44. Development:
  45. CVS Libraries Tools
  46.  
  47. ISO:
  48. CVS VICOR VICOR-Proxy VICOR-Workstation
  49. Notes VICOR-DCS VICOR-Server treeinfo
  50.  
  51. System_Environment:
  52. CVS Configs Daemons
  53. dteske@cfg0.lbxrich.vicor.com rhel6-x86 $ cd Applications/
  54. dteske@cfg0.lbxrich.vicor.com Applications $ ls
  55. CPAN CVS Editors
  56. dteske@cfg0.lbxrich.vicor.com Applications $ cd Editors/
  57. dteske@cfg0.lbxrich.vicor.com Editors $ ls
  58. CVS vicor-fdi-vim-plugin
  59. dteske@cfg0.lbxrich.vicor.com Editors $ cd vicor-fdi-vim-plugin/
  60. dteske@cfg0.lbxrich.vicor.com vicor-fdi-vim-plugin $ ls
  61. CVS Makefile SPECFILE pkgbase.conf src
  62. dteske@cfg0.lbxrich.vicor.com vicor-fdi-vim-plugin $ make
  63. Reading DIRS from ./pkgbase.conf...
  64. Reading SYMLINKS from ./pkgbase.conf...
  65. Reading DEPEND from ./pkgbase.conf...
  66. Copying file dependencies...
  67. HOME="$(pwd)" rpmbuild -bb ./SPECFILE
  68. error: cannot open Packages database in /var/lib/rpm
  69. Executing(%install): /bin/sh -e /usr/opshome/dteske/src/rids/pkgbase/redhat/rhel6-x86/Applications/Editors/vicor-fdi-vim-plugin/tmp/rpm-tmp.TDYfDa
  70. + umask 022
  71. + cd /usr/opshome/dteske/src/rids/pkgbase/redhat/rhel6-x86/Applications/Editors/vicor-fdi-vim-plugin
  72. + /usr/local/lib/rpm/mkinstalldirs /usr/opshome/dteske/src/rids/pkgbase/redhat/rhel6-x86/Applications/Editors/vicor-fdi-vim-plugin/vicor-fdi-vim-plugin-1.1-1.el6.i386
  73. mkdir /usr/opshome/dteske/src/rids/pkgbase/redhat/rhel6-x86/Applications/Editors/vicor-fdi-vim-plugin/vicor-fdi-vim-plugin-1.1-1.el6.i386
  74. + + /usr/bin/tar xvf - -C /usr/opshome/dteske/src/rids/pkgbase/redhat/rhel6-x86/Applications/Editors/vicor-fdi-vim-plugin/vicor-fdi-vim-plugin-1.1-1.el6.i386
  75. /usr/bin/tar c --exclude CVS -f - -C ./src .
  76. x ./
  77. x ./usr/
  78. x ./usr/share/
  79. x ./usr/share/vim/
  80. x ./usr/share/vim/vim72/
  81. x ./usr/share/vim/vim72/ftdetect/
  82. x ./usr/share/vim/vim72/ftplugin/
  83. x ./usr/share/vim/vim72/ftplugin/fdi.vim
  84. x ./usr/share/vim/vim72/ftdetect/fdi.vim
  85. + exit 0
  86. Processing files: vicor-fdi-vim-plugin-1.1-1.el6.noarch
  87. Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh
  88. Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  89. Requires(pre): /bin/sh
  90. Requires(post): /bin/sh
  91. Requires(preun): /bin/sh
  92. Requires(postun): /bin/sh
  93. Checking for unpackaged file(s): /usr/local/lib/rpm/check-files /usr/opshome/dteske/src/rids/pkgbase/redhat/rhel6-x86/Applications/Editors/vicor-fdi-vim-plugin/vicor-fdi-vim-plugin-1.1-1.el6.i386
  94. Wrote: /usr/opshome/dteske/src/rids/pkgbase/redhat/rhel6-x86/Applications/Editors/vicor-fdi-vim-plugin/vicor-fdi-vim-plugin-1.1-1.el6.noarch.rpm
  95. Executing(%clean): /bin/sh -e /usr/opshome/dteske/src/rids/pkgbase/redhat/rhel6-x86/Applications/Editors/vicor-fdi-vim-plugin/tmp/rpm-tmp.9jfBsG
  96. + umask 022
  97. + cd /usr/opshome/dteske/src/rids/pkgbase/redhat/rhel6-x86/Applications/Editors/vicor-fdi-vim-plugin
  98. + /bin/rm -rf /usr/opshome/dteske/src/rids/pkgbase/redhat/rhel6-x86/Applications/Editors/vicor-fdi-vim-plugin/vicor-fdi-vim-plugin-1.1-1.el6.i386
  99. + exit 0
  100. dteske@cfg0.lbxrich.vicor.com vicor-fdi-vim-plugin $ ls
  101. .dirs_created
  102. .rpmmacros
  103. .symlinks_created
  104. CVS
  105. Makefile
  106. SPECFILE
  107. pkgbase.conf
  108. src
  109. tmp
  110. vicor-fdi-vim-plugin-1.1-1.el6.noarch.rpm
  111. dteske@cfg0.lbxrich.vicor.com vicor-fdi-vim-plugin $ scp vicor-fdi-vim-plugin-1.1-1.el6.noarch.rpm ipm0.r6:
  112. vicor-fdi-vim-plugin-1.1-1.el6.noarch.rpm 100% 21KB 20.8KB/s 00:00
  113. dteske@cfg0.lbxrich.vicor.com vicor-fdi-vim-plugin $ ssh ipm0.r6
  114. cdspell on
  115. checkwinsize on
  116. histreedit on
  117. histverify on
  118. dirspell on
  119. dteske@ipm0.r6.vicor.com ~ $ rpm -qa | grep fdi
  120. ttmkfdir-3.0.9-32.1.el6.i686
  121. dteske@ipm0.r6.vicor.com ~ $ sr rpm -ivh vicor-fdi-vim-plugin-1.1-1.el6.noarch.rpm
  122. Preparing... ########################################### [100%]
  123. package vicor-fdi-vim-plugin-1.1-1.el6.noarch is intended for a freebsd operating system
  124.  
  125. dteske@ipm0.r6.vicor.com ~ $ lsb_release -sirc
  126. RedHatEnterpriseServer 6.4 Santiago
  127. dteske@ipm0.r6.vicor.com ~ $ uname -spr
  128. Linux 2.6.32-358.0.1.el6.i686 i686
Add Comment
Please, Sign In to add comment