INDEX build failed for 6.x
INDEX build failed with errors: Generating INDEX-6 - please wait..pkg_info: not found pkg_info: not found pkg_info: not found pkg_info: not found Done. make_index: epplets-0.12: no entry for /usr/ports/x11-wm/enlightenment make_index: epplets-0.12: no entry for /usr/ports/x11-wm/enlightenment make_index: enlightenment-docs-0.16.8.0.2: no entry for /usr/ports/x11-wm/enlightenment Committers on the hook: matusita pgollucci Most recent CVS update was: ports/editors/gnuserv/Makefile ports/japanese/skk-jisyo/Makefile ports/japanese/skk-jisyo/distinfo ports/www/apache20/Makefile ports/www/apache22/Makefile ports/www/mod_webapp/Makefile ___ 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
Temporary patch to fix USB in kdebase4
See attachment. --HPS diff -u -r work.old/kdebase-4.2.4/apps/kinfocenter/usbview/CMakeLists.txt work/kdebase-4.2.4/apps/kinfocenter/usbview/CMakeLists.txt --- work.old/kdebase-4.2.4/apps/kinfocenter/usbview/CMakeLists.txt 2009-06-07 10:54:55.0 +0200 +++ work/kdebase-4.2.4/apps/kinfocenter/usbview/CMakeLists.txt 2009-06-07 10:55:58.0 +0200 @@ -9,7 +9,7 @@ kde4_add_plugin(kcm_usb ${kcm_usb_PART_SRCS}) -target_link_libraries(kcm_usb ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY}) +target_link_libraries(kcm_usb ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY} -lusb) install(TARGETS kcm_usb DESTINATION ${PLUGIN_INSTALL_DIR} ) diff -u -r work.old/kdebase-4.2.4/apps/kinfocenter/usbview/usbdevices.cpp work/kdebase-4.2.4/apps/kinfocenter/usbview/usbdevices.cpp --- work.old/kdebase-4.2.4/apps/kinfocenter/usbview/usbdevices.cpp 2009-06-07 10:54:55.0 +0200 +++ work/kdebase-4.2.4/apps/kinfocenter/usbview/usbdevices.cpp 2009-06-07 10:55:58.0 +0200 @@ -294,17 +294,25 @@ /* * FreeBSD support by Markus Brueffer mar...@brueffer.de + * libusb20 support by Hans Petter Selasky hsela...@freebsd.org * * Basic idea and some code fragments were taken from FreeBSD's usbdevs(8), * originally developed for NetBSD, so this code should work with no or * only little modification on NetBSD. */ -void USBDevice::collectData( int fd, int level, usb_device_info di, int parent) +void USBDevice::collectData(struct libusb20_backend *pbe, +struct libusb20_device *pdev) { + char tempbuf[32]; + struct usb_device_info di; + + if (libusb20_dev_get_info(pdev, di)) + memset(di, 0, sizeof(di)); + // determine data for this device - _level = level; - _parent = parent; + _level = 0; + _parent = 0; _bus = di.udi_bus; _device = di.udi_addr; @@ -320,88 +328,47 @@ _power = di.udi_power; _channels = di.udi_nports; - // determine the speed -#if defined(__DragonFly__) || (defined(Q_OS_FREEBSD) __FreeBSD_version 490102) || defined(Q_OS_NETBSD) switch (di.udi_speed) { case USB_SPEED_LOW: _speed = 1.5; break; case USB_SPEED_FULL: _speed = 12.0; break; case USB_SPEED_HIGH: _speed = 480.0; break; + case USB_SPEED_VARIABLE: _speed = 480.0; break; + case USB_SPEED_SUPER: _speed = 4800.0; break; + default: _speed = 480.0; break; } -#else - _speed = di.udi_lowspeed ? 1.5 : 12.0; -#endif // Get all attached devicenodes - for ( int i = 0; i USB_MAX_DEVNAMES; ++i ) - if ( di.udi_devnames[i][0] ) - _devnodes di.udi_devnames[i]; + for ( int i = 0; i 32; ++i ) { + if (libusb20_dev_get_iface_desc( + pdev, i, tempbuf, sizeof(tempbuf)) == 0) { + _devnodes tempbuf; + } else { + break; + } + } // For compatibility, split the revision number sscanf( di.udi_release, %x.%x, _revMajor, _revMinor ); - - // Cycle through the attached devices if there are any - for ( int p = 0; p di.udi_nports; ++p ) { - // Get data for device - struct usb_device_info di2; - - di2.udi_addr = di.udi_ports[p]; - - if ( di2.udi_addr = USB_MAX_DEVICES ) - continue; - - if ( ioctl(fd, USB_DEVICEINFO, di2) == -1 ) - continue; - - // Only add the device if we didn't detect it, yet - if (!find( di2.udi_bus, di2.udi_addr ) ) - { - USBDevice *device = new USBDevice(); - device-collectData( fd, level + 1, di2, di.udi_addr ); - } - } } bool USBDevice::parse(const QString fname) { static bool showErrorMessage = true; - bool error = false; + struct libusb20_backend *pbe; + struct libusb20_device *pdev; _devices.clear(); - QFile controller(/dev/usb0); - int i = 1; - while ( controller.exists() ) - { - // If the devicenode exists, continue with further inspection - if ( controller.open(QIODevice::ReadOnly) ) - { - for ( int addr = 1; addr USB_MAX_DEVICES; ++addr ) - { -struct usb_device_info di; - -di.udi_addr = addr; -if ( ioctl(controller.handle(), USB_DEVICEINFO, di) != -1 ) -{ - if (!find( di.udi_bus, di.udi_addr ) ) - { - USBDevice *device = new USBDevice(); - device-collectData( controller.handle(), 0, di, 0); - } -} - } - controller.close(); -#ifndef Q_OS_NETBSD - } else { - error = true; -#endif - } - controller.setFileName( QString::fromLocal8Bit(/dev/usb%1).arg(i++) ); + pbe = libusb20_be_alloc_default(); + if (pbe == NULL) + return (false); + + pdev = NULL; + + while ((pdev = libusb20_be_device_foreach(pbe, pdev))) { + USBDevice *device = new USBDevice(); + device-collectData(pbe, pdev); } - - if ( showErrorMessage error ) { - showErrorMessage = false; - KMessageBox::error( 0, i18n(Could not open one or more USB controller. Make sure, you have read access to all USB controllers that should be listed here.)); - } - + libusb20_be_free(pbe); return true; } #endif diff -u -r work.old/kdebase-4.2.4/apps/kinfocenter/usbview/usbdevices.h work/kdebase-4.2.4/apps/kinfocenter/usbview/usbdevices.h --- work.old/kdebase-4.2.4/apps/kinfocenter/usbview/usbdevices.h 2009-06-07 10:54:55.0 +0200 +++
Re: porting: Linux to Freebsd
Quoting Robert Huff roberth...@rcn.com (from Mon, 8 Jun 2009 01:01:32 -0400): Is there anyone out there with experience porting from Linux to FreeBSD and/or writing code for both who can spare a few cycles to help a complete novice figure out what's different (and how to fix it)? Have a look at http://wiki.freebsd.org/AvoidingLinuxisms for some generic advise. Feel free to propose things to add there (or add them yourself, we hand out write access upon request). If you do not know how to port a specific part of an application to FreeBSD, feel free to ask here (or on a more specific ML, e.g. if it is network related, the network ML of FreeBSD is maybe better suited). Bye, Alexander. -- The plural of spouse is spice. http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 ___ 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
INDEX now builds successfully on 6.x
___ 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: porting: Linux to Freebsd
On 2009-Jun-08 01:01:32 -0400, Robert Huff roberth...@rcn.com wrote: Is there anyone out there with experience porting from Linux to FreeBSD and/or writing code for both who can spare a few cycles to help a complete novice figure out what's different (and how to fix it)? That's an extremely open-ended question. Probably the biggest issue is the use of GNU extensions in system utilities - particularly the assumption that /bin/sh is bash. You would probably be better off asking specific questions on problems that you run into. -- Peter Jeremy pgpKgMCicra7N.pgp Description: PGP signature
ports/134929
Hello Сan anybody commit this http://www.freebsd.org/cgi/query-pr.cgi?pr=134929 ? Thanks -- Best Regards, Alexander Kriventsov .masterhost ___ 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
Current unassigned ports problem reports
(Note: an HTML version of this report is available at http://www.freebsd.org/cgi/query-pr-summary.cgi?category=ports .) The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description o ports/135364New port: astro/qlankdartegt o ports/135363[PATCH] update ftwin f ports/135357[UPDATE] astro/merkaartor to 0.13.2 o ports/135347New port: audio/liblastfm f ports/135343[MAINTAINER UPDATE] finance/qtstalker - fix for custom o ports/135331New port: databases/mysqlbackup - create MySQL-databas o ports/135322Port graphics/linux_dri has incorrect packaging list c f ports/135320update sysutils/facter to 1.5.6 f ports/135311mail/dovecot-antispam must be rebuilt if dovecot is up f ports/135300update for ports/www/webcheck o ports/135161finance/aqbanking update to 4.0.0 o ports/135096new port:databases/slonyI-2 o ports/135086new port:mail/qmailadmin-devel f ports/135084net-im/pidgin-facebookchat: new upstream version (patc o ports/135019sysutils/bubblemon-dockapp 1.46_6 memory usage meter i f ports/135018Port multimedia/vlc fails to compile when WITHOUT_X11= f ports/134987databases/tokyotyrant - rc.d file for Tokyo Tyrant not f ports/134945[UPDATE] update sysutils/linux-megacli f ports/134875Update Port: editors/emacs-devel to v.23.0.93 f ports/134770lang/spidermonkey misses installation of some header f f ports/134743devel/Monotone and pthreaded dependencies f ports/134711mail/postfix - repocopy of (old) postfix to postfix25 f ports/134639devel/boost can't be made with parameteres -DWITH_PYT s ports/134485net-mgmt/trafd 3.0.2.1 doesn't collect traffic o ports/134474deskutils/wmpinboard segfaults on startup o ports/134443[NEW PORT] multimedia/2ManDVD: Create your own video d s ports/134347mail/spamd: spamlogd's whitelist expiration period is f ports/134271mail/popd POP3 server dies handling messages with very f ports/134270update port: print/hplip update to: 3.9.4 f ports/134264audio/cmus - segmentation fault with ogg files o ports/134112[MAINTAINER] net/asterisk16-addons: update to 1.6.1.0 f ports/133944[PATCH] print/latex-prettyref: [SUMMARIZE CHANGES] o ports/133928New Port: multimedia/gdialog, A Project X addon to rea o ports/133822New port for cad/linux-eagle5 (Eagle 5.5.0) o ports/133563security/cfs rc script needs mntudp option on 8-CURR o ports/133533[PATCH] Add a static user/group for audio/musicpd port f ports/133451www/plone3 build fails. Plone3 needs python-2.4 but li o ports/133421[NEW PORT] java/eclipse-xsd: EMF-XSD Runtime f ports/133344net/nss_ldap fails to compile if world was installed w o ports/133303lang/visualworks cannot load Jun because of lacking TG o ports/133254[bsd.fpc.mk] don't display bogus message for fpc-using o ports/133068New port: audio/linux-genpuid f ports/133031ports/net/igmpproxy must be at least 2 Vif's where on o ports/132792[new port] re-activating print/ifhp o ports/132786New port: sysutils/sispmctl Utility for controlling a o ports/132607security/denyhosts: command_interpreter warnings in /v o ports/132556New port: ftp/vsftpd-ext Extended build of ftp/vsftp o ports/132391multimedia/mplayer does not work with pulseaudio o ports/131580port databases/frontbase upgraded to version 4.2.9 o ports/131526lang/cmucl: CMUCL for FreeBSD 7 o ports/131442 ports new port: audio/xmms-timidity s ports/131218www/privoxy+ipv6: /etc/rc: WARNING: run_rc_command: ca p ports/130779[PATCH] emulators/dosbox enable directserial passthrou o ports/130719www/nspluginwrapper installs plugins in the old direct o ports/130715New Port:devel/binutils-2.19 o ports/130675[NEW PORT] devel/ocfpcsc: Open Card Framework to PC/SC o ports/130541new port: net/isc-dhcp41-server f ports/130326[patch] update to sysutils/megarc f ports/130209www/typo3 upgrade removes configuration o ports/129677/usr/ports/sysutils/aaccli Bad system call: 12 (core d o ports/129478multimedia/acidrip: patch file to commit to ports o ports/129435java/jakarta-commons-dbcp not BROKEN on jdk15 o ports/128603[patch] textproc/flex has too small capacity o
Re: porting: Linux to Freebsd
Quoting Robert Huff roberth...@rcn.com (from Mon, 8 Jun 2009 08:07:08 -0400): First problem: Looks like bash-isms in configure. When following the instructions here http://ctp2.darkdust.net/anonsvn/branches/linux/doc/README.linux; I get to step 2 (configure) and get this: appending configuration tag F77 to libtool checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for byacc... /usr/bin/byacc test: x/usr/bin/byacc: unexpected operator Some possibilities: - In the test for byacc they maybe forgot quotes to protect an empty value. - wrong operator used in test - unknown bashism checking for unzip... /usr/local/bin/unzip test: x/usr/local/bin/unzip: unexpected operator The same as above. [...] checking for acroread... /usr/local/bin/acroread ./configure: ${CFLAGS/...}: Bad substitution Looks liek bashism. Someone tries to substitute something in CFLAGS, but this kind of advanced substitution is not supported in a posix compliant sh. You can test this assumption by installing bash and runnging bash ./configure instead. If it is true, you need to fix configure.in or configure.ac. Bye, Alexander. -- This unit... must... survive. http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 ___ 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
[Call For Testing] VirtualBox for FreeBSD!
Hi, i try virtualbox5.tgz in my FreeBSD 7.2 Release. Compiled allready ok. If I start VirtualBox come following error: [r...@freebsd ~]# VirtualBox VirtualBox: supR3HardenedExecDir: couldn't read , errno=2 cchLink=-1 also by [r...@freebsd ~]# VBoxSDL VBoxSDL: supR3HardenedExecDir: couldn't read , errno=2 cchLink=-1 [r...@freebsd ~]# VBoxBFE VBoxBFE: supR3HardenedExecDir: couldn't read , errno=2 cchLink=-1 Kernelmodule not loaded, can't load without Kernel Panic Jack ___ WEB.DE FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und Telefonanschluss für 17,95 Euro/mtl.! http://produkte.web.de/go/02/ ___ 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: ports/134929
On Mon, Jun 08, 2009 at 02:33:14PM +0400, Alexander Kriventsov wrote: Hello ?an anybody commit this http://www.freebsd.org/cgi/query-pr.cgi?pr=134929 ? Thanks I'll take care of it shortly. Sorry for the delay. -- WXS ___ 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: porting: Linux to Freebsd
Alexander Leidinger writes: First problem: Looks like bash-isms in configure. for (i = 0; i 10; i++) hit_forehead_with_desk(); I had already figured out replacing make with gmake; this should have been obvious. When following the instructions here http://ctp2.darkdust.net/anonsvn/branches/linux/doc/README.linux; I get to step 2 (configure) and get this: test: x/usr/bin/byacc: unexpected operator Some possibilities: - In the test for byacc they maybe forgot quotes to protect an empty value. - wrong operator used in test - unknown bashism Right: I re-ran under bash, and got the same problems. Looking at configure.ac, I see: AC_PATH_PROG(YACC,byacc,no) if test x$YACC == xno then AC_MSG_ERROR([ byacc could not be found! Make sure byacc is in your path. ]) else YACC=${YACC} YFLAGS=-d -v AC_SUBST(YACC) AC_SUBST(YFLAGS) AC_DEFINE(AUTOMAKE_INVOKES_YACC,1,[Defined when automake runs yacc and renames the output files]) fi checking for acroread... /usr/local/bin/acroread ./configure: ${CFLAGS/...}: Bad substitution Looks like bashism. Someone tries to substitute something in CFLAGS, but this kind of advanced substitution is not supported in a posix compliant sh. You can test this assumption by installing bash and runnging bash ./configure instead. If it is true, you need to fix configure.in or configure.ac. Relevant bit is: for ac_remove_CFLAG in -O1 -O2 -O3 ; do CFLAGS=${CFLAGS//${ac_remove_CFLAG}/} CPPFLAGS=${CPPFLAGS//${ac_remove_CFLAG}/} CXXFLAGS=${CXXFLAGS//${ac_remove_CFLAG}/} done Robert Huff ___ 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: porting: Linux to Freebsd
Quoting Robert Huff roberth...@rcn.com (from Mon, 8 Jun 2009 09:53:29 -0400): Alexander Leidinger writes: First problem: Looks like bash-isms in configure. for (i = 0; i 10; i++) hit_forehead_with_desk(); I had already figured out replacing make with gmake; this should have been obvious. When following the instructions here http://ctp2.darkdust.net/anonsvn/branches/linux/doc/README.linux; I get to step 2 (configure) and get this: test: x/usr/bin/byacc: unexpected operator Some possibilities: - In the test for byacc they maybe forgot quotes to protect an empty value. - wrong operator used in test - unknown bashism Right: I re-ran under bash, and got the same problems. Looking at configure.ac, I see: AC_PATH_PROG(YACC,byacc,no) if test x$YACC == xno This should be a =, not a ==. Looks like bashism. Someone tries to substitute something in CFLAGS, but this kind of advanced substitution is not supported in a posix compliant sh. You can test this assumption by installing bash and runnging bash ./configure instead. If it is true, you need to fix configure.in or configure.ac. Relevant bit is: for ac_remove_CFLAG in -O1 -O2 -O3 ; do CFLAGS=${CFLAGS//${ac_remove_CFLAG}/} CPPFLAGS=${CPPFLAGS//${ac_remove_CFLAG}/} CXXFLAGS=${CXXFLAGS//${ac_remove_CFLAG}/} done Quick try: CFLAGS=`echo $CFLAGS | sed -e 's:-O[123]::g'` Bye, Alexander. -- MANAGER: A man known for giving great meeting. http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 ___ 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: [Call For Testing] VirtualBox for FreeBSD!
Don't forget to read the instructions in the README file. You must add system users to an appropriate system group called something like virtualboxuseres... (I'm currently on a windows machine. So, i have no chance to give you correct detailed instructions :-) Also you must mount /proc See detailed infos in the README file... And then make a reboot before trying again.. -- Sincerely, Helko Glathe ___ 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: porting: Linux to Freebsd
Alexander Leidinger writes: Right: I re-ran under bash, and got the same problems. Looking at configure.ac, I see: AC_PATH_PROG(YACC,byacc,no) if test x$YACC == xno This should be a =, not a ==. Same result. Relevant bit is: for ac_remove_CFLAG in -O1 -O2 -O3 ; do CFLAGS=${CFLAGS//${ac_remove_CFLAG}/} CPPFLAGS=${CPPFLAGS//${ac_remove_CFLAG}/} CXXFLAGS=${CXXFLAGS//${ac_remove_CFLAG}/} done Quick try: CFLAGS=`echo $CFLAGS | sed -e 's:-O[123]::g'` No change here either. Robert Huff ___ 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: request for exp-run, comments: eliminate USE_X_PREFIX
* Erwin Lansing (er...@freebsd.org) wrote: i386 is operated by erwin@ so try talking to him. But I must warn you that i386 run will take about a week, due to much older hardware we have available for it. And there are two other builds in queue before you, so it will take a while. Let me know if can do it without pointyhat or amd64, otherwise we'll schedule it as soon as possible. I think that's unnecessary, I've run all ports dependent on xview in a tinderbox. Found single extra failure, games/imaze, fixed. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amd...@amdmi3.ru ..: jabber: amd...@jabber.ruhttp://www.amdmi3.ru ___ 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: porting: Linux to Freebsd
On 2009-Jun-08 11:33:27 -0400, Robert Huff roberth...@rcn.com wrote: Alexander Leidinger writes: Right: I re-ran under bash, and got the same problems. Looking at configure.ac, I see: AC_PATH_PROG(YACC,byacc,no) if test x$YACC == xno This should be a =, not a ==. Same result. Relevant bit is: for ac_remove_CFLAG in -O1 -O2 -O3 ; do CFLAGS=${CFLAGS//${ac_remove_CFLAG}/} CPPFLAGS=${CPPFLAGS//${ac_remove_CFLAG}/} CXXFLAGS=${CXXFLAGS//${ac_remove_CFLAG}/} done Quick try: CFLAGS=`echo $CFLAGS | sed -e 's:-O[123]::g'` No change here either. Obvious question but if you edited configure.ac, you did remember to rerun autoconf afterwards didn't you? Can you post the configure script? Note that your problems with configure do not surprise me. Despite claims otherwise, it appears to have been designed (using the word very loosely) as a tool to impede application portability. -- Peter Jeremy pgpXyJZsU2fTs.pgp Description: PGP signature
Re: Port admission request
* Eugen-Andrei Gavriloaie (shir...@gmail.com) wrote: I would like to bring to your attention my project hosted here: http://www.rtmpd.com I know how Adobe is keep ignoring our request of having a flash player for FreeBSD. I though that at least we have another decent C++ implementation of a media server. This is an under development project but is usable in his current (trunk) state. Let me know if you can/want to add it in the ports An important prerequisite for this is availability of vendor source tarballs. That's essential for ports system which relies on file mirroring and checksums. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amd...@amdmi3.ru ..: jabber: amd...@jabber.ruhttp://www.amdmi3.ru ___ 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: porting: Linux to Freebsd
Peter Jeremy writes: for ac_remove_CFLAG in -O1 -O2 -O3 ; do CFLAGS=${CFLAGS//${ac_remove_CFLAG}/} CPPFLAGS=${CPPFLAGS//${ac_remove_CFLAG}/} CXXFLAGS=${CXXFLAGS//${ac_remove_CFLAG}/} done Quick try: CFLAGS=`echo $CFLAGS | sed -e 's:-O[123]::g'` No change here either. Obvious question but if you edited configure.ac, you did remember to rerun autoconf afterwards didn't you? Uh ... no. (When I said complete novice, wasn't kidding. :-) Ran autoconf(-2.62). That seems to have fixed the configure stage. I'm into compilation, and: /usr/include/malloc.h:3:2: error: #error malloc.h has been replaced by stdlib.h Robert Huff ___ 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: porting: Linux to Freebsd
Lowell Gilbert writes: /usr/include/malloc.h:3:2: error: #error malloc.h has been replaced by stdlib.h Whichever file is being compiled has a line that should be changed from #include malloc.h to #include stdlib.h Done. Merrily compiling away. ___ 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
gnome-screensaver wirdness
Dear colleagues, on a couple of my workstations, after portupgrading, I've found that gnome-screensaver after activating renders X unusable, as it shows desktop with password dialog box for fraction of second, then blanks it back. Killing gnome-xscreensaver from other console helps, but it does not seem for me to be a solution. previously, I found it would be glitches with hald/dbus, and step-by-step shutdown of these services and then starting them helped, but now it's not the case: even reboot does not fix this. Any hints? Thanks! -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: ma...@freebsd.org ] *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- ma...@rinet.ru *** ___ 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: porting: Linux to Freebsd
Robert Huff wrote: Robert Huff writes: Done. Merrily compiling away. New problem. One of the files has: #ifdef LINUX #include sys/mman.h #endif What is the FreeBSD magic tag corresponding to LINUX? __FREEBSD__? Robert Huff ___ 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 #ifdef __FreeBSD__ -Boris ___ 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
[Fwd: apr bug -- WAS Re: [Fwd: Re: devel/subversion status]]
-- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 Consultant - P6M7G8 Inc.http://p6m7g8.net Senior Sys Admin- RideCharge, Inc. http://ridecharge.com Contractor - PositiveEnergyUSA http://positiveenergyusa.com ASF Member - Apache Software Foundation http://apache.org FreeBSD Committer - FreeBSD Foundation http://freebsd.org Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ---BeginMessage--- Philip M. Gollucci wrote: This looks like its a bug in apr itself, rather then the port, I'm currently investigating that. Okay so I know what it is, but not how to fix it. apr-util's apu-config changed. Now its either a bug or subversion hasn't caught up yet. In short, -ldb* is never added to APRUTIL_EXPORT_LIBS which is used in apu-config - apu-1-config. Therefore, no 3rd Parties can report on it (including subversion) i.e. subversions configure does this: SVN_DB_LIBS=${SVN_DB_LIBS-`$apu_config --libs | sed -e 's/.*\(-ldb[^[:space:]]*\).*/\1/' | $EGREP -- '-ldb[^[:space:]]*'`} I'm going to have to go to d...@apr to get help with the fix and under what happened. Also I have to go eat/sleep and am busy at the data center tomorrow. I'm hesistant to revert the change and downgrade apr b/c its a security fix. On a best case senario, I'd say Thursday is the earliest I could have a fix in place. I defer to portmgr@ on what to do in the meantime. Currently: $ grep APRUTIL_EXPORT_LIBS * apr-util.pc.in:Libs: -L${libdir} -...@aprutil_libname@ @LDADD_ldap@ @APRUTIL_EXPORT_LIBS@ apu-config.in:LIBS=@APRUTIL_EXPORT_LIBS@ configure:APRUTIL_EXPORT_LIBS configure: APRUTIL_EXPORT_LIBS=$abs_srcdir/$apu_apriconv_dir/lib/libapriconv.la \ configure: $APRUTIL_EXPORT_LIBS configure: if test x$APRUTIL_EXPORT_LIBS = x; then configure:test x$silent != xyes echo setting APRUTIL_EXPORT_LIBS to \$apu_expat_libs\ configure:APRUTIL_EXPORT_LIBS=$apu_expat_libs configure: for j in $APRUTIL_EXPORT_LIBS; do configure:test x$silent != xyes echo adding \$i\ to APRUTIL_EXPORT_LIBS configure:APRUTIL_EXPORT_LIBS=$APRUTIL_EXPORT_LIBS $i configure: if test x$APRUTIL_EXPORT_LIBS = x; then configure:test x$silent != xyes echo setting APRUTIL_EXPORT_LIBS to \-liconv\ configure:APRUTIL_EXPORT_LIBS=-liconv configure: for j in $APRUTIL_EXPORT_LIBS; do configure:test x$silent != xyes echo adding \$i\ to APRUTIL_EXPORT_LIBS configure:APRUTIL_EXPORT_LIBS=$APRUTIL_EXPORT_LIBS $i configure: APRUTIL_EXPORT_LIBS=$APRUTIL_EXPORT_LIBS $LDADD_dbd_pgsql $LDADD_dbd_sqlite2 $LDADD_dbd_sqlite3 $LDADD_dbd_oracle $LDADD_dbd_mysql $LDADD_dbd_freetds $LDADD_dbd_odbc configure: APRUTIL_EXPORT_LIBS=$APRUTIL_EXPORT_LIBS $LDADD_dbm_db $LDADD_dbm_gdbm $LDADD_dbm_ndbm configure: APRUTIL_EXPORT_LIBS=$APRUTIL_EXPORT_LIBS $LDADD_ldap configure.in: APRUTIL_EXPORT_LIBS=$abs_srcdir/$apu_apriconv_dir/lib/libapriconv.la \ configure.in: $APRUTIL_EXPORT_LIBS configure.in:AC_SUBST(APRUTIL_EXPORT_LIBS) Previously: - $ grep APRUTIL_EXPORT_LIBS * apr-util.pc.in:Libs: -L${libdir} -...@aprutil_libname@ @LDADD_ldap@ @APRUTIL_EXPORT_LIBS@ apu-config.in:LIBS=@APRUTIL_EXPORT_LIBS@ build/dso.m4: APRUTIL_EXPORT_LIBS=$APRUTIL_EXPORT_LIBS $LDADD_dbd_pgsql $LDADD_dbd_sqlite2 $LDADD_dbd_sqlite3 $LDADD_dbd_oracle $LDADD_dbd_mysql $LDADD_dbd_freetds $LDADD_dbd_odbc build/dso.m4: APRUTIL_EXPORT_LIBS=$APRUTIL_EXPORT_LIBS $LDADD_ldap build/apu-iconv.m4: APR_ADDTO(APRUTIL_EXPORT_LIBS,[-liconv]) build/apu-conf.m4:APR_ADDTO(APRUTIL_EXPORT_LIBS, [$apu_expat_libs]) build/dbm.m4:APR_ADDTO(APRUTIL_EXPORT_LIBS,[-lgdbm]) build/dbm.m4:APR_ADDTO(APRUTIL_EXPORT_LIBS,[-l$apu_ndbm_lib]) build/dbm.m4:APR_ADDTO(APRUTIL_EXPORT_LIBS,[-l$apu_db_lib]) build/dbm.m4: APR_ADDTO(APRUTIL_EXPORT_LIBS,[$apu_db_xtra_libs]) configure.in: APRUTIL_EXPORT_LIBS=$abs_srcdir/$apu_apriconv_dir/lib/libapriconv.la \ configure.in: $APRUTIL_EXPORT_LIBS configure.in:AC_SUBST(APRUTIL_EXPORT_LIBS) export_vars.sh.in:APRUTIL_EXPORT_LIBS=@APRUTIL_EXPORT_LIBS@ -- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 Consultant - P6M7G8 Inc.http://p6m7g8.net Senior Sys Admin- RideCharge, Inc. http://ridecharge.com Contractor - PositiveEnergyUSA http://positiveenergyusa.com ASF Member - Apache Software Foundation http://apache.org FreeBSD Committer - FreeBSD Foundation http://freebsd.org Work like
[Fwd: Re: devel/subversion status]
-- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 Consultant - P6M7G8 Inc.http://p6m7g8.net Senior Sys Admin- RideCharge, Inc. http://ridecharge.com Contractor - PositiveEnergyUSA http://positiveenergyusa.com ASF Member - Apache Software Foundation http://apache.org FreeBSD Committer - FreeBSD Foundation http://freebsd.org Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ---BeginMessage--- 1) WITH_ASVN option clobbers RUN_DEPENDS, Its not bugged, but it is one. Makefile @@ -62,7 +62,7 @@ .endif .if defined(WITH_ASVN) -RUN_DEPENDS= ${LOCALBASE}/bin/gfind:${PORTSDIR}/misc/findutils:install +RUN_DEPENDS+= ${LOCALBASE}/bin/gfind:${PORTSDIR}/misc/findutils:install PLIST_SUB+=ASVN= .else PLIST_SUB+=ASVN=@comment 2) We need to use the bsd.databases.mk subsystem (USE_BDB) Makefile.common @@ -54,6 +55,7 @@ # Default us on .if !defined(WITHOUT_BDB) +USE_DBD= 42+ PLIST_SUB+=BDB= .else CONFIGURE_ARGS+= --without-berkeley-db 3) Apr handling and APR BDB support has been busted since revision 1.77 date: 2009/01/18 19:43:53; author: pgollucci; state: Exp; lines: +108 -87 of devel/apr Which is a pointyhat to me for not updating subversion then and its awesome the -exp didn't catch it either. Here's a crack at it, and removes DEPENDS_ARGS which doesn't work anyway. Makefile.common @@ -92,21 +94,14 @@ APU_CONFIG=apu-config .endif APR_PORT= ${APACHE_PORT} -.if !defined(WITHOUT_BDB) -DEPENDS_ARGS+= WITH_BERKELEYDB=db4 -OPT_NAME= WITH_BERKELEYDB=(db4|db41|db42) -.endif .else -LIB_DEPENDS+= apr-1.3:${PORTSDIR}/devel/apr +APR_PORT= devel/apr +LIB_DEPENDS+= apr-1.3:${PORTSDIR}/${APR_PORT} APR_APU_DIR= ${LOCALBASE}/bin APR_CONFIG=apr-1-config APU_CONFIG=apu-1-config -APR_PORT= devel/apr -.if !defined(WITHOUT_BDB) -OPT_NAME= APR_UTIL_WITH_BERKELEY_DB=yes -DEPENDS_ARGS+= WITH_BDB=yes -.endif .endif + CONFIGURE_ARGS+=--with-apr=${APR_APU_DIR}/${APR_CONFIG} \ --with-apr-util=${APR_APU_DIR}/${APU_CONFIG} 4)WANT_PERL does nothing these days, but thats a larger patch to the tree. I relocated MAKE_JOBS_SAFE for consistency @@ -14,11 +14,11 @@ DIST_SUBDIR= subversion EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} +MAKE_JOBS_SAFE=yes USE_BZIP2= yes USE_AUTOTOOLS= libtool:15 + CONFIGURE_ARGS=--with-ssl -MAKE_JOBS_SAFE=yes -WANT_PERL= yes Essentially then this is the default ./configure \ --with-ssl \ --without-swig \ --with-neon=/usr/local \ --without-sasl \ --with-apr=/usr/local/bin/apr-1-config \ --with-apr-util=/usr/local/bin/apu-1-config \ --prefix=/usr/local \ That looks right imho. Now the only thing left is why configure fails to find bdb after the apr update. This looks like its a bug in apr itself, rather then the port, I'm currently investigating that. IF we could get a review/test/approval of the above, that would be a good start. -- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 Consultant - P6M7G8 Inc.http://p6m7g8.net Senior Sys Admin- RideCharge, Inc. http://ridecharge.com Contractor - PositiveEnergyUSA http://positiveenergyusa.com ASF Member - Apache Software Foundation http://apache.org FreeBSD Committer - FreeBSD Foundation http://freebsd.org Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ---End Message--- ___ 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