[OpenPKG #254] [bootstrap] file locking problems
Request 254 was acted upon. _ URL: https://rt.openpkg.org/id/254 Ticket: [OpenPKG #254] Subject: [bootstrap] file locking problems Requestors: [EMAIL PROTECTED] Queue: openpkg Owner: Nobody Status: open Transaction: Correspondence added by rse Time: Sun Sep 14 09:34:09 2003 On Sun, Sep 14, 2003, [EMAIL PROTECTED] via RT wrote: [...] I have noticed some occasional fatal errors in the 'rpm' program since the upgrade to RPM 4.2.1. Specifically, when 'rpm' is executed as root in a Sparc/Solaris9 environment (not to imply that this doesn't happen elsewhere), some file locking performed by the Berkeley libraries seems to fail. The trace listed below demonstrates one typical scenario. The package I attempted to install does not have any pre- or post-triggers, and its files all have the permissions and ownership specified by '%{l_files_std}'. That is to say, I don't think that this particular package causes the failure. At least once the state of the system resulting from the error trace below has included a corrupted RPM database. I did some system call tracing in that environment, and found the DB library code to be waiting infinitely on a mutex call of some sort. --matt rpm -Uvh apt-0.5.5cnc6-20030908.sparc64-solaris9-cw.rpm Preparing... [100%] 1:aptls /cw/etc/apt/ ( 1%) ### [100%] rpmdb: Locker does not exist error: db4 error(22) from db-cursor: Invalid argument rpmdb: Write attempted on read-only cursor error: db4 error(1) from dbcursor-c_put: Not owner rpmdb: Closing already-closed cursor error: db4 error(22) from dbcursor-c_close: Invalid argument error: error(1) allocating new package instance error: db4 error(22) from db-close: Invalid argument error: db4 error(22) from db-close: Invalid argument error: db4 error(22) from db-close: Invalid argument I'm investigating. At least the trailing three db-close() calls are an error in RPM AFAIK (it closes already closed fds). The other things could be related to permissions (see the read-only cursor). What are the owner and permissions on your prefix/RPM/DB dir and its files? And under which user have you performed the above operation? Can you especially show us the truss output in this situation? There usually one can see access(2) calls which determine this read-only situation. Finally, look into prefix/lib/openpkg/macros and there especially for %__dbi_cdb. Try adding private to the end of its definition or try to decrease the memory sizes, etc. Perhaps some fiddling with the values allows you to workaround the problem, because on the RPM mailing list ([EMAIL PROTECTED]) other people also experience problems under Solaris 9 and try to solve it by fiddling with these Berkeley-DB config values. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ The OpenPKG Projectwww.openpkg.org Developer Communication List [EMAIL PROTECTED]
[OpenPKG #254] [bootstrap] file locking problems
Request 254 was acted upon. _ URL: https://rt.openpkg.org/id/254 Ticket: [OpenPKG #254] Subject: [bootstrap] file locking problems Requestors: [EMAIL PROTECTED] Queue: openpkg Owner: Nobody Status: open Transaction: Correspondence added by rse Time: Sun Sep 14 09:46:12 2003 On Sun, Sep 14, 2003, Ralf S. Engelschall via RT wrote: [...] I did some system call tracing in that environment, and found the DB library code to be waiting infinitely on a mutex call of some sort. [...] rpmdb: Locker does not exist [...] One more idea for your testing: Berkeley-DB by default uses some Pthread based locking under Solaris. If you add --with-mutex=UNIX/fcntl in RPM's db3/configure script when it calls DB's configure you can enforce plain fcntl(2) locking. This is then some completely different mutex. Perhaps it also solves the problem. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ The OpenPKG Projectwww.openpkg.org Developer Communication List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-re/vcheck/ vc.ncurses openpkg-src/ncurses/ ncur...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web openpkg$ Date: 14-Sep-2003 09:58:17 Branch: HEAD Handle: 2003091408581502 Modified files: openpkg-re/vcheck vc.ncurses openpkg-src/ncurses ncurses.spec openpkg-web news.txt Log: upgrading package: ncurses 5.3.20030906 - 5.3.20030913 Summary: RevisionChanges Path 1.77+1 -1 openpkg-re/vcheck/vc.ncurses 1.113 +5 -3 openpkg-src/ncurses/ncurses.spec 1.6548 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-re/vcheck/vc.ncurses $ cvs diff -u -r1.76 -r1.77 vc.ncurses --- openpkg-re/vcheck/vc.ncurses 7 Sep 2003 18:05:36 - 1.76 +++ openpkg-re/vcheck/vc.ncurses 14 Sep 2003 07:58:15 - 1.77 @@ -14,7 +14,7 @@ regex = patch-__NEWVER__-(\d+)\.sh(\.gz)? } prog ncurses:patchset = { - version = 20030906 + version = 20030913 url = ftp://invisible-island.net/ncurses/ regex = (\d+\.\d+) url = ftp://invisible-island.net/ncurses/__NEWVER__/ @@ . patch -p0 '@@ .' Index: openpkg-src/ncurses/ncurses.spec $ cvs diff -u -r1.112 -r1.113 ncurses.spec --- openpkg-src/ncurses/ncurses.spec 7 Sep 2003 18:05:38 - 1.112 +++ openpkg-src/ncurses/ncurses.spec 14 Sep 2003 07:58:17 - 1.113 @@ -33,8 +33,9 @@ %define V_patch5 20030823 %define V_patch6 20030830 %define V_patch7 20030906 -%define V_patchL %{V_patch7} -%define V_patches 7 +%define V_patch8 20030913 +%define V_patchL %{V_patch8} +%define V_patches 8 # package information Name: ncurses @@ -46,7 +47,7 @@ Group:Terminal License: GPL Version: %{V_base}.%{V_patchL} -Release: 20030907 +Release: 20030914 # list of sources Source0: ftp://invisible-island.net/ncurses/ncurses-%{V_base}.tar.gz @@ -58,6 +59,7 @@ Patch5: ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch5}.patch.gz Patch6: ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch6}.patch.gz Patch7: ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch7}.patch.gz +Patch8: ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch8}.patch.gz Patch100: ncurses.patch # build information @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.6547 -r1.6548 news.txt --- openpkg-web/news.txt 13 Sep 2003 19:38:24 - 1.6547 +++ openpkg-web/news.txt 14 Sep 2003 07:58:16 - 1.6548 @@ -1,3 +1,4 @@ +14-Sep-2003: Upgraded package: Pncurses-5.3.20030913-20030914 13-Sep-2003: New package: Papt-0.5.5cnc6-20030913 13-Sep-2003: Upgraded package: Popenpkg-20030913-20030913 13-Sep-2003: Upgraded package: Plua-5.0-20030913 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-re/vcheck/ vc.perl-util openpkg-src/perl-util/ ...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web openpkg$ Date: 14-Sep-2003 09:59:30 Branch: HEAD Handle: 2003091408592702 Modified files: openpkg-re/vcheck vc.perl-util openpkg-src/perl-util perl-util.spec openpkg-web news.txt Log: upgrading package: perl-util 20030908 - 20030914 Summary: RevisionChanges Path 1.54+1 -1 openpkg-re/vcheck/vc.perl-util 1.77+3 -3 openpkg-src/perl-util/perl-util.spec 1.6549 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-re/vcheck/vc.perl-util $ cvs diff -u -r1.53 -r1.54 vc.perl-util --- openpkg-re/vcheck/vc.perl-util8 Sep 2003 11:41:23 - 1.53 +++ openpkg-re/vcheck/vc.perl-util14 Sep 2003 07:59:27 - 1.54 @@ -42,7 +42,7 @@ regex = Class-MakeMethods-(__VER__)\.tar\.gz } prog perl-util:Class-MethodMaker = { - version = 1.11 + version = 1.12 url = http://www.cpan.org/modules/by-module/Class/ regex = Class-MethodMaker-(__VER__)\.tar\.gz } @@ . patch -p0 '@@ .' Index: openpkg-src/perl-util/perl-util.spec $ cvs diff -u -r1.76 -r1.77 perl-util.spec --- openpkg-src/perl-util/perl-util.spec 8 Sep 2003 11:41:25 - 1.76 +++ openpkg-src/perl-util/perl-util.spec 14 Sep 2003 07:59:29 - 1.77 @@ -32,7 +32,7 @@ %define V_class_factory_util 1.6 %define V_class_loader 2.02 %define V_class_makemethods1.008 -%define V_class_methodmaker1.11 +%define V_class_methodmaker1.12 %define V_class_returnvalue0.51 %define V_class_xpath 1.2 %define V_data_locations 5.2-fixed @@ -55,8 +55,8 @@ Distribution: OpenPKG [BASE] Group:Language License: GPL/Artistic -Version: 20030908 -Release: 20030908 +Version: 20030914 +Release: 20030914 # list of sources Source0: http://www.cpan.org/modules/by-module/Test/Test-%{V_test}.tar.gz @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.6548 -r1.6549 news.txt --- openpkg-web/news.txt 14 Sep 2003 07:58:16 - 1.6548 +++ openpkg-web/news.txt 14 Sep 2003 07:59:28 - 1.6549 @@ -1,3 +1,4 @@ +14-Sep-2003: Upgraded package: Pperl-util-20030914-20030914 14-Sep-2003: Upgraded package: Pncurses-5.3.20030913-20030914 13-Sep-2003: New package: Papt-0.5.5cnc6-20030913 13-Sep-2003: Upgraded package: Popenpkg-20030913-20030913 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-re/vcheck/ vc.vim openpkg-src/vim/ vim.spec ope...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web openpkg$ Date: 14-Sep-2003 10:01:26 Branch: HEAD Handle: 2003091409012203 Modified files: openpkg-re/vcheck vc.vim openpkg-src/vim vim.spec openpkg-web news.txt Log: upgrading package: vim 6.2.96 - 6.2.97 Summary: RevisionChanges Path 1.173 +1 -1 openpkg-re/vcheck/vc.vim 1.237 +3 -2 openpkg-src/vim/vim.spec 1.6550 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-re/vcheck/vc.vim $ cvs diff -u -r1.172 -r1.173 vc.vim --- openpkg-re/vcheck/vc.vim 13 Sep 2003 07:27:26 - 1.172 +++ openpkg-re/vcheck/vc.vim 14 Sep 2003 08:01:22 - 1.173 @@ -2,7 +2,7 @@ } prog vim:patchlevel = { - version = 6.2.096 + version = 6.2.097 url = ftp://ftp.vim.org/pub/vim/patches/ regex = (\d+\.\d+\.\d+) } @@ . patch -p0 '@@ .' Index: openpkg-src/vim/vim.spec $ cvs diff -u -r1.236 -r1.237 vim.spec --- openpkg-src/vim/vim.spec 13 Sep 2003 07:27:28 - 1.236 +++ openpkg-src/vim/vim.spec 14 Sep 2003 08:01:25 - 1.237 @@ -26,7 +26,7 @@ # package versions %define V_vl 6.2 %define V_vs 62 -%define V_pl 96 +%define V_pl 97 # package information Name: vim @@ -38,7 +38,7 @@ Group:Editor License: Charityware Version: %{V_vl}.%{V_pl} -Release: 20030913 +Release: 20030914 # package options %option with_x11no @@ -149,6 +149,7 @@ Patch94: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}.094 Patch95: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}.095 Patch96: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}.096 +Patch97: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}.097 # build information Prefix: %{l_prefix} @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.6549 -r1.6550 news.txt --- openpkg-web/news.txt 14 Sep 2003 07:59:28 - 1.6549 +++ openpkg-web/news.txt 14 Sep 2003 08:01:22 - 1.6550 @@ -1,3 +1,4 @@ +14-Sep-2003: Upgraded package: Pvim-6.2.97-20030914 14-Sep-2003: Upgraded package: Pperl-util-20030914-20030914 14-Sep-2003: Upgraded package: Pncurses-5.3.20030913-20030914 13-Sep-2003: New package: Papt-0.5.5cnc6-20030913 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-re/vcheck/ vc.postfix openpkg-src/postfix/ post...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web openpkg$ Date: 14-Sep-2003 10:01:49 Branch: HEAD Handle: 2003091409014702 Modified files: openpkg-re/vcheck vc.postfix openpkg-src/postfix postfix.spec openpkg-web news.txt Log: upgrading package: postfix 2.0.15 - 2.0.16 Summary: RevisionChanges Path 1.60+1 -1 openpkg-re/vcheck/vc.postfix 1.174 +2 -2 openpkg-src/postfix/postfix.spec 1.6551 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-re/vcheck/vc.postfix $ cvs diff -u -r1.59 -r1.60 vc.postfix --- openpkg-re/vcheck/vc.postfix 10 Sep 2003 17:11:33 - 1.59 +++ openpkg-re/vcheck/vc.postfix 14 Sep 2003 08:01:47 - 1.60 @@ -2,7 +2,7 @@ } prog postfix = { - version = 2.0.15 + version = 2.0.16 url = ftp://ftp.porcupine.org/mirrors/postfix-release/official/ regex = postfix-(\d+\.\d+\.\d+)\.tar\.gz } @@ . patch -p0 '@@ .' Index: openpkg-src/postfix/postfix.spec $ cvs diff -u -r1.173 -r1.174 postfix.spec --- openpkg-src/postfix/postfix.spec 10 Sep 2003 17:11:35 - 1.173 +++ openpkg-src/postfix/postfix.spec 14 Sep 2003 08:01:49 - 1.174 @@ -24,7 +24,7 @@ ## # package versions -%define V_postfix 2.0.15 +%define V_postfix 2.0.16 %define V_tls 0.8.16-2.0.15-0.9.7b %define V_pflogsumm1.0.14 %define V_whoson 2.0.0.2 @@ -39,7 +39,7 @@ Group:Mail License: IPL Version: %{V_postfix} -Release: 20030910 +Release: 20030914 # package options %option with_fsl yes @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.6550 -r1.6551 news.txt --- openpkg-web/news.txt 14 Sep 2003 08:01:22 - 1.6550 +++ openpkg-web/news.txt 14 Sep 2003 08:01:47 - 1.6551 @@ -1,3 +1,4 @@ +14-Sep-2003: Upgraded package: Ppostfix-2.0.16-20030914 14-Sep-2003: Upgraded package: Pvim-6.2.97-20030914 14-Sep-2003: Upgraded package: Pperl-util-20030914-20030914 14-Sep-2003: Upgraded package: Pncurses-5.3.20030913-20030914 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[OpenPKG] Version Tracking Report (2003-09-14 19:28)
OpenPKG Version Tracking Report === Reporting Time:2003-09-14 19:28 Tracking Duration: 0:28:05 (H:M:S) Tracking Input:872 sources (577 packages) Tracking Result: 831 up-to-date, 8 out-dated, 33 error The following 8 sources were determined to be out-dated because newer vendor versions were found. Upgrade the corresponding OpenPKG packages. - - - Package Old Version New Version - - - blender 2.27 2.28a [1] gcrypt:libgcrypt 1.1.421.1.43[2] gcrypt:libgpg-error 0.3 0.4 [3] mesa:MesaDemos5.0.1 5.0.2 mesa:MesaLib 5.0.1 5.0.2 neon 0.24.10.24.2 postfix:pflogsumm 1.0.141.0.15 scribus 1.0.1 1.1.0 - - - [1] blender: rse: 2.28a fails to build, requires openal, python, etc -- needs more reinvestigation if time permits [2] gcrypt:libgcrypt: mlelstv - version 1.1.42 has incompatible API changes, wait until fixed or rest of the world (e.g. gnutls) catches up [3] gcrypt:libgpg-error: mlelstv - only used for gcrypt = 1.1.42 The following 33 sources could not be successfully checked because an error occurred while processing. Keep at least an eye on them. - - - Package Old Version Error - - - calamaris 2.58 regex didn't match (pro.. cocor 17connection failed or ti.. cups 1.1.192nd connection failed o.. dcoracle2 1.2 connection failed or ti.. dia 0.92 latest version online l.. ez-ipupdate 3.0.10connection failed or ti.. flex:release 2.5.4aconnection failed or ti.. fontconfig2.2.1 regex didn't match (pro.. fop 0.20.4regex didn't match (pro.. gimp 1.2.5 1st connection failed o.. glib 1.2.10connection failed or ti.. glimpse 4.17.4latest version online [1] gtk 1.2.102nd connection failed o.. kde-qt3.1.2 connection failed or ti.. libart2.3.142nd connection failed o.. libmcrypt 2.5.7 regex didn't match (pro.. libmikmod 3.1.10connection failed or ti.. lsof 4.68 connection failed or ti.. mcrypt2.6.4 regex didn't match (pro.. mtools3.9.9 regex didn't match (pro.. nn6.6.5 connection failed or ti.. patch:alpha 2.5.9 connection failed or ti.. postgresql7.3.4 1st connection failed o.. postgresql:psqlodbc 07.03.0100connection failed or ti.. psutils p17 connection failed or ti.. rdist 7.0.0-alpha10 connection failed or ti.. skey 1.1.5 connection failed or ti.. smtpfeed 1.18 connection failed or [2] spamassassin 2.60 latest version online l.. suck 4.3.2 regex didn't match (pro.. tomcat4 4.1.24regex didn't match (pro.. tomcat4-adapter 4.1.241st regex didn't match .. vcheck1.2.1 regex didn't match (p [3] - - - [1] glimpse: rse: website still does not show latest version [2] smtpfeed: thl: master site down and only known mirror is netsw! [3] vcheck: rse: webserver currently broken The remaining 831 sources were successfully determined to be still up to date. No action is required on your part. Just be happy ;) OpenPKG Version Tracker
[CVS] OpenPKG: openpkg-re/vcheck/ vc.postfix openpkg-src/postfix/ post...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-re Date: 14-Sep-2003 20:11:41 Branch: HEAD Handle: 2003091419114000 Modified files: openpkg-re/vcheck vc.postfix openpkg-src/postfix postfix.spec Log: modifying package: postfix-2.0.16 20030914 again Summary: RevisionChanges Path 1.61+1 -1 openpkg-re/vcheck/vc.postfix 1.175 +1 -1 openpkg-src/postfix/postfix.spec patch -p0 '@@ .' Index: openpkg-re/vcheck/vc.postfix $ cvs diff -u -r1.60 -r1.61 vc.postfix --- openpkg-re/vcheck/vc.postfix 14 Sep 2003 08:01:47 - 1.60 +++ openpkg-re/vcheck/vc.postfix 14 Sep 2003 18:11:40 - 1.61 @@ -12,7 +12,7 @@ regex = pfixtls-([^-]+-[^-]+-[^-]+)\.tar\.gz } prog postfix:pflogsumm = { - version = 1.0.14 + version = 1.0.15 url = http://jimsun.linxnet.com/postfix_contrib.html regex = pflogsumm-(__VER__)\.tar\.gz } @@ . patch -p0 '@@ .' Index: openpkg-src/postfix/postfix.spec $ cvs diff -u -r1.174 -r1.175 postfix.spec --- openpkg-src/postfix/postfix.spec 14 Sep 2003 08:01:49 - 1.174 +++ openpkg-src/postfix/postfix.spec 14 Sep 2003 18:11:40 - 1.175 @@ -26,7 +26,7 @@ # package versions %define V_postfix 2.0.16 %define V_tls 0.8.16-2.0.15-0.9.7b -%define V_pflogsumm1.0.14 +%define V_pflogsumm1.0.15 %define V_whoson 2.0.0.2 # package information @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[OpenPKG #255] [apt] patches for compatibility with openpkg = 20030913
Request 255 was acted upon. _ URL: https://rt.openpkg.org/id/255 Ticket: [OpenPKG #255] Subject: [apt] patches for compatibility with openpkg = 20030913 Requestors: [EMAIL PROTECTED] Queue: openpkg Owner: Nobody Status: new Transaction: Ticket created by [EMAIL PROTECTED] Time: Mon Sep 15 01:16:26 2003 _ Hi, It seems that the re-ordering of the libraries listed by rpm-config --libs in versions = 20030913 of the bootstrap package cause troubles when compiling apt. Specifically, when compiling on Solaris some symbols from /cw/lib/librpmpopt.a are not found by the linker. This is despite the fact that -lrpmpopt is specified in the linking command. I have made a couple of tweaks to configure.in to cope with this fact. Basically, in places where I sloppily inserted the complete output of rpm-config --libs before, I've just replaced the standard library name with the name as bundled in OpenPKG (e.g., 's/-lz/-lrpmz/'). I have tested these under both Sun and FreeBSD, and the linker on each platform is able to deal with the ordering I've set up. I'm attaching updated versions of apt.spec and apt.patch. I would have included these as patches rather than full files, but somehow the notion of sending a patch to a patch was a little too recursive for me to think about... --Matt Matt Hoosier CIS Accounts Manager Kansas State University [EMAIL PROTECTED] ## ## apt.spec -- OpenPKG RPM Specification ## Copyright (c) 2000-2003 The OpenPKG Project http://www.openpkg.org/ ## Copyright (c) 2000-2003 Ralf S. Engelschall [EMAIL PROTECTED] ## Copyright (c) 2000-2003 Cable Wireless http://www.cw.com/ ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # package information Name: apt Summary: Advanced Packaging Tool URL: https://moin.conectiva.com.br/AptRpm Vendor: Jason Gunthorpe et al. Packager: The OpenPKG Project Distribution: OpenPKG [EVAL] Group:Bootstrapping License: GPL Version: 0.5.5cnc6 Release: 20030914 # list of sources Source0: http://moin.conectiva.com.br/files/AptRpm/attachments/apt-%{version}.tar.bz2 Source1: apt.conf Source2: rpmpriorities Patch0: apt.patch Patch1: apt.patch.porting # build information Prefix: %{l_prefix} BuildRoot:%{l_buildroot} BuildPreReq: OpenPKG, openpkg = 20030913, make, gcc, autoconf PreReq: OpenPKG, openpkg = 20030913 AutoReq: no AutoReqProv: no %description This is Connectiva's port of the Debian's Advanced Packaging Tool (APT), running on top of the OpenPKG RPM packaging infrastructure. APT is an advanced package management utility front-end which allows you to easily perform package installation, upgrading and removal. Dependencies are automatically handled. %prep %setup -q %patch0 -p0 # platform specific patching l_rpmlibs=-lrpmpopt case %{l_platform -t} in *sunos* ) %patch1 -p0 l_rpmlibs= -lsocket ;; esac # replace hard-coded paths with OpenPKG ones find . ! -type d | xargs %{l_shtool} subst %{l_value -s l_prefix} -e 's;@l_bindir@;%{l_prefix}/bin;g' -e 's;@name@;apt;g' -e s;@dbpath@;%{_dbpath};g -e s;@rpmlibs@;;g -e s;@l_rpmlibs@;;g # regenerate GNU autoconf based files %{l_prefix}/bin/autoconf %build # configure package CC=%{l_cc} CPPFLAGS=%{l_cppflags} CFLAGS=%{l_cflags} LDFLAGS=%{l_ldflags} ./configure --prefix=%{l_prefix} --localstatedir=%{l_prefix}/var/apt --disable-shared --enable-static --disable-nls --disable-docs # disable localization stuff %{l_shtool} subst -e 's;^POFILES =.*$;POFILES =;g' -e 's;^GMOFILES =.*$;GMOFILES =;g
[OpenPKG #255] [apt] patches for compatibility with openpkg = 20030913
Request 255 was acted upon. _ URL: https://rt.openpkg.org/id/255 Ticket: [OpenPKG #255] Subject: [apt] patches for compatibility with openpkg = 20030913 Requestors: [EMAIL PROTECTED] Queue: openpkg Owner: Nobody Status: open Transaction: Correspondence added by [EMAIL PROTECTED] Time: Mon Sep 15 01:31:30 2003 It looks like my mailer fairly well trashed the newlines in most of the .spec file I attached. You can find undamaged versions of all these files in the SRPM at: http://apt.cis.ksu.edu/solaris/apt/SRPMS.openpkg-current/apt-0.5.5cnc6-20030914.src.rpm --Matt On Sun, 2003-09-14 at 18:16, Matt Hoosier via RT wrote: Request 255 was acted upon. _ URL: https://rt.openpkg.org/id/255 Ticket: [OpenPKG #255] Subject: [apt] patches for compatibility with openpkg = 20030913 Requestors: [EMAIL PROTECTED] Queue: openpkg Owner: Nobody Status: new Transaction: Ticket created by [EMAIL PROTECTED] Time: Mon Sep 15 01:16:26 2003 _ Hi, It seems that the re-ordering of the libraries listed by rpm-config --libs in versions = 20030913 of the bootstrap package cause troubles when compiling apt. Specifically, when compiling on Solaris some symbols from /cw/lib/librpmpopt.a are not found by the linker. This is despite the fact that -lrpmpopt is specified in the linking command. I have made a couple of tweaks to configure.in to cope with this fact. Basically, in places where I sloppily inserted the complete output of rpm-config --libs before, I've just replaced the standard library name with the name as bundled in OpenPKG (e.g., 's/-lz/-lrpmz/'). I have tested these under both Sun and FreeBSD, and the linker on each platform is able to deal with the ordering I've set up. I'm attaching updated versions of apt.spec and apt.patch. I would have included these as patches rather than full files, but somehow the notion of sending a patch to a patch was a little too recursive for me to think about... --Matt Matt Hoosier CIS Accounts Manager Kansas State University [EMAIL PROTECTED] __ ## ## apt.spec -- OpenPKG RPM Specification ## Copyright (c) 2000-2003 The OpenPKG Project http://www.openpkg.org/ ## Copyright (c) 2000-2003 Ralf S. Engelschall [EMAIL PROTECTED] ## Copyright (c) 2000-2003 Cable Wireless http://www.cw.com/ ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # package information Name: apt Summary: Advanced Packaging Tool URL: https://moin.conectiva.com.br/AptRpm Vendor: Jason Gunthorpe et al. Packager: The OpenPKG Project Distribution: OpenPKG [EVAL] Group:Bootstrapping License: GPL Version: 0.5.5cnc6 Release: 20030914 # list of sources Source0: http://moin.conectiva.com.br/files/AptRpm/attachments/apt-%{version}.tar.bz2 Source1: apt.conf Source2: rpmpriorities Patch0: apt.patch Patch1: apt.patch.porting # build information Prefix: %{l_prefix} BuildRoot:%{l_buildroot} BuildPreReq: OpenPKG, openpkg = 20030913, make, gcc, autoconf PreReq: OpenPKG, openpkg = 20030913 AutoReq: no AutoReqProv: no %description This is Connectiva's port of the Debian's Advanced Packaging Tool (APT), running on top of the OpenPKG RPM packaging infrastructure. APT is an advanced package management utility front-end which allows you to easily perform package installation, upgrading and removal. Dependencies are automatically handled. %prep %setup -q %patch0 -p0
[OpenPKG] Version Tracking Report (2003-09-15 07:25)
OpenPKG Version Tracking Report === Reporting Time:2003-09-15 07:25 Tracking Duration: 0:25:14 (H:M:S) Tracking Input:872 sources (577 packages) Tracking Result: 834 up-to-date, 7 out-dated, 31 error The following 7 sources were determined to be out-dated because newer vendor versions were found. Upgrade the corresponding OpenPKG packages. - - - Package Old Version New Version - - - blender 2.27 2.28a [1] gcrypt:libgcrypt 1.1.421.1.43[2] gcrypt:libgpg-error 0.3 0.4 [3] mesa:MesaDemos5.0.1 5.0.2 mesa:MesaLib 5.0.1 5.0.2 scribus 1.0.1 1.1.0 which 2.15 2.16 - - - [1] blender: rse: 2.28a fails to build, requires openal, python, etc -- needs more reinvestigation if time permits [2] gcrypt:libgcrypt: mlelstv - version 1.1.42 has incompatible API changes, wait until fixed or rest of the world (e.g. gnutls) catches up [3] gcrypt:libgpg-error: mlelstv - only used for gcrypt = 1.1.42 The following 31 sources could not be successfully checked because an error occurred while processing. Keep at least an eye on them. - - - Package Old Version Error - - - calamaris 2.58 regex didn't match (pro.. cocor 17connection failed or ti.. cups 1.1.192nd connection failed o.. dia 0.92 latest version online l.. ez-ipupdate 3.0.10connection failed or ti.. flex:release 2.5.4aconnection failed or ti.. fontconfig2.2.1 regex didn't match (pro.. fop 0.20.4regex didn't match (pro.. glimpse 4.17.4latest version online [1] imagemagick 5.5.7-10 connection failed or ti.. kde-qt3.1.2 connection failed or ti.. libart2.3.142nd connection failed o.. libmcrypt 2.5.7 regex didn't match (pro.. libmikmod 3.1.10connection failed or ti.. lsof 4.68 connection failed or ti.. mcrypt2.6.4 regex didn't match (pro.. mtools3.9.9 regex didn't match (pro.. nn6.6.5 connection failed or ti.. patch:alpha 2.5.9 connection failed or ti.. pdksh 5.2.14connection failed or ti.. postgresql7.3.4 1st connection failed o.. postgresql:psqlodbc 07.03.0100connection failed or ti.. psutils p17 connection failed or ti.. rdist 7.0.0-alpha10 connection failed or ti.. skey 1.1.5 connection failed or ti.. smtpfeed 1.18 connection failed or [2] spamassassin 2.60 latest version online l.. suck 4.3.2 regex didn't match (pro.. tomcat4 4.1.24regex didn't match (pro.. tomcat4-adapter 4.1.241st regex didn't match .. vcheck1.2.1 regex didn't match (p [3] - - - [1] glimpse: rse: website still does not show latest version [2] smtpfeed: thl: master site down and only known mirror is netsw! [3] vcheck: rse: webserver currently broken The remaining 834 sources were successfully determined to be still up to date. No action is required on your part. Just be happy ;) OpenPKG Version Tracker [EMAIL PROTECTED] __ The OpenPKG Projectwww.openpkg.org Developer Communication List