From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OAdmHsomOmDhVQAA0tVLHw (envelope-from ) for ; Sat, 27 Feb 2021 11:02:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cOQnGsomOmBkRwAAB5/wlQ (envelope-from ) for ; Sat, 27 Feb 2021 11:02:34 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 84B7324105 for ; Sat, 27 Feb 2021 12:02:33 +0100 (CET) Received: from localhost ([::1]:33584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFxMm-0006zw-LV for larch@yhetil.org; Sat, 27 Feb 2021 06:02:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFxKg-00069f-OL for help-guix@gnu.org; Sat, 27 Feb 2021 06:00:22 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:52811) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lFxKe-0005jn-DF for help-guix@gnu.org; Sat, 27 Feb 2021 06:00:22 -0500 Received: by mail-wm1-x32f.google.com with SMTP id p3so9360351wmc.2 for ; Sat, 27 Feb 2021 03:00:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20150623.gappssmtp.com; s=20150623; h=user-agent:from:to:subject:date:message-id:mime-version; bh=x2fcrzHQPKNivXedqSxv9enJMlh/Y52YWJxvte3l+Hw=; b=yan62+DEh5ppOFEph+jC3QA1b5jJlpP7AmsRm66qr9d39px5vtLuyxm+1TidH0qxx4 dpLIo4U23x+EHIgBFuRMrc51s3G76MhzuyuGCC8YWpQzsN1+AGyEUhG6DQnE1QKUQnBL b6DNe3/O4LkON3doalWTQNZBADRoMW0yQApN8W7X0bYbsMJ609zEIypp/JidM+1kQICp 3zuL3DxxLA6M600+siC9eSjegrSk9Hj5lIy9FEU1/x7wbN8HlN6EvdGLUdWNoHisEMGZ +S0pfsyvyRgg1S7dF1jmBYqCy/VIMt+XmBRC0ZFiBjhU4Uuwr7iD3OcyWayIURRMLehz vcPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=x2fcrzHQPKNivXedqSxv9enJMlh/Y52YWJxvte3l+Hw=; b=Ok2dIQbraLVd0wG8DjeHyixVjJYlFchyh/Nhnjd7M1hT9DQAbnfIWaY6ZOpiBvEfoV x5koka0wvHuzIuknL+9e8WbCcelLF+LZPiYYB342PxM3NtEjGW3Ad7+IY8OhjROX+48e pvNXVZUKA+tK2KBmMJKmJvsMwm08ruQeFau1Ti1v9BnVd38GLVRCQLhpu7d5zbrTOaiy XByDsmDgFHXnBmkMcPmQBQ8goOR3novwzyUzrh+g/TvGj3SC/JWtd7NO76vuD/8klRjS is3dJ0g4JJIaT0XD9BEMzcQMj/jEHueJMeWz1080HqRMG2V1anWzpp2ojBQy9U8FNoaQ DjNg== X-Gm-Message-State: AOAM531bsabaJgF//ls5ssEZcTIS3QTi0JKhgLoMQZwictNVaZeMTnlS r0fQgpExCbYrjceExpHAbyEiXLv+SFYyT2EPAHg= X-Google-Smtp-Source: ABdhPJxraON8J33PX/UMc+oFD4NeaF/ypy8Vwjwy27DNZmL4Pvfbq6my2VSlOedhDJhHZ4nD77JRsA== X-Received: by 2002:a7b:c5c7:: with SMTP id n7mr6879922wmk.63.1614423617547; Sat, 27 Feb 2021 03:00:17 -0800 (PST) Received: from phil-XPS-13-9360 (host-78-147-225-8.as13285.net. [78.147.225.8]) by smtp.gmail.com with ESMTPSA id o14sm16205644wri.48.2021.02.27.03.00.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 27 Feb 2021 03:00:16 -0800 (PST) User-agent: mu4e 1.2.0; emacs 26.3 From: Phil To: help-guix@gnu.org Subject: javadoc not in jdk? Date: Sat, 27 Feb 2021 11:00:15 +0000 Message-ID: <85zgzpn5c0.fsf@beadling.co.uk> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2a00:1450:4864:20::32f; envelope-from=phil@beadling.co.uk; helo=mail-wm1-x32f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614423754; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=x2fcrzHQPKNivXedqSxv9enJMlh/Y52YWJxvte3l+Hw=; b=Kvufwn5Y07FPwYJemqfPbyKGsHlq90VCaj2SbznfEWWGyihgb1DhCsaATodCrjGpS6zhSF x/LDL/m9KKLRupom97Gkjhzs6m2wZgoJmFeHfkpZwxpUdInGD0ypp3a3i1Hdk3Lgjk9/m+ tmH+tmhNambiGk5eJIwTXFHafkm19svCfxq1fustEPq8fr6MTMoTGJZkULjeBrhA+mx/Da +p5n+2U9T2NIa3G7XnAbKvHoT+gfgtJl/JjP2pBZz+tWN+xKTOfwJCztmPAQ7j27Y2pxTB X2e1NkTjlZ+3W9E+YNJmN5bjJ7k9u0YtD37FVaXs+CAdKYuMvvJAZu2jNj6Y5w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614423754; a=rsa-sha256; cv=none; b=XxkPl+Xm2kRraZFi7o4dVxdT4LIX+9zTTrgnmlTU27nKh9NBAZRaEklOHH/9+BXBbtMApz t9BL0VIw7Rq5WqahnTSZN4pL2zxGGp2UXOBZdMQGHeOV7t8R2EZF03i8IMDZE1M1OVyGWQ ko41Gknh6o180xOqKaGEWEOMFEulL4xJMkda0aDF3fbK48iH6mLMETw+HzOarCN84GHtAa jOQDfDWMb7eVsvP6uDj0dgCck0IysEvF0hdJO9gFOwH3pGiZAJQo/0k1XRpdeGfncw9k7Z f6i1VEk0gwYzYax/3NaWqhgG4AdzGxH7Rx2XLdA0bZlIVt30cqm3YUxhNbQW6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=yan62+DE; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.07 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=yan62+DE; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 84B7324105 X-Spam-Score: -0.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: o/GmcBz73qVR Hi all, I'm trying to create a package for python-jcc: https://pypi.org/project/JCC/ I've overcome a few hurdles, but am now stuck on a seemingly simple question. javadoc doesn't appear to be part of the openjdk or icedtea packages (I think this unusual?). Could anyone suggest the canonical way to get javadoc installed on Guix? For context my draft attempt at packaging JCC with build error below. I know it finds the correct JDK location because it passes the find JDK test. Also I can show at the command line that javadoc doesn't exist by using -K to keep the build and setting the 'environment_variables' script in /tmp. Finally installing openjdk or icedtea into a profile has no javadoc accessible on the profile PATH. Any ideas? Thanks, Phil. (define-public python-jcc (package (name "python-jcc") (version "3.8") (source (origin (method url-fetch) (uri (pypi-uri "JCC" version)) (sha256 (base32 "1wbyd2srj89116j0d7dnkw8ricli8r1h2pr7nj1kq97miwdh6l96")))) (build-system python-build-system) (native-inputs `(("openjdk" ,openjdk14))) (arguments `(#:phases (modify-phases %standard-phases (add-before 'build 'set-JCC_JDK ;; should find this programatically? (lambda _ (setenv "JCC_JDK" "/gnu/store/s2w6bfrc3nqghpqpcryz4l5h86gsvqvz-openjdk-14.0") #t))))) (home-page "https://lucene.apache.org/pylucene/jcc/index.html") (synopsis "a C++ code generator for calling Java from C++/Python") (description "a C++ code generator for calling Java from C++/Python") (license #f))) starting phase `set-JCC_JDK' phase `set-JCC_JDK' succeeded after 0.0 seconds starting phase `build' running "python setup.py" with command "build" and parameters () Applied shared mode monkeypatch to: Traceback (most recent call last): File "setup.py", line 413, in main process = Popen(args, stderr=PIPE) File "/gnu/store/q9rm8h9imazsq2c4qiv2yjpvlvliywqb-python-3.8.2/lib/python3.8/subprocess.py", line 854, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/gnu/store/q9rm8h9imazsq2c4qiv2yjpvlvliywqb-python-3.8.2/lib/python3.8/subprocess.py", line 1702, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'javadoc' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "", line 1, in File "setup.py", line 461, in main('--debug' in sys.argv) File "setup.py", line 415, in main raise sys.exc_info()[0]("%s: %s" %(sys.exc_info()[1], args)) FileNotFoundError: [Errno 2] No such file or directory: 'javadoc': ['javadoc', '-d', 'javadoc', '-sourcepath', 'java', 'org.apache.jcc'] command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build" failed with status 1 builder for `/gnu/store/hshh3jkfdzv1lv8yqvvb4gbxza7ygv46-python-jcc-3.8.drv' failed with exit code 1 build of /gnu/store/hshh3jkfdzv1lv8yqvvb4gbxza7ygv46-python-jcc-3.8.drv failed