Package Details: python2-scons 3.1.2-2

Git Clone URL: https://aur.archlinux.org/python2-scons.git (read-only, click to copy)
Package Base: python2-scons
Description: Extensible Python-based build utility. Python2 version
Upstream URL: https://scons.org
Licenses: MIT
Submitter: bartus
Maintainer: bartus
Last Packager: bartus
Votes: 2
Popularity: 0.000000
First Submitted: 2019-08-06 22:27 (UTC)
Last Updated: 2021-04-11 08:17 (UTC)

Pinned Comments

bartus commented on 2022-03-14 10:36 (UTC)

Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post

bartus commented on 2019-08-10 14:54 (UTC) (edited on 2020-07-22 15:57 (UTC) by bartus)

Disclaimers!!
This package is also hosted on GitHub.

Latest Comments

MarsSeed commented on 2022-06-30 11:21 (UTC)

FYI, Arch Python guidelines suggest not to use python- / python2- prefix if a package is for an application and if that application is not a core part of the Python ecosystem like python-pip or python-tox.

So that recommendation favors the name to be scons2, in my understanding.

The merger would lessen the 'double' maintenance burden while still satisfying all current dependents of this package (via scons2's virtual provides).

So I am proposing to you, based on these points I've brought up, to consider allowing this package to be merged to scons2.

MarsSeed commented on 2022-06-30 11:02 (UTC)

Hi,

There is a duplicate of this package, scons2. What would you consider to be the best way to address that?

I see that in general you tend to your packages well and keep them in working order. Though now this package is broken due to external reasons (Arch has dropped EOL Python 2 packages last year, including python2-virtualenv which is used in check() here).

As scons2 virtually also provides python2-scons, anything that depends on this one will work with that one as well.

That package has recently been updated to allow it to build (again, Arch repo related changes necessitated that).

I think that at this point it would be better to merge this package to that one. You also might coordinate with its maintainer, @sbmomeni, about possibly maintaining the same package together - if you both would like to do so, that is.

I would like to seek your opinion regarding this matter, and about what your recommendation would be going forward.

bartus commented on 2022-03-14 10:36 (UTC)

Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post

xantares commented on 2020-05-17 11:53 (UTC)

please add "java-runtime>=9" to makedepends

bartus commented on 2019-10-21 19:06 (UTC)

@ValHue: This issue was already resolved on GitHub

If you'd supplied whole error log I'd point you to this solution straight forward :)

This issue should be addressed in arch/fop bug tracker.

MickeyRat commented on 2019-10-21 17:59 (UTC)

Thanks ValHue! That did it for me too. Perhaps a check can be added to the package.

ValHue commented on 2019-10-21 16:18 (UTC)

Finally I solved it by changing the java version of my system. I need all three versions because I use some other program that only works with one of them

sudo archlinux-java status
Available Java environments:
  java-11-openjdk
  java-13-openjdk (default)
  java-8-openjdk 

With java-11-openjdk I have not tried. With Java 8 I was given the error, but now with version 13 I was able to compile the package without problems.

;)

MickeyRat commented on 2019-10-21 14:28 (UTC)

I have the same problem as ValHue. fop is there and appears to be working. I tried using a makepkg.conf without the docs option and with the !docs option and still got the same error. So maybe I don't know how to turn off docs.

However the build/doc/design/scons-design/index.html file is empty. That may be the problem.

bartus commented on 2019-10-19 11:05 (UTC)

@ValHue: pdfs are build with fop, check if it's working, or disable docs.

ValHue commented on 2019-10-19 10:46 (UTC)

Building error:

Initiating build ()...
/usr/sbin/python /tmp/makepkg/python2-scons/src/scons-3.1.1/bootstrap/src/script/scons.py SConstruct doc
scons: Reading SConscript files ...
Validating files against SCons XSD...
OK
Checking whether all example names are unique...
OK
.
.
.
.
scons: *** [scons-design.pdf] Error 1
scons: building terminated because of errors.
scons: *** [build/doc/design/scons-design/index.html] Error 2
scons: building terminated because of errors
= = > ERROR: Build () error occurred.
Cancelling.

Any idea?

bartus commented on 2019-09-06 18:27 (UTC)

@xantares: done.

xantares commented on 2019-09-02 16:22 (UTC)

please update makedepends vs community package: https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/scons&id=4d218273d56ebdb133d1ec8bfe5a59e291bb0201

bartus commented on 2019-08-21 21:32 (UTC) (edited on 2019-08-21 21:32 (UTC) by bartus)

@ectospasm: mongodb build find here, it must be something in your system configuration. Have you tried build mongodb in clean chroot?

ectospasm commented on 2019-08-19 22:12 (UTC) (edited on 2019-08-19 22:19 (UTC) by ectospasm)

I get the following when trying to build mongodb, which now depends on python2-scons:

python2-scons ==>; Starting build()...
Traceback (most recent call last):
  File "/usr/bin/scons2", line 204, in <module>;
    SCons.Script.main()
AttributeError: 'module' object has no attribute 'main'
==>; ERROR: A failure occurred in build().
Aborting...

I've also reported this on the mongodb AUR page.

bartus commented on 2019-08-10 16:56 (UTC) (edited on 2019-08-10 16:59 (UTC) by bartus)

@jamespharvey20: thanks for the tip.

I've pushed the PKGBUILD GitHub, next time you could post PR with a patch, I even gave it a Travis check ;)

bartus commented on 2019-08-10 14:54 (UTC) (edited on 2020-07-22 15:57 (UTC) by bartus)

Disclaimers!!
This package is also hosted on GitHub.

jamespharvey20 commented on 2019-08-10 03:02 (UTC)

This patch fixes the conflict:

diff --git a/PKGBUILD b/PKGBUILD
index [`e1ab598`](https://aur.archlinux.org/cgit/aur.git/commit/?h=python2-scons&id=e1ab598)..4671187 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -78,9 +78,9 @@ package() {
                            --standard-lib \
                            --install-data=/usr/share \
                            --root="$pkgdir"
-  install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${_pkgbase}/"
+  install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}/"
   install -vDm 644 {CHANGES,README,RELEASE}.txt \
-    -t "${pkgdir}/usr/share/doc/${_pkgbase}/"
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
   # removing Windows only script
   rm -vf "${pkgdir}/usr/bin/scons"*.bat
   # moving files so scons and python2-scons don't conflict

rouhannb commented on 2019-08-09 21:37 (UTC)

The files in /usr/share/ (aside from /usr/share/man, you seem to have taken care of those) conflict with scons.