Package Details: yacy 1.924-3

Git Clone URL: https://aur.archlinux.org/yacy.git (read-only, click to copy)
Package Base: yacy
Description: Peer to peer search engine
Upstream URL: http://www.yacy.net/
Licenses: GPL2
Submitter: flori
Maintainer: funilrys
Last Packager: funilrys
Votes: 89
Popularity: 0.013222
First Submitted: 2007-02-06 17:59 (UTC)
Last Updated: 2021-09-13 20:35 (UTC)

Dependencies (2)

Required by (2)

Sources (3)

Latest Comments

HLFH commented on 2020-06-23 14:57 (UTC)

In /opt/yacy/yacy, please update JAVA_ARGS to:

JAVA_ARGS="-server -Xss256k -XX:ReservedCodeCacheSize=1024m -XX:-UseGCOverheadLimit -XX:+UseAdaptiveSizePolicy -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dfile.encoding=UTF-8"

myops commented on 2019-12-01 13:58 (UTC)

apache-ant.sh doesn't exist any more. Depends on jdk-openjdk because of tools.jar (seems that the ant package gets its dependencies wrong with that). Depends on jdk8-openjdk because of Unrecognized VM option 'CMSIncrementalMode'. Please update the PKGBUILD.

lodopidolo commented on 2019-07-28 06:25 (UTC)

Referent to comment of k2s (2018-08-19 09:35):

to fix Unrecognized VM option 'CMSIncrementalMode' simply edit /opt/yacy/yacy and remove CMSIncrementalMode from start arguments.

Living commented on 2018-12-20 11:24 (UTC)

makepkg does not work: File /etc/profile.d/apache-ant.sh cannot be found (line 27 in PKGBUILD). I have ant installed on my system. After deleting the line, it compiles fine.

k2s commented on 2018-08-19 07:35 (UTC)

to fix Unrecognized VM option 'CMSIncrementalMode' simply edit /etc/yacy/yacy and remove CMSIncrementalMode from start arguments.

DoMiNeLa10 commented on 2018-06-06 17:33 (UTC) (edited on 2018-06-06 17:34 (UTC) by DoMiNeLa10)

The wrapper script fails with jre10-openjdk because of deprecated java flags.

Relevant installed Java packages:

local/java-environment-common 3-1
    Common files for Java Development Kits
local/java-runtime-common 3-1
    Common files for Java Runtime Environments
local/jdk10-openjdk 10.0.1.u10-1
    OpenJDK Java 10 development kit
local/jre10-openjdk 10.0.1.u10-1
    OpenJDK Java 10 full runtime environment
local/jre10-openjdk-headless 10.0.1.u10-1
    OpenJDK Java 10 headless runtime environment

Systemd unit log:

Jun 06 19:12:26 host systemd[1]: Started YaCy P2P Web Search.
Jun 06 19:12:26 host yacy[9308]: Starting YaCy Daemon
Jun 06 19:12:26 host yacy[9308]: OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
Jun 06 19:12:26 host yacy[9308]: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Jun 06 19:12:26 host yacy[9308]: Unrecognized VM option 'CMSIncrementalMode'
Jun 06 19:12:26 host yacy[9308]: Error: Could not create the Java Virtual Machine.
Jun 06 19:12:26 host yacy[9308]: Error: A fatal exception has occurred. Program will exit.
Jun 06 19:12:26 host systemd[1]: yacy.service: Main process exited, code=exited, status=1/FAILURE
Jun 06 19:12:26 host systemd[1]: yacy.service: Failed with result 'exit-code'.

Self-Perfection commented on 2017-08-16 18:40 (UTC)

For now you can open http://127.0.0.1:8090/ConfigProperties_p.html and set browserPopUpTrigger:false as a workaround. But I believe *.service file should override this option somehow and disable browser start for daemon process. But is seems currently there is no way to achieve this. I've created bugreport in upstream regarding this issue https://github.com/yacy/yacy_search_server/issues/125

Self-Perfection commented on 2017-08-16 17:04 (UTC)

Looks like YaCy tries to launch web browser on start and may succeed even when starting as systemd controlled daemon if there is installed cli browser: $ COLUMNS=80 systemd-cgls --no-pager --unit yacy.service Unit yacy.service (/system.slice/yacy.service): ├─30858 /bin/sh /opt/yacy/yacy start ├─30876 /usr/sbin/java -Xms1024m -Xmx1024m -server -Xss256k -XX:MaxPermSize=2... ├─31004 /bin/sh /usr/sbin/xdg-open http://localhost:8090/index.html └─31033 lynx http://localhost:8090/index.html Too bad no one sees this running lynx :-D Running useless process is definitely a bug, though I have not figured whether it upstream or packaging bug.

funilrys commented on 2017-06-28 20:43 (UTC)

@noogar I really can't explain your problem with the service ... I reinstalled using `pacaur -S yacy` and didn't have such problem ... In between, the warning are normal !

raspher commented on 2017-04-07 12:10 (UTC) (edited on 2017-04-07 12:13 (UTC) by raspher)

maybe updated, but after reinstallation (cos want fresh configs, old has crashed for unknown reason) it do not ask what java version i want use to, and there IS NO SERVICE named yacy (eg. yacy.service) look at build log https://pastebin.com/dV8kZJhe removing all dependencies and build again does not fix it, maybe some files exist of old yacy instance?

funilrys commented on 2017-02-07 11:34 (UTC)

Updated ! For fast contact : https://gitter.im/funilrys_/PKGBUILD https://gitter.im/funilrys_/yacy

GI_Jack commented on 2016-10-18 22:08 (UTC) (edited on 2016-10-18 22:08 (UTC) by GI_Jack)

PKGBUILD for 1.90 http://pastebin.com/L90C8t43

flacks commented on 2016-09-10 06:25 (UTC)

Version 1.90 is the latest version as of this writing.

ale1ster commented on 2016-01-30 14:52 (UTC)

I think it's the second hash that is not correct ('7cf5...'). For me it worked by deleting it from the PKGBUIlD and continuing the build...

GI_Jack commented on 2015-11-19 15:44 (UTC) (edited on 2015-11-19 15:46 (UTC) by GI_Jack)

==> ERROR: Integrity checks (sha512) differ in size from the source array. The problem seems to be there are 4 hashes and 3 files. The first three hashes are correct, delete the last hash and it works.

whoami commented on 2015-09-09 13:32 (UTC)

==> Retrieving sources... -> Downloading yacy_v1.82_20150121_9000.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 40.9M 100 40.9M 0 0 1512k 0 0:00:27 0:00:27 --:--:-- 1679k -> Found yacy.sh -> Found yacy.service ==> ERROR: Integrity checks (sha512) differ in size from the source array. ==> ERROR: Makepkg was unable to build yacy. ==> Restart building yacy ? [y/N] ==> ----------------------------- ==>

lowfatcomputing commented on 2015-02-18 17:11 (UTC)

Package updated to 1.82. Should work with http://localhost:8090

t-ask commented on 2015-02-18 16:44 (UTC)

Hi, we are art version 1.82 right now. Any update? Do we need the libcups, sudo and especially xorg-server here? It feels quite odd having to install xorg-server on a pure cli server.

asdofindia commented on 2015-01-01 13:03 (UTC)

The error mentioned by @NightmareMoon this.timeout = this.starttime + this.timeout still exists. The code has been updated on the yacy gitorious source.

ryansito commented on 2014-12-12 14:50 (UTC)

Can't acces yacy web interface via localhost:8090 or any other port, of course yacy service already started. What am I missing?

NightmareMoon commented on 2014-12-03 21:21 (UTC)

I got an error: yacy_1.80-1/yacy/src/yacy/source/net/yacy/search/query/QueryParams.java:216: error: variable timeout might not have been initialized this.timeout = this.starttime + this.timeout; I changed it to: this.timeout = this.starttime + this.maxtime;

lowfatcomputing commented on 2014-09-11 21:10 (UTC)

@GI_Jack, I cannot reproduce your errors. Sounds like you have a misconfigured java installation or a circular symlink: http://www.reddit.com/r/archlinux/comments/2fhh5g/java_too_many_levels_of_symbolic_links/ http://unix.stackexchange.com/questions/141436/too-many-levels-of-symbolic-links

GI_Jack commented on 2014-09-10 19:45 (UTC)

==> Starting build()... /usr/bin/java: line 2: /usr/lib/jvm/default/bin/java: Too many levels of symbolic links /usr/bin/java: line 2: exec: /usr/lib/jvm/default/bin/java: cannot execute: Too many levels of symbolic links

danwood76 commented on 2014-08-22 10:26 (UTC)

"PKGBUILD: line 28: /etc/profile.d/openjdk6.sh: No such file or directory" According to the Arch java wiki "/etc/profile.d/jdk.sh" is no longer provided by any package. Commenting out line 28 and the package builds fine and yacy functions correctly

strugee commented on 2014-06-13 00:56 (UTC)

t.ask: instead of commenting on the package, just flag it out-of-date.

t-ask commented on 2014-05-14 10:47 (UTC)

Please update this package to 1.72

lowfatcomputing commented on 2014-04-08 20:54 (UTC)

Updated to 1.7. @Ozymandias, I've kept the TLD as .net for now as it seems to be working again.

Ozymandias commented on 2014-04-01 00:39 (UTC)

The yacy.net URL is defunct. replace all mentions of .net with .de and the package will build

sysfu commented on 2013-10-27 20:44 (UTC)

FYI, it seems that in place upgrades via the Yacy web administration => "download system update" fail consistently. https://privatepaste.com/dd537bcb0d

rectec commented on 2013-07-29 03:51 (UTC)

YaCy 1.6 is out. https://gitorious.org/yacy/rc1/commit/743e4878a8ec04056eaf571e094ffe8795697658 https://twitter.com/yacy_search/status/361411814346600448

rectec commented on 2013-07-11 17:54 (UTC)

Thanks for updating this!

rectec commented on 2013-07-11 17:47 (UTC)

@desperat Check the permissions of your YaCy data folder (/var/lib/yacy), make sure both the user and group are set to "yacy" and give them rw permissions.

desperat commented on 2013-06-25 19:49 (UTC)

systemctl status yacy yacy.service - YaCy P2P Web Search Loaded: loaded (/usr/lib/systemd/system/yacy.service; disabled) Active: failed (Result: exit-code) since wto 2013-06-25 21:38:36 CEST; 3min 10s ago Process: 4088 ExecStop=/opt/yacy/yacy stop (code=exited, status=255) Process: 4053 ExecStart=/opt/yacy/yacy start (code=exited, status=255) cze 25 21:38:35 yo yacy[4053]: at net.yacy.yacy.startup(yacy.java:225) cze 25 21:38:35 yo yacy[4053]: at net.yacy.yacy.main(yacy.java:655) cze 25 21:38:35 yo systemd[1]: yacy.service: main process exited, code=exited, status=255/n/a cze 25 21:38:35 yo yacy[4088]: OpenJDK Server VM warning: disabling UseAdaptiveSizePolicy; it is i...epGC. cze 25 21:38:36 yo yacy[4088]: [ YaCy v1.4, build 20130625 by Michael Christen / www.yacy.net ] cze 25 21:38:36 yo yacy[4088]: -------------------------------------------------------------------...----- cze 25 21:38:36 yo yacy[4088]: cze 25, 2013 9:38:36 PM net.yacy.kelondro.logging.Log$logRunner run cze 25 21:38:36 yo yacy[4088]: SEVERE: could not find configuration file. cze 25 21:38:36 yo systemd[1]: yacy.service: control process exited, code=exited status=255 cze 25 21:38:36 yo systemd[1]: Unit yacy.service entered failed state. Can u help?

BlackLotus89 commented on 2013-06-23 15:45 (UTC)

xorg-server should be an optional dep

desperat commented on 2013-06-17 17:30 (UTC)

SEVERE: could not find configuration file. Any idea?

lowfatcomputing commented on 2013-06-13 01:39 (UTC)

Thanks C5OK5Y and silvernode, package updated.

smp commented on 2013-06-12 18:50 (UTC)

There is an error in the install file which prevents the creation of user yacy. On line 5: /usr/sbin/useradd --comment 'YaCy P2P Searchengine' --system --user-group --home '/usr/share/yacy/' -s /bin/false yacy should be: /usr/sbin/useradd --comment 'YaCy P2P Searchengine' --system -g yacy --home '/usr/share/yacy/' -s /bin/false yacy Notice the replacement of `--user-group' with `-g yacy'. See the man page of useradd for details.

silvernode commented on 2013-06-12 06:52 (UTC)

chown: invalid user: ‘yacy:yacy’

ChALkeR commented on 2013-04-01 07:43 (UTC)

md5sum for yacy_v1.4_20130315_9000.tar.gz is 67da3e78bef4430357d1d007951c3470. pkgver=1.4 _pkgextraver=20130315_9000 md5sums=('67da3e78bef4430357d1d007951c3470' '915495273780379b77e5bcdc11377a73' '17e4cbec1716dd20938b2511065be135' '961b39e230795ae0c42cfa25568418b8')

lowfatcomputing commented on 2013-03-09 14:58 (UTC)

I just removed the chown line.

sysfu commented on 2013-03-09 02:13 (UTC)

Build runs until the very end when there's an error running the chown yacy:root command. Determined cause to be lack of yacy user account on system. Please edit PKGBUILD to address error. --- tail end of makepkg output ----- BUILD SUCCESSFUL Total time: 6 seconds chown: invalid user: âyacy:rootâ ==> ERROR: A failure occurred in package(). Aborting...

lowfatcomputing commented on 2013-03-01 03:25 (UTC)

I have ported the init to systemd and it seems to work fine. I will see how I can polish it another night.

sysfu commented on 2013-03-01 01:32 (UTC)

2nd the systemd service file request. Took a look at the /etc/rc.d/yacy script but at first glance seems far from trivial to convert to systemd.

FalsePerspective commented on 2012-12-29 21:44 (UTC)

Could you please move from init scripts to systemd? Thanks!

paladin commented on 2012-07-24 22:00 (UTC)

please add packages "xorg-server" and "libcups" to dependecies... displaying images is not working without them.

commented on 2012-03-11 00:36 (UTC)

I think yacy 1.02 is out, this is offering yacy 1.01-1?

commented on 2012-03-11 00:28 (UTC)

try this: http://www.yacy-websuche.de/wiki/index.php/En:DebianInstall Its for debian but the latter half of the page should help you start.

commented on 2012-03-01 01:14 (UTC)

Hello I have installed the package, but I don't know how to launch the app. I am using KDE 4.8 and I don't see any icon related to in any where. How can I launch it through the terminal? Thanks in advance

tredaelli commented on 2011-12-17 10:15 (UTC)

it's compatible with openjdk, but you need to install jdk7-openjdk because you need it to compile the package

hanckmann commented on 2011-12-17 07:59 (UTC)

:: jre7-openjdk and jre are in conflict (java-runtime). Remove jre? [y/N] error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) :: jre7-openjdk and jre are in conflict (java-runtime) For some other package i need the official Sun/Oracle Java packages. This package is not compatible. Is there a specific reason for this? If not, can the package be updated such that it can also use the standard Sun/Oracle Java package?

tredaelli commented on 2011-12-15 23:48 (UTC)

The problem was the locales, theirs source codes are written in UTF-8 so the compilation used to fail with a non-unicode locale. I patched build.xml to enforce UTF-8 encoding and it should work.

ricochet1k commented on 2011-12-15 22:12 (UTC)

I get many errors like the following, and I can't seem to find a solution: [javac] /tmp/yaourt-tmp-matt/aur-yacy/src/yacy/source/de/anomic/data/ymark/YMarkCrawlStart.java:2: unmappable character for encoding ASCII [javac] // (C) 2011 by Stefan F??rster, sof@gmx.de, Norderstedt, Germany [javac] ^

vasily commented on 2011-12-01 08:38 (UTC)

m4 is in base-devel group. It does not have to be listed as a dependency.

tredaelli commented on 2011-11-30 21:05 (UTC)

I put the ". /etc/profile.d/apache-ant.sh" in the PKGBUILD. Thanks

fast_rizwaan commented on 2011-11-30 19:56 (UTC)

run this for ant: command not found: . /etc/profile.d/apache-ant.sh

leafonsword commented on 2011-11-29 11:14 (UTC)

求更新至1.0

flori commented on 2011-05-12 16:01 (UTC)

Patches aren't necessary anymore, new PKGBUILD: pkgname=yacy pkgver=0.99 pkgrel=2 pkgdesc="Peer to peer search engine" arch=(i686 x86_64) url="http://www.yacy.net/" license="GPL" depends=('java-runtime' 'sudo') makedepends=('apache-ant' 'java-environment' 'm4') install=yacy.install source=(http://www.yacy.net/release/yacy_v0.99_20110221_7509.tar.gz) md5sums=('882f31538663195158e9987dcad6aae4') build() { cd $startdir/src/yacy/ ant all installonlinux -DDESTDIR=$startdir/pkg || return 1 mkdir -p $startdir/pkg/usr/share/java/yacy/ cp lib/*.jar $startdir/pkg/usr/share/java/yacy/ mkdir -p $startdir/pkg/etc/rc.d m4 -DArchLinux $startdir/src/yacy/addon/yacyInit.m4 >yacy.init || return 1 install -Dm755 yacy.init $startdir/pkg/etc/rc.d/yacy } Please change the port in yacy.install from 8080 to 8090

FalsePerspective commented on 2011-01-07 17:50 (UTC)

Is someone going to update this? It's been more than half a year since corvus' out of date flag.

commented on 2010-05-10 02:03 (UTC)

flori ya es hora de que actualices el paquete flori it is time to update the package