You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can see in the logs that libgd-dev is properly installed but building doesn't work:
#0 8.035 Building for production...
#0 9.030 remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[1/918] Compiling SwiftSgml Attribute.swift
#0 14.19 remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[3/920] Compiling SwiftGD Color.swift
#0 14.86 :1:10: note: in file included from :1:
#0 14.86 #include "gd.h"
#0 14.86 ^
#0 14.86 /build/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:10: error: 'gd.h' file not found with include; use "quotes" instead
#0 14.86 #include <gd.h>
#0 14.86 ^
#0 14.86 :1:10: note: in file included from :1:
#0 14.86 #include "gd.h"
#0 14.86 ^
#0 14.86 /build/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:10: note: in file included from /build/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:
#0 14.86 #include <gd.h>
#0 14.86 ^
etc.
The text was updated successfully, but these errors were encountered:
mynona
changed the title
libgd-dev not working
libgd-dev cannot be compiled on newer macs
Jan 14, 2023
Packagefile
.package(url: "https://github.com/twostraws/SwiftGD.git", from: "2.5.0")
.product(name: "SwiftGD", package: "SwiftGD")
Dockerfile
RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
&& apt-get -q update
&& apt-get -q dist-upgrade -y
&& apt-get -q install -y
ca-certificates
tzdata
libgd-dev
&& rm -r /var/lib/apt/lists/*
I can see in the logs that libgd-dev is properly installed but building doesn't work:
#0 8.035 Building for production...
#0 9.030 remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[1/918] Compiling SwiftSgml Attribute.swift
#0 14.19 remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[3/920] Compiling SwiftGD Color.swift
#0 14.86 :1:10: note: in file included from :1:
#0 14.86 #include "gd.h"
#0 14.86 ^
#0 14.86 /build/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:10: error: 'gd.h' file not found with include; use "quotes" instead
#0 14.86 #include <gd.h>
#0 14.86 ^
#0 14.86 :1:10: note: in file included from :1:
#0 14.86 #include "gd.h"
#0 14.86 ^
#0 14.86 /build/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:10: note: in file included from /build/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:
#0 14.86 #include <gd.h>
#0 14.86 ^
etc.
The text was updated successfully, but these errors were encountered: