Support Elixir 1.13
This is the build error prior to these changes: ``` * rabbit_common (/home/bakkenl/development/rabbitmq/rabbitmq-server/deps/rabbit_common) could not find an app file at "_build/dev/lib/rabbit_common/ebin/rabbit_common.app". This may happen if the dependency was not yet compiled or the dependency indeed has no app file (then you can pass app: false as option) ** (Mix) Can't continue due to errors on dependencies ``` Telling `mix` to compile `rabbit_common` ensures that the following links are created: ``` $ ll deps/rabbitmq_cli/_build/dev/lib/rabbit_common/ total 8 drwxr-xr-x 2 bakkenl bakkenl 4096 Jan 20 09:46 . drwxr-xr-x 10 bakkenl bakkenl 4096 Jan 20 09:46 .. lrwxrwxrwx 1 bakkenl bakkenl 33 Jan 20 09:46 ebin -> ../../../../../rabbit_common/ebin lrwxrwxrwx 1 bakkenl bakkenl 36 Jan 20 09:46 include -> ../../../../../rabbit_common/include ```
This commit is contained in:
		
							parent
							
								
									0a63178a83
								
							
						
					
					
						commit
						59e211d97e
					
				| 
						 | 
					@ -11,7 +11,7 @@ defmodule RabbitMQCtl.MixfileBase do
 | 
				
			||||||
    [
 | 
					    [
 | 
				
			||||||
      app: :rabbitmqctl,
 | 
					      app: :rabbitmqctl,
 | 
				
			||||||
      version: "3.8.0-dev",
 | 
					      version: "3.8.0-dev",
 | 
				
			||||||
      elixir: ">= 1.10.4 and < 1.13.0",
 | 
					      elixir: ">= 1.10.4 and < 1.14.0",
 | 
				
			||||||
      build_embedded: Mix.env == :prod,
 | 
					      build_embedded: Mix.env == :prod,
 | 
				
			||||||
      start_permanent: Mix.env == :prod,
 | 
					      start_permanent: Mix.env == :prod,
 | 
				
			||||||
      escript: [main_module: RabbitMQCtl,
 | 
					      escript: [main_module: RabbitMQCtl,
 | 
				
			||||||
| 
						 | 
					@ -149,19 +149,15 @@ defmodule RabbitMQCtl.MixfileBase do
 | 
				
			||||||
          end
 | 
					          end
 | 
				
			||||||
        end
 | 
					        end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # We disable compilation for rabbit_common and amqp_client
 | 
					 | 
				
			||||||
        # because Erlang.mk already built them.
 | 
					 | 
				
			||||||
        [
 | 
					        [
 | 
				
			||||||
          {
 | 
					          {
 | 
				
			||||||
            :rabbit_common,
 | 
					            :rabbit_common,
 | 
				
			||||||
            path: Path.join(deps_dir, "rabbit_common"),
 | 
					            path: Path.join(deps_dir, "rabbit_common"),
 | 
				
			||||||
            compile: false,
 | 
					 | 
				
			||||||
            override: true
 | 
					            override: true
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          {
 | 
					          {
 | 
				
			||||||
            :amqp_client,
 | 
					            :amqp_client,
 | 
				
			||||||
            path: Path.join(deps_dir, "amqp_client"),
 | 
					            path: Path.join(deps_dir, "amqp_client"),
 | 
				
			||||||
            compile: false,
 | 
					 | 
				
			||||||
            override: true,
 | 
					            override: true,
 | 
				
			||||||
            only: :test
 | 
					            only: :test
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -119,7 +119,7 @@ dep_lager = hex 3.8.0
 | 
				
			||||||
dep_prometheus = git https://github.com/deadtrickster/prometheus.erl.git master
 | 
					dep_prometheus = git https://github.com/deadtrickster/prometheus.erl.git master
 | 
				
			||||||
dep_ra = git https://github.com/rabbitmq/ra.git main
 | 
					dep_ra = git https://github.com/rabbitmq/ra.git main
 | 
				
			||||||
dep_ranch = hex 1.7.1
 | 
					dep_ranch = hex 1.7.1
 | 
				
			||||||
dep_recon = hex 2.5.1
 | 
					dep_recon = hex 2.5.2
 | 
				
			||||||
dep_redbug = hex 2.0.7
 | 
					dep_redbug = hex 2.0.7
 | 
				
			||||||
dep_observer_cli = hex 1.5.4
 | 
					dep_observer_cli = hex 1.5.4
 | 
				
			||||||
dep_stdout_formatter = hex 0.2.4
 | 
					dep_stdout_formatter = hex 0.2.4
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -119,7 +119,7 @@ dep_lager = hex 3.8.0
 | 
				
			||||||
dep_prometheus = git https://github.com/deadtrickster/prometheus.erl.git master
 | 
					dep_prometheus = git https://github.com/deadtrickster/prometheus.erl.git master
 | 
				
			||||||
dep_ra = git https://github.com/rabbitmq/ra.git main
 | 
					dep_ra = git https://github.com/rabbitmq/ra.git main
 | 
				
			||||||
dep_ranch = hex 1.7.1
 | 
					dep_ranch = hex 1.7.1
 | 
				
			||||||
dep_recon = hex 2.5.1
 | 
					dep_recon = hex 2.5.2
 | 
				
			||||||
dep_redbug = hex 2.0.7
 | 
					dep_redbug = hex 2.0.7
 | 
				
			||||||
dep_observer_cli = hex 1.5.4
 | 
					dep_observer_cli = hex 1.5.4
 | 
				
			||||||
dep_stdout_formatter = hex 0.2.4
 | 
					dep_stdout_formatter = hex 0.2.4
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -118,7 +118,7 @@ dep_looking_glass = git https://github.com/rabbitmq/looking_glass master
 | 
				
			||||||
dep_prometheus = git https://github.com/deadtrickster/prometheus.erl 06425c21a39c1564164f1cc3fe5bdfa8b23b1f78
 | 
					dep_prometheus = git https://github.com/deadtrickster/prometheus.erl 06425c21a39c1564164f1cc3fe5bdfa8b23b1f78
 | 
				
			||||||
dep_ra = git https://github.com/rabbitmq/ra.git main
 | 
					dep_ra = git https://github.com/rabbitmq/ra.git main
 | 
				
			||||||
dep_ranch = hex 2.1.0
 | 
					dep_ranch = hex 2.1.0
 | 
				
			||||||
dep_recon = hex 2.5.1
 | 
					dep_recon = hex 2.5.2
 | 
				
			||||||
dep_redbug = hex 2.0.7
 | 
					dep_redbug = hex 2.0.7
 | 
				
			||||||
dep_observer_cli = hex 1.7.1
 | 
					dep_observer_cli = hex 1.7.1
 | 
				
			||||||
dep_stdout_formatter = hex 0.2.4
 | 
					dep_stdout_formatter = hex 0.2.4
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue