Re: can't update system.

2010-01-12 Thread Scot Hetzel
On 1/12/10, Erik Trulsson ertr1...@student.uu.se wrote:
 On Tue, Jan 12, 2010 at 09:45:35PM +0600, keneasson wrote:
   Hello,
  
   Forgive cross posting, i have an unusable system and an not sure where to 
 post.
   This follows up a more lengthy post, but i've got some new info so again.
  
   libxul requiers libiconv
   libiconv requires libxul


  libiconv does not require libxul AFAICT.

  
   i have WITH_GECKO=libxul in make.conf

  That is likely what is causing your problems.
  Remove that line and see if things work better.

WITH_GECKO doesn't cause any additional dependencies to be defined for
the libiconv port.  Only when USE_GECKO or WANT_GECKO are defined (see
/usr/ports/Mk/bsd.port.mk), then WITH_GECKO will be used to choose the
appropriate GECKO port.

Scot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't update system.

2010-01-12 Thread Scot Hetzel
On 1/12/10, keneasson keneas...@zoho.com wrote:
 Hi thanks for the reply.
  I'm worried that changing WITH_GECKO will try and rebuild firefox2 which is 
 marked IGNORE. It took me a long time to get that resolved.

  Here is a bit of my portmaster -a log, it's pretty clear that there is a 
 dependency loop.

   portmaster -a gt; pormasterbuild.log
  /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by 
 pg_config
  /libexec/ld-elf.so.1: Shared object libiconv.so.3 not found, required by 
 httpd
  [: -le: argument expected

  ...
I would suggest you check the /var/db/pkg/libiconv*/+CONTENTS file to
see if it contains any extra dependencies.  The begining of my
libiconv*/+CONTENTS file only contains this:

@comment PKG_FORMAT_REVISION:1.1
@name libiconv-1.13.1
@comment ORIGIN:converters/libiconv
@cwd /usr/local
man/man1/iconv.1.gz
@comment MD5:5c4f3aa5c04f006466355e377b1a2560
:

There should be no @pkgdep or @comment DEPORIGIN lines in this file.
If you have these in there, then remove them as libiconv has no
dependencies.

Scot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


(no subject)

2010-01-12 Thread Scot Hetzel
On Tue, Jan 12, 2010 at 12:29 PM, keneasson keneas...@zoho.com wrote:
 I did a pkg_delete for both libiconv and libxul in the hope that this would
 clear any stale depends from firefox2 days causing me these problems.

:
 #cd ../../devel/libtool22
 local# make
 ===   libtool-2.2.6b depends on file: /usr/local/lib/libxul/libxul.so - not
 found
 ===Verifying install for /usr/local/lib/libxul/libxul.so in
 /usr/ports/www/libxul

libtool22 has no dependencies, this points to something in your
environment is causing the GECKO port to be included as a dependency.
Check your /etc/make.conf, and/or /usr/local/etc/ports.conf (if using
ports-mgmt/portconf) for USE_GECKO.

Scot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't update system.

2010-01-12 Thread Scot Hetzel
On Tue, Jan 12, 2010 at 12:51 PM, Scot Hetzel swhet...@gmail.com wrote:
 On Tue, Jan 12, 2010 at 12:29 PM, keneasson keneas...@zoho.com wrote:
 I did a pkg_delete for both libiconv and libxul in the hope that this would
 clear any stale depends from firefox2 days causing me these problems.

 :
 #cd ../../devel/libtool22
 local# make
 ===   libtool-2.2.6b depends on file: /usr/local/lib/liul/libxul.so - not
 found
 ===    Verifying install for /usr/local/lib/libxul/libxul.so in
 /usr/ports/www/libxul

 libtool22 has no dependencies, this points to something in your
 environment is causing the GECKO port to be included as a dependency.
 Check your /etc/make.conf, and/or /usr/local/etc/ports.conf (if using
 ports-mgmt/portconf) for USE_GECKO.

Also check these files for WANT_GECKO.

dv8t01# pwd
/usr/ports/devel/libtool22
dv8t01# make -V LIB_DEPENDS

dv8t01# make -V LIB_DEPENDS WANT_GECKO=libxul
cairo.2:/usr/ports/graphics/cairo  jpeg.10:/usr/ports/graphics/jpeg
nspr4:/usr/ports/devel/nspr nss3:/usr/ports/security/nss
png.5:/usr/ports/graphics/png Xft.2:/usr/ports/x11-fonts/libXft
iconv.3:/usr/ports/converters/libiconv
atk-1.0.0:/usr/ports/accessibility/atk
glib-2.0.0:/usr/ports/devel/glib20
gtk-x11-2.0.0:/usr/ports/x11-toolkits/gtk20
IDL-2.0:/usr/ports/devel/libIDL
pango-1.0.0:/usr/ports/x11-toolkits/pango

Scot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Attempting ZFS Only Install of 7.2

2009-07-17 Thread Scot Hetzel
2009/7/17 Drew Tomlinson d...@mykitchentable.net:
 4. Install FreeBSD from copy of install CD to ZFS. I used sysinstall with
 custom
 options (Install Root and Media Type)

 I am stuck at this point.  I have my zpool mounted at /zpool in the FixIt
 environment.  Then I exit FixIt and choose  Custom from sysinstall.  I set
 appropriate  Options.  Next I select my distributions.  Finally I hit
 Commit but systinstall complains that I haven't labeled any disks.  What
 step am I missing?


Just follow these steps to install FreeBSD from the Fixit environment:

http://wiki.freebsd.org/ZFSOnRootWithZFSboot#installFreeBSD

Scot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Xorg upgrade desaster: Xlib: extension Generic Event Extension missing on display :0.0.

2009-02-01 Thread Scot Hetzel
On Sun, Feb 1, 2009 at 5:28 AM, O. Hartmann
ohart...@mail.zedat.fu-berlin.de wrote:
 Scot Hetzel wrote:
 On Sat, Jan 31, 2009 at 6:39 PM, O. Hartmann
 ohart...@mail.zedat.fu-berlin.de wrote:

 build-process, but I doubt this. I did a 'ldd' on the Firefox3 binary
 and  I got the attached dump of the linked shared objects.
 Interestingly, the first three entries show up something missing -
 therefore I deinstalled Firefox and rebuild the browser after an
 additional rebuild of libxcb (via portupgrade -rf). Previously, all Xorg



 thor# ldd firefox-bin
 firefox-bin:
libxul.so = not found (0x0)
libmozjs.so = not found (0x0)
libxpcom.so = not found (0x0)
libplds4.so.1 = /usr/local/lib/libplds4.so.1 (0x80063e000)
libplc4.so.1 = /usr/local/lib/libplc4.so.1 (0x80076f000)


 When firefox3 was first added to the ports collection, I had noticed
 this problem with firefox3 (after using sysutils/libchk), but I didn't
 have this problem with the firefox 2.  A look at the difference
 between the www/firefox and www/firefox3 Makefiles showed that
 firefox3 was missing this:

 LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH}

 After adding this line to the ports Makefile, and rebuilding the port,
 these libraries are now showing as found in the ldd output.

 Scot

 Isn't that worth a PR?


Submitted and rejected:

http://www.freebsd.org/cgi/query-pr.cgi?pr=131237

As it doesn't affect the operation of Firefox3's firefox-bin program.

Scot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Xorg upgrade desaster: Xlib: extension Generic Event Extension missing on display :0.0.

2009-01-31 Thread Scot Hetzel
On Sat, Jan 31, 2009 at 6:39 PM, O. Hartmann
ohart...@mail.zedat.fu-berlin.de wrote:
 build-process, but I doubt this. I did a 'ldd' on the Firefox3 binary
 and  I got the attached dump of the linked shared objects.
 Interestingly, the first three entries show up something missing -
 therefore I deinstalled Firefox and rebuild the browser after an
 additional rebuild of libxcb (via portupgrade -rf). Previously, all Xorg

 thor# ldd firefox-bin
 firefox-bin:
libxul.so = not found (0x0)
libmozjs.so = not found (0x0)
libxpcom.so = not found (0x0)
libplds4.so.1 = /usr/local/lib/libplds4.so.1 (0x80063e000)
libplc4.so.1 = /usr/local/lib/libplc4.so.1 (0x80076f000)

When firefox3 was first added to the ports collection, I had noticed
this problem with firefox3 (after using sysutils/libchk), but I didn't
have this problem with the firefox 2.  A look at the difference
between the www/firefox and www/firefox3 Makefiles showed that
firefox3 was missing this:

LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH}

After adding this line to the ports Makefile, and rebuilding the port,
these libraries are now showing as found in the ldd output.

Scot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error fusefs-ntfs-1.253

2008-12-03 Thread Scot Hetzel
On 12/3/08, Dino Vliet [EMAIL PROTECTED] wrote:
 Hi people,

  I can't use my maxtor basic 640gb external harddrive on Freebsd amd64 
 running 7.0 because when I try to load fusefs with this command, kldload 
 /usr/local/modules/fuse.ko I get the following error:

  kldload: can't load /usr/local/modules/fuse.ko: Exec format error

  Adding fusefs_enable=YES to /etc/rc.conf and fuse_load=YES to 
 /boot/loader.conf and rebooting doesn't help either, because then that error 
 message is printed on the console.

  uname -a gives:
  FreeBSD zouk.telfort.nl 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #1: Thu Nov 27 
 13:42:17 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64

  pkg_info | grep fuse gives:

  fusefs-kmod-0.3.9.p1.20080208_4 Kernel module for fuse
  fusefs-libs-2.7.3   FUSE allows filesystem implementation in userspace
  fusefs-ntfs-1.2531  Mount NTFS partitions (read/write) and disk images

  Does anyone have a clue as to what is causing this behavior?

How did you install the fusefs-kmod was it from a package or did you
build it through the ports system?

The most likely cause of this error is due to the fuse.ko module was
not built against the same source as your kernel.  Rebuild fusefs-kmod
and that should resolve the problem.

Scot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error fusefs-ntfs-1.253

2008-12-03 Thread Scot Hetzel
On 12/3/08, Scot Hetzel [EMAIL PROTECTED] wrote:
 On 12/3/08, Dino Vliet [EMAIL PROTECTED] wrote:
   Hi people,
  
I can't use my maxtor basic 640gb external harddrive on Freebsd amd64 
 running 7.0 because when I try to load fusefs with this command, kldload 
 /usr/local/modules/fuse.ko I get the following error:
  
kldload: can't load /usr/local/modules/fuse.ko: Exec format error
  
:
  
Does anyone have a clue as to what is causing this behavior?


 How did you install the fusefs-kmod was it from a package or did you
  build it through the ports system?

  The most likely cause of this error is due to the fuse.ko module was
  not built against the same source as your kernel.  Rebuild fusefs-kmod
  and that should resolve the problem.

I usually see this problem after cvs updating the FreeBSD sources and
then rebuilding a module, and trying to load that module.

Rebuilding the kernel and all external modules should resolve the problem.

Scot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports missing their packages.

2008-10-29 Thread Scot Hetzel
On 10/29/08, FBSD1 [EMAIL PROTECTED] wrote:
 It's my understanding that a port maintainer has to install the port for
  real any time a change is made to the port make files or a update to the
  source of the software to test and verify the changes work as wanted.

Port maintainers usually verify that an updated port will build and
work correctly with their currently installed ports.

  Creating the package after this is just one command and a ftp upload to the
  package server. Why are maintainers being given approval to apply their
  changes without creating the required package?

So you are advocating that port maintainers have to create packages
for all the supported FreeBSD architecture's (amd64, arm, i386, ia64,
mips, pc98, powerpc, sparc64, sun4v).  That would be 9 packages
needing to be created at the time the port maintainer submits the
upgrade PR.

We have the package cluster to automate these builds.

 This is just lax management
  on the part of the people who do the authorizing of the changes. Missing
  packages increases user frustration level and makes FreeBSD look like its
  being mis-managed.

Some packages have to remain missing due to their license restricting
redistribution of the compiled softare.  This can cause other ports
that don't have a restrictive license to fail building because
one/more of it's dependencies has this restrictive license.

  An alternate solution to this problem is to allow users to upload missing
  packages to the package server direct or to a staging ftp server so port/pkg
  management staff can review first and them populate the production package
  server.

This solution won't work, if the user has custom compile flags and/or
builds the port with non-default options defined in /etc/make.conf or
using 'make config'.  The next user who downloads the port might get a
package that doesn't function the same as the previous version.

The package may not even work on that users computer (i.e. package
compiled for k8 processor installed on a pentium4 system).

The best solution to find out why a package is not being built for a
port is to check it's Makefile, and the Makefiles of it's
dependencies.   Also looking at http://portsmon.freebsd.org/ to find
out why a port has failed to build a package.  If you can't find a
reason for why the package failed to build, then send a message to the
maintainers, and the ports list to have some one look into the
problem.  It could be as simple as forgetting to add the ports
subdirectory to the category Makefile (i.e www/Makefile).

Scot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Adding device to FreeBSD 6.3-STABLE

2008-08-01 Thread Scot Hetzel
On 8/1/08, Jack Raats [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1

  Hi,

  I would like to add the zyd device to FreeBSD.
  The zyd driver allready is in FreeBSD 7.0.
  Which steps do I have to take to add the zyd device to FreeBSD?

You need to obtain these revisions to compile zyd:

sys/dev/usb/if_zyd.c 1.13
sys/modules/zyd/Makefile 1.1

Revision 1.14 was when the net80211 wireless networking stack was committed.

Scot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lang/gcc34 broken on 8-current?!?!?

2007-10-19 Thread Scot Hetzel
I had this same problem.  There is an error in the
freebsd-spec.h file which causes __FreeBSD__ to be
defined twice when FBSD_MAJOR=8.  This is caused by
a missing 'else' before the 'if (FBSD_MAJOR == 7)'
statement.

See PR 117287 for the fix.

If you have devel/gccxml installed, you'll also
need PR 117289.

Scot

On 10/19/07, Aryeh M. Friedman [EMAIL PROTECTED] wrote:
 FreeBSD monster 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Oct 18 20:17:48
 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MONSTER  amd64


 mv tmp-libgcc.mk libgcc.mk
 TARGET_CPU_DEFAULT= \
 HEADERS=ansidecl.h DEFINES= \
 /bin/sh .././..//gcc-3.4.6/gcc/mkconfig.sh tconfig.h
 ./xgcc -B./ -B/usr/local/x86_64-portbld-freebsd8.0/bin/ -isystem
 /usr/local/x86_64-portbld-freebsd8.0/include -isystem
 /usr/local/x86_64-portbld-freebsd8.0/sys-include
 -L/usr/ports/lang/gcc34/work/build/gcc/../ld -O2 -DIN_GCC-W -Wall
 -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
 -Wold-style-definition  -isystem ./include  -I. -I.
 -I.././..//gcc-3.4.6/gcc -I.././..//gcc-3.4.6/gcc/.
 -I.././..//gcc-3.4.6/gcc/../include   -g0 -finhibit-size-directive
 -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss
 -fno-unit-at-a-time  \
-c .././..//gcc-3.4.6/gcc/crtstuff.c -DCRT_BEGIN \
   -o crtbegin.o
 built-in:78:1: warning: __FreeBSD__ redefined
 built-in:77:1: warning: this is the location of the previous definition
 In file included from .././..//gcc-3.4.6/gcc/tsystem.h:44,
  from .././..//gcc-3.4.6/gcc/crtstuff.c:62:
 ./include/stddef.h:57:26: machine/ansi.h: No such file or directory
 gmake[2]: *** [crtbegin.o] Error 1
 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc'
 gmake[1]: *** [stage1_build] Error 2
 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc'
 gmake: *** [bootstrap-lean] Error 2
 *** Error code 2


 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: request add db45/db46 support to mail/exim port

2007-08-11 Thread Scot Hetzel
On 8/11/07, snowcrash+freebsd [EMAIL PROTECTED] wrote:
 hi,

  Sounds great, just one point: I'd prefer seeing that exim would make use
  of bsd.database.mk.

 i /thought/ that use of WITH_BDB_VER/USE_BDB *is* 'making use of'
 bsd.database.mk, wherein,

  ...
  .if defined(WITH_BDB_VER)
  . if ${WITH_BDB_VER} == 4
  USE_BDB=40
  . elif ${WITH_BDB_VER} != 1
  USE_BDB=${WITH_BDB_VER}
  . endif
  .endif
  _WANT_BDB_VER=  ${USE_BDB}
  ...

 but, changes in exim port may well be required for 'compliance'.

I have Cc'ed maintainer (krion@).


Here's the correct code for BDB detection:

.if ${WITH_BDB_VER} == 1
DB_LIBS=
DB_INCLUDES=
SEDLIST+=   -e 's,^(DBMLIB=),\# \1,'
.else
USE_BDB= 40+
INVALID_BDB_VER=2 3
DB_LIBS=-L${BDB_LIB_DIR} -l${BDB_LIB_NAME}
DB_INCLUDES=-I${BDB_INCLUDE_DIR}
.endif

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
Index: Makefile
===
RCS file: /home/ncvs/ports/mail/exim/Makefile,v
retrieving revision 1.228
diff -u -r1.228 Makefile
--- Makefile	4 Aug 2007 11:41:00 -	1.228
+++ Makefile	11 Aug 2007 17:35:33 -
@@ -327,28 +327,11 @@
 DB_LIBS=
 DB_INCLUDES=
 SEDLIST+=	-e 's,^(DBMLIB=),\# \1,'
-.elif (${WITH_BDB_VER} == 4)
-DB_LIBS=	-L${LOCALBASE}/lib -ldb4
-DB_INCLUDES=	-I${LOCALBASE}/include/db4
-LIB_DEPENDS+=	db4.0:${PORTSDIR}/databases/db4
-.elif (${WITH_BDB_VER} == 41)
-DB_LIBS=	-L${LOCALBASE}/lib -ldb41
-DB_INCLUDES=	-I${LOCALBASE}/include/db41
-LIB_DEPENDS+=	db41.1:${PORTSDIR}/databases/db41
-.elif (${WITH_BDB_VER} == 42)
-DB_LIBS=	-L${LOCALBASE}/lib -ldb-4.2
-DB_INCLUDES=	-I${LOCALBASE}/include/db42
-LIB_DEPENDS+=	db-4.2.2:${PORTSDIR}/databases/db42
-.elif (${WITH_BDB_VER} == 43)
-DB_LIBS=	-L${LOCALBASE}/lib -ldb-4.3
-DB_INCLUDES=	-I${LOCALBASE}/include/db43
-LIB_DEPENDS+=	db-4.3.0:${PORTSDIR}/databases/db43
-.elif (${WITH_BDB_VER} == 44)
-DB_LIBS=	-L${LOCALBASE}/lib -ldb-4.4
-DB_INCLUDES=	-I${LOCALBASE}/include/db44
-LIB_DEPENDS+=	db-4.4.0:${PORTSDIR}/databases/db44
 .else
-BROKEN=		WITH_BDB_VER must be either 1, 4, 41, 42, 43 or 44
+USE_BDB= 40+
+INVALID_BDB_VER=	2 3
+DB_LIBS=	-L${BDB_LIB_DIR} -l${BDB_LIB_NAME}
+DB_INCLUDES=	-I${BDB_INCLUDE_DIR}
 .endif
 SEDLIST+=	-e 's,XX_DB_LIBS_XX,${DB_LIBS},' \
 		-e 's,XX_DB_INCLUDES_XX,${DB_INCLUDES},'
@@ -479,10 +462,10 @@
 .endif
 
 .if defined(WITH_SQLITE)
+USE_SQLITE=	yes
 SEDLIST+=	-e 's,XX_SQLITE_LIBS_XX,-L${LOCALBASE}/lib -lsqlite3,' \
 		-e 's,XX_SQLITE_FLAGS_XX,-I${LOCALBASE}/include,' \
 		-e 's,^\# (LOOKUP_SQLITE=),\1,'
-LIB_DEPENDS+=	sqlite3.8:${PORTSDIR}/databases/sqlite3
 .else
 SEDLIST+=	-e 's,XX_SQLITE_LIBS_XX,,' \
 		-e 's,XX_SQLITE_FLAGS_XX,,'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: request add db45/db46 support to mail/exim port

2007-08-11 Thread Scot Hetzel
On 8/11/07, Hajimu UMEMOTO [EMAIL PROTECTED] wrote:
 Hi,

  On Sat, 11 Aug 2007 12:37:18 -0500
  Scot Hetzel [EMAIL PROTECTED] said:

 swhetzel Here's the correct code for BDB detection:

 swhetzel USE_BDB= 40+

 Why do you specify USE_BDB as 40+, explicitly?  Since, it is defined
 as 41+ in bsd.database.mk, I believe USE_BDB=yes is enough.

I believe when I made the change to bsd.database.mk, and then patched
all of the BDB using ports, I had put the lowest version that the port
 supported into USE_BDB.

USE_BDB=yes would also work and allow the port to show a dependancy on
the default BDB version instead of the lowest BDB version.  Also,
INVALID_BDB_VER takes care of excluding BDB versions that the port
doesn't work with.

Scot

-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: request add db45/db46 support to mail/exim port

2007-08-11 Thread Scot Hetzel
On 8/11/07, Hajimu UMEMOTO [EMAIL PROTECTED] wrote:
 Hi,
 
  On Sat, 11 Aug 2007 13:03:32 -0500
  Scot Hetzel [EMAIL PROTECTED] said:
 
 swhetzel I believe when I made the change to bsd.database.mk, and then
 patched
 swhetzel all of the BDB using ports, I had put the lowest version that the
 port
 swhetzel  supported into USE_BDB.
 
 swhetzel USE_BDB=yes would also work and allow the port to show a
 dependancy on
 swhetzel the default BDB version instead of the lowest BDB version.  Also,
 swhetzel INVALID_BDB_VER takes care of excluding BDB versions that the port
 swhetzel doesn't work with.
 
 Yes, it is same as my understanding.  So, I think a user doesn't
 specify WITH_BSD_VER explicitly, exim will use db40, while other ports
 which use bsd.database.mk use db41.
 
That would be true, except that the exim port is setting WITH_BDB_VER?=1 to use 
the system BDB by default.

I have now fixed it so that the exim port doesn't need to set WITH_BDB_VER?=1 
anymore.  Instead setting either WITH_BDB or WITH_BDB_VER  1 will make the 
port use Mk/bsd.database.mk to choose the version of BDB to use, otherwise it 
will default to the system BDB.

The updated patch is in PR 115427:

 http://www.freebsd.org/cgi/query-pr.cgi?pr=115427

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg Modular

2007-05-05 Thread Scot Hetzel

On 5/5/07, Jason Hills [EMAIL PROTECTED] wrote:

On 5/5/07, Philipp Ost [EMAIL PROTECTED] wrote:
 Jason Hills wrote:
  Is there any prevision when will it be on ports? Will beryl, aiglx and
  stuff come along?

 Kris did announce it some days ago. You'll want to check the archives of
 ports@ ;)


 Philipp

Yeah, Kris mentioned something like that in a private mail, but google
didnt help me, nor
http://lists.freebsd.org/pipermail/freebsd-announce/ :(


It was announced on the freebsd-ports lists that modular Xorg is being
imported, and that the ports tree was to be frozen until the import is
completed:

Try looking in:
http://lists.freebsd.org/pipermail/freebsd-ports/

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Acer Aspire WLMi 5102 with AMD Turion 64 X2 system hanging with powerd on 6.2-RC1 and 6.2-PRERELEASE

2006-12-21 Thread Scot Hetzel

On 12/20/06, Abdullah Al-Marrie [EMAIL PROTECTED] wrote:

Hello guys,

I have problem with my laptop Acer Aspire 5102 WLMi which has AMD
Turion™ 64 X2 dual-core TL-50 1.6 GHz with 1.5 GB of ram.

I'm running i386 6.2-RC1 upgraded to 6.2-PRELEASE via RELENG6 tag
since I don't have more than 4 GB of ram.

I have these lines add to my custom generic kernel
options SMP
device  cpufreq
device  smbus

I have this in my rc.conf
powerd_enable=YES

But the the laptop even doesn't boot some times,  and if booted it
hangs all the time, till I hashed out powerd_enable=YES

hints?


Had the same problem where powerd would hang my HP Pavilion dv8000
system.  I worked arround the problem by using the following in
rc.conf:

powerd_enable=YES
powerd_flags=-a maximum -b maximum

Of course this makes powered do nothing when on battery.  What I think
is happening is that powered is too aggressive in downgrading the
clock speed, that it eventually sets the clock to a value that is so
low that the system stops responding.

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.2-RC1 issues Acer Aspire 5102 WLMi

2006-12-18 Thread Scot Hetzel

On 12/18/06, Abdullah Al-Marrie [EMAIL PROTECTED] wrote:

Hello guys,

First thanks for the hard work to make FreeBSD good for desktop environment.

Here is my case with Acer Aspire 5102 WLMi with the latest bios 2.40




2. I can't use my WLAN which is broadcom, I was forced to use an older
drivers, since ndis has problem with reading the latest driver from
broadcom.
Here are the files
http://bb.wearab.net/attachment.php?attachmentid=472d=1166427326
http://bb.wearab.net/attachment.php?attachmentid=473d=1166427326

And here is the 78 MB full package for the driver in zip file
ftp://ftp.support.acer-euro.com/notebook/aspire_3100_5100_5110/driver/802bg_broadcom_v4.10.40.0.zip

Could someone convert the 2 files to a kernel module? please let me know.


You need to apply the patch in PR 106131 to use the newer versions of
the broadcom driver.  I have tested it with version 4.10.40.19 from
HPs web site (SP33008.exe).

http://www.freebsd.org/cgi/query-pr.cgi?pr=106131

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kde3 Make Install failure

2006-08-22 Thread Scot Hetzel

On 8/22/06, Vizion [EMAIL PROTECTED] wrote:

--- It is http.test
that appear to fail
The failure begins with:
http.test

 http-3.3 http::geturl FAILED
 Contents of test case:

   set token [hrrp::geturl $url]
   http:: data $token
 Test generated error; return code was: 1
  Return code should have been one of: 0 2
  errorInfo: couldn't open socket: connection timed out
  while executing
http::geturl $url
set token [http::geturl $url]
(uplevel body line 2)
 invoked from within
uplevel 1 $script
 errorCode: NONE
 http-3.3 FAILED


  This continues incrementing the http-x.3 version until final hang


I cannot get full redirection of the test as
# Make Install  filename
does not work!!


You still didn't go back far enough, as we can't see which port is
failing, but I suspect that it  is the tcl84 port, as it redefines the
build target to be build test, if you remove the test, the tcl84
port will install.  Don't know why it is failing the tests, as we need
someone who knows tcl to have a look at it.

Scot

--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pkgtools.conf make arguments ignored (?!?)

2005-12-12 Thread Scot Hetzel
On 12/11/05, martinko [EMAIL PROTECTED] wrote:
 hello,

 i'm having troubles with specifying make arguments to portupgrade via
 /usr/local/etc/pkgtools.conf.
 this is a part of my config file:

   MAKE_ARGS = {
 'x11/yelp' = 'WITH_MAN=1 WITH_INFO=1 WITH_GECKO=mozilla',
   }

 it works only if i run `portupgrade -N yelp`
 but it does not work when i run eg `portupgrade -N gnome2-lite`

 interesting thing is that according to pkgtools.conf itself the
 following should work too but it does not :

   MAKE_ARGS = {
 'x11/yelp-*' = 'WITH_MAN=1 WITH_INFO=1 WITH_GECKO=mozilla',
   }

 is this a known issue (and why?) or am i doing something wrong ??

Do you have an entry in the MAKE_ARGS for x11/gnome2-lite? As your
example doesn't show an entry for it.

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't get subversion+apache2 to install

2005-12-05 Thread Scot Hetzel
On 12/5/05, Jeff D. Hamann [EMAIL PROTECTED] wrote:
 FreeBSD-ers,

 I've been trying to get a new FreeBSD 6.0 machine up and I've having a
 little trouble with the subversion port with the WITH switches to no avail.


 bobby# make install -DWITH_MOD_DAV_SVN -DWITH_BOOK
 ===  Installing for subversion-1.3.0.r2
 ===   subversion-1.3.0.r2 depends on executable:  - not found
 ===Verifying install for  in /usr/ports/www/apache20
 ===   Returning to build of subversion-1.3.0.r2
 ===   subversion-1.3.0.r2 depends on shared library: expat.5 - found
 ===   subversion-1.3.0.r2 depends on shared library: neon.24 - found
 ===   subversion-1.3.0.r2 depends on shared library: intl - found
 -e -S LIBEXECDIR=/usr/local/libexec/apache2 -a -n dav
 libexec/apache2/mod_dav.so
 -e: not found
 *** Error code 127

I found what the problem is:

.if defined(WITH_MOD_DAV_SVN)
pre-install:
${APXS} -e -S LIBEXECDIR=${PREFIX}/libexec/apache2 -a -n dav
libexec/apache2/mod_dav.so
.endif

the variable APXS is not defined in the Makefile for the port.  This
is why you are getting the -e: not found error as make is trying to
run the -e program.

This port needs to either define APXS or set the USE_APACHE variable
to define which apache port it depends on, and to defined the APXS
variable.

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What to do when panic?

2005-07-21 Thread Scot Hetzel
On 7/21/05, Kövesdán Gábor [EMAIL PROTECTED] wrote:
  FreeBSD 6. I installed it, and then I had a panic. I got a
 debugger prompt, but I don't know what to do with that. I don't know the
 debugger commands. Please let me know what should I do when I have an
 another panic. What should I type and what kind of information should I
 send as a PR.
 
Look at the FreeBSD Developer HandBook on debugging:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/debugging.html

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

Scot

-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: building KLDs in RELENG_4

2005-02-24 Thread Scot Hetzel
On Thu, 24 Feb 2005 09:56:22 -0500, Peter C. Lai [EMAIL PROTECTED] wrote:
 Is there a way to build kernel modules by themselves without having to
 build the entire kernel? I am adding umass support to a 4.x machine but
 I don't want to build the entire kernel. I already have scbus, but I need
 da and of course, umass.
 
 
Yes you can build modules seperately from a kernel build

cd /usr/src/sys/modules/umass
make obj
make
make install

Scot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cyrus IMAP crashes after reading /etc/krb5.conf

2005-01-29 Thread Scot Hetzel
On Fri, 28 Jan 2005 21:59:21 -0500, Mikhail Teterin
[EMAIL PROTECTED] wrote:
 Hello!
 
 I'm trying to configure a freshly built mail/cyrus-imapd22 to work and
 authenticate accounts -- Kerberos and plain text.
 
 The GSSAPI authentication works already. After doing kinit, I can do ``imtest
 -m GSSAPI hostname'' and it succeeds.
 
 Now I'm trying to login with plain text (over SSL). Cyrus' imapd keeps
 crashing from SIGBUS. According to ktrace, this happens right after reading
 the krb5.conf (I replaced our domain with example below):
 
The freebsd-security list is for security issue with the FreeBSD
operating system.
Your question involves a port question. freebsd-questions, cyrus
mailing list, or freebsd-ports is where you should have posted.

You'll need to use gdb on the cyrus-imapd .core file to find out where
it is failing.
You'll also need a version of the cyrus-imapd compiled with debugging
symbols to get something usefull out of gdb.

i.e.

gdb /usr/ports/mail/cyrus-imapd22/work/cyrus-imapd-2.2*/location of
file/name of cyrus-imapd -c /location of core file/name of
cyrus-imapd.core

(check the man page, I'm not sure -c is correct for the core file)

then use bt (backtrace) in gdb and it will show you the src file 
function where the failure is occuring. You may also want to look at
the values of some of the variables (i.e. p varname, p *varname, p
varname)

Scot

PS. I BCC freebsd-security, do not post any replies there.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.7-5.0, ran out of space on /

2004-09-27 Thread Scot Hetzel
On Wed, 22 Jan 2003 10:11:02 -1000 (HST), Vincent Poy
[EMAIL PROTECTED] wrote:
 On Wed, 22 Jan 2003, Kirk R. Wythers wrote:
 
  I just ran into a problem trying to install the 5.0 world. I thought I
  checked and had 30M free on / before I started this. However, after
  building, the world, building the kernel, installing the kernel, running
  mergemaster -p, I went to install the world and got the error 'out of
  space on /'
 
  I need to find some room, but I'm a little nervous about what I can rm.
  Here is what I'm looking at:
 
  1)   / partition is 79M, 64M are used (I was almost sure there was
  more room than that on / before I satarted).
  2)   /tmp is on it's own partition
  3)   du -h on subdirectories breakdown like this.
a.   18M /boot
b.   1.4M /etc
c.   3.7M /kernel
d.   3.9M /kern.GENERIC
e.   6M /modules
f. 21M /sbin
g.   2.1M /stand
 
  as you can see that pretty much accounts for it. The rest of the stuff
  is pretty small.
 
  I need to know if I can delete any of this stuff and still successfully
  do a 'make installworld'?
 

 /modules can all be deleted since these are now in /boot
 /sbin
 /stand
 should stay
 
You could also remove /stand, as most of it's functionality has been
moved to the the /rescue directory.

Also, make sure that Soft-Updates is turned off on your root
directory.  Because Soft-Updates doesn't immediately free the space on
the drive.

Scot
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]