Re: [proaudio] libffado-9999-r1.ebuild broken

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


O yes I see it:

you write:
        env.Append(CXXFLAGS = str(os.environ['CXXFLAGS'].replace('\"', '')))
and not
        env.Append(CXXFLAGS = str(os.environ['CXXFLAGS']).replace('\"', ''))
")" is mis placed!

But SCons.Util.CLVar may did it simple and besser (???)


Le 03/04/2014 22:03, Djip Perois a écrit :
> as you can see there left "" on CXXFLAGS...
> look you path don't completly work... can't find how to modifie your
> path to test something else...  like  (=> don't know if it work...)
>
> import SCons.Util
> if os.environ.has_key('CC'):
>     env['CC'] = os.environ['CC']
> if os.environ.has_key('CFLAGS'):
>     env['CFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
> if os.environ.has_key('CXX'):
>     env['CXX'] = os.environ['CXX']
> if os.environ.has_key('CXXFLAGS'):
>     env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
> if os.environ.has_key('LDFLAGS'):
>     env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
>
>
> juste to complete I use:
> CXXFLAGS="${CFLAGS}"
>
>
> Le 03/04/2014 21:20, Djip Perois a écrit :
>> the path now apply but there is errors left... seam to be related to
>> scons like yours...
>> I use:
>> CFLAGS="-march=native -O2 -pipe"
>>
>> so... same place you try to fixe last time...
>>
>> say me if you nead more trace I give you...
>>
>>>>> Emerging (1 of 2) media-libs/libffado-9999-r1::proaudio
>>>>> Unpacking source...
>>  * subversion update start -->
>>  *      repository: http://subversion.ffado.org/ffado/trunk/libffado
>> Updating '.':
>> At revision 2498.
>>  *    working copy: /usr/portage/distfiles/svn-src/libffado/libffado
>>
>>>>> Source unpacked in /var/tmp/portage/media-libs/libffado-9999-r1/work
>>>>> Preparing source in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999 ...
>>  * Applying various patches (bugfixes/updates) ...
>>  *   0001-honour-toolchain-env.patch
>> ...                                                                                                   
>> [ ok ]
>>  *   0003-remove-O2.patch
>> ...                                                                                                              
>> [ ok ]
>>  * Done with patching
>>  * Applying libffado-9999-no-jackd-version.patch
>> ...                                                                                       
>> [ ok ]
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/support/tools/ffado-sandbox-install.py
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/support/tools/listirqinfo.py
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/support/tools/SConscript
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/support/tools/ffado-diag.in
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/support/tools/ffado-diag-static
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/support/mixer-qt4/ffado-mixer.in
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/support/mixer-qt4/ffado-mixer-profiler.in
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/support/mixer-qt4/ffado/ffadowindow.py
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/support/mixer-qt4/SConscript
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/support/dbus/SConscript
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/doc/SConscript
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/tests/dbus_test.py
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/tests/python/test-echo-digital.py
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/tests/python/test-echo-routing.py
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/tests/python/test-eap-ctrl.py
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/admin/pyuic.py
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/admin/doxygen.py
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/admin/pyuic4.py
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/admin/dbus.py
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/admin/scanreplace.py
>>  * Fixing shebang in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999/admin/pkgconfig.py
>>>>> Source prepared.
>>>>> Configuring source in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999 ...
>>>>> Source configured.
>>>>> Compiling source in
>> /var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999 ...
>> scons -j9 PREFIX=/usr LIBDIR=/usr/lib64 MANDIR=/usr/share/man
>> UDEVDIR=/lib/udev/rules.d DEBUG=0 BUILD_TESTS=1 ENABLE_OPTIMIZATIONS=False
>> scons: Reading SConscript files ...
>> Checking for a working C-compiler yes
>> Checking for a working C++-compiler yes
>> Checking for pkg-config (at least version 0.0.0)... yes
>> Checking for jack >= 0.0.0... yes
>> Checking for jack < 1.9.0... no
>> Checking for jack >= 1.9.9... yes
>> Installed Jack Audio Connection Kit (JACK) supports FFADO setbuffersize API
>> Checking for libraw1394 (2.0.5 or higher)...     yes
>> Checking for libconfig++ (0 or higher)...     yes
>> Checking for libxml++-2.6 (2.13.0 or higher)...     yes
>> Checking for libiec61883 (1.1.0 or higher)...     yes
>> Checking for lrint(3.2) in C library m... yes
>> Checking for lrintf(3.2) in C library m... yes
>> Checking whether 'which pyuic4' executes yes
>> Checking for the python module 'dbus' yes
>> Checking for the python module 'PyQt4' yes
>> Checking for the python module 'dbus.mainloop.qt' yes
>> Checking whether 'xdg-desktop-menu --help' executes yes
>> Checking for dbus-1 (1.0 or higher)...     yes
>> Checking for dbus-c++-1 (0 or higher)...     yes
>> Checking for alsa (0 or higher)...     yes
>> Checking whether 'which dbusxx-xml2cpp' executes yes
>> Checking for variable session_bus_services_dir in package dbus-1...     yes
>> Trying to find the system triple: (cached) x86_64-unknown-linux-gnu
>> Detected DIST_TARGET = x86_64
>> objdump: /bin/mount: Permission denied
>> User space is 64-bit
>> Doing a 64-bit x86_64 build for Quad-Core AMD Opteron(tm) Processor 2389
>> Insufficient rights to install the system-wide dbus service file.
>> Please run the "scons install" command with higher authority.
>> scons: done reading SConscript files.
>> scons: Building targets ...
>> building 'config_debug.h' from 'config_debug.h.in'
>> building 'config.h' from 'config.h.in'
>> building 'libffado/ffado.h' from 'libffado/ffado.h.in'
>> building 'version.h' from 'version.h.in'
>> x86_64-pc-linux-gnu-g++ -o src/libavc/avc_definitions.os -c -m64
>> "-march=native -O2 -pipe" -fPIC -fPIC -DNDEBUG -DENABLE_BEBOB
>> -DENABLE_FIREWORKS -DENABLE_OXFORD -DENABLE_MOTU -DENABLE_DICE
>> -DENABLE_RME -DENABLE_GENERICAVC -I. -Isrc -I/usr/include/libxml++-2.6
>> -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
>> -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
>> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
>> -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include
>> src/libavc/avc_definitions.cpp
>> src/libavc/avc_definitions.cpp:1:0: error: bad value (native -O2 -pipe)
>> for -march= switch
>>  /*
>>  ^
>> x86_64-pc-linux-gnu-gcc -o src/libieee1394/csr1212.os -c -march=native
>> -O2 -pipe -fPIC -fPIC -DNDEBUG -DENABLE_BEBOB -DENABLE_FIREWORKS
>> -DENABLE_OXFORD -DENABLE_MOTU -DENABLE_DICE -DENABLE_RME
>> -DENABLE_GENERICAVC -I. -Isrc -I/usr/include/libxml++-2.6
>> -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
>> -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
>> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
>> -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include
>> src/libieee1394/csr1212.c
>> x86_64-pc-linux-gnu-gcc -o src/libstreaming/util/cip.os -c -march=native
>> -O2 -pipe -fPIC -fPIC -DNDEBUG -DENABLE_BEBOB -DENABLE_FIREWORKS
>> -DENABLE_OXFORD -DENABLE_MOTU -DENABLE_DICE -DENABLE_RME
>> -DENABLE_GENERICAVC -I. -Isrc -I/usr/include/libxml++-2.6
>> -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
>> -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
>> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
>> -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include
>> src/libstreaming/util/cip.c
>> x86_64-pc-linux-gnu-g++ -o src/libutil/DelayLockedLoop.os -c -m64
>> "-march=native -O2 -pipe" -fPIC -fPIC -DNDEBUG -DENABLE_BEBOB
>> -DENABLE_FIREWORKS -DENABLE_OXFORD -DENABLE_MOTU -DENABLE_DICE
>> -DENABLE_RME -DENABLE_GENERICAVC -I. -Isrc -I/usr/include/libxml++-2.6
>> -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
>> -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
>> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
>> -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include
>> src/libutil/DelayLockedLoop.cpp
>> src/libutil/DelayLockedLoop.cpp:1:0: error: bad value (native -O2 -pipe)
>> for -march= switch
>>  /*
>>  ^
>> x86_64-pc-linux-gnu-gcc -o src/libutil/ringbuffer.os -c -march=native
>> -O2 -pipe -fPIC -fPIC -DNDEBUG -DENABLE_BEBOB -DENABLE_FIREWORKS
>> -DENABLE_OXFORD -DENABLE_MOTU -DENABLE_DICE -DENABLE_RME
>> -DENABLE_GENERICAVC -I. -Isrc -I/usr/include/libxml++-2.6
>> -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
>> -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
>> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
>> -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include
>> src/libutil/ringbuffer.c
>> scons: *** [src/libavc/avc_definitions.os] Error 1
>> scons: *** [src/libutil/DelayLockedLoop.os] Error 1
>> scons: building terminated because of errors.
>>  * ERROR: media-libs/libffado-9999-r1::proaudio failed (compile phase):
>>  *   escons failed.
>>  *
>>  * Call stack:
>>  *     ebuild.sh, line   93:  Called src_compile
>>  *   environment, line 2758:  Called escons
>>  *   environment, line 1089:  Called die
>>  * The specific snippet of code:
>>  *       [[ ${ret} -ne 0 ]] && has "${EAPI:-0}" 4 5 && die "escons failed.";
>>  *
>>  * If you need support, post the output of `emerge --info
>> '=media-libs/libffado-9999-r1::proaudio'`,
>>  * the complete build log and the output of `emerge -pqv
>> '=media-libs/libffado-9999-r1::proaudio'`.
>>  * The complete build log is located at
>> '/var/tmp/portage/media-libs/libffado-9999-r1/temp/build.log'.
>>  * The ebuild environment file is located at
>> '/var/tmp/portage/media-libs/libffado-9999-r1/temp/environment'.
>>  * Working directory:
>> '/var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999'
>>  * S: '/var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999'
>>
>>>>> Failed to emerge media-libs/libffado-9999-r1, Log file:
>>>>>  '/var/tmp/portage/media-libs/libffado-9999-r1/temp/build.log'
>>  * Messages for package media-libs/libffado-9999-r1:
>>
>>  * ERROR: media-libs/libffado-9999-r1::proaudio failed (compile phase):
>>  *   escons failed.
>>  *
>>  * Call stack:
>>  *     ebuild.sh, line   93:  Called src_compile
>>  *   environment, line 2758:  Called escons
>>  *   environment, line 1089:  Called die
>>  * The specific snippet of code:
>>  *       [[ ${ret} -ne 0 ]] && has "${EAPI:-0}" 4 5 && die "escons failed.";
>>  *
>>  * If you need support, post the output of `emerge --info
>> '=media-libs/libffado-9999-r1::proaudio'`,
>>  * the complete build log and the output of `emerge -pqv
>> '=media-libs/libffado-9999-r1::proaudio'`.
>>  * The complete build log is located at
>> '/var/tmp/portage/media-libs/libffado-9999-r1/temp/build.log'.
>>  * The ebuild environment file is located at
>> '/var/tmp/portage/media-libs/libffado-9999-r1/temp/environment'.
>>  * Working directory:
>> '/var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999'
>>  * S: '/var/tmp/portage/media-libs/libffado-9999-r1/work/libffado-9999'
>>
>>
>> Le 02/04/2014 15:03, Dominique Michel a écrit :
>>> Le Sat, 25 Jan 2014 20:35:33 +1100,
>>> Allan Klinbail <sonofzev@xxxxxxxxxxxx> a écrit :
>>>
>>>> Hi All, 
>>>>
>>>> Just emailing to report that it seems that the libffado-9999-r1.ebuild
>>>> appears to be broken.. 
>>>>
>>>>
>>>> It won't compile from the ebuild, but if I do a manual install from
>>>> svn it's all good.. 
>>>>
>>>> Can't locate what the issue is though.. 
>>> Reviewing my old emails. It should be fixed. If the issue persist,
>>> please report the message you get with portage from the first error.
>>>
>>> Thanks,
>>> Dominique
>>>
>>>> cheers
>>>>
>>>> Allan 
>>>>
>>>>
>>>>
>>
>
>




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/