1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/networking
Mark Mulder 78f07d0f89
termscp: fix darwin build
I was running into Foundation.h errors during compilation on mac/darwin,
adding Foundation fixes that for me.

Error:

```
The following warnings were emitted during compilation:

warning: In file included from objc/notify.m:1:
warning: objc/notify.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
warning: #import <Foundation/Foundation.h>
warning:         ^~~~~~~~~~~~~~~~~~~~~~~~~
warning: 1 error generated.

error: failed to run custom build command for `mac-notification-sys v0.3.0`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installEt3UWW/release/build/mac-notification-sys-f414f8995c05e541/build-script-build` (exit status: 1)
  --- stdout
  TARGET = Some("x86_64-apple-darwin")
  OPT_LEVEL = Some("3")
  HOST = Some("x86_64-apple-darwin")
  CC_x86_64-apple-darwin = None
  CC_x86_64_apple_darwin = None
  HOST_CC = None
  CC = Some("clang")
  CFLAGS_x86_64-apple-darwin = None
  CFLAGS_x86_64_apple_darwin = None
  HOST_CFLAGS = None
  CFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  running: "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=x86_64-apple-darwin" "-fmodules" "-o" "/tmp/cargo-installEt3UWW/release/build/mac-notification-sys-ce5dd87fdfef4721/out/objc/notify.o" "-c" "objc/notify.m"
  cargo:warning=In file included from objc/notify.m:1:
  cargo:warning=objc/notify.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
  cargo:warning=#import <Foundation/Foundation.h>
  cargo:warning=        ^~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=1 error generated.
  exit status: 1

  --- stderr

  error occurred: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=x86_64-apple-darwin" "-fmodules" "-o" "/tmp/cargo-installEt3UWW/release/build/mac-notification-sys-ce5dd87fdfef4721/out/objc/notify.o" "-c" "objc/notify.m" with args "clang" did not execute successfully (status code exit status: 1).

warning: build failed, waiting for other jobs to finish...
error: failed to compile `termscp v0.7.0`, intermediate artifacts can be found at `/tmp/cargo-installEt3UWW`

Caused by:
  build failed
```
2021-11-08 17:21:33 +01:00
..
6tunnel
acme-client
ahcpd
aircrack-ng
airfield
altermime
amass amass: 3.14.2 -> 3.14.3 2021-11-06 14:01:45 +01:00
anevicon
argus
argus-clients
aria2
arping
arpoison
assh assh: 2.11.3 -> 2.12.0 2021-10-20 14:58:29 +02:00
atftp
atinout
autossh
axel
babeld
bacnet-stack
badvpn
bandwhich
bgpdump
bgpq3
bgpq4
biosdevname
bitmask-vpn
bore
boringtun
boundary
brook brook: enable on darwin 2021-10-29 18:01:37 +03:00
bsd-finger treewide: use mirror URLs where available 2021-11-06 01:56:39 +00:00
bud
bukubrow
bully
burpsuite
bwm-ng bwm_ng: pull upstream fix for upcoming ncurses-6.3 2021-11-03 18:50:54 +00:00
cadaver
calendar-cli
cantoolz
carddav-util
cassowary
cbftp
cdpr
changetower
chaos
checkip
chisel
chrony
circus
cjdns
cksfv
clash
cloud-custodian
cmst
cntlm
cocom
connect
connman pkgsMusl.connmanMinimal: fix build with Alpine patch 2021-11-05 14:51:49 +00:00
corerad
corkscrew
crackle
croc
curl
curl-unix-socket
curlie
darkstat
davix
dd-agent
ddclient
dhcp
dhcpcd
dhcpdump treewide: use mirror URLs where available 2021-11-06 01:56:39 +00:00
dhcping
dibbler
dirb
djbdns
dnschef
dnscrypt-proxy2 dnscrypt-proxy2: 2.1.0 -> 2.1.1 2021-10-29 10:09:00 +00:00
dnscrypt-wrapper
dnsmasq
dnsperf
dnsproxy dnsproxy: fix version output, fix license 2021-10-29 08:15:16 -04:00
dnstake
dnstop
dnstracer
dnstwist
dnsviz
dogdns dogdns: set meta.mainProgram, format 2021-10-21 08:23:42 -04:00
driftnet
drill drill: specify license 2021-10-20 09:18:09 +02:00
dropbear
dsniff
easyrsa
eggdrop
email
eternal-terminal eternal-terminal: 6.1.8 -> 6.1.9 2021-11-05 10:03:13 -07:00
evillimiter
fakeroute
fastd
fdm
ferm
filegive
findomain
flannel cni-flannel-plugin: 1.1 -> 1.0.0 2021-10-29 23:37:38 +05:30
flvstreamer
fping
freebind
frp frp: 0.37.1 -> 0.38.0 2021-10-29 16:20:59 +00:00
gandi-cli
getmail
getmail6 getmail6: 6.18.4 -> 6.18.5 2021-10-31 02:06:17 +00:00
ghostunnel
globalprotect-openconnect globalprotect-openconnect: 1.2.6 -> 1.3.4 2021-10-29 18:10:26 +00:00
gmrender-resurrect
gnirehtet
go-shadowsocks2
gobgp gobgp: 2.31.0 -> 2.32.0 2021-10-29 20:08:50 +00:00
godns
goimapnotify
goklp
goreplay
gping gping: 1.2.1 -> 1.2.6 (#143124) 2021-10-27 14:53:43 +02:00
grpcui grpcui: 1.1.0 -> 1.2.0 2021-10-29 21:34:21 +00:00
grpcurl grpcurl: 1.8.2 -> 1.8.5 2021-10-29 21:39:47 +00:00
guardian-agent
gupnp-tools gupnp-tools: 0.10.0 → 0.10.1 2021-10-24 15:38:19 +02:00
gvpe
gvproxy
hans
haproxy
hey
horst
hp2p
hping
hss
htpdate
http-prompt
http2tcp
httperf
httpie httpie: 2.5.0 -> 2.6.0 2021-10-19 11:21:23 +02:00
httping
httplab
httplz
httpstat
httptunnel
hue-cli
hurl hurl: 1.3.1 -> 1.4.0 2021-10-29 23:24:55 +00:00
hyenae
i2p
i2pd
ifstat-legacy
iftop
igmpproxy
imapproxy
imapsync
inadyn
inetutils
innernet
iodine
iouyap
ip2location
ip2unix
ipcalc
iperf
ipgrep
ipinfo
ipv6calc
isync
iwgtk
jnettop
junkie
jwhois
kail
kapp
kea
keepalived
lftp
libnids
libreswan
ligolo-ng
linkchecker
linux-router
lldpd
logmein-hamachi
lsh
lxi-tools
lychee
maildrop
mailsend
mailutils
maphosts
maxscale
mcrcon mcrcon: 0.7.1 -> 0.7.2 2021-11-03 14:03:48 +00:00
mdk4
megatools
memtier-benchmark
minidlna
minio-client Merge pull request #144465 from r-ryantm/auto-update/minio-client 2021-11-04 20:31:41 +01:00
minissdpd
miniupnpc miniupnpc: fix build on darwin again 2021-10-22 11:50:14 +02:00
miniupnpd
miredo
mmsd
modemmanager
mole
moodle-dl
mosh
mozwire
mpack
mtr
mu mu: 1.6.8 -> 1.6.9 2021-10-26 15:45:25 +08:00
mubeng
n2n
nat-traverse
nbd
ncftp
ndisc6
ndjbdns
nebula
netboot
netcat
nethogs nethogs: fix cross-compiling 2021-10-20 21:12:22 +02:00
netifd
netkit/tftp
netmask
netrw
netselect
netsniff-ng
nettee
networkmanager
nfdump
nfstrace
ngrep ngrep: Make available on darwin 2021-11-05 10:08:50 +01:00
ngrok-1
ngrok-2 treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
nikto
noip
notemap
nss-mdns
nss-pam-ldapd
ntopng
ntp ntp: remove seccomp support 2021-11-01 00:44:20 +02:00
nttcp
ntttcp
nuttcp
nxdomain
nylon
nyx
nzbget
oapi-codegen oapi-codegen: 1.8.2 -> 1.8.3 2021-11-03 17:12:44 +00:00
obfs4
ocproxy
ocserv
offlineimap
ofono
oha
olsrd
oneshot
ookla-speedtest
openapi-generator-cli
openconnect
openfortivpn
openntpd
openresolv
opensm
opensnitch
openssh
openvpn
p2p rakshasa.rtorrent: 0.9.8 -> 0.9.8+date=2021-08-07 2021-10-21 19:31:52 -03:00
packetdrill
pacparser
par2cmdline
passh
pcapc
pcapfix
pdnsd
pdsh
persepolis
philter
phodav
photon
pingtcp
pirate-get
pixiecore
pixiewps
pmacct
polygraph
polysh
ppp
pptp
pptpd
prettyping
pritunl-ssh
privoxy
proxify
proxychains
proxychains-ng
pssh
pwnat
py-wmi-client
pykms
qrcp
quickserve
quicktun
radsecproxy
radvd
ratools
rcon
rdrview
reaver-wps
reaver-wps-t6x
redfang
redir
redsocks
ripmime
rp-pppoe
rshijack
rtptools
rustcat
s3cmd
s3gof3r
s3rs
s4cmd
s5cmd s5cmd: 1.3.0 -> 1.4.0 2021-10-28 23:43:49 +00:00
s6-dns
s6-networking
saldl
samplicator
shadowfox
shadowsocks-libev
shadowsocks-rust shadowsocks-rust: 1.10.7 -> 1.11.2 2021-11-01 10:24:05 +05:00
shadowsocks-v2ray-plugin
shncpd
shorewall
siege
simpleproxy
sipcalc
sipsak
sish
slack-cli
slirp4netns
smartdns
smokeping
snabb
sniffglue sniffglue: 0.13.1 -> 0.14.0 2021-10-31 11:48:35 +01:00
snmpcheck
socat
sockperf
spiped
spoof-mac
spoofer
srelay
ssh-agents
ssh-askpass-fullscreen
ssh-ident
ssh-key-confirmer
sshoogr treewide: use mirror URLs where available 2021-11-06 01:56:39 +00:00
sshpass
sshping
ssldump ssldump: enable on darwin 2021-10-29 17:29:55 +03:00
sslsplit
ssmtp
sstp
stevenblack-blocklist
strongswan
stubby
stun
stunnel
stuntman
subfinder subfinder: 2.4.8 -> 2.4.9 2021-10-28 22:47:59 +00:00
suckit
surfraw
swagger-codegen treewide: use mirror URLs where available 2021-11-06 01:56:39 +00:00
swagger-codegen3 treewide: use mirror URLs where available 2021-11-06 01:56:39 +00:00
swaks
tayga
tcp-cutter
tcpdump
tcpflow
tcpreplay
tcptraceroute
tdns-cli
telepresence
telepresence2 telepresence2: 2.4.0 -> 2.4.6 2021-11-04 21:43:27 +01:00
tendermint tendermint: 0.34.13 -> 0.34.14 2021-10-28 13:24:27 +00:00
termscp termscp: fix darwin build 2021-11-08 17:21:33 +01:00
termshark
tftp-hpa
tgt
tinc
tinyfecvpn
tinyproxy
tlspool
tnat64 tnat64: 0.05 -> 0.06 2021-10-17 15:52:48 +02:00
toss
tox-node tox-node: add myself to maintainers 2021-11-04 20:59:18 +03:00
toxvpn
tracebox
traceroute
trickle
tridactyl-native
tunnelto
twa
ua
ubridge
ucspi-tcp
udptunnel
uget
uget-integrator
unbound
updog
uqmi
urlwatch
userhosts
uwimap
v2ray
vde2 vde2: explicitly disable parallel building 2021-10-20 17:20:09 +01:00
vegeta
vlan
vopono vopono: 0.8.6 -> 0.8.7 2021-10-23 16:50:50 -03:00
vpn-slice
vpnc Merge pull request #144541 from alyssais/vpnc-makefile-patch 2021-11-07 21:48:54 +01:00
vpnc-scripts
waitron
wakelan
wakeonlan
wavemon
wbox
webalizer
webwormhole
weighttp
wget
wget2
whois
wifish
wifite2
wireguard-go
wireguard-tools
wol
wolfebin
wormhole-william
wrk
wrk2
wuzz
x11-ssh-askpass
xh
xl2tpd
xnbd
yggdrasil yggdrasil: 0.4.0 -> 0.4.2 2021-11-03 22:58:46 -04:00
yrd
ytcc ytcc: add marsam to maintainers 2021-10-30 04:20:00 +00:00
zap
zerotierone zerotierone: 1.6.6 -> 1.8.1 2021-10-30 08:51:09 +02:00
zs-apc-spdu-ctl
zs-wait4host
zssh