Giter Club home page Giter Club logo

Comments (63)

ilovezfs avatar ilovezfs commented on May 14, 2024 2

vcodex like ksh seems to have been subsumed by https://github.com/att/ast for which I've already requested a tag att/ast#3 but received no response. Since the underlying code is still the same old bits as always, maybe stable should be defined as a specific revision until someone upstream agrees to create a tag?

from homebrew-core.

UniqMartin avatar UniqMartin commented on May 14, 2024 2

To be honest, I can see where Martin is coming from [
]

That's great. 😀 To me it's less about about the wasted disk space and more about lingering and hard to debug issues that might be caused by this (not that I'm aware of any), thus about correctness. But since my interest in Java and the number of Java-using formulae I have installed is close to zero, I'll shut up, as I had enough space to present my concerns and ideas.

Let me just finish off by mentioning that 8280d0f#commitcomment-17277627 presents a solution that I think should to provide both caching and temporary storage to Java-using formulae and, if implemented, requires neither ENV.java_cache nor a not yet existing ENV.java_tmp to be added to formula methods, thus making things more convenient for both contributors and maintainers alike. (See? I did it again. I'm over-engineering things. Le sigh 
)

from homebrew-core.

MikeMcQuaid avatar MikeMcQuaid commented on May 14, 2024 2

🚱d.

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 2

HOMEBREW_SANDBOX=1 for all!

from homebrew-core.

MikeMcQuaid avatar MikeMcQuaid commented on May 14, 2024 2

@ilovezfs see Homebrew/brew#713 😉

from homebrew-core.

MikeMcQuaid avatar MikeMcQuaid commented on May 14, 2024 1

Failed to build on what platform/platforms? Do they have sandbox violations?

from homebrew-core.

xu-cheng avatar xu-cheng commented on May 14, 2024 1

Failed to build on what platform/platforms?

Fail to build on El Capitan at least.

Do they have sandbox violations?

I don't know. Because the list is generated by subtraction. i.e. All the formulae without El Capitan bottles. (I have removed the formulae that explicitly not work on El Capitan, e.g. MaximumMacOSRequirement and UnsignedKextRequirement).

from homebrew-core.

DomT4 avatar DomT4 commented on May 14, 2024 1

I'd be tempted to get rid of geocouch FWIW. It has been broken for a fairly long time now and only a handful of users have noticed, and we've fixed the checksum before only for that to quickly break again. I'm unconvinced it's worth the effort to fix and likely keep having to fix, unless anyone really wants to.

from homebrew-core.

xu-cheng avatar xu-cheng commented on May 14, 2024 1

FYI, this is the script used to generate the list.

require "tap"
require "formula"
require "extend/ARGV"
tap = Tap.fetch(ARGV.named.first || "homebrew/core")
ff = tap.formula_files.map { |f| Formula[f] }
ff.reject! { |f| f.bottle_disabled? }
ff.reject! { |f| f.bottle_specification.collector.key? :el_capitan }
ff.reject! do |f|
  f.recursive_requirements.any? { |r| r.is_a?(UnsignedKextRequirement) || r.is_a?(MaximumMacOSRequirement) || r.is_a?(OsxfuseRequirement) || r.is_a?(TuntapRequirement) }
end
puts_columns ff.map(&:name)
puts ff.size / tap.formula_files.size.to_f

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1
apt-cacher-ng: osxfuse
ctunnel: tuntap
fastd: tuntap
iodine: tuntap
miredo: tuntap
peervpn: tuntap
shrewsoft-vpn-client: tuntap
vpnc: tuntap

So that subset is the unsigned kext requirement, too.

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

This seems to fix fsw #367

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

OK, zint issue reproduced: sandbox violation #386

Install the project...
/usr/local/Cellar/cmake/3.5.2/bin/cmake -P cmake_install.cmake
-- Install configuration: "Release"
-- Installing: /usr/local/Cellar/cmake/3.5.2/share/cmake/Modules/FindZint.cmake
CMake Error at cmake_install.cmake:39 (file):
  file INSTALL cannot copy file
  "/tmp/zint20160417-39600-b9whtp/zint-2.4.3/cmake/modules/FindZint.cmake" to
  "/usr/local/Cellar/cmake/3.5.2/share/cmake/Modules/FindZint.cmake".


from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

Seems there's no issue with suricata: #482

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

valkyrie seems to need unistd.h #502

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

ssreflect is superseded by https://github.com/math-comp/math-comp which has coq 8.5 support

from homebrew-core.

DomT4 avatar DomT4 commented on May 14, 2024 1

pg_top and sam2p were both more or less fine for me locally and on CI so not sure what happened with them. Added bottles and tests for those in #542, as well as fixing pillar and recode.

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

Here's a fix for file-roller: #716

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

Reported blucat issue upstream: ieee8023/blucat#2
Maybe it should get depends_on MaximumMacOSRequirement => :yosemite until the author responds?
#744
blucat fix merged: #746

from homebrew-core.

apjanke avatar apjanke commented on May 14, 2024 1

wartremover: sandbox violation by sbt. #748.

Is it okay if I just edit your original issue description to add references to individual issues as appropriate? I'm going to run through a few more of these over the weekend.

vmalloc: broken download on server side: #749
vcodex: also broken download on server side: #749

swatchbooker: just needs external dependency pillow.

ï»żï»ż$ brew install -s swatchbooker
swatchbooker: Unsatisfied dependency: pillow
Homebrew does not provide Python dependencies; install with:
  pip install pillow
Error: An unsatisfied requirement failed this build.

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

This fixes dwarf: #768

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

It seems like although henplus actually builds fine, it's currently tag-less on GitHub. The download link in the formula doesn't appear to be published anywhere except in the formula, and is apparently the 2009-05-01 0.9.8 from Sourceforge (https://sourceforge.net/projects/henplus/files/henplus/).

However, upstream does still appear to be alive and latest commit was Feb 10, 2016 (https://github.com/neurolabs/henplus/commits/master). So maybe upstream needs to be pestered to create a new tag?
Requisite pestering commenced: neurolabs/henplus#41

from homebrew-core.

martinlschumann avatar martinlschumann commented on May 14, 2024 1

ocamlsdl now builds correctly: #809

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

hqx just needs devil bottling re-enabled, so #839 is prerequisite~~, if anyone would like to look that over.~~

#839 is now merged, so hqx builds again.

from homebrew-core.

martinlschumann avatar martinlschumann commented on May 14, 2024 1

mapserver also builds correctly #811

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

Problem with juise is a sandbox violation: #865 which needs review.

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

kjell is also a sandbox violation: #870, which needs review

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

libcanberra dies with "configure: error: Unable to find libltdl" unless it depends on libtool: #871

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

libmarisa builds ok with clang and gcc5, but make check fails with clang: #875

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

Only problem with mercury is that it needs a longer timeout than one hour set for CI: #898

Successful test-bot run here locally: https://gist.githubusercontent.com/ilovezfs/b27ef778438f92118360a40a7724c95b/raw/c2ae6dfd158d1e99ebb7430c150b2fa25ca5d632/gistfile1.txt

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

libcanberra PR updated #871; needs review.

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

mmix seems to have been fine if anyone wants to review #979

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

Upstream has now merged a patch for the file-roller bug fixed above: #980

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

pylucene is a sandbox violation attempting to write to $HOME/.ant: https://gist.github.com/anonymous/68f02ea63c329312993809589777aee7

from homebrew-core.

UniqMartin avatar UniqMartin commented on May 14, 2024 1

pylucene is a sandbox violation attempting to write to $HOME/.ant: https://gist.github.com/anonymous/68f02ea63c329312993809589777aee7

I'd say this can be rectified with either ENV.java_cache or fixing up the HOME as seen by Java by using something like ENV["_JAVA_OPTIONS"] = "-Duser.home=#{ENV["HOME"]}" depending on the type of material placed in that path by the build system.

from homebrew-core.

DomT4 avatar DomT4 commented on May 14, 2024 1

The former, yeah. It's actually fetching remote modules/etc by the looks of it. Sort of thing ENV.java_cache was designed for this.

from homebrew-core.

apjanke avatar apjanke commented on May 14, 2024 1

fixing up the HOME as seen by Java by using something like ENV["_JAVA_OPTIONS"] = "-Duser.home=#{ENV["HOME"]}"

Been seeing a good amount of stuff like this lately. Maybe we should start doing this by default as part of superenv. And maybe ENV.java_cache should become the default, too. Are there any cases where we specifically want to not do ENV.java_cache, as opposed to just not bothering to type it in?

from homebrew-core.

UniqMartin avatar UniqMartin commented on May 14, 2024 1

Are there any cases where we specifically want to not do ENV.java_cache, as opposed to just not bothering to type it in?

I think the discussion attached to 8280d0f shows a case where I intentionally didn't use ENV.java_cache and the reasons for that (if you'd like to incorporate that into your pondering).

from homebrew-core.

DomT4 avatar DomT4 commented on May 14, 2024 1

Are there any cases where we specifically want to not do ENV.java_cache, as opposed to just not bothering to type it in?

It still breaks a few things, which is why it's not the default yet. The intention is/was to make it the default as soon as possible, and consequently deprecate having to write it into every applicable formula manually.

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

The problem in 8280d0f seems to suggest a need for a distinction between ENV.java_cache and ENV.java_tmp maybe?

from homebrew-core.

apjanke avatar apjanke commented on May 14, 2024 1

Or just a rename, and recognizing that Maven's default caching location is a side effect of setting the user home directory. IIRC, most of the uses of ENV.java_cache I've seen have not actually been about caching anything; I just thought the name was for historical reasons. But if the intent is to deprecate it eventually, no reason to bother.

from homebrew-core.

apjanke avatar apjanke commented on May 14, 2024 1

Okay, can someone point me to some cases where we want to avoid ENV.java_cache because it actually breaks a build or test, and not because it's a misleading name? (I'm a Java-head so wouldn't mind a couple more items on my TODO list here.)

from homebrew-core.

DomT4 avatar DomT4 commented on May 14, 2024 1

IIRC, most of the uses of ENV.java_cache I've seen have not actually been about caching anything; I just thought the name was for historical reasons.

Per my comment on the commit Martin referenced it is actually intended to be used as a cache.

The problem in 8280d0f seems to suggest a need for a distinction between ENV.java_cache and ENV.java_tmp maybe?

This feels a bit contributor-hostile but I could be talked into it.

Okay, can someone point me to some cases where we want to avoid ENV.java_cache because it actually breaks a build or test

I sent you a couple of references on Slack the other day on this. I can try and dig them out but should still be in the chat I'd imagine.

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

This feels a bit contributor-hostile but I could be talked into it.

Yes, discussing the distinction between cache and temp over and over could get old. The main question is what harm is caused when something that "should" only be temporary is allowed to linger. If the answer is none, then no reason to draw a distinction.

from homebrew-core.

apjanke avatar apjanke commented on May 14, 2024 1

I sent you a couple of references on Slack the other day on this. I can try and dig them out but should still be in the chat I'd imagine.

Don't worry; I'll hit the scrollback. I must have just spaced out on this. Thanks.

from homebrew-core.

DomT4 avatar DomT4 commented on May 14, 2024 1

The main question is what harm is caused when something that "should" only be temporary is allowed to linger.

To be honest, I can see where Martin is coming from in terms of it being silly to cache things like .oracle_jre_usage but I think we're close to over-engineering a solution to a problem that well, isn't much of a problem, IMO. Retaining things like that isn't ideal, but the disk space impact is minuscule and to date we've had zero complaints about it.

from homebrew-core.

apjanke avatar apjanke commented on May 14, 2024 1

Yeah, that solution seems to me like the Right Way to handle this.

Since I do have significant interest in Java, I'll pick that up and see if I can make it happen.

from homebrew-core.

DomT4 avatar DomT4 commented on May 14, 2024 1

I'm happy to help review proposed changes, but I am wary of making this... complicated. This will stick around permanently, so we need to keep in mind we're promising to look after it permanently, and if one of us gets whacked by a bus the others need to understand what the mechanism is doing and why.

from homebrew-core.

apjanke avatar apjanke commented on May 14, 2024 1

Seems kinda straightforward: Java doesn't respect the $HOME environment variable, but it does provide a System Properties hook to set its equivalent for all Java runs, and in turn a $_JAVA_OPTS hook to set System Properties, so we should repoint that along with $HOME whenever we do so for sandboxing or superenv purposes. And maybe pre-create the config dirs for well-known Java build tools for those that cannot auto-create their own dirs.

By creating a sandbox environment that can't use the user's actual home directory, I think we've already effectively signed up to do this permanently... :)

from homebrew-core.

DomT4 avatar DomT4 commented on May 14, 2024 1

We do want a lot of this to be retained though, and if we point it in the same place as we do $HOME it won't be. $HOME is discarded at the end of every build and test, but we don't want that system for Java.

We also can't (and IMO shouldn't) use the user's own $HOME directory, because Homebrew's writing outside of its prefix was always pretty much an accident that we couldn't prevent, and now we can prevent it we try to do so.

from homebrew-core.

MikeMcQuaid avatar MikeMcQuaid commented on May 14, 2024 1

It still breaks a few things, which is why it's not the default yet. The intention is/was to make it the default as soon as possible, and consequently deprecate having to write it into every applicable formula manually.

Seems like a good approach 👍

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

sdf looks like it's dead and superseded by http://www.rascal-mpl.org/ which we don't have yet. sdf does seem to build fine, though: #1038

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

sile cannot be bottled presently due to LuaRocks requirements. There is a new version though: #1039

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

skytools is a sandbox violation:

/bin/sh /usr/local/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c -d '/usr/local/share/postgresql/contrib'
mkdir: /usr/local/share/postgresql/contrib: Operation not permitted
make[2]: *** [installdirs-old-contrib] Error 1
make[1]: *** [install] Error 2
make: *** [sub-install] Error 2
==> Sandbox log
May 10 03:00:07 sandboxd[137]: mkdir(49045) deny file-write-create /usr/local/share/postgresql/contrib

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

slony is also a sandbox violation:

/bin/sh /private/tmp/slony-20160510-51357-1nbbfrp/slony1-2.2.4/config/install-sh -c -m 755 slony1_funcs.2.2.4.so /usr/local/lib/postgresql/
cp: /usr/local/lib/postgresql//#inst.52720#: Operation not permitted
make[2]: *** [install] Error 1
make[1]: *** [install] Error 2
make: *** [install] Error 2
==> Sandbox log
May 10 03:02:54 sandboxd[137]: cp(52726) deny file-write-create /usr/local/lib/postgresql/#inst.52720#

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

This fixes soccerwindow2: #1044

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

This fixes ssreflect #1166

I figured it might be a good idea to get the ssreflect 1.5/Coq 8.4 series a working formula+bottle before replacing it outright with the mathcomp/ssreflect 1.6/Coq 8.5 new thing. The latter will depend on #1142 being merged first.

from homebrew-core.

MikeMcQuaid avatar MikeMcQuaid commented on May 14, 2024 1

Boneyarding a bunch of these in #2194.

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

@MikeMcQuaid not sure swatchbooker needs to go as @apjanke said "swatchbooker: just needs external dependency pillow," and pillow is vendored in several formulae in core currently so that should be trivial.

from homebrew-core.

MikeMcQuaid avatar MikeMcQuaid commented on May 14, 2024 1

@ilovezfs I got it running locally but it has no installations and is a pretty terrible port so I'd rather we just killed it.

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024 1

@MikeMcQuaid In that case kill it with đŸ”„

from homebrew-core.

UniqMartin avatar UniqMartin commented on May 14, 2024 1

I updated the top comment with a second list of formulae that don't have an El Capitan bottle, but are not necessarily broken. I also included the reason for why they don't have a bottle. Not sure if this should be a separate issue, but I figured since this is all about completing our bottling, it fits. Generated with:

brew for-each-formula 'puts f.full_name if !f.tap? && f.bottle_defined? && !f.bottle_specification.collector.keys.include?(:el_capitan)'

from homebrew-core.

DomT4 avatar DomT4 commented on May 14, 2024

I presume apt-cacher-ng was a 404, was being worked on here but hit other issues.

geocouch is likely to be this old bundle of fun, which is both a sandbox problem and a "Upstream like to break the checksum" problem.

from homebrew-core.

ilovezfs avatar ilovezfs commented on May 14, 2024

Not having any issue with zint. The developer does still appear to be actively working on the project but mostly on SourceForge now. @xu-cheng was there a specific failure?

from homebrew-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.