| Summary: | Cannot install mysql41-server port | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | icedeno <icedeno> |
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
icedeno@gmail.com
2005-06-27 19:20:16 UTC
On Mon, Jun 27, 2005 at 06:12:15PM +0000, icedeno@gmail.com wrote: > > FreeBSD path.cpmc.columbia.edu 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 > > >Description: > When installing the port the compilation dies on > > /var/tmp//ccGsn3N0.o: In function `thr_alarm': > /var/tmp//ccGsn3N0.o(.text+0x333): undefined reference to `pthread_equal' > ... > >How-To-Repeat: > Install the port as WITH_LINUXTHREADS=no. Builds without problems on 5.4, maybe you shoud try to upgrade to the latest 5.x? 5.2.1-RELEASE is not officially supported. What do you mean by WITH_LINUXTHREADS=no? Do you know that it is the same as WITH_LINUXTHREADS=yes? Responsible Changed From-To: freebsd-ports-bugs->ale Assign to maintainer. - Build also fails in mysql40-server post - FreeBSD 5.2.1-RELEASE - Upgrade from 4.0.20 - mysql40-client builds successfully - Builds successfully on FreeBSD 4.11 - Upgrade from 4.0.23 - Build failed with `portupgrade -Rf mysql-server - Build failed with `make clean && make cc -DDBUG_OFF -O -pipe -mcpu=3Dpentiumpro -D_THREAD_SAFE -o
test_thr_alarm -DDEFAULT_BASEDIR=3D\"/usr/local\"
-DDATADIR=3D\"/var/db/mysql\" -DDEFAULT_CHARSET_HOME=3D\"/usr/local\"
-DSHAREDIR=3D\"/usr/local/share/mysql\" -DHAVE_CONFIG_H -I./../include
-I../include -I.. -I. -DDBUG_OFF -O -pipe -mcpu=3Dpentiumpro
-D_THREAD_SAFE -DMAIN ./test_thr_alarm.c libmysys.a ../dbug/libdbug.a
../strings/libmystrings.a -lz -lcrypt -lm
#
/var/tmp//ccx26PLg.o: In function `thr_alarm':
#
/var/tmp//ccx26PLg.o(.text+0x333): undefined reference to `pthread_equal'
#
/var/tmp//ccx26PLg.o(.text+0x356): undefined reference to `pthread_kill'
#
/var/tmp//ccx26PLg.o: In function `process_alarm_part2':
#
/var/tmp//ccx26PLg.o(.text+0x570): undefined reference to `pthread_equal'
#
/var/tmp//ccx26PLg.o(.text+0x587): undefined reference to `pthread_kill'
#
/var/tmp//ccx26PLg.o(.text+0x627): undefined reference to `pthread_equal'
#
/var/tmp//ccx26PLg.o(.text+0x63e): undefined reference to `pthread_kill'
#
/var/tmp//ccx26PLg.o: In function `end_thr_alarm':
#
/var/tmp//ccx26PLg.o(.text+0x72f): undefined reference to `pthread_equal'
#
/var/tmp//ccx26PLg.o(.text+0x756): undefined reference to `pthread_kill'
#
/var/tmp//ccx26PLg.o(.text+0x7b4): undefined reference to
`pthread_cond_timedwait'
#
/var/tmp//ccx26PLg.o: In function `thr_alarm_kill':
#
/var/tmp//ccx26PLg.o(.text+0x884): undefined reference to `pthread_equal'
#
/var/tmp//ccx26PLg.o(.text+0x8c3): undefined reference to `pthread_kill'
#
/var/tmp//ccx26PLg.o: In function `main':
#
/var/tmp//ccx26PLg.o(.text+0x10a0): undefined reference to `pthread_attr_in=
it'
#
/var/tmp//ccx26PLg.o(.text+0x10b3): undefined reference to
`pthread_attr_setscope'
#
/var/tmp//ccx26PLg.o(.text+0x10c6): undefined reference to
`pthread_attr_setdetachstate'
#
/var/tmp//ccx26PLg.o(.text+0x10d9): undefined reference to
`pthread_attr_setstacksize'
#
/var/tmp//ccx26PLg.o(.text+0x1107): undefined reference to `pthread_create'
#
/var/tmp//ccx26PLg.o(.text+0x1146): undefined reference to
`pthread_attr_setscope'
#
/var/tmp//ccx26PLg.o(.text+0x11a6): undefined reference to `pthread_create'
#
/var/tmp//ccx26PLg.o(.text+0x11ef): undefined reference to
`pthread_attr_destroy'
#
libmysys.a(my_pthread.o): In function `my_pthread_getprio':
#
my_pthread.o(.text+0x1b): undefined reference to `pthread_getschedparam'
#
libmysys.a(my_pthread.o): In function `my_pthread_attr_setprio':
#
my_pthread.o(.text+0x4a): undefined reference to `pthread_attr_setschedpara=
m'
#
*** Error code 1
#
=20
#
Stop in /usr/ports/databases/mysql40-server/work/mysql-4.0.25/mysys.
#
*** Error code 1
#
=20
#
Stop in /usr/ports/databases/mysql40-server/work/mysql-4.0.25.
#
*** Error code 1
#
=20
#
Stop in /usr/ports/databases/mysql40-server/work/mysql-4.0.25.
#
*** Error code 1
#
=20
#
Stop in /usr/ports/databases/mysql40-server.
#
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade31804.2 make
#
** Fix the problem and try again.
#
** Listing the failed packages (*:skipped / !:failed)
#
! databases/mysql40-server (mysql-server-4.0.20) (linker err=
or)
I had the EXACT same problem which seems to have been caused by a problem with the latest versions of the devel/libtool15 port (Sept 02 check-in in my case). I also found mysql40-server to not make either! make-ing mysql40-client and mysql41-client proceeded without incident however. So to solve this, I installed the portdowngrade port, and downgraded devel/libtool15 to the 12 Apr 2005 03:26:57 check-in, per the advice of this guy: http://groups.google.com/group/muc.lists.freebsd.ports/browse_thread/thread/41f0fd46665450a5/ Then I re-tried make-ing mysql41-server, and found success. After make install-ing, it is now running as smooth as ever. State Changed From-To: open->closed Unsupported FreeBSD version. |