Static port with mysqlclient
Hi I'm trying to build a static c program with a port. How do I achieve that? Let's say, thats my code: #include #include int main() { printf("Hello, World!"); printf("MySQL client version: %s\n", mysql_get_client_info()); return 0; } Let's say, that's my Makefile: CC=gcc LIBS = `mysql_config --libs` CFLAGS = `mysql_config --cflags` -Wall compile: $(CC) -static -o blabla test.c $(LIBS) $(CFLAGS) which produces that: # make gcc8 -static -o blabla test.c `mysql_config --libs` `mysql_config --cflags` -Wall # ./blabla Hello, World!MySQL client version: 10.1.39-MariaDB And how do I wrap around a FreeBSD port, which builds with correct mysql-Version? Thanks for helping me out! ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
The hs-* issue
All right you are getting rid of the hs-modules and getting us to use devel/stack. When I ran devel/stack this morning, I got: Script started on Fri May 10 10:32:32 2019 root@doctor:/usr/ports/devel/stack # make ===> License BSD3CLAUSE accepted by the user ===> hs-stack-1.9.3_1 depends on file: /usr/local/sbin/pkg - found => http-conduit-2.3.6.1/http-conduit-2.3.6.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/cabal. => Attempting to fetch https://hackage.haskell.org/package/http-conduit-2.3.6.1/http-conduit-2.3.6.1.tar.gz http-conduit-2.3.6.1/http-conduit-2.3.6.1.tar. 0% of 27 kB0 Bps http-conduit-2.3.6.1/http-conduit-2.3.6.1.tar. 58% of 27 kB 13 kBps http-conduit-2.3.6.1/http-conduit-2.3.6.1.tar. 27 kB 22 kBps02s => http-types-0.12.3/http-types-0.12.3.tar.gz doesn't seem to exist in /usr/ports/distfiles/cabal. => Attempting to fetch https://hackage.haskell.org/package/http-types-0.12.3/http-types-0.12.3.tar.gz http-types-0.12.3/http-types-0.12.3.tar.gz 0% of 13 kB0 Bps http-types-0.12.3/http-types-0.12.3.tar.gz 13 kB 85 kBps00s => infer-license-0.2.0/infer-license-0.2.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/cabal. => Attempting to fetch https://hackage.haskell.org/package/infer-license-0.2.0/infer-license-0.2.0.tar.gz infer-license-0.2.0/infer-license-0.2.0.tar.gz 0% of 47 kB0 Bps infer-license-0.2.0/infer-license-0.2.0.tar.gz 47 kB 147 kBps00s => integer-logarithms-1.0.2.2/integer-logarithms-1.0.2.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/cabal. => Attempting to fetch https://hackage.haskell.org/package/integer-logarithms-1.0.2.2/integer-logarithms-1.0.2.2.tar.gz integer-logarithms-1.0.2.2/integer-logarithms- 0% of 8855 B0 Bps integer-logarithms-1.0.2.2/integer-logarithms-8855 B 31 kBps00s => libyaml-0.1.1.0/libyaml-0.1.1.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/cabal. => Attempting to fetch https://hackage.haskell.org/package/libyaml-0.1.1.0/libyaml-0.1.1.0.tar.gz libyaml-0.1.1.0/libyaml-0.1.1.0.tar.gz 0% of 61 kB0 Bps libyaml-0.1.1.0/libyaml-0.1.1.0.tar.gz 51% of 61 kB 53 kBps libyaml-0.1.1.0/libyaml-0.1.1.0.tar.gz 61 kB 76 kBps01s => lifted-base-0.2.3.12/lifted-base-0.2.3.12.tar.gz doesn't seem to exist in /usr/ports/distfiles/cabal. => Attempting to fetch https://hackage.haskell.org/package/lifted-base-0.2.3.12/lifted-base-0.2.3.12.tar.gz lifted-base-0.2.3.12/lifted-base-0.2.3.12.tar. 0% of 11 kB0 Bps lifted-base-0.2.3.12/lifted-base-0.2.3.12.tar. 11 kB 215 kBps00s => logict-0.6.0.2/logict-0.6.0.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/cabal. => Attempting to fetch https://hackage.haskell.org/package/logict-0.6.0.2/logict-0.6.0.2.tar.gz logict-0.6.0.2/logict-0.6.0.2.tar.gz0% of 5370 B0 Bps logict-0.6.0.2/logict-0.6.0.2.tar.gz 5370 B 20 kBps00s => megaparsec-7.0.4/megaparsec-7.0.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/cabal. => Attempting to fetch https://hackage.haskell.org/package/megaparsec-7.0.4/megaparsec-7.0.4.tar.gz megaparsec-7.0.4/megaparsec-7.0.4.tar.gz0% of 90 kB0 Bps megaparsec-7.0.4/megaparsec-7.0.4.tar.gz90 kB 133 kBps00s => memory-0.14.18/memory-0.14.18.tar.gz doesn't seem to exist in /usr/ports/distfiles/cabal. => Attempting to fetch https://hackage.haskell.org/package/memory-0.14.18/memory-0.14.18.tar.gz memory-0.14.18/memory-0.14.18.tar.gz0% of 41 kB0 Bps memory-0.14.18/memory-0.14.18.tar.gz 38% of 41 kB 71 kBps memory-0.14.18/memory-0.14.18.tar.gz41 kB 63 kBps01s => memory-0.14.18/revision/1.cabal doesn't seem to exist in /usr/ports/distfiles/cabal. => Attempting to fetch https://hackage.haskell.org/package/memory-0.14.18/revision/1.cabal fetch: https://hackage.haskell.org/package/memory-0.14.18/revision/1.cabal: size unknown fetch: https://hackage.haskell.org/package/memory-0.14.18/revision/1.cabal: size of remote file is not known memory-0.14.18/revision/1.cabal 0 B0 Bps memory-0.14.18/revision/1.cabal 5087 B 19 kBps memory-0.14.18/revision/1.cabal 5087 B 19 kBps01s => microlens-0.4.10/microlens-0.4.10.tar.gz doesn't seem to exist in /usr/ports/distfiles/cabal. => Attempting to fetch https://hackage.haskell.org/package/microlens-0.4.10/microlens-0.4.10.tar.gz microlens-0.4.10/microlens-0.4.10.tar.gz0% of 24 kB0 Bps microlens-0.4.10/microlens-0.4.10.tar.gz24 kB 48 kBps00s => microlens-th-0.4.2.3/microlens-th-0.4.2.3.tar.gz doesn't seem to exist in /usr/ports/distfiles/cabal. => Attempting to fetch https://hackage.haskell.org/package/microlens-th-0.4.2.3/microlens-th-0.4.2.3.tar.gz microlens-th-0.4.2.3/microlens-th-0.4.2.3.tar. 0%
Re: pango-1.42.4_2 fails in configure on 12.0-RELEASE-p3
Hi Olli, > Am 09.05.2019 um 13:02 schrieb olli hauer : > > On 2019-05-09 11:24, Axel Rau wrote: >> See the attached poudriere testport log. >> suspect: >> WARNING: Project targetting '>= 0.43.0‘ >> but tried to use feature introduced in '0.50.0‘: >> install arg in configure_file >> Axel >> > Hi Axel, > > try with a fresh devel/meson (delete meson before), seems there has something > changed but PORTREVISION of devel/meson was not incremented I checked out meson from svn, but had no luck. Axel --- PGP-Key:29E99DD6 ☀ computing @ chaos claudius ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: The hs-* issue
On Fri, May 10, 2019 at 8:54 PM The Doctor via freebsd-ports < freebsd-ports@freebsd.org> wrote: > All right you are getting rid of the hs-modules > > and getting us to use devel/stack. > > When I ran devel/stack this morning, I got: > > > Script started on Fri May 10 10:32:32 2019 > root@doctor:/usr/ports/devel/stack # make > > mkdir -p /usr/ports/devel/hs-happy/work/cabal-home/.cabal > touch /usr/ports/devel/hs-happy/work/cabal-home/.cabal/config > ===> Patching for hs-happy-1.19.9 > ===> Applying FreeBSD patches for hs-happy-1.19.9 > ===> hs-happy-1.19.9 depends on executable: cabal - not found > ===> Building for hs-cabal-install-2.4.0.0_1 > cd /usr/ports/devel/hs-cabal-install/work/cabal-install-2.4.0.0 && > /usr/bin/env EXTRA_CONFIGURE_OPTS="--disable-library-profiling" > HOME=/usr/ports/devel/hs-cabal-install/work/home > PREFIX=/usr/ports/devel/hs-cabal-install/work/prefix > /usr/ports/devel/hs-cabal-install/work/cabal-install-2.4.0.0/bootstrap.sh > --no-doc --jobs 1 > mktemp: illegal option -- p > usage: mktemp [-d] [-q] [-t prefix] [-u] template ... >mktemp [-d] [-q] [-u] -t prefix > Using clang for C compiler. If this is not what you want, set CC. > Using /usr/bin/ld instead. > Checking installed packages for ghc-8.6.3... > deepseq is already installed and the version is ok. > binary is already installed and the version is ok. > time is already installed and the version is ok. > transformers is already installed and the version is ok. > mtl is already installed and the version is ok. > text is already installed and the version is ok. > parsec is already installed and the version is ok. > network-uri-2.6.1.0 will be installed from local tarball. > network-2.7.0.0 will be installed from local tarball. > HTTP-4000.3.12 will be installed from local tarball. > zlib-0.6.2 will be installed from local tarball. > random-1.1 will be installed from local tarball. > stm is already installed and the version is ok. > hashable-1.2.7.0 will be installed from local tarball. > async-2.2.1 will be installed from local tarball. > base16-bytestring-0.1.1.6 will be installed from local tarball. > base64-bytestring-1.0.0.1 will be installed from local tarball. > cryptohash-sha256-0.11.101.0 will be installed from local tarball. > resolv-0.1.1.1 will be installed from local tarball. > mintty-0.1.2 will be installed from local tarball. > echo-0.1.3 will be installed from local tarball. > edit-distance-0.2.2.1 will be installed from local tarball. > ed25519-0.0.5.0 will be installed from local tarball. > tar-0.5.1.0 will be installed from local tarball. > digest-0.0.1.2 will be installed from local tarball. > zip-archive-0.3.3 will be installed from local tarball. > hackage-security-0.5.3.0 will be installed from local tarball. > Cabal is already installed and the version is ok. > > Using local tarball for network-uri-2.6.1.0. > [1 of 1] Compiling Main ( Setup.hs, Setup.o ) > Linking Setup ... > Setup: No cabal file found. > Please create a package description file .cabal > > Error during cabal-install bootstrap: > Configuring the network-uri package failed. > *** Error code 2 > > Stop. > make[3]: stopped in /usr/ports/devel/hs-cabal-install > *** Error code 1 > > Stop. > make[2]: stopped in /usr/ports/devel/hs-happy > *** Error code 1 > > Stop. > make[1]: stopped in /usr/ports/devel/hs-happy > *** Error code 1 > > Stop. > make: stopped in /usr/ports/devel/stack > root@doctor:/usr/ports/devel/stack # exit > > exit > > Script done on Fri May 10 10:34:49 2019 > > Any explanation? > Can't reproduce this locally. What FreeBSD version are you running, and what SVN revision are you on? > > -- > Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@ > nl2k.ab.ca > Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist > rising! > https://www.empire.kred/ROOTNK?t=94a1f39b Look at Psalms 14 and 53 on > Atheism > Newfoundland on 16 May 2019, do not vote PC nor NDP! > ___ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" > ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: The hs-* issue
On Fri, May 10, 2019 at 11:25:20PM +0400, Gleb Popov wrote: > On Fri, May 10, 2019 at 8:54 PM The Doctor via freebsd-ports < > freebsd-ports@freebsd.org> wrote: > > > All right you are getting rid of the hs-modules > > > > and getting us to use devel/stack. > > > > When I ran devel/stack this morning, I got: > > > > > > Script started on Fri May 10 10:32:32 2019 > > root@doctor:/usr/ports/devel/stack # make > > > > mkdir -p /usr/ports/devel/hs-happy/work/cabal-home/.cabal > > touch /usr/ports/devel/hs-happy/work/cabal-home/.cabal/config > > ===> Patching for hs-happy-1.19.9 > > ===> Applying FreeBSD patches for hs-happy-1.19.9 > > ===> hs-happy-1.19.9 depends on executable: cabal - not found > > ===> Building for hs-cabal-install-2.4.0.0_1 > > cd /usr/ports/devel/hs-cabal-install/work/cabal-install-2.4.0.0 && > > /usr/bin/env EXTRA_CONFIGURE_OPTS="--disable-library-profiling" > > HOME=/usr/ports/devel/hs-cabal-install/work/home > > PREFIX=/usr/ports/devel/hs-cabal-install/work/prefix > > /usr/ports/devel/hs-cabal-install/work/cabal-install-2.4.0.0/bootstrap.sh > > --no-doc --jobs 1 > > mktemp: illegal option -- p > > usage: mktemp [-d] [-q] [-t prefix] [-u] template ... > >mktemp [-d] [-q] [-u] -t prefix > > Using clang for C compiler. If this is not what you want, set CC. > > Using /usr/bin/ld instead. > > Checking installed packages for ghc-8.6.3... > > deepseq is already installed and the version is ok. > > binary is already installed and the version is ok. > > time is already installed and the version is ok. > > transformers is already installed and the version is ok. > > mtl is already installed and the version is ok. > > text is already installed and the version is ok. > > parsec is already installed and the version is ok. > > network-uri-2.6.1.0 will be installed from local tarball. > > network-2.7.0.0 will be installed from local tarball. > > HTTP-4000.3.12 will be installed from local tarball. > > zlib-0.6.2 will be installed from local tarball. > > random-1.1 will be installed from local tarball. > > stm is already installed and the version is ok. > > hashable-1.2.7.0 will be installed from local tarball. > > async-2.2.1 will be installed from local tarball. > > base16-bytestring-0.1.1.6 will be installed from local tarball. > > base64-bytestring-1.0.0.1 will be installed from local tarball. > > cryptohash-sha256-0.11.101.0 will be installed from local tarball. > > resolv-0.1.1.1 will be installed from local tarball. > > mintty-0.1.2 will be installed from local tarball. > > echo-0.1.3 will be installed from local tarball. > > edit-distance-0.2.2.1 will be installed from local tarball. > > ed25519-0.0.5.0 will be installed from local tarball. > > tar-0.5.1.0 will be installed from local tarball. > > digest-0.0.1.2 will be installed from local tarball. > > zip-archive-0.3.3 will be installed from local tarball. > > hackage-security-0.5.3.0 will be installed from local tarball. > > Cabal is already installed and the version is ok. > > > > Using local tarball for network-uri-2.6.1.0. > > [1 of 1] Compiling Main ( Setup.hs, Setup.o ) > > Linking Setup ... > > Setup: No cabal file found. > > Please create a package description file .cabal > > > > Error during cabal-install bootstrap: > > Configuring the network-uri package failed. > > *** Error code 2 > > > > Stop. > > make[3]: stopped in /usr/ports/devel/hs-cabal-install > > *** Error code 1 > > > > Stop. > > make[2]: stopped in /usr/ports/devel/hs-happy > > *** Error code 1 > > > > Stop. > > make[1]: stopped in /usr/ports/devel/hs-happy > > *** Error code 1 > > > > Stop. > > make: stopped in /usr/ports/devel/stack > > root@doctor:/usr/ports/devel/stack # exit > > > > exit > > > > Script done on Fri May 10 10:34:49 2019 > > > > Any explanation? > > > > Can't reproduce this locally. What FreeBSD version are you running, and > what SVN revision are you on? > FreeBSD 12.0 svn, version 1.12.0 (r1857323) compiled Apr 26 2019, 08:07:07 on amd64-portbld-freebsd12.0 > > > > -- > > Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@ > > nl2k.ab.ca > > Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist > > rising! > > https://www.empire.kred/ROOTNK?t=94a1f39b Look at Psalms 14 and 53 on > > Atheism > > Newfoundland on 16 May 2019, do not vote PC nor NDP! > > ___ > > freebsd-ports@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" > > > ___ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! https://www.emp
sysutils/bareos17-server Makefile error
Hi, sysutils/bareos17-server Makefile appears to have an error on the first line: 6:16pm> head -10 /usr/ports/sysutils/bareos17-server/Makefile $FreeBSD$ PORTNAME= bareos17 DISTVERSIONPREFIX= Release/ DISTVERSION=17.2.7 PORTREVISION?= 3 CATEGORIES?=sysutils PKGNAMEPREFIX?= # PKGNAMESUFFIX?= -server 6:16pm> make make: "/usr/ports/sysutils/bareos17-server/Makefile" line 1: Need an operator make: Fatal errors encountered -- cannot continue make: stopped in /usr/ports/sysutils/bareos17-server Cheers. -- Jonathan Chen ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: The hs-* issue
On Sat, May 11, 2019 at 12:49 AM The Doctor wrote: > On Fri, May 10, 2019 at 11:25:20PM +0400, Gleb Popov wrote: > > On Fri, May 10, 2019 at 8:54 PM The Doctor via freebsd-ports < > > freebsd-ports@freebsd.org> wrote: > > > > > > Can't reproduce this locally. What FreeBSD version are you running, and > > what SVN revision are you on? > > > > FreeBSD 12.0 > > svn, version 1.12.0 (r1857323) >compiled Apr 26 2019, 08:07:07 on amd64-portbld-freebsd12.0 > I meant FreeBSD ports tree revision. Or are you using portsnap to obtain ports tree? > > > > > -- > > > Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@ > > > nl2k.ab.ca > > > Yahweh, Queen & country!Never Satan President Republic!Beware > AntiChrist > > > rising! > > > https://www.empire.kred/ROOTNK?t=94a1f39b Look at Psalms 14 and 53 on > > > Atheism > > > Newfoundland on 16 May 2019, do not vote PC nor NDP! > > > ___ > > > freebsd-ports@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > > To unsubscribe, send any mail to " > freebsd-ports-unsubscr...@freebsd.org" > > > > > ___ > > freebsd-ports@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" > > -- > Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@ > nl2k.ab.ca > Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist > rising! > https://www.empire.kred/ROOTNK?t=94a1f39b Look at Psalms 14 and 53 on > Atheism > Newfoundland on 16 May 2019, do not vote PC nor NDP! > ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"