Bug 168799 - math/cantor 4.8.3_1 package creation fails
Summary: math/cantor 4.8.3_1 package creation fails
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-07 13:10 UTC by bartsch
Modified: 2012-09-02 11:50 UTC (History)
0 users

See Also:


Attachments
patch-CMakeLists.txt (711 bytes, patch)
2012-06-16 11:53 UTC, Martin Birgmeier
no flags Details | Diff
patch-src-backends-CMakeLists.txt (371 bytes, patch)
2012-06-16 11:53 UTC, Martin Birgmeier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description bartsch 2012-06-07 13:10:11 UTC
package creation of cantor-4.8.3_1 fails due to missing files.

Output of pkg_info -g:

Information for cantor-4.8.3_1:

Mismatched Checksums:
pkg_info: /usr/local/kde4/lib/kde4/cantor_kalgebrabackend.so doesn't exist
pkg_info: /usr/local/kde4/share/kde4/services/cantor/kalgebrabackend.desktop doesn't exist

How-To-Repeat: cd /usr/ports/math/cantor
portmaster -g .
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2012-06-08 13:43:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kde

Over to maintainers
Comment 2 Max Brazhnikov freebsd_committer freebsd_triage 2012-06-08 17:07:29 UTC
State Changed
From-To: open->feedback

Did you follow UPDATING notes for KDE SC 4.8.3? Please rebuild 
math/analitza and then build cantor.
Comment 3 bartsch 2012-06-11 09:35:11 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thank you for looking into this.
Yes, IMHO I did follow /usr/ports/UPDATING.
Sorry, but rebuilding math/analitza and then math/cantor did not
change anything for me.
- -- 
Regards
Alfred Bartsch
Data-Service GmbH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/Vrb8ACgkQ5QGe2JdVf3gvsgCfbzDz2CGPstSBNeu/UkDEPywE
h0AAnApMtlQdqOKWxIrap5L3f3mQpHwp
=Ib6Y
-----END PGP SIGNATURE-----
Comment 4 Max Brazhnikov freebsd_committer freebsd_triage 2012-06-12 14:16:05 UTC
>  Yes, IMHO I did follow /usr/ports/UPDATING.
>  Sorry, but rebuilding math/analitza and then math/cantor did not
>  change anything for me.

Can you show configure output then?
Comment 5 bartsch 2012-06-12 17:21:33 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 12.06.2012 15:16, schrieb Max Brazhnikov:
>> Yes, IMHO I did follow /usr/ports/UPDATING. Sorry, but rebuilding
>> math/analitza and then math/cantor did not change anything for
>> me.
> 
> Can you show configure output then?

Of course, here it is:

===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for cantor-4.8.3_1
===>  Extracting for cantor-4.8.3_1
=> SHA256 Checksum OK for KDE/cantor-4.8.3.tar.xz.
/bin/mkdir -p /usr/ports/math/cantor/work/cantor-4.8.3/build
===>  Patching for cantor-4.8.3_1
===>  Applying FreeBSD patches for cantor-4.8.3_1
===>   cantor-4.8.3_1 depends on file: /usr/local/bin/moc-qt4 - found
===>   cantor-4.8.3_1 depends on file: /usr/local/bin/qmake-qt4 - found
===>   cantor-4.8.3_1 depends on file: /usr/local/lib/qt4/libQtTest.so
- - found
===>   cantor-4.8.3_1 depends on file: /usr/local/bin/rcc - found
===>   cantor-4.8.3_1 depends on file: /usr/local/bin/uic-qt4 - found
===>   cantor-4.8.3_1 depends on file:
/usr/local/lib/qt4/libQtXmlPatterns.so - found
===>   cantor-4.8.3_1 depends on file: /usr/local/bin/automoc4 - found
===>   cantor-4.8.3_1 depends on file:
/usr/local/kde4/lib/libkdecore.so.7 - found
===>   cantor-4.8.3_1 depends on file: /usr/local/bin/cmake - found
===>   cantor-4.8.3_1 depends on shared library: spectre.1 - found
===>   cantor-4.8.3_1 depends on shared library: qalculate.5 - found
===>   cantor-4.8.3_1 depends on shared library: analitza.5 - found
===>  Configuring for cantor-4.8.3_1
/bin/mkdir -p /usr/ports/math/cantor/work/cantor-4.8.3/build
- -- The C compiler identification is GNU 4.2.1
- -- The CXX compiler identification is GNU 4.2.1
- -- Check for working C compiler: /usr/bin/cc
- -- Check for working C compiler: /usr/bin/cc -- works
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Check for working CXX compiler: /usr/bin/c++
- -- Check for working CXX compiler: /usr/bin/c++ -- works
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Looking for Q_WS_X11
- -- Looking for Q_WS_X11 - found
- -- Looking for Q_WS_WIN
- -- Looking for Q_WS_WIN - not found.
- -- Looking for Q_WS_QWS
- -- Looking for Q_WS_QWS - not found.
- -- Looking for Q_WS_MAC
- -- Looking for Q_WS_MAC - not found.
- -- Found Qt-Version 4.8.2 (using /usr/local/bin/qmake-qt4)
- -- Looking for XOpenDisplay in
/usr/local/lib/libX11.so;/usr/local/lib/libXext.so;/usr/local/lib/l
ibXft.so;/usr/local/lib/libXau.so;/usr/local/lib/libXdmcp.so;/usr/local/lib/libXpm.so
- -- Looking for XOpenDisplay in
/usr/local/lib/libX11.so;/usr/local/lib/libXext.so;/usr/local/lib/l
- -- Looking for gethostbyname - found
- -- Looking for connect
- -- Looking for connect - found
- -- Looking for remove
- -- Looking for remove - found
- -- Looking for shmat
- -- Looking for shmat - found
- -- Looking for IceConnectionNumber in ICE
- -- Looking for IceConnectionNumber in ICE - found
- -- Found X11: /usr/local/lib/libX11.so
- -- Looking for include file pthread.h
- -- Looking for include file pthread.h - found
- -- Found Threads: TRUE
- -- Looking for _POSIX_TIMERS
- -- Looking for _POSIX_TIMERS - found
- -- Found Automoc4: /usr/local/bin/automoc4
- -- Found Perl: /usr/bin/perl (found version "5.12.4")
- -- Performing Test HAVE_FPIE_SUPPORT - Success
- -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for cantor-4.8.3_1
===>  Extracting for cantor-4.8.3_1
=> SHA256 Checksum OK for KDE/cantor-4.8.3.tar.xz.
/bin/mkdir -p /usr/ports/math/cantor/work/cantor-4.8.3/build
===>  Patching for cantor-4.8.3_1
===>  Applying FreeBSD patches for cantor-4.8.3_1
===>   cantor-4.8.3_1 depends on file: /usr/local/bin/moc-qt4 - found
===>   cantor-4.8.3_1 depends on file: /usr/local/bin/qmake-qt4 - found
===>   cantor-4.8.3_1 depends on file: /usr/local/lib/qt4/libQtTest.so
- - found
===>   cantor-4.8.3_1 depends on file: /usr/local/bin/rcc - found
===>   cantor-4.8.3_1 depends on file: /usr/local/bin/uic-qt4 - found
===>   cantor-4.8.3_1 depends on file:
/usr/local/lib/qt4/libQtXmlPatterns.so - found
===>   cantor-4.8.3_1 depends on file: /usr/local/bin/automoc4 - found
===>   cantor-4.8.3_1 depends on file:
/usr/local/kde4/lib/libkdecore.so.7 - found
===>   cantor-4.8.3_1 depends on file: /usr/local/bin/cmake - found
===>   cantor-4.8.3_1 depends on shared library: spectre.1 - found
===>   cantor-4.8.3_1 depends on shared library: qalculate.5 - found
===>   cantor-4.8.3_1 depends on shared library: analitza.5 - found
===>  Configuring for cantor-4.8.3_1
/bin/mkdir -p /usr/ports/math/cantor/work/cantor-4.8.3/build
- -- The C compiler identification is GNU 4.2.1
- -- The CXX compiler identification is GNU 4.2.1
- -- Check for working C compiler: /usr/bin/cc
- -- Check for working C compiler: /usr/bin/cc -- works
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Check for working CXX compiler: /usr/bin/c++
- -- Check for working CXX compiler: /usr/bin/c++ -- works
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Looking for Q_WS_X11
- -- Looking for Q_WS_X11 - found
- -- Looking for Q_WS_WIN
- -- Looking for Q_WS_WIN - not found.
- -- Looking for Q_WS_QWS
- -- Looking for Q_WS_QWS - not found.
- -- Looking for Q_WS_MAC
- -- Looking for Q_WS_MAC - not found.
- -- Found Qt-Version 4.8.2 (using /usr/local/bin/qmake-qt4)
- -- Looking for XOpenDisplay in
/usr/local/lib/libX11.so;/usr/local/lib/libXext.so;/usr/local/lib/l
ibXft.so;/usr/local/lib/libXau.so;/usr/local/lib/libXdmcp.so;/usr/local/lib/libXpm.so
- -- Looking for XOpenDisplay in
/usr/local/lib/libX11.so;/usr/local/lib/libXext.so;/usr/local/lib/l
- -- Looking for gethostbyname - found
- -- Looking for connect
- -- Looking for connect - found
- -- Looking for remove
- -- Looking for remove - found
- -- Looking for shmat
- -- Looking for shmat - found
- -- Looking for IceConnectionNumber in ICE
- -- Looking for IceConnectionNumber in ICE - found
- -- Found X11: /usr/local/lib/libX11.so
- -- Looking for include file pthread.h
- -- Looking for include file pthread.h - found
- -- Found Threads: TRUE
- -- Looking for _POSIX_TIMERS
- -- Looking for _POSIX_TIMERS - found
- -- Found Automoc4: /usr/local/bin/automoc4
- -- Found Perl: /usr/bin/perl (found version "5.12.4")
- -- Performing Test HAVE_FPIE_SUPPORT - Success
- -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
- -- Found automoc4: /usr/local/bin/automoc4
- -- Found Analitza: /usr/local/kde4/include
- -- WARNING: you are using the obsolete 'PKGCONFIG' macro, use
FindPkgConfig
- -- Found LibSpectre: -L/usr/local/lib -lspectre
- -- Found Qalculate: -L/usr/local/lib -lcln -lpthread -lqalculate
- -lglib-2.0 -lxml2
- -- -L/usr/local/lib -lcln

-
-----------------------------------------------------------------------------
- -- The following external packages were located on your system.
- -- This installation will have the extra features provided by these
packages.
-
-----------------------------------------------------------------------------
   * libspectre - A PostScript rendering library
   * Qalculate - A multi-purpose desktop calculator with support for
customizable functions, units
 and arbitrary precision.

-
-----------------------------------------------------------------------------
- -- The following OPTIONAL packages could NOT be located on your system.
- -- Consider installing them to enable more features from this software.
-
-----------------------------------------------------------------------------
   * libanalitza (Backend to use KAlgebra with Cantor. or higher)  <FALSE>
     A library provided by KAlgebra
   * R  <http://www.r-project.org/>
     A free software environment for statistical computing and graphics
     Backend to use R with Cantor.

-
-----------------------------------------------------------------------------

- -- Configuring done
- -- Generating done
- -- Build files have been written to:
/usr/ports/math/cantor/work/cantor-4.8.3/build
===>  Building for cantor-4.8.3_1


- -- 
Regards
Alfred Bartsch
Data-Service GmbH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/XbI0ACgkQ5QGe2JdVf3i+1QCcDHkqVOuiJ608fVu6oKq/WUTQ
/IAAoKrS1yX9Q0T+RmHAeQjT6lZnAeU+
=DXaz
-----END PGP SIGNATURE-----
Comment 6 Max Brazhnikov freebsd_committer freebsd_triage 2012-06-12 18:12:05 UTC
On Tue, 12 Jun 2012 18:21:33 +0200, Alfred Bartsch wrote:
> -----------------------------------------------------------------------------
> - -- The following OPTIONAL packages could NOT be located on your system.
> - -- Consider installing them to enable more features from this software.
> -
> -----------------------------------------------------------------------------
>    * libanalitza (Backend to use KAlgebra with Cantor. or higher)  <FALSE>
>      A library provided by KAlgebra

Interesting. Can you show CMakeError.log - you can find it under work/cantor-4.8.3/build/CMakeFiles
Comment 7 bartsch 2012-06-12 22:41:37 UTC
Am 12.06.2012 19:12, schrieb Max Brazhnikov:
> On Tue, 12 Jun 2012 18:21:33 +0200, Alfred Bartsch wrote:
>> -----------------------------------------------------------------------------
>> - -- The following OPTIONAL packages could NOT be located on your system.
>> - -- Consider installing them to enable more features from this software.
>> -
>> -----------------------------------------------------------------------------
>>    * libanalitza (Backend to use KAlgebra with Cantor. or higher)  <FALSE>
>>      A library provided by KAlgebra
> Interesting. Can you show CMakeError.log - you can find it under work/cantor-4.8.3/build/CMakeFiles
Here you are:

=== root@dsst4pkg (pts/3)
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles 3 -> cat
CMakeError.log
Determining if the Q_WS_WIN exist failed with the following output:
Change Dir:
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/local/bin/gmake "cmTryCompileExec813657124/fast"
/usr/local/bin/gmake -f
CMakeFiles/cmTryCompileExec813657124.dir/build.make
CMakeFiles/cmTryCompileExec813657124.dir/build
gmake[1]: Entering directory
`/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp'
/usr/local/bin/cmake -E cmake_progress_report
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec813657124.dir/CheckSymbolExists.c.o
/usr/bin/cc   -O2 -pipe -fno-strict-aliasing  
-I/usr/local/include/qt4    -o
CMakeFiles/cmTryCompileExec813657124.dir/CheckSymbolExists.c.o   -c
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
In function 'main':
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:
error: 'Q_WS_WIN' undeclared (first use in this function)
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:
error: (Each undeclared identifier is reported only once
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:
error: for each function it appears in.)
gmake[1]: ***
[CMakeFiles/cmTryCompileExec813657124.dir/CheckSymbolExists.c.o] Fehler 1
gmake[1]: Leaving directory
`/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec813657124/fast] Fehler 2

File
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_WIN
  return ((int*)(&Q_WS_WIN))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the Q_WS_QWS exist failed with the following output:
Change Dir:
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/local/bin/gmake "cmTryCompileExec463614598/fast"
/usr/local/bin/gmake -f
CMakeFiles/cmTryCompileExec463614598.dir/build.make
CMakeFiles/cmTryCompileExec463614598.dir/build
gmake[1]: Entering directory
`/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp'
/usr/local/bin/cmake -E cmake_progress_report
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec463614598.dir/CheckSymbolExists.c.o
/usr/bin/cc   -O2 -pipe -fno-strict-aliasing  
-I/usr/local/include/qt4    -o
CMakeFiles/cmTryCompileExec463614598.dir/CheckSymbolExists.c.o   -c
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
In function 'main':
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:
error: 'Q_WS_QWS' undeclared (first use in this function)
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:
error: (Each undeclared identifier is reported only once
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:
error: for each function it appears in.)
gmake[1]: ***
[CMakeFiles/cmTryCompileExec463614598.dir/CheckSymbolExists.c.o] Fehler 1
gmake[1]: Leaving directory
`/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec463614598/fast] Fehler 2

File
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_QWS
  return ((int*)(&Q_WS_QWS))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the Q_WS_MAC exist failed with the following output:
Change Dir:
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/local/bin/gmake "cmTryCompileExec1795574376/fast"
/usr/local/bin/gmake -f
CMakeFiles/cmTryCompileExec1795574376.dir/build.make
CMakeFiles/cmTryCompileExec1795574376.dir/build
gmake[1]: Entering directory
`/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp'
/usr/local/bin/cmake -E cmake_progress_report
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec1795574376.dir/CheckSymbolExists.c.o
/usr/bin/cc   -O2 -pipe -fno-strict-aliasing  
-I/usr/local/include/qt4    -o
CMakeFiles/cmTryCompileExec1795574376.dir/CheckSymbolExists.c.o   -c
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
In function 'main':
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:
error: 'Q_WS_MAC' undeclared (first use in this function)
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:
error: (Each undeclared identifier is reported only once
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:
error: for each function it appears in.)
gmake[1]: ***
[CMakeFiles/cmTryCompileExec1795574376.dir/CheckSymbolExists.c.o] Fehler 1
gmake[1]: Leaving directory
`/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec1795574376/fast] Fehler 2

File
/usr/ports/math/cantor/work/cantor-4.8.3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_MAC
  return ((int*)(&Q_WS_MAC))[argc];
#else
  (void)argc;
  return 0;
#endif
}
Comment 8 Martin Birgmeier 2012-06-15 18:14:41 UTC
I have the same problem, with 4.8.3_1 before, and now also with 4.8.4
Comment 9 Martin Birgmeier 2012-06-16 11:53:41 UTC
Here are the patches to get cantor building correctly.

Regards,

Martin
Comment 10 bartsch 2012-06-17 13:35:53 UTC
Am 16.06.2012 12:53, schrieb Martin Birgmeier:
> Here are the patches to get cantor building correctly.
>
> Regards,
>
> Martin
>
Thank you very much, Martin. After applying these patches, compiling and
package creation of cantor works flawlessly.

Regards.
Alfred Bartsch
Data-Service GmbH
Comment 11 bartsch 2012-06-26 15:30:15 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

some more test results:

the patches only seem to work in a "normal" environment (i386/amd64),
where tons of other software are laying around.
If I try to build math/cantor with poudriere, the package build error
reappears. make complains not to be able to find "Analitza" though it
is installed and ready to use.
 After removing the additional patches, poudriere builds the package
without error. This behavior looks weird to me. A KDE4/cmake expert
should IMHO see to this issue.

- -- 
Regards
Alfred Bartsch
Data-Service GmbH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/px3cACgkQ5QGe2JdVf3i5xwCgl/htU7pUkr7+ik4IaJXWy/9o
UaUAoIvT/hky6QUBm8+mM9ey8psHn7XO
=Mu7+
-----END PGP SIGNATURE-----
Comment 12 Alberto Villa freebsd_committer freebsd_triage 2012-08-17 00:04:47 UTC
Does it keep failing after the complete update of KDE ports? Can you show the 
output of...

$ grep -ril analitza /usr/local/kde4/share/apps/cmake/modules

...on a system where it fails?
Comment 13 bartsch 2012-08-17 08:03:40 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes, it keeps failing. After removing the patches sent by Martin
Birgmeier and executing "portmaster -g math/cantor" I get:
...
===>>> Creating a package for new version cantor-4.8.4
tar: lib/kde4/cantor_kalgebrabackend.so: Cannot stat: No such file or
directory
tar: share/kde4/services/cantor/kalgebrabackend.desktop: Cannot stat:
No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256

Output of "grep -ril analitza /usr/local/kde4/share/apps/cmake/modules":
apps/cmake/modules
/usr/local/kde4/share/apps/cmake/modules/FindAnalitza.cmake

- -- 
Regards
Alfred Bartsch
Data-Service GmbH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAt7MwACgkQ5QGe2JdVf3gZpgCfYUbL1W37wpuC2/nUUiJvc8vj
0wEAnR1p/38rRqrTOvaugi0lfm5Uzuuq
=8c3K
-----END PGP SIGNATURE-----
Comment 14 Alberto Villa freebsd_committer freebsd_triage 2012-09-02 09:50:31 UTC
State Changed
From-To: feedback->analyzed

I think I found the problem. FinaAnalitza.cmake includes 
FindPackageHandleStandardArgs.cmake, which is installed twice, by 
cmake-modules and by kdelibs4. Now, the module declares to be 
transforming the name passed to it (Analitza) to uppercase, but the 
cmake-modules one apparently has a case where it doesn't do that. For 
some reason I have yet to understand, cantor only includes the kdelibs4 
one when not installing from scratch (as Alfred reported), so the 
behaviour is not consistent. I'll have a closer look and try to fix the 
issue.
Comment 15 dfilter service freebsd_committer freebsd_triage 2012-09-02 11:46:46 UTC
Author: avilla
Date: Sun Sep  2 10:46:30 2012
New Revision: 303542
URL: http://svn.freebsd.org/changeset/ports/303542

Log:
  - Stop installing FindAnalitza.cmake now that math/analitza provides
    its own AnalitzaConfig.cmake.
  - Bump PORTREVISION.
  - Add instructions to UPDATING.
  
  This was causing inconsistent behaviour in math/cantor build depending
  on whether kalgebra was installed or not.
  
  PR:		168799

Deleted:
  head/math/kalgebra/files/
Modified:
  head/UPDATING
  head/math/kalgebra/Makefile   (contents, props changed)
  head/math/kalgebra/pkg-plist   (contents, props changed)

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Sun Sep  2 09:58:32 2012	(r303541)
+++ head/UPDATING	Sun Sep  2 10:46:30 2012	(r303542)
@@ -5,6 +5,16 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20120902:
+  AFFECTS: users of math/cantor and math/kalgebra
+  AUTHOR: kde@FreeBSD.org
+
+  If you have both cantor and kalgebra installed, chances are that
+  your cantor installation is corrupted. If the file
+  ${KDE4_PREFIX}/lib/kde4/cantor_kalgebrabackend.so is missing on
+  your system, rebuild cantor after updating kalgebra to 4.8.4_1 (or
+  later).
+
 20120822:
   AFFECTS: users of net/asterisk16, net/asterisk16-addons
   AUTHOR: Florian Smeets <flo@FreeBSD.org>

Modified: head/math/kalgebra/Makefile
==============================================================================
--- head/math/kalgebra/Makefile	Sun Sep  2 09:58:32 2012	(r303541)
+++ head/math/kalgebra/Makefile	Sun Sep  2 10:46:30 2012	(r303542)
@@ -7,6 +7,7 @@
 
 PORTNAME=	kalgebra
 PORTVERSION=	${KDE4_VERSION}
+PORTREVISION=	1
 CATEGORIES=	math kde
 MASTER_SITES=	${MASTER_SITE_KDE}
 MASTER_SITE_SUBDIR=	${KDE4_BRANCH}/${PORTVERSION}/src

Modified: head/math/kalgebra/pkg-plist
==============================================================================
--- head/math/kalgebra/pkg-plist	Sun Sep  2 09:58:32 2012	(r303541)
+++ head/math/kalgebra/pkg-plist	Sun Sep  2 10:46:30 2012	(r303542)
@@ -3,7 +3,6 @@ bin/kalgebramobile
 lib/kde4/plasma_applet_kalgebra.so
 share/applications/kde4/kalgebra.desktop
 share/applications/kde4/kalgebramobile.desktop
-share/apps/cmake/modules/FindAnalitza.cmake
 share/apps/kalgebra/plugins/Console.qml
 share/apps/kalgebra/plugins/Graph2D.qml
 share/apps/kalgebra/plugins/Plot2D.qml
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 16 Alberto Villa freebsd_committer freebsd_triage 2012-09-02 11:47:40 UTC
State Changed
From-To: analyzed->closed

Fix committed, thanks for reporting.