pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49893: Compiling gammu-1.33.0/smsd/core.c, fatal error: sql.h: No such file or directory, does exist.
>Number: 49893
>Category: pkg
>Synopsis: Compiling gammu-1.33.0/smsd/core.c, fatal error: sql.h: No such file or directory, does exist.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 12 18:00:00 +0000 2015
>Originator: Michael L. Riechers
>Release: NetBSD 7 Beta
>Organization:
M L Riechers Systems Engineering
Kind Regards, I am
/s/ Michael L. Riechers
Michael L. Riechers,
Owner, M L Riechers Systems Engineering
513/844-2220 (voice) 530 Main Street
513/205-5589 (cell) Hamilton, Ohio 45013
513/844-2279 (fax)
mlr%rse.com@localhost (internet)
www.rse.com (WEB)
Systems Programming: The three most adverse malignancies in life are:
1)signed numbers, 2)floating point numbers, and 3)little endians.
>Environment:
NetBSD 7.0_BETA (HOUSE-7.0_BETA) #0: Sun Apr 26 15:54:55 EDT 2015
root%cterm.rse.com@localhost:/usr/local/src/usr/usr.201504250820Z/src/sys/arch/amd64/compile/obj/HOUSE-7.0_BETA
from nyftp.netbsd.org/pub/NetBSD-daily/netbsd-7/201504250820Z/source/sets,
and and packages from
May 2 04:41 pkgsrcstuff/ftp.netbsd.org/pub/pkgsrc/pkgsrc-2015Q1/pkgsrc.tar.xz.
Architecture: x86_64
Machine: amd64
>Description:
compiling /usr/pkgsrc/comms/gammu, gammu-1.33.0, when the process gets to:
Compiling gammu-1.33.0/smsd/core.c,
it ends with:
> Scanning dependencies of target gsmsd
> [ 62%] Building C object smsd/CMakeFiles/gsmsd.dir/core.c.o
> In file included from /usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/gammu-1.33.0/smsd/core.h:15:0,
> from /usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/gammu-1.33.0/smsd/core.c:49:
> /usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/gammu-1.33.0/smsd/services/sql-core.h:34:17: fatal error: sql.h: No such file or directory
> #include <sql.h>
> ^
> compilation terminated.
> *** Error code 1
>
> Stop.
> ...
However, sql.h exists in /usr/pkg/include.
These are the last few entries in .work.log:
> <.> echo Built target sms-send
> [*] /usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/.wrapper/bin/gcc /usr/loc
> al/src/pkgsrcstuff/pkgsrc/comms/gammu/work/.wrapper/bin/gcc -D_FILE_OFFSET_BITS=
> 64 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -O2 -I/usr/pkg/include -I/usr/include
> /krb5 -I/usr/include -Wall -Werror-implicit-function-declaration -Wno-deprecated
> -declarations -Wdeclaration-after-statement -Wpointer-arith -Wfloat-equal -Wbad-
> function-cast -Wmissing-format-attribute -Wmissing-noreturn -Wpointer-arith -Wsh
> adow -Wstrict-prototypes -Wsign-compare -Wno-pointer-sign -Wshadow -Wformat=2 -W
> no-format-y2k -Wno-format-nonliteral -fstack-protector -fPIC -Wwrite-strings -Wr
> edundant-decls -I/usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/gammu-1.33.0
> /tests/../include -o CMakeFiles/smsbackup.dir/smsbackup.c.o -c /usr/local/src/pk
> gsrcstuff/pkgsrc/comms/gammu/work/gammu-1.33.0/tests/smsbackup.c
> WARNING: [transform-gcc] passing unknown option -Wno-deprecated-declarations
> WARNING: [transform-gcc] passing unknown option -Wdeclaration-after-statement
> WARNING: [transform-gcc] passing unknown option -Wfloat-equal
> WARNING: [transform-gcc] passing unknown option -Wbad-function-cast
> WARNING: [transform-gcc] passing unknown option -Wmissing-noreturn
> WARNING: [transform-gcc] passing unknown option -Wno-pointer-sign
> WARNING: [transform-gcc] passing unknown option -Wno-format-nonliteral
> WARNING: [transform-gcc] passing unknown option -fstack-protector
> WARNING: [transform-gcc] passing unknown option -Wredundant-decls
> <.> /usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/.gcc/bin/gcc -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -O2 -I/usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/.buildlink/include -I/usr/include/krb5 -Wall -Werror-implicit-function-declaration -Wno-deprecated-declarations -Wdeclaration-after-statement -Wpointer-arith -Wfloat-equal -Wbad-function-cast -Wmissing-format-attribute -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsign-compare -Wno-pointer-sign -Wshadow -Wformat=2 -Wno-format-y2k -Wno-format-nonliteral -fstack-protector -fPIC -Wwrite-strings -Wredundant-decls -I/usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/gammu-1.33.0/tests/../include -o CMakeFiles/smsbackup.dir/smsbackup.c.o -c /usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/gammu-1.33.0/tests/smsbackup.c -L/usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/.buildlink/lib
> [*] /usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/.wrapper/bin/gcc /usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/.wrapper/bin/gcc -O2 -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -Wall -Werror-implicit-function-declaration -Wno-deprecated-declarations -Wdeclaration-after-statement -Wpointer-arith -Wfloat-equal -Wbad-function-cast -Wmissing-format-attribute -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsign-compare -Wno-pointer-sign -Wshadow -Wformat=2 -Wno-format-y2k -Wno-format-nonliteral -fstack-protector -fPIC -Wwrite-strings -Wredundant-decls -Wl,-zrelro -Wl,--as-needed -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib CMakeFiles/smsbackup.dir/smsbackup.c.o -o smsbackup ../helper/libmessagedisplay.a /usr/pkg/lib/libintl.so ../helper/libmemorydisplay.a ../libgammu/libGammu.so.7.1.33.0 ../helper/libstring.a /usr/lib/libbluetooth.so /usr/lib/libc.so /lib/libm.so /usr/pkg/lib/libintl.so
> WARNING: [transform-gcc] passing unknown option -Wno-deprecated-declarations
> WARNING: [transform-gcc] passing unknown option -Wdeclaration-after-statement
> WARNING: [transform-gcc] passing unknown option -Wfloat-equal
> WARNING: [transform-gcc] passing unknown option -Wbad-function-cast
> WARNING: [transform-gcc] passing unknown option -Wmissing-noreturn
> WARNING: [transform-gcc] passing unknown option -Wno-pointer-sign
> WARNING: [transform-gcc] passing unknown option -Wno-format-nonliteral
> WARNING: [transform-gcc] passing unknown option -fstack-protector
> WARNING: [transform-gcc] passing unknown option -Wredundant-decls
> ==> Reordering libraries: -lintl -lbluetooth -lc -lm -lintl
> <.> /usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/.gcc/bin/gcc -O2 -I/usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/.buildlink/include -I/usr/include/krb5 -Wall -Werror-implicit-function-declaration -Wno-deprecated-declarations -Wdeclaration-after-statement -Wpointer-arith -Wfloat-equal -Wbad-function-cast -Wmissing-format-attribute -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsign-compare -Wno-pointer-sign -Wshadow -Wformat=2 -Wno-format-y2k -Wno-format-nonliteral -fstack-protector -fPIC -Wwrite-strings -Wredundant-decls -Wl,-zrelro -Wl,--as-needed -L/usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/.buildlink/lib -Wl,-R/usr/pkg/lib CMakeFiles/smsbackup.dir/smsbackup.c.o -o smsbackup ../helper/libmessagedisplay.a ../helper/libmemorydisplay.a ../libgammu/libGammu.so.7.1.33.0 ../helper/libstring.a -lintl -lbluetooth -lc -lm -lintl
> [*] /usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/.tools/bin/echo Built target smsbackup
> <.> echo Built target smsbackup
>
> (extra blank lines are mine -- mlr)
>
> [*] /usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/.wrapper/bin/gcc /usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/.wrapper/bin/gcc -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -Dgsmsd_EXPORTS -O2 -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -Wall -Werror-implicit-function-declaration -Wno-deprecated-declarations -Wdeclaration-after-statement -Wpointer-arith -Wfloat-equal -Wbad-function-cast -Wmissing-format-attribute -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsign-compare -Wno-pointer-sign -Wshadow -Wformat=2 -Wno-format-y2k -Wno-format-nonliteral -fstack-protector -fPIC -Wwrite-strings -Wredundant-decls -fPIC -I/usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/gammu-1.33.0/smsd/../include -I/usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/gammu-1.33.0/smsd -I/usr/pkg/include -fPIC -o CMakeFiles/gsmsd.dir/core.c.o -c /usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/gammu-1.33.0/smsd/core.c
> WARNING: [transform-gcc] passing unknown option -Wno-deprecated-declarations
> WARNING: [transform-gcc] passing unknown option -Wdeclaration-after-statement
> WARNING: [transform-gcc] passing unknown option -Wfloat-equal
> WARNING: [transform-gcc] passing unknown option -Wbad-function-cast
> WARNING: [transform-gcc] passing unknown option -Wmissing-noreturn
> WARNING: [transform-gcc] passing unknown option -Wno-pointer-sign
> WARNING: [transform-gcc] passing unknown option -Wno-format-nonliteral
> WARNING: [transform-gcc] passing unknown option -fstack-protector
> WARNING: [transform-gcc] passing unknown option -Wredundant-decls
> <.> /usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/.gcc/bin/gcc -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -Dgsmsd_EXPORTS -O2 -I/usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/.buildlink/include -I/usr/include/krb5 -Wall -Werror-implicit-function-declaration -Wno-deprecated-declarations -Wdeclaration-after-statement -Wpointer-arith -Wfloat-equal -Wbad-function-cast -Wmissing-format-attribute -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsign-compare -Wno-pointer-sign -Wshadow -Wformat=2 -Wno-format-y2k -Wno-format-nonliteral -fstack-protector -fPIC -Wwrite-strings -Wredundant-decls -fPIC -I/usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/gammu-1.33.0/smsd/../include -I/usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/gammu-1.33.0/smsd -fPIC -o CMakeFiles/gsmsd.dir/core.c.o -c /usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/gammu-1.33.0/smsd/core.c -L/usr/local/src/pkgsrcstuff/pkgsrc/comms/gammu/work/.buildlink/lib
and I'm overwhelmed by whatever's right.
>How-To-Repeat:
Re-compile gammu, I suppose.
>Fix:
I'm at a loss.
>Unformatted:
Compiling gammu-1.33.0/smsd/core.c, fatal error: sql.h: No such file or directory, but it does exist.
Home |
Main Index |
Thread Index |
Old Index