Bug 207590 - math/glpk: MYSQL=on: 'sql.h' file not found
Summary: math/glpk: MYSQL=on: 'sql.h' file not found
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-29 12:05 UTC by Kalten
Modified: 2018-01-14 15:22 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (bf)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalten 2016-02-29 12:05:49 UTC
When setting MYSQL=on it is not able to locate sql.h (in poudriere)

(Be aware, that there is a Bug 203448 from 2015-09-29 with the subject
“Update math/glpk to version 4.55” including a patch!)

...8<---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I./amd -I./bflib -I./cglib -I./colamd -I./env -I./minisat -I./misc -I./proxy -I./zlib -I/usr/local/include/mysql -D_LSEEK_DECLARED -I/usr/local/include -O2 -pipe -trigraphs -fstack-protector -fno-strict-aliasing -MT libglpk_la-glpspx02.lo -MD -MP -MF .deps/libglpk_la-glpspx02.Tpo -c glpspx02.c -o libglpk_la-glpspx02.o >/dev/null 2>&1
mv -f .deps/libglpk_la-glpspx02.Tpo .deps/libglpk_la-glpspx02.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I. -I./amd -I./bflib -I./cglib -I./colamd -I./env -I./minisat -I./misc -I./proxy -I./zlib -I/usr/local/include/mysql -D_LSEEK_DECLARED -I/usr/local/include  -O2 -pipe  -trigraphs -fstack-protector -fno-strict-aliasing -MT libglpk_la-glpsql.lo -MD -MP -MF .deps/libglpk_la-glpsql.Tpo -c -o libglpk_la-glpsql.lo `test -f 'glpsql.c' || echo './'`glpsql.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I./amd -I./bflib -I./cglib -I./colamd -I./env -I./minisat -I./misc -I./proxy -I./zlib -I/usr/local/include/mysql -D_LSEEK_DECLARED -I/usr/local/include -O2 -pipe -trigraphs -fstack-protector -fno-strict-aliasing -MT libglpk_la-glpsql.lo -MD -MP -MF .deps/libglpk_la-glpsql.Tpo -c glpsql.c  -fPIC -DPIC -o .libs/libglpk_la-glpsql.o
In file included from glpsql.c:31:
In file included from ./glpmpl.h:29:
In file included from ./env2.h:8:
./env/env.h:32:9: warning: 'SIZE_T_MAX' macro redefined
#define SIZE_T_MAX (~(size_t)0)
        ^
/usr/include/sys/limits.h:76:9: note: previous definition is here
#define SIZE_T_MAX      __SIZE_T_MAX    /* max value for a size_t */
        ^
glpsql.c:340:10: fatal error: 'sql.h' file not found
#include <sql.h>
         ^
1 warning and 1 error generated.
Makefile:1224: recipe for target 'libglpk_la-glpsql.lo' failed
--->8...

Regards,
 Kalten
Comment 1 Rene Ladan freebsd_committer freebsd_triage 2016-06-27 21:44:20 UTC
Maintainer reset.
Comment 2 Alexey Dokuchaev freebsd_committer freebsd_triage 2017-12-10 11:10:31 UTC
With MYSQL=on, current version of the port (glpk-4.64) builds fine for me.  Is this PR still relevant?