[Homeros] О сборке luwrain

andrey macsimenco amacsimenco на gmail.com
Вт Фев 24 19:47:24 MSK 2015


\я сделал то же самое.

После ./build отчет прилагается во вложении.02-24 16:34 GMT,
anpilov2009 <anpilov2009 на yandex.ru>:
> Итак,я всё убил,сделал всё сначала и даю полный отчёт:
> создал папку- mkdir luwrain.src;перешёл в неё- cd luwrain.src;далее- git
> clone https://github.com/luwrain/base.gitскачалась базовая часть;далее
> перешёл в base/scripts;далее- ./checkout;скачались исходники
> luwrain;далее-./build;ответ- Buildfile:
> /home/anvladan/luwrain.src/base/build.xml
>
> clean:
> Deleting directory /home/anvladan/luwrain.src/base/build
> Deleting directory /home/anvladan/luwrain.src/base/jar
>
> compile:
> Created dir: /home/anvladan/luwrain.src/base/build
> /home/anvladan/luwrain.src/base/build.xml:8: warning:
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last;
> set to false for repeatable builds
> Compiling 2 source files to /home/anvladan/luwrain.src/base/build
>
> jar:
> Created dir: /home/anvladan/luwrain.src/base/jar
> Building jar: /home/anvladan/luwrain.src/base/jar/luwrain-base.jar
>
> BUILD SUCCESSFUL
> Total time: 4 seconds
> Buildfile: /home/anvladan/luwrain.src/linux/build.xml
>
> clean:
> Deleting directory /home/anvladan/luwrain.src/linux/build
> Deleting directory /home/anvladan/luwrain.src/linux/jar
>
> compile:
> Created dir: /home/anvladan/luwrain.src/linux/build
> /home/anvladan/luwrain.src/linux/build.xml:16: warning:
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last;
> set to false for repeatable builds
> Compiling 6 source files to /home/anvladan/luwrain.src/linux/build
>
> jar:
> Created dir: /home/anvladan/luwrain.src/linux/jar
> Building jar: /home/anvladan/luwrain.src/linux/jar/luwrain-linux.jar
>
> BUILD SUCCESSFUL
> Total time: 8 seconds
> Buildfile: /home/anvladan/luwrain.src/luwrain/build.xml
>
> clean:
> Deleting directory /home/anvladan/luwrain.src/luwrain/build
>
> compile:
> Created dir: /home/anvladan/luwrain.src/luwrain/build
> /home/anvladan/luwrain.src/luwrain/build.xml:14: warning:
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last;
> set to false for repeatable builds
> Compiling 148 source files to /home/anvladan/luwrain.src/luwrain/build
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/core/Strings.java:19:
> error: cannot find symbol
> import org.luwrain.os.Location;
>                       ^
>    symbol:   class Location
>    location: package org.luwrain.os
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/core/Strings.java:37:
> error: cannot find symbol
>      String locationTitle(Location location);
>                           ^
>    symbol:   class Location
>    location: interface Strings
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/langs/ru/Environment.java:19:
> error: cannot find symbol
> import org.luwrain.os.Location;
>                       ^
>    symbol:   class Location
>    location: package org.luwrain.os
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/langs/ru/Environment.java:93:
> error: cannot find symbol
>      @Override public String locationTitle(Location location)
>                                            ^
>    symbol:   class Location
>    location: class Environment
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:19:
> error: cannot find symbol
> import org.luwrain.os.Location;
>                       ^
>    symbol:   class Location
>    location: package org.luwrain.os
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsListModel.java:21:
> error: cannot find symbol
> import org.luwrain.os.Location;
>                       ^
>    symbol:   class Location
>    location: package org.luwrain.os
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsListModel.java:28:
> error: cannot find symbol
>      private Location[] locations;
>              ^
>    symbol:   class Location
>    location: class ImportantLocationsListModel
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/controls/DefaultControlEnvironment.java:116:
> error: cannot find symbol
>      return luwrain.os().getRoot(relativeTo);
>                         ^
>    symbol:   method getRoot(File)
>    location: interface OperatingSystem
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/langs/ru/Environment.java:99:
> error: cannot find symbol
>      case Location.ROOT:
>           ^
>    symbol:   variable Location
>    location: class Environment
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/langs/ru/Environment.java:101:
> error: cannot find symbol
>      case Location.USER_HOME:
>           ^
>    symbol:   variable Location
>    location: class Environment
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/langs/ru/Environment.java:103:
> error: cannot find symbol
>      case Location.REGULAR:
>           ^
>    symbol:   variable Location
>    location: class Environment
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/langs/ru/Environment.java:106:
> error: cannot find symbol
>      case Location.REMOTE:
>           ^
>    symbol:   variable Location
>    location: class Environment
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/langs/ru/Environment.java:108:
> error: cannot find symbol
>      case Location.REMOVABLE:
>           ^
>    symbol:   variable Location
>    location: class Environment
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:43:
> error: cannot find symbol
>      if (item == null || !(item instanceof Location))
>                                            ^
>    symbol:   class Location
>    location: class ImportantLocationsAppearance
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:45:
> error: cannot find symbol
>      final Location location = (Location)item;
>            ^
>    symbol:   class Location
>    location: class ImportantLocationsAppearance
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:45:
> error: cannot find symbol
>      final Location location = (Location)item;
>                                 ^
>    symbol:   class Location
>    location: class ImportantLocationsAppearance
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:53:
> error: cannot find symbol
>      if (item == null || !(item instanceof Location))
>                                            ^
>    symbol:   class Location
>    location: class ImportantLocationsAppearance
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:55:
> error: cannot find symbol
>      final Location location = (Location)item;
>            ^
>    symbol:   class Location
>    location: class ImportantLocationsAppearance
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:55:
> error: cannot find symbol
>      final Location location = (Location)item;
>                                 ^
>    symbol:   class Location
>    location: class ImportantLocationsAppearance
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:66:
> error: cannot find symbol
>      if (item == null || !(item instanceof Location))
>                                            ^
>    symbol:   class Location
>    location: class ImportantLocationsAppearance
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:68:
> error: cannot find symbol
>      final Location location = (Location)item;
>            ^
>    symbol:   class Location
>    location: class ImportantLocationsAppearance
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:68:
> error: cannot find symbol
>      final Location location = (Location)item;
>                                 ^
>    symbol:   class Location
>    location: class ImportantLocationsAppearance
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsListModel.java:36:
> error: cannot find symbol
>      locations = os.getImportantLocations();
>                    ^
>    symbol:   method getImportantLocations()
>    location: variable os of type OperatingSystem
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsListModel.java:53:
> error: cannot find symbol
>      locations = os.getImportantLocations();
>                    ^
>    symbol:   method getImportantLocations()
>    location: variable os of type OperatingSystem
> Note:
> /home/anvladan/luwrain.src/luwrain/src/main/java/org/luwrain/controls/CommanderArea.java
> uses unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 24 errors.
> что с этим делать?
> _______________________________________________
> Homeros mailing list
> Homeros на lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/homeros
>
----------- следующая часть -----------
Buildfile: /home/anri/luwrain-src/base/build.xml

clean:
Deleting directory /home/anri/luwrain-src/base/build
Deleting directory /home/anri/luwrain-src/base/jar

compile:
Created dir: /home/anri/luwrain-src/base/build
/home/anri/luwrain-src/base/build.xml:8: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
Compiling 2 source files to /home/anri/luwrain-src/base/build

jar:
Created dir: /home/anri/luwrain-src/base/jar
Building jar: /home/anri/luwrain-src/base/jar/luwrain-base.jar

BUILD SUCCESSFUL
Total time: 1 second
Buildfile: /home/anri/luwrain-src/linux/build.xml

clean:
Deleting directory /home/anri/luwrain-src/linux/build
Deleting directory /home/anri/luwrain-src/linux/jar

compile:
Created dir: /home/anri/luwrain-src/linux/build
/home/anri/luwrain-src/linux/build.xml:16: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
Compiling 6 source files to /home/anri/luwrain-src/linux/build

jar:
Created dir: /home/anri/luwrain-src/linux/jar
Building jar: /home/anri/luwrain-src/linux/jar/luwrain-linux.jar

BUILD SUCCESSFUL
Total time: 2 seconds
Buildfile: /home/anri/luwrain-src/luwrain/build.xml

clean:
Deleting directory /home/anri/luwrain-src/luwrain/build

compile:
Created dir: /home/anri/luwrain-src/luwrain/build
/home/anri/luwrain-src/luwrain/build.xml:14: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
Compiling 148 source files to /home/anri/luwrain-src/luwrain/build
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/core/Strings.java:19: error: cannot find symbol
import org.luwrain.os.Location;
                     ^
  symbol:   class Location
  location: package org.luwrain.os
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/core/Strings.java:37: error: cannot find symbol
    String locationTitle(Location location);
                         ^
  symbol:   class Location
  location: interface Strings
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/langs/ru/Environment.java:19: error: cannot find symbol
import org.luwrain.os.Location;
                     ^
  symbol:   class Location
  location: package org.luwrain.os
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/langs/ru/Environment.java:93: error: cannot find symbol
    @Override public String locationTitle(Location location)
                                          ^
  symbol:   class Location
  location: class Environment
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:19: error: cannot find symbol
import org.luwrain.os.Location;
                     ^
  symbol:   class Location
  location: package org.luwrain.os
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsListModel.java:21: error: cannot find symbol
import org.luwrain.os.Location;
                     ^
  symbol:   class Location
  location: package org.luwrain.os
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsListModel.java:28: error: cannot find symbol
    private Location[] locations;
            ^
  symbol:   class Location
  location: class ImportantLocationsListModel
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/controls/DefaultControlEnvironment.java:116: error: cannot find symbol
	return luwrain.os().getRoot(relativeTo);
	                   ^
  symbol:   method getRoot(File)
  location: interface OperatingSystem
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/langs/ru/Environment.java:99: error: cannot find symbol
	case Location.ROOT:
	     ^
  symbol:   variable Location
  location: class Environment
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/langs/ru/Environment.java:101: error: cannot find symbol
	case Location.USER_HOME:
	     ^
  symbol:   variable Location
  location: class Environment
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/langs/ru/Environment.java:103: error: cannot find symbol
	case Location.REGULAR:
	     ^
  symbol:   variable Location
  location: class Environment
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/langs/ru/Environment.java:106: error: cannot find symbol
	case Location.REMOTE:
	     ^
  symbol:   variable Location
  location: class Environment
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/langs/ru/Environment.java:108: error: cannot find symbol
	case Location.REMOVABLE:
	     ^
  symbol:   variable Location
  location: class Environment
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:43: error: cannot find symbol
	if (item == null || !(item instanceof Location))
	                                      ^
  symbol:   class Location
  location: class ImportantLocationsAppearance
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:45: error: cannot find symbol
	final Location location = (Location)item;
	      ^
  symbol:   class Location
  location: class ImportantLocationsAppearance
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:45: error: cannot find symbol
	final Location location = (Location)item;
	                           ^
  symbol:   class Location
  location: class ImportantLocationsAppearance
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:53: error: cannot find symbol
	if (item == null || !(item instanceof Location))
	                                      ^
  symbol:   class Location
  location: class ImportantLocationsAppearance
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:55: error: cannot find symbol
	final Location location = (Location)item;
	      ^
  symbol:   class Location
  location: class ImportantLocationsAppearance
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:55: error: cannot find symbol
	final Location location = (Location)item;
	                           ^
  symbol:   class Location
  location: class ImportantLocationsAppearance
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:66: error: cannot find symbol
	if (item == null || !(item instanceof Location))
	                                      ^
  symbol:   class Location
  location: class ImportantLocationsAppearance
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:68: error: cannot find symbol
	final Location location = (Location)item;
	      ^
  symbol:   class Location
  location: class ImportantLocationsAppearance
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsAppearance.java:68: error: cannot find symbol
	final Location location = (Location)item;
	                           ^
  symbol:   class Location
  location: class ImportantLocationsAppearance
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsListModel.java:36: error: cannot find symbol
	locations = os.getImportantLocations();
	              ^
  symbol:   method getImportantLocations()
  location: variable os of type OperatingSystem
/home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/popups/ImportantLocationsListModel.java:53: error: cannot find symbol
	locations = os.getImportantLocations();
	              ^
  symbol:   method getImportantLocations()
  location: variable os of type OperatingSystem
Note: /home/anri/luwrain-src/luwrain/src/main/java/org/luwrain/controls/CommanderArea.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
24 errors


Подробная информация о списке рассылки Homeros