pkg audit -F segfault on sparc64 and ia64 [WAS: Re: pkg audit segfault]
On Mon, Apr 16, 2012 at 04:13:06PM +0100, Anton Shterenlikht wrote: > On Mon, Apr 16, 2012 at 04:58:27PM +0200, Julien Laffaye wrote: > > On 04/16/2012 04:21 PM, Anton Shterenlikht wrote: > > >pkg audit -F > > On my 9.0-RELEASE amd64, it works fine. segfault also on sparc64 r230787M # pkg -vvv version: 1.0-beta11 abi: freebsd:10:sparc64:64 db dir: /var/db/pkg cache dir: /var/cache/pkg ports dir: /usr/ports Log into syslog: yes Assume always yes: no Handle rc scripts: no Track shlibs: no Automatic depdency tracking: no Custom keywords directory: none Repository: none # # pkg audit -F http://portaudit.FreeBSD.org/auditfile.tbz 100% 76KB 75.7KB/s 75.7KB/s 00:00 0 problem(s) in your installed packages found. Segmentation fault (core dumped) # gdb /usr/local/sbin/pkg pkg.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc64-marcel-freebsd"... Core was generated by `pkg'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libpkg.so.0...done. Loaded symbols for /usr/local/lib/libpkg.so.0 Reading symbols from /lib/libutil.so.9...done. Loaded symbols for /lib/libutil.so.9 Reading symbols from /lib/libjail.so.1...done. Loaded symbols for /lib/libjail.so.1 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/lib/libarchive.so.5...done. Loaded symbols for /usr/lib/libarchive.so.5 Reading symbols from /lib/libsbuf.so.6...done. Loaded symbols for /lib/libsbuf.so.6 Reading symbols from /usr/lib/libfetch.so.6...done. Loaded symbols for /usr/lib/libfetch.so.6 Reading symbols from /usr/lib/libelf.so.1...done. Loaded symbols for /usr/lib/libelf.so.1 Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libedit.so.7...done. Loaded symbols for /lib/libedit.so.7 Reading symbols from /lib/libz.so.6...done. Loaded symbols for /lib/libz.so.6 Reading symbols from /usr/lib/libbz2.so.4...done. Loaded symbols for /usr/lib/libbz2.so.4 Reading symbols from /usr/lib/liblzma.so.5...done. Loaded symbols for /usr/lib/liblzma.so.5 Reading symbols from /lib/libbsdxml.so.4...done. Loaded symbols for /lib/libbsdxml.so.4 Reading symbols from /lib/libcrypto.so.6...done. Loaded symbols for /lib/libcrypto.so.6 Reading symbols from /usr/lib/libssl.so.6...done. Loaded symbols for /usr/lib/libssl.so.6 Reading symbols from /lib/libmd.so.5...done. Loaded symbols for /lib/libmd.so.5 Reading symbols from /lib/libncurses.so.8...done. Loaded symbols for /lib/libncurses.so.8 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x407f31a8 in __sparc_utrap_install () from /lib/libc.so.7 [New Thread 41c04400 (LWP 100130/pkg)] (gdb) bt #0 0x407f31a8 in __sparc_utrap_install () from /lib/libc.so.7 #1 0x407f32cc in __sparc_utrap_install () from /lib/libc.so.7 #2 0x407f3570 in __sparc_utrap_install () from /lib/libc.so.7 #3 0x407f2dac in __sparc_utrap_install () from /lib/libc.so.7 #4 0x40225b74 in dlsym () from /libexec/ld-elf.so.1 #5 0x40225b74 in dlsym () from /libexec/ld-elf.so.1 Previous frame identical to this frame (corrupt stack?) (gdb) -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Question about PORTEXAMPLES
Hi all, I'm working on the port for OpenVSP. Here[1] there is a preliminary version. scheidell suggests simplifying the port using PORTEXAMPLES. I redid the Makefile a little so it looks like this now (I show only the relevant part): PORTEXAMPLES= ${WRKSRC}/../examples/airfoil/* PORTEXAMPLES+= ${WRKSRC}/../examples/cabin/* PORTEXAMPLES+= ${WRKSRC}/../examples/fonts/* PORTEXAMPLES+= ${WRKSRC}/../examples/fuselage/* PORTEXAMPLES+= ${WRKSRC}/../examples/models/* PORTEXAMPLES+= ${WRKSRC}/../examples/setup/* PORTEXAMPLES+= ${WRKSRC}/../examples/textures/* PLIST_FILES=bin/vsp do-fetch: ${FETCH_BINARY} -o ${DISTDIR}/${DISTNAME}.tar.gz ${MASTER_SITES}${DISTNAME} do-install: @${INSTALL_PROGRAM} ${WRKSRC}/vsp/vsp ${PREFIX}/bin .if !defined(NOPORTEXAMPLES) .for i in airfoil cabin fonts fuselage models setup textures @${MKDIR} ${EXAMPLESDIR}/${i} @${INSTALL_DATA} ${WRKSRC}/../examples/${i}/* ${EXAMPLESDIR} .endfor .endif portlint -abt only complains about one single MASTER_SITE configured (nothing I can do about it). However, 'port test' shows the following: ===> Deinstalling openvsp-2.0 pkg_delete: unable to completely remove directory '/tmp/openvsp-2.0/share/examples/openvsp' pkg_delete: couldn't entirely delete package `openvsp-2.0' (perhaps the packing list is incorrectly specified?) I don't get why this happens. What I want is to keep the same hierarchy the package has. This is, having the subdirectories 'airfoil', 'cabin', etc. hanging from the port's EXAMPLESDIR. Any help is appreciated. Cheers. PS: Please, CC me as I'm not subscribed to the list. Thanks! [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=166825 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Question about PORTEXAMPLES
On 18 Apr 2012 18:05, "Fernando Apesteguía" wrote: > > Hi all, > > I'm working on the port for OpenVSP. Here[1] there is a preliminary version. > > scheidell suggests simplifying the port using PORTEXAMPLES. I redid the Makefile > a little so it looks like this now (I show only the relevant part): > > PORTEXAMPLES= ${WRKSRC}/../examples/airfoil/* > PORTEXAMPLES+= ${WRKSRC}/../examples/cabin/* > PORTEXAMPLES+= ${WRKSRC}/../examples/fonts/* > PORTEXAMPLES+= ${WRKSRC}/../examples/fuselage/* > PORTEXAMPLES+= ${WRKSRC}/../examples/models/* > PORTEXAMPLES+= ${WRKSRC}/../examples/setup/* > PORTEXAMPLES+= ${WRKSRC}/../examples/textures/* > > PLIST_FILES=bin/vsp > > do-fetch: >${FETCH_BINARY} -o ${DISTDIR}/${DISTNAME}.tar.gz > ${MASTER_SITES}${DISTNAME} > > do-install: >@${INSTALL_PROGRAM} ${WRKSRC}/vsp/vsp ${PREFIX}/bin > .if !defined(NOPORTEXAMPLES) > .for i in airfoil cabin fonts fuselage models setup textures >@${MKDIR} ${EXAMPLESDIR}/${i} >@${INSTALL_DATA} ${WRKSRC}/../examples/${i}/* ${EXAMPLESDIR} > .endfor > .endif > > portlint -abt only complains about one single MASTER_SITE configured > (nothing I can do > about it). > > However, 'port test' shows the following: > > ===> Deinstalling openvsp-2.0 > pkg_delete: unable to completely remove directory > '/tmp/openvsp-2.0/share/examples/openvsp' > pkg_delete: couldn't entirely delete package `openvsp-2.0' > (perhaps the packing list is incorrectly specified?) > > I don't get why this happens. What I want is to keep the same > hierarchy the package has. This is, > having the subdirectories 'airfoil', 'cabin', etc. hanging from the > port's EXAMPLESDIR. > > Any help is appreciated. > > Cheers. > > PS: Please, CC me as I'm not subscribed to the list. Thanks! > > [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=166825 > PORTEXAMPLES=* will work fine for the plist; don't use PORTEXAMPLES in the for loop. Your problem is that you aren't removing the subdirs below EXAMPLESDIR. Chris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: PHP 5.4.0 : lang/php54
Hello, Alex! FreeBSD 8.3 is done, please commit update lang/php5 to PHP 5.4 to portstree. Thank you in advance. I'm really waiting for this moment because I was going to install a large number of new servers with the new version of PHP (version 5.4 should be so you do not have a problem with a major update of the working of the system) and allready waited for several weeks. Who needs the old 5.3 - can roll back the version of the ports to today's date and solve the question with lang/php53 2012/3/12 Alex Dupre : > I've already created patches to update the current php5 port to 5.4. I'm > waiting for fixes to other main php-related ports and the end of ports > freeze to make them public and then commit them. > I'm tired to listen at every PHP release that we should not update > because everything broke (and on the other side people asking me when > the port will be update, because it has incredible new features). > Updating php port is a big task and will be done with the correct > timing. Functions removed in php5.4 have been deprecated 10 year ago, if > you still rely on them after more than 2 years PHP 5.3.0 has been > released, then probably you should stick to lang/php52 port, or find a > maintainer and a committer willing to create and maintain lang/php53. > ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: pkg audit -F segfault on sparc64 and ia64 [WAS: Re: pkg audit segfault]
On 2012-Apr-18, 13:44, Anton Shterenlikht wrote: > On Mon, Apr 16, 2012 at 04:13:06PM +0100, Anton Shterenlikht wrote: > > On Mon, Apr 16, 2012 at 04:58:27PM +0200, Julien Laffaye wrote: > > > On 04/16/2012 04:21 PM, Anton Shterenlikht wrote: > > > >pkg audit -F > > > On my 9.0-RELEASE amd64, it works fine. > > segfault also on sparc64 r230787M I have a couple of sparc64 machines on which I can test, but that won't be before next week.. I'll follow-up. > > # pkg -vvv > version: 1.0-beta11 > abi: freebsd:10:sparc64:64 > db dir: /var/db/pkg > cache dir: /var/cache/pkg > ports dir: /usr/ports > Log into syslog: yes > Assume always yes: no > Handle rc scripts: no > Track shlibs: no > Automatic depdency tracking: no > Custom keywords directory: none > Repository: none > # > > # pkg audit -F > http://portaudit.FreeBSD.org/auditfile.tbz 100% 76KB 75.7KB/s > 75.7KB/s 00:00 > 0 problem(s) in your installed packages found. > Segmentation fault (core dumped) > > # gdb /usr/local/sbin/pkg pkg.core > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "sparc64-marcel-freebsd"... > Core was generated by `pkg'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /usr/local/lib/libpkg.so.0...done. > Loaded symbols for /usr/local/lib/libpkg.so.0 > Reading symbols from /lib/libutil.so.9...done. > Loaded symbols for /lib/libutil.so.9 > Reading symbols from /lib/libjail.so.1...done. > Loaded symbols for /lib/libjail.so.1 > Reading symbols from /lib/libc.so.7...done. > Loaded symbols for /lib/libc.so.7 > Reading symbols from /usr/lib/libarchive.so.5...done. > Loaded symbols for /usr/lib/libarchive.so.5 > Reading symbols from /lib/libsbuf.so.6...done. > Loaded symbols for /lib/libsbuf.so.6 > Reading symbols from /usr/lib/libfetch.so.6...done. > Loaded symbols for /usr/lib/libfetch.so.6 > Reading symbols from /usr/lib/libelf.so.1...done. > Loaded symbols for /usr/lib/libelf.so.1 > Reading symbols from /lib/libthr.so.3...done. > Loaded symbols for /lib/libthr.so.3 > Reading symbols from /lib/libedit.so.7...done. > Loaded symbols for /lib/libedit.so.7 > Reading symbols from /lib/libz.so.6...done. > Loaded symbols for /lib/libz.so.6 > Reading symbols from /usr/lib/libbz2.so.4...done. > Loaded symbols for /usr/lib/libbz2.so.4 > Reading symbols from /usr/lib/liblzma.so.5...done. > Loaded symbols for /usr/lib/liblzma.so.5 > Reading symbols from /lib/libbsdxml.so.4...done. > Loaded symbols for /lib/libbsdxml.so.4 > Reading symbols from /lib/libcrypto.so.6...done. > Loaded symbols for /lib/libcrypto.so.6 > Reading symbols from /usr/lib/libssl.so.6...done. > Loaded symbols for /usr/lib/libssl.so.6 > Reading symbols from /lib/libmd.so.5...done. > Loaded symbols for /lib/libmd.so.5 > Reading symbols from /lib/libncurses.so.8...done. > Loaded symbols for /lib/libncurses.so.8 > Reading symbols from /libexec/ld-elf.so.1...done. > Loaded symbols for /libexec/ld-elf.so.1 > #0 0x407f31a8 in __sparc_utrap_install () from /lib/libc.so.7 > [New Thread 41c04400 (LWP 100130/pkg)] > (gdb) bt > #0 0x407f31a8 in __sparc_utrap_install () from /lib/libc.so.7 > #1 0x407f32cc in __sparc_utrap_install () from /lib/libc.so.7 > #2 0x407f3570 in __sparc_utrap_install () from /lib/libc.so.7 > #3 0x407f2dac in __sparc_utrap_install () from /lib/libc.so.7 > #4 0x40225b74 in dlsym () from /libexec/ld-elf.so.1 > #5 0x40225b74 in dlsym () from /libexec/ld-elf.so.1 > Previous frame identical to this frame (corrupt stack?) > (gdb) > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 331 5944 > Fax: +44 (0)117 929 4423 > ___ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" -- Pietro Cerutti The FreeBSD Project g...@freebsd.org PGP Public Key: http://gahr.ch/pgp pgpwgGkTHRaQp.pgp Description: PGP signature
ThunderBird 3 and nss_ldap
Hello. I see ThunderBird 3 is now deprecated and will soon be removed; I know this decision comes from upstream and I'd be fine with that. Only, this is the last version working with nss_ldap. I've reported this back when TB 5.0 came out and I've seen others asking for help. There's even a patch (ports/164239) laying there for some time, but I tried it today and it doesn't seem to help: I still get a crash on startup and the backtrace still seems to blame some interaction with nss_ldap. So, basically, I won't be able to keep using 3 and I won't be able to run a new version. Of course I'm willing to do any required testing, but I need some guidance with them. If anyone could help, I'd really appreciate it. bye & Thanks av. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74
On Mon, Apr 16, 2012 at 2:05 PM, Baptiste Daroussin wrote: > Well normally just once you have build your port (before installing) just make > deinstall, ./work/pkg-beta11/pkg-static/pkg-static info, it should upgrade > your > database. > > Then make install should finish the work. And, if it doesn't? Was running beta8. Tried to upgrade to beta11. Got the "outdated/opened readonly" error. Doing the deinstall/pkg-static command above gave the same error the first time it was run. The second time it returned successfully but there was 0 output. Now, running the "pkg-static info" command from the workdir gives the exact same "outdated/readonly" error. Is there anyway to recover the database? Especially considering that /var/db/pkg/ is blank except for the local.sqlite file. -- Freddie Cash fjwc...@gmail.com ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74
On Wed, Apr 18, 2012 at 01:31:37PM -0700, Freddie Cash wrote: > On Mon, Apr 16, 2012 at 2:05 PM, Baptiste Daroussin wrote: > > Well normally just once you have build your port (before installing) just > > make > > deinstall, ./work/pkg-beta11/pkg-static/pkg-static info, it should upgrade > > your > > database. > > > > Then make install should finish the work. > > And, if it doesn't? > > Was running beta8. Tried to upgrade to beta11. Got the > "outdated/opened readonly" error. Doing the deinstall/pkg-static > command above gave the same error the first time it was run. The > second time it returned successfully but there was 0 output. > > Now, running the "pkg-static info" command from the workdir gives the > exact same "outdated/readonly" error. > > Is there anyway to recover the database? Especially considering that > /var/db/pkg/ is blank except for the local.sqlite file. > yes there is, are you running what version/arch FreeBSD are you using? depending on that I can give you the workaround. I'm still trying to figure out what is preventing beta11 from being about to upgrade from beta8, and fix it, so can you send me you local.sqlite ? That would help me fixing this. regards, Bapt pgpQeXeuWtCX7.pgp Description: PGP signature
VBox ugrade fails
# date Wed Apr 18 16:41:50 EDT 2012 [root@FBSD10 ~]# portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found. Fetching snapshot tag from portsnap5.FreeBSD.org... done. Latest snapshot on server matches what we already have. No updates needed. Ports tree is already up to date. # uname -a FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #11 r234399: Tue Apr 17 18:15:12 EDT 2012 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 portupgrade -va ---> Session started at: Wed, 18 Apr 2012 16:42:42 -0400 ---> Upgrade of emulators/virtualbox-ose-kmod started at: Wed, 18 Apr 2012 16:43:38 -0400 ---> Upgrading 'virtualbox-ose-kmod-4.1.8_1' to 'virtualbox-ose-kmod-4.1.12' (emulators/virtualbox-ose-kmod) ---> Build of emulators/virtualbox-ose-kmod started at: Wed, 18 Apr 2012 16:43:38 -0400 ---> Building '/usr/ports/emulators/virtualbox-ose-kmod' cd /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.12/out/freebsd.amd64/release/bin/src && make SYSDIR=/usr/src/sys *** Building 'vboxdrv' module *** "/usr/share/mk/bsd.own.mk", line 483: MK_CLANG_IS_CC can't be set by a user. *** [all] Error code 1 Stop in /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.12/out/freebsd.amd64/release/bin/src. *** [do-build] Error code 1 Stop in /usr/ports/emulators/virtualbox-ose-kmod. *** [build] Error code 1 Stop in /usr/ports/emulators/virtualbox-ose-kmod. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20120418-95793-1hmpppe-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=virtualbox-ose-kmod-4.1.8_1 UPGRADE_PORT_VER=4.1.8_1 make ** Fix the problem and try again. ---> Build of emulators/virtualbox-ose-kmod ended at: Wed, 18 Apr 2012 16:43:59 -0400 (consumed 00:00:21) ---> Upgrade of emulators/virtualbox-ose-kmod ended at: Wed, 18 Apr 2012 16:43:59 -0400 (consumed 00:00:21) ---> ** Upgrade tasks 2: 0 done, 1 ignored, 0 skipped and 1 failed It seems there is a problem with VirtualBox and the file /usr/share/mk/bsd.own.mk on current. I am _not_ using Clang, just the standard base compiler. # cat /etc/make.conf OVERRIDE_LINUX_BASE_PORT=f10 QT4_OPTIONS= QGTKSTYLE WITH_OPENSSL_PORT=yes # added by use.perl 2012-04-04 01:11:13 PERL_VERSION=5.14.2 MALLOC_PRODUCTION=yes ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: VBox ugrade fails
В Wed, 18 Apr 2012 16:49:50 -0400 (EDT) AN пишет: > # date > Wed Apr 18 16:41:50 EDT 2012 > [root@FBSD10 ~]# portsnap fetch update > Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found. > Fetching snapshot tag from portsnap5.FreeBSD.org... done. > Latest snapshot on server matches what we already have. > No updates needed. > Ports tree is already up to date. > > # uname -a > FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #11 r234399: Tue Apr > 17 18:15:12 EDT 2012 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL > amd64 > > portupgrade -va > ---> Session started at: Wed, 18 Apr 2012 16:42:42 -0400 > ---> Upgrade of emulators/virtualbox-ose-kmod started at: Wed, 18 > Apr 2012 16:43:38 -0400 > ---> Upgrading 'virtualbox-ose-kmod-4.1.8_1' to > 'virtualbox-ose-kmod-4.1.12' (emulators/virtualbox-ose-kmod) > ---> Build of emulators/virtualbox-ose-kmod started at: Wed, 18 Apr > 2012 16:43:38 -0400 > ---> Building '/usr/ports/emulators/virtualbox-ose-kmod' > > cd > /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.12/out/freebsd.amd64/release/bin/src > > && make SYSDIR=/usr/src/sys > *** Building 'vboxdrv' module *** > "/usr/share/mk/bsd.own.mk", line 483: MK_CLANG_IS_CC can't be set by > a user. > *** [all] Error code 1 > > Stop in > /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.12/out/freebsd.amd64/release/bin/src. > *** [do-build] Error code 1 > > Stop in /usr/ports/emulators/virtualbox-ose-kmod. > *** [build] Error code 1 > > Stop in /usr/ports/emulators/virtualbox-ose-kmod. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade20120418-95793-1hmpppe-0 env UPGRADE_TOOL=portupgrade > UPGRADE_PORT=virtualbox-ose-kmod-4.1.8_1 UPGRADE_PORT_VER=4.1.8_1 make > ** Fix the problem and try again. > ---> Build of emulators/virtualbox-ose-kmod ended at: Wed, 18 Apr > 2012 16:43:59 -0400 (consumed 00:00:21) > ---> Upgrade of emulators/virtualbox-ose-kmod ended at: Wed, 18 Apr > 2012 16:43:59 -0400 (consumed 00:00:21) > ---> ** Upgrade tasks 2: 0 done, 1 ignored, 0 skipped and 1 failed > > > It seems there is a problem with VirtualBox and the file > /usr/share/mk/bsd.own.mk on current. I am _not_ using Clang, just > the standard base compiler. > > # cat /etc/make.conf > OVERRIDE_LINUX_BASE_PORT=f10 > QT4_OPTIONS= QGTKSTYLE > WITH_OPENSSL_PORT=yes > # added by use.perl 2012-04-04 01:11:13 > PERL_VERSION=5.14.2 > MALLOC_PRODUCTION=yes > ___ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to > "freebsd-ports-unsubscr...@freebsd.org" > > cd /usr/ports/emulators/virtualbox-ose-kmod/files && rm patch-src_VBox_HostDrivers_Support_freebsd_Makefile patch-src_VBox_HostDrivers_VBoxNetAdp_freebsd_Makefile patch-src_VBox_HostDrivers_VBoxNetFlt_freebsd_Makefile and start the update again ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74
On Wed, Apr 18, 2012 at 1:46 PM, Baptiste Daroussin wrote: > On Wed, Apr 18, 2012 at 01:31:37PM -0700, Freddie Cash wrote: >> On Mon, Apr 16, 2012 at 2:05 PM, Baptiste Daroussin wrote: >> > Well normally just once you have build your port (before installing) just >> > make >> > deinstall, ./work/pkg-beta11/pkg-static/pkg-static info, it should upgrade >> > your >> > database. >> > >> > Then make install should finish the work. >> >> And, if it doesn't? >> >> Was running beta8. Tried to upgrade to beta11. Got the >> "outdated/opened readonly" error. Doing the deinstall/pkg-static >> command above gave the same error the first time it was run. The >> second time it returned successfully but there was 0 output. >> >> Now, running the "pkg-static info" command from the workdir gives the >> exact same "outdated/readonly" error. >> >> Is there anyway to recover the database? Especially considering that >> /var/db/pkg/ is blank except for the local.sqlite file. >> > yes there is, are you running what version/arch FreeBSD are you using? > depending > on that I can give you the workaround. Whew. Good to hear. :) uname -a: FreeBSD rogue.ashesofthe.net 8.2-STABLE FreeBSD 8.2-STABLE #1 r226546: Sun Jan 22 02:10:54 PST 2012 r...@rogue.ashesofthe.net:/usr/obj/usr/src-8/sys/ROGUE i386 > I'm still trying to figure out what is preventing beta11 from being about to > upgrade from beta8, and fix it, so can you send me you local.sqlite ? As it's a 50 MB file, you can download it from here: http://www.sd73.bc.ca/downloads/local.sqlite -- Freddie Cash fjwc...@gmail.com ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74
On Wed, Apr 18, 2012 at 02:07:57PM -0700, Freddie Cash wrote: > On Wed, Apr 18, 2012 at 1:46 PM, Baptiste Daroussin wrote: > > On Wed, Apr 18, 2012 at 01:31:37PM -0700, Freddie Cash wrote: > >> On Mon, Apr 16, 2012 at 2:05 PM, Baptiste Daroussin > >> wrote: > >> > Well normally just once you have build your port (before installing) > >> > just make > >> > deinstall, ./work/pkg-beta11/pkg-static/pkg-static info, it should > >> > upgrade your > >> > database. > >> > > >> > Then make install should finish the work. > >> > >> And, if it doesn't? > >> > >> Was running beta8. Tried to upgrade to beta11. Got the > >> "outdated/opened readonly" error. Doing the deinstall/pkg-static > >> command above gave the same error the first time it was run. The > >> second time it returned successfully but there was 0 output. > >> > >> Now, running the "pkg-static info" command from the workdir gives the > >> exact same "outdated/readonly" error. > >> > >> Is there anyway to recover the database? Especially considering that > >> /var/db/pkg/ is blank except for the local.sqlite file. > >> > > yes there is, are you running what version/arch FreeBSD are you using? > > depending > > on that I can give you the workaround. > > Whew. Good to hear. :) > Just upgrade your ports tree beta11 is fixed /me feels really ashamed for that bug :) regards, Bapt pgpnrtfZtyj8z.pgp Description: PGP signature
Re: VBox ugrade fails
On Thu, 19 Apr 2012, Ivan Klymenko wrote: ? Wed, 18 Apr 2012 16:49:50 -0400 (EDT) AN ?: # date Wed Apr 18 16:41:50 EDT 2012 [root@FBSD10 ~]# portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found. Fetching snapshot tag from portsnap5.FreeBSD.org... done. Latest snapshot on server matches what we already have. No updates needed. Ports tree is already up to date. # uname -a FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #11 r234399: Tue Apr 17 18:15:12 EDT 2012 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 portupgrade -va ---> Session started at: Wed, 18 Apr 2012 16:42:42 -0400 ---> Upgrade of emulators/virtualbox-ose-kmod started at: Wed, 18 Apr 2012 16:43:38 -0400 ---> Upgrading 'virtualbox-ose-kmod-4.1.8_1' to 'virtualbox-ose-kmod-4.1.12' (emulators/virtualbox-ose-kmod) ---> Build of emulators/virtualbox-ose-kmod started at: Wed, 18 Apr 2012 16:43:38 -0400 ---> Building '/usr/ports/emulators/virtualbox-ose-kmod' cd /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.12/out/freebsd.amd64/release/bin/src && make SYSDIR=/usr/src/sys *** Building 'vboxdrv' module *** "/usr/share/mk/bsd.own.mk", line 483: MK_CLANG_IS_CC can't be set by a user. *** [all] Error code 1 Stop in /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.12/out/freebsd.amd64/release/bin/src. *** [do-build] Error code 1 Stop in /usr/ports/emulators/virtualbox-ose-kmod. *** [build] Error code 1 Stop in /usr/ports/emulators/virtualbox-ose-kmod. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20120418-95793-1hmpppe-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=virtualbox-ose-kmod-4.1.8_1 UPGRADE_PORT_VER=4.1.8_1 make ** Fix the problem and try again. ---> Build of emulators/virtualbox-ose-kmod ended at: Wed, 18 Apr 2012 16:43:59 -0400 (consumed 00:00:21) ---> Upgrade of emulators/virtualbox-ose-kmod ended at: Wed, 18 Apr 2012 16:43:59 -0400 (consumed 00:00:21) ---> ** Upgrade tasks 2: 0 done, 1 ignored, 0 skipped and 1 failed It seems there is a problem with VirtualBox and the file /usr/share/mk/bsd.own.mk on current. I am _not_ using Clang, just the standard base compiler. # cat /etc/make.conf OVERRIDE_LINUX_BASE_PORT=f10 QT4_OPTIONS= QGTKSTYLE WITH_OPENSSL_PORT=yes # added by use.perl 2012-04-04 01:11:13 PERL_VERSION=5.14.2 MALLOC_PRODUCTION=yes ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" cd /usr/ports/emulators/virtualbox-ose-kmod/files && rm patch-src_VBox_HostDrivers_Support_freebsd_Makefile patch-src_VBox_HostDrivers_VBoxNetAdp_freebsd_Makefile patch-src_VBox_HostDrivers_VBoxNetFlt_freebsd_Makefile and start the update again Thank you for the help. VBox was upgraded successfully. ===> Registering installation for virtualbox-ose-4.1.12 ---> Upgrade of emulators/virtualbox-ose ended at: Wed, 18 Apr 2012 17:27:53 -0400 (consumed 00:07:26) ---> ** Upgrade tasks 2: 2 done, 1 ignored, 0 skipped and 0 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) - www/FF (port directory error) + emulators/virtualbox-ose-kmod (virtualbox-ose-kmod-4.1.8_1) + emulators/virtualbox-ose (virtualbox-ose-4.1.8) ---> Packages processed: 2 done, 1 ignored, 0 skipped and 0 failed ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74
On Wed, Apr 18, 2012 at 2:26 PM, Baptiste Daroussin wrote: > Just upgrade your ports tree beta11 is fixed > /me feels really ashamed for that bug :) It hasn't hit the portsnap servers yet. I'll try again later tonight or tomorrow and let you know if things work for me. -- Freddie Cash fjwc...@gmail.com ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74
On Wed, Apr 18, 2012 at 2:42 PM, Freddie Cash wrote: > On Wed, Apr 18, 2012 at 2:26 PM, Baptiste Daroussin wrote: >> Just upgrade your ports tree beta11 is fixed >> /me feels really ashamed for that bug :) > > It hasn't hit the portsnap servers yet. I'll try again later tonight > or tomorrow and let you know if things work for me. Aha! All good things come to those who wait. :) The update just showed up in portsnap. And the ports-mgmt/pkg port built successfully. Running "pkg-static info" from the workdir was successful. And, installing the port completed successfully. And, doing a portmaster upgrade of another port also completed successfully. Thanks!! Keep up the good work on pkg. All I'm waiting (patiently) for are some public repos to start cropping online. :) -- Freddie Cash fjwc...@gmail.com ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
net-mgmt/portupgrade - SSL need to be in base?
Hi, it looks like SSL suppot needs to be compiled into the base system to fetch the portupgrade source?! At least my base system is without SSL support and it does not fetch... portupgrade> make fetch ===> License check disabled, port has not defined LICENSE ===> Found saved configuration for portupgrade-2.4.9.3,2 => pkgtools-pkgtools-b99f3ce.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch http://github.com/pkgtools/pkgtools/tarball/b99f3ce/pkgtools-pkgtools-b99f3ce.tar.gz SSL support disabled fetch: http://github.com/pkgtools/pkgtools/tarball/b99f3ce/pkgtools-pkgtools-b99f3ce.tar.gz: Authentication error => Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/pkgtools-pkgtools-b99f3ce.tar.gz fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/pkgtools-pkgtools-b99f3ce.tar.gz: File unavailable (e.g., file not found, no access) => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/ports-mgmt/portupgrade. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"