Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635874 - net-libs/serf-1.3.9 fails with dev-util/scons and Python 3: SyntaxError: invalid syntax
Summary: net-libs/serf-1.3.9 fails with dev-util/scons and Python 3: SyntaxError: inva...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: scons-python3
  Show dependency tree
 
Reported: 2017-10-30 09:13 UTC by Hendrik v. Raven
Modified: 2018-10-08 14:30 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (1509354282-install-net-libs_serf-1.3.9:1::gentoo.out,4.38 KB, application/octet-stream)
2017-10-30 09:13 UTC, Hendrik v. Raven
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik v. Raven 2017-10-30 09:13:28 UTC
Created attachment 500968 [details]
build log

Build of serf fails with a syntax error from scons when using the latest scons-3.0.0

scons -j8 PREFIX=/usr LIBDIR=/usr/lib64 APR=SYSROOT='' /usr/bin/apr-1-config APU=SYSROOT='' /usr/bin/apu-1-config BUILD_STATIC=no AR=x86_64-pc-linux-gnu-ar RANLIB=x86_64-pc-linux-gnu-ranlib CC=x86_64-pc-linux-gnu-gcc CPPFLAGS= CFLAGS=-O2 -pipe -march=sandybridge -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-mwaitx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=sandybridge -ggdb LINKFLAGS=-Wl,-O1 -Wl,--as-needed
scons: Reading SConscript files ...
  File "/var/tmp/paludis/net-libs-serf-1.3.9/work/serf-1.3.9/SConstruct", line 189

    print 'Warning: Used unknown variables:', ', '.join(unknown.keys())

                                           ^

SyntaxError: invalid syntax
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-11-04 13:13:51 UTC
Non-maintainer major version bump = you get to keep the pieces.
Comment 2 Conrad Kostecki gentoo-dev 2017-11-12 18:55:31 UTC
Same problem here.

Is this the upstream bugreport?
-> https://issues.apache.org/jira/browse/SERF-187

At least, the patch does not work for me.
Comment 3 Mykyta Holubakha 2018-01-20 02:26:16 UTC
Submitted relevant PR:

https://github.com/gentoo/gentoo/pull/6908
Comment 4 Pacho Ramos gentoo-dev 2018-10-08 14:30:15 UTC
please test again with fixed scons-3.0.1-r100