| Summary: | databases/mysql50-client: Unable to build on AMD64, FreeBSD 7.1 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Julian Yap <julianokyap> |
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->freebsd-ports-bugs Ports bug Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer (via the GNATS Auto Assign Tool) Did you upgrade to 7.1 from 6.3 using the following procedure: http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html ? if yes there is a bug (in fact your bug) on amd64, the following workaround should work : mkdir /tmp/pthread.bkp mv /usr/lib/libpthread* /tmp/pthread.bkp/ cd /usr/lib for ext in .a .so _p.a; do ln -vs libthr$ext libpthread$ext done tell us if it works in order to be able to close the bug. regards, Bapt Indeed, that is what I did. Thanks, I will try that out tomorrow. - Julian On 4/8/09, Baptiste Daroussin <baptiste.daroussin@gmail.com> wrote: > Did you upgrade to 7.1 from 6.3 using the following procedure: > http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html > ? > if yes there is a bug (in fact your bug) on amd64, the following workaround > should work : > > mkdir /tmp/pthread.bkp > mv /usr/lib/libpthread* /tmp/pthread.bkp/ > cd /usr/lib > for ext in .a .so _p.a; do > ln -vs libthr$ext libpthread$ext > done > > tell us if it works in order to be able to close the bug. > regards, > Bapt > Baptiste, I tested this out and it looks like it works for me. You can close the bug. Thanks! Julian On Wed, Apr 8, 2009 at 6:20 PM, Julian Yap <julianokyap@gmail.com> wrote: > Indeed, that is what I did. > > Thanks, I will try that out tomorrow. > > - Julian > > > On 4/8/09, Baptiste Daroussin <baptiste.daroussin@gmail.com> wrote: >> Did you upgrade to 7.1 from 6.3 using the following procedure: >> http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html >> ? >> if yes there is a bug (in fact your bug) on amd64, the following workaround >> should work : >> >> mkdir /tmp/pthread.bkp >> mv /usr/lib/libpthread* /tmp/pthread.bkp/ >> cd /usr/lib >> for ext in .a .so _p.a; do >> ln -vs libthr$ext libpthread$ext >> done >> >> tell us if it works in order to be able to close the bug. >> regards, >> Bapt >> > State Changed From-To: open->closed Requested by submitter. |
Running 'portupgrade mysql-client' bombs out here: /usr/bin/ld: /usr/lib/libpthread.a(thr_getschedparam.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /usr/lib/libpthread.a: could not read symbols: Bad value *** Error code 1 Stop in /usr/ports/databases/mysql50-client/work/mysql-5.0.77/libmysql_r. *** Error code 1 Stop in /usr/ports/databases/mysql50-client/work/mysql-5.0.77. *** Error code 1 Stop in /usr/ports/databases/mysql50-client/work/mysql-5.0.77. *** Error code 1 Stop in /usr/ports/databases/mysql50-client. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.66075.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mysql-client-5.0.67 UPGRADE_PORT_VER=5.0.67 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! databases/mysql50-client (mysql-client-5.0.67) (new compiler error) How-To-Repeat: Run 'portupgrade mysql-client'.