Re: Doubt about updating the ports

2009-12-28 Thread Stuart Henderson
On 2009-12-28, Daniel Bareiro  wrote:
..
> Now I no longer have that problem with pkg_add but after to update from
> release to stable with this [1] procedure, I can not update some ports
> yet. It happens just like I commented before; "make update" seems not to
> have effect.

Clean your package build directories and old packages in
/usr/ports/packages/$ARCH first;

make clean='work package' && make update

If this fails during compiling/linking, you probably have to uninstall
the previous version (and of course any dependent ports).

> [1] http://www.openbsd101.com/updating.html

I would generally recommend using anoncvs for updating the source/ports
trees, it's available from more mirrors and simpler to setup, see
www.openbsd.org/anoncvs.html



Re: Doubt about updating the ports

2009-12-28 Thread Daniel Bareiro
Hi, Matthias.

On Sun, Dec 27, 2009 at 19:38:46 -0300, Matthias Kilian wrote:

>> Using kernel bsd.rd and following the procedure of the Link that you
>> mention, I obtain the following when executing pkg_add:
> [...]
>> fugu:~# pkg_add -vui -F update -F updatedepend
> [...]
>> Can't install glitz-0.5.6p1: lib not found GL.9.0

> Then you didn't update your system to OpenBSD-4.6 first. Or you
> skipped xbase46.tgz install set.

Yes, I was needing to include the xbase46.tgz set.

Now I no longer have that problem with pkg_add but after to update from
release to stable with this [1] procedure, I can not update some ports
yet. It happens just like I commented before; "make update" seems not to
have effect.

-
fugu:/usr/ports/infrastructure/build# ./out-of-date
Collecting installed packages
Collecting port versions: complete
Collecting port signatures: complete
Outdated ports:

databases/mysql,-main  # 5.0.83 -> 5.0.88
databases/mysql,-server# 5.0.83 -> 5.0.88
databases/p5-DBD-mysql # mysql-client-5.0.83 ->
mysql-client-5.0.88
devel/apr  # 1.2.11p2 -> 1.2.11p4
devel/apr-util # 1.2.10p3 -> 1.2.10p4
graphics/lcms  # tiff-3.8.2p4 -> tiff-3.8.2p5
graphics/tiff  # 3.8.2p4 -> 3.8.2p5
net/avahi,-main#  -> python-2.5.4p1
net/curl   # 7.19.5 -> 7.19.5p0
net/ezstream   # libxml-2.6.32p2 -> libxml-2.6.32p3
net/icecast# curl-7.19.5 -> curl-7.19.5p0
net/ices2  # libxml-2.6.32p2 -> libxml-2.6.32p3
net/wget   # 1.11.4 -> 1.11.4p0
print/cups # tiff-3.8.2p4 -> tiff-3.8.2p5
textproc/libxml,-main  # 2.6.32p2 -> 2.6.32p3
textproc/libxml,-python# libxml-2.6.32p2 -> libxml-2.6.32p3
textproc/libxslt,-main # libxml-2.6.32p2 -> libxml-2.6.32p3
-

I will try looking for in the list archives something than IC1igo
commented.

Thanks for your reply.

Regards,
Daniel

[1] http://www.openbsd101.com/updating.html



Re: Doubt about updating the ports

2009-12-27 Thread Matthias Kilian
On Sun, Dec 27, 2009 at 06:23:43PM -0300, Daniel Bareiro wrote:
> Using kernel bsd.rd and following the procedure of the Link that you
> mention, I obtain the following when executing pkg_add:
[...]
> fugu:~# pkg_add -vui -F update -F updatedepend
[...]
> Can't install glitz-0.5.6p1: lib not found GL.9.0

Then you didn't update your system to OpenBSD-4.6 first. Or you
skipped xbase46.tgz install set.



Re: Doubt about updating the ports

2009-12-27 Thread Daniel Bareiro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, Dec 27 at 03:52:17 -0300, Tomas Bodzar wrote:

> First of all it's really good idea to read FAQ. I found it best
> documentation available on the "market" between Unices. So in your
> case : use install kernel bsd.rd for binary upgrade to 4.6 release and
> follow this instructions http://www.openbsd.org/faq/upgrade46.html and
> especially for sysmerge(8) which works like some type of magic
> (comparing to other similar tools).
>
> Then all you need is this command : sudo pkg_add -vui -F update -F
> updatedepends

Using kernel bsd.rd and following the procedure of the Link that you
mention, I obtain the following when executing pkg_add:

- -
fugu:~# pkg_add -vui -F update -F updatedepend
Candidates for updating cairo-1.8.6p1 -> cairo-1.8.8
Candidates for updating dbus-1.2.14p0 -> dbus-1.2.14p0
Candidates for updating glitz-0.5.6p1 -> glitz-0.5.6p1
Candidates for updating py-cairo-1.8.2p0 -> py-cairo-1.8.2p0
Candidates for updating qt3-mt-3.8p2 -> qt3-mt-3.8p2
Candidates for updating tk-8.4.19 -> tk-8.4.19
Looking for updates: complete
Running the equivalent of pkg_add -r cairo-1.8.8 dbus-1.2.14p0 glitz-0.5.6p1 
py-cairo-1.8.2p0 qt3-mt-3.8p2 tk-8.4.19
parsing cairo-1.8.8
Verifying dependencies still match for py-cairo-1.8.2p0
Dependencies for cairo-1.8.8 resolve to: png-1.2.35, glitz-0.5.6p1 (todo: 
glitz-0.5.6p1)
cairo-1.8.8:parsing glitz-0.5.6p1
Verifying dependencies still match for py-cairo-1.8.2p0, cairo-1.8.6p1
Can't install glitz-0.5.6p1: lib not found GL.9.0
GL.9.0: partial match in /usr/X11R6/lib: major=8, minor=0 (bad major)
GL.9.0: partial match in /usr/X11R6/lib: major=7, minor=3 (bad major)
Can't install glitz-0.5.6p1: lib not found X11.11.2
X11.11.2: partial match in /usr/X11R6/lib: major=11, minor=1 (minor not large 
enough)
found libspec Xau.9.0 in /usr/X11R6/lib
found libspec Xdmcp.9.0 in /usr/X11R6/lib
found libspec m.5.0 in /usr/lib
Can't install cairo-1.8.8: lib not found X11.11.2
Dependencies for cairo-1.8.8 resolve to: png-1.2.35, glitz-0.5.6p1 (todo: 
glitz-0.5.6p1)
Full dependency tree is png-1.2.35,glitz-0.5.6p1
X11.11.2: partial match in /usr/X11R6/lib: major=11, minor=1 (minor not large 
enough)
found libspec Xau.9.0 in /usr/X11R6/lib
found libspec Xdmcp.9.0 in /usr/X11R6/lib
found libspec Xrender.5.0 in /usr/X11R6/lib
found libspec expat.9.0 in /usr/lib
Can't install cairo-1.8.8: lib not found fontconfig.6.0
fontconfig.6.0: partial match in /usr/X11R6/lib: major=5, minor=1 (bad major)
Can't install cairo-1.8.8: lib not found freetype.17.0
freetype.17.0: partial match in /usr/X11R6/lib: major=16, minor=1 (bad major)
found libspec glitz.2.0 in package glitz-0.5.6p1
found libspec m.5.0 in /usr/lib
Can't install cairo-1.8.8: lib not found pixman-1.15.8
pixman-1.15.8: partial match in /usr/X11R6/lib: major=11, minor=0 (bad major)
pixman-1.15.8: partial match in /usr/X11R6/lib: major=12, minor=0 (bad major)
found libspec png.8.1 in package png-1.2.35
found libspec z.4.1 in /usr/lib
parsing dbus-1.2.14p0
New package dbus-1.2.14p0 contains potentially unsafe operations
@exec /usr/local/bin/dbus-uuidgen --ensure
(forcing update)
Verifying dependencies still match for avahi-0.6.25p5, dbus-glib-0.80p0, 
cups-1.3.10p7, dbus-python-0.83.0p1
Can't install dbus-1.2.14p0: lib not found ICE.9.0
ICE.9.0: partial match in /usr/X11R6/lib: major=8, minor=1 (bad major)
found libspec SM.8.0 in /usr/X11R6/lib
Can't install dbus-1.2.14p0: lib not found X11.11.2
X11.11.2: partial match in /usr/X11R6/lib: major=11, minor=1 (minor not large 
enough)
found libspec Xau.9.0 in /usr/X11R6/lib
found libspec Xdmcp.9.0 in /usr/X11R6/lib
found libspec c.51.0 in /usr/lib
found libspec expat.9.0 in /usr/lib
found libspec pthread.11.1 in /usr/lib
Can't install glitz-0.5.6p1: lib not found GL.9.0
GL.9.0: partial match in /usr/X11R6/lib: major=8, minor=0 (bad major)
GL.9.0: partial match in /usr/X11R6/lib: major=7, minor=3 (bad major)
Can't install glitz-0.5.6p1: lib not found X11.11.2
X11.11.2: partial match in /usr/X11R6/lib: major=11, minor=1 (minor not large 
enough)
found libspec Xau.9.0 in /usr/X11R6/lib
found libspec Xdmcp.9.0 in /usr/X11R6/lib
found libspec m.5.0 in /usr/lib
parsing py-cairo-1.8.2p0
Dependencies for py-cairo-1.8.2p0 resolve to: python-2.5.4p1, cairo-1.8.6p1
Can't install py-cairo-1.8.2p0: lib not found X11.11.2
Dependencies for py-cairo-1.8.2p0 resolve to: python-2.5.4p1, cairo-1.8.6p1
Full dependency tree is 
python-2.5.4p1,png-1.2.35,cairo-1.8.6p1,sqlite3-3.6.13p0,bzip2-1.0.5,glitz-0.5.6p1
X11.11.2: partial match in /usr/X11R6/lib: major=11, minor=1 (minor not large 
enough)
found libspec Xau.9.0 in /usr/X11R6/lib
found libspec Xdmcp.9.0 in /usr/X11R6/lib
found libspec Xrender.5.0 in /usr/X11R6/lib
found libspec cairo.9.2 in package cairo-1.8.6p1
found libspec expat.9.0 in /usr/lib
Can't install py-cairo-1.8.2p0: lib not found fontconfig.6.0
fontconfig.6.0: partial 

Re: Doubt about updating the ports

2009-12-26 Thread Tomas Bodzar
First of all it's really good idea to read FAQ. I found it best
documentation available on the "market" between Unices. So in your
case : use install kernel bsd.rd for binary upgrade to 4.6 release and
follow this instructions http://www.openbsd.org/faq/upgrade46.html and
especially for sysmerge(8) which works like some type of magic
(comparing to other similar tools).

Then all you need is this command : sudo pkg_add -vui -F update -F
updatedepends

On Sun, Dec 27, 2009 at 12:24 AM, Daniel Bareiro 
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi, IC1igo.
>
> It seems that your reply was to my private mail, so I reply to the list.
>
> 2009/12/26 IC1igo Ortiz de Urbina  wrote:
>
>> > This has been discussed in the past. I wont tell you to search the
>> > archives as I am no guru but, I can tell you make update doesnt do
>> > what you think it does
>
>> Btw, I forgot to suggest using pkg_add -u pkgname.
>
> Using pkg_add, now the list is shorter.
>
> - -
> fugu:/usr/ports/infrastructure/build# ./out-of-date
> Collecting installed packages
> Collecting port versions: complete
> Collecting port signatures: complete
> Outdated ports:
>
> audio/vorbis-tools B  B  B  B  B  B  # curl-7.19.5 -> curl-7.19.5p0
> audio/xmms,-main B  B  B  B  B  B  B  # c.50.1,iconv.5.0,libiconv-1.12 ->
c.51.0,iconv.6.0,libiconv-1.13
> databases/mysql,-main B  B  B  B  B # 5.0.83 -> 5.0.88
> databases/mysql,-server B  B  B  B # 5.0.83 -> 5.0.88
> databases/p5-DBD-mysql B  B  B  B  # mysql-client-5.0.83 ->
mysql-client-5.0.88
> databases/postgresql,-main B  B  # 8.3.7 -> 8.3.9
> databases/postgresql,-server B  # 8.3.7 -> 8.3.9
> devel/apr B  B  B  B  B  B  B  B  B  B  B # 1.2.11p2 -> 1.2.11p4
> devel/apr-util B  B  B  B  B  B  B  B  # 1.2.10p3 -> 1.2.10p4
> devel/pango B  B  B  B  B  B  B  B  B  B # 1.22.3 -> 1.22.4p0
> graphics/cairo B  B  B  B  B  B  B  B  # 1.8.6p1 -> 1.8.8
> graphics/lcms B  B  B  B  B  B  B  B  B # tiff-3.8.2p4 -> tiff-3.8.2p5
> graphics/tiff B  B  B  B  B  B  B  B  B # 3.8.2p4 -> 3.8.2p5
> net/avahi,-main B  B  B  B  B  B  B  B # B -> python-2.5.4p1
> net/curl B  B  B  B  B  B  B  B  B  B  B  # 7.19.5 -> 7.19.5p0
> net/ezstream B  B  B  B  B  B  B  B  B  # libxml-2.6.32p2 ->
libxml-2.6.32p3
> net/icecast B  B  B  B  B  B  B  B  B  B # curl-7.19.5 -> curl-7.19.5p0
> net/ices2 B  B  B  B  B  B  B  B  B  B  B # libxml-2.6.32p2 ->
libxml-2.6.32p3
> print/cups B  B  B  B  B  B  B  B  B  B  # tiff-3.8.2p4 -> tiff-3.8.2p5
> textproc/libxml,-main B  B  B  B  B # 2.6.32p2 -> 2.6.32p3
> textproc/libxml,-python B  B  B  B # libxml-2.6.32p2 -> libxml-2.6.32p3
> textproc/libxslt,-main B  B  B  B  # libxml-2.6.32p2 -> libxml-2.6.32p3
> x11/gtk+ B  B  B  B  B  B  B  B  B  B  B  # iconv.5.0,libiconv-1.12 ->
iconv.6.0,libiconv-1.13
> x11/gtk+2,-main B  B  B  B  B  B  B  B # 2.14.7 -> 2.14.7p0
> x11/qt3,-main B  B  B  B  B  B  B  B  B # c.50.1,png-1.2.33,png.8.0 ->
c.51.0,png-1.2.35,png.8.1
> x11/tk/8.4 B  B  B  B  B  B  B  B  B  B  # c.50.1 -> c.51.0
> - -
>
> Previously, I updated the variable PKG_PATH in .profile:
>
> export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/
> export FETCH_PACKAGES=yes
>
>
> Thanks for you reply.
>
> Regards,
> Daniel
> iEYEARECAAYFAks2mvcACgkQZpa/GxTmHTdaRwCdFGWtSXk2DJYECW3eOIKHafvc
> +ZoAn2lI+8+c+LxzaROD5uB+B3sODfxZ
> =dbbz
> -END PGP SIGNATURE-
>
>



--
http://www.openbsd.org/lyrics.html



Re: Doubt about updating the ports

2009-12-26 Thread Daniel Bareiro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi, IC1igo.

It seems that your reply was to my private mail, so I reply to the list.

2009/12/26 IC1igo Ortiz de Urbina  wrote:

> > This has been discussed in the past. I wont tell you to search the
> > archives as I am no guru but, I can tell you make update doesnt do
> > what you think it does

> Btw, I forgot to suggest using pkg_add -u pkgname.

Using pkg_add, now the list is shorter.

- -
fugu:/usr/ports/infrastructure/build# ./out-of-date
Collecting installed packages
Collecting port versions: complete
Collecting port signatures: complete
Outdated ports:

audio/vorbis-tools # curl-7.19.5 -> curl-7.19.5p0
audio/xmms,-main   # c.50.1,iconv.5.0,libiconv-1.12 -> 
c.51.0,iconv.6.0,libiconv-1.13
databases/mysql,-main  # 5.0.83 -> 5.0.88
databases/mysql,-server# 5.0.83 -> 5.0.88
databases/p5-DBD-mysql # mysql-client-5.0.83 -> mysql-client-5.0.88
databases/postgresql,-main # 8.3.7 -> 8.3.9
databases/postgresql,-server   # 8.3.7 -> 8.3.9
devel/apr  # 1.2.11p2 -> 1.2.11p4
devel/apr-util # 1.2.10p3 -> 1.2.10p4
devel/pango# 1.22.3 -> 1.22.4p0
graphics/cairo # 1.8.6p1 -> 1.8.8
graphics/lcms  # tiff-3.8.2p4 -> tiff-3.8.2p5
graphics/tiff  # 3.8.2p4 -> 3.8.2p5
net/avahi,-main#  -> python-2.5.4p1
net/curl   # 7.19.5 -> 7.19.5p0
net/ezstream   # libxml-2.6.32p2 -> libxml-2.6.32p3
net/icecast# curl-7.19.5 -> curl-7.19.5p0
net/ices2  # libxml-2.6.32p2 -> libxml-2.6.32p3
print/cups # tiff-3.8.2p4 -> tiff-3.8.2p5
textproc/libxml,-main  # 2.6.32p2 -> 2.6.32p3
textproc/libxml,-python# libxml-2.6.32p2 -> libxml-2.6.32p3
textproc/libxslt,-main # libxml-2.6.32p2 -> libxml-2.6.32p3
x11/gtk+   # iconv.5.0,libiconv-1.12 -> 
iconv.6.0,libiconv-1.13
x11/gtk+2,-main# 2.14.7 -> 2.14.7p0
x11/qt3,-main  # c.50.1,png-1.2.33,png.8.0 -> 
c.51.0,png-1.2.35,png.8.1
x11/tk/8.4 # c.50.1 -> c.51.0
- -

Previously, I updated the variable PKG_PATH in .profile:

export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/
export FETCH_PACKAGES=yes


Thanks for you reply.

Regards,
Daniel
iEYEARECAAYFAks2mvcACgkQZpa/GxTmHTdaRwCdFGWtSXk2DJYECW3eOIKHafvc
+ZoAn2lI+8+c+LxzaROD5uB+B3sODfxZ
=dbbz
-END PGP SIGNATURE-



Re: Doubt about updating the ports

2009-12-26 Thread Jacob Meuser
I once heard that using packages is easier.  I know, it's a well kept
secret, but I thought maybe you might like to know.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Doubt about updating the ports

2009-12-26 Thread Rogier Krieger
On Sat, Dec 26, 2009 at 20:11, Daniel Bareiro  wrote:
> I'm updating OBSD 4.5-stable to OBSD to 4.6-stable and have a doubt when
> updating ports using this [1] procedure.

The instructions you linked describe how to go from 4.6-release to
4.6-stable, not what you are trying to accomplish (unless you've made
a typo).

If indeed you are at 4.5 and want to go to 4.6, save yourself
considerable trouble and some bashing on misc@ (see the archives for
why) and either:
- upgrade via the FAQ instructions [1]
- wipe/reinstall

If you want to go straight to 4.6-stable, get a hold of the -stable
file sets through someone you trust. You can use those to upgrade or
install a 4.6-stable system. If that's not viable, get the -release
sets and follow release(8) to build your own -stable.

Good luck,

Rogier

References:
1. OpenBSD FAQ - Upgrade Guide 4.6
http://www.openbsd.org/faq/upgrade46.html

-- 
If you don't know where you're going, any road will get you there.