Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#27178 closed defect (duplicate)

Kipi-Plugins ->A copy of phonon could not be found

Reported by: CBraun@… Owned by: jgosmann (Jan Gosmann)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: ecbrown (Eric Brown), tofubanditx@…, julien@…, feurer.matthias@…, jgosmann (Jan Gosmann), nicolabrisotto@…, nospam420@…
Port: kipi-plugins

Description (last modified by jmroot (Joshua Root))

Hello, this is my first ticket i hope i am doing it right.

I want to get digikam but i cannot install kipi-plugins as phonon is not found

Kuun_Lan$ sudo port install kipi-plugins
--->  Computing dependencies for kipi-plugins
--->  Fetching kipi-plugins
--->  Verifying checksum(s) for kipi-plugins
--->  Extracting kipi-plugins
Error: ######################################################
Error: A copy of phonon could not be found. Please install  
Error: qt4-mac to provide this. If you have already done this 
Error: your Qt installation is missing the phonon backend.  
Error: Please reinstall Qt4 with phonon support.            
Error: ######################################################
--->  Configuring kipi-plugins
Error: Target org.macports.configure returned: configure failure: shell command failed
Log for kipi-plugins is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kipi-plugins/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

However Phonon seems to be installed.

acmini:~ Kuun_Lan$ sudo port installed phonon
The following ports are currently installed:
  phonon @4.4.2_3 (active)

Please tel me if you need any further information.

I can only be online at the weekends.

with kind regards Christopher

Attachments (1)

main.log (200.0 KB) - added by CBraun@… 14 years ago.
Logfile

Download all attachments as: .zip

Change History (30)

Changed 14 years ago by CBraun@…

Attachment: main.log added

Logfile

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: kipi-plugins phonon removed
Owner: changed from macports-tickets@… to jan@…

Please remember to preview and use WikiFormatting, and to cc the maintainer.

comment:2 Changed 14 years ago by jgosmann (Jan Gosmann)

Currently I am working on an update of the portfile to Digikam 1.5 and the problem described has already occurred to me. However, it seems that the 1.5 version might compile despite this error. At the moment I have still the problem that some MySQL libs or binaries (which are installed) cannot be found. Seems that it will take some more time for me to figure out how to solve this (unfortunately my free time is very limited at the moment).

The reason for the error message is probably that Phonon was included with Qt4 in prior versions, but in the newest version it will not be installed with the qt4 port, but with its own port.

comment:3 Changed 14 years ago by CBraun@…

Thanks for the information. I was not able to compile despite the error. So i will just wait.

comment:4 Changed 14 years ago by ecbrown (Eric Brown)

Cc: eric.c.brown@… added

Cc Me!

comment:5 Changed 14 years ago by tofubanditx@…

Cc: tofubanditx@… added

Cc Me!

comment:6 Changed 14 years ago by julien@…

Cc: julien@… added

Cc Me!

comment:7 Changed 14 years ago by feurer.matthias@…

Cc: feurer.matthias@… added

Cc Me!

comment:8 Changed 14 years ago by jgosmann (Jan Gosmann)

Just submitted an update of the portfile to version 1.5.0 of kipi-plugins (Ticket #27349). That should solve the problem.

comment:9 Changed 14 years ago by jgosmann (Jan Gosmann)

Cc: jan@… added

Cc Me!

comment:10 Changed 14 years ago by CBraun@…

It is still not working.

I did

port selfupdate port upgrade outdated

port clean kipi-plugins port install kipi-plugins

I still got the same error ;)

have i forgot something ?

comment:11 Changed 14 years ago by jgosmann (Jan Gosmann)

The Portfile is not included in the Macports tree, yet. You might want to follow the updates of Ticket #27349 to get a notice, when it will be included.

comment:12 Changed 14 years ago by CBraun@…

Isnt it possible to download the Portfile and use it even when its not included in the portstree yet?

comment:14 in reply to:  12 Changed 14 years ago by julien@…

Replying to CBraun@…:

Isnt it possible to download the Portfile and use it even when its not included in the portstree yet?

Yes it is possible, you have to create a local directory tree to put your portfiles. See here: http://guide.macports.org/#development.local-repositories

You need to put the Portfiles into myporttree/kde/digikam myporttree/kde/kipi-plugins

Julien

comment:15 Changed 14 years ago by julien@…

But it may be worth waiting until monday for 1.6.0 which will fix some bugs especially under MacosX....

comment:16 Changed 14 years ago by nicolabrisotto@…

Cc: nicolabrisotto@… added

Cc Me!

comment:17 Changed 14 years ago by nicolabrisotto@…

Cc: nicolabrisotto@… removed

Cc Me!

comment:18 Changed 14 years ago by nicolabrisotto@…

Cc: nicolabrisotto@… added

Cc Me!

comment:19 Changed 14 years ago by CBraun@…

Hello i have done the steps described.

I put theAttached Portfile-kipi-plugins.diff from Ticket #27349 into my local port directory. (But his File seems to be only a Patch. Do i have to put the original file aswell into the folder. Where can i get it)

Then i did

touch portfile portindex

This is the result (doesn`t look good)

Total number of ports parsed: 0 Ports successfully parsed: 0 Ports failed: 0 Up-to-date ports skipped: 0

The i executed sudo port install kipi-plugins

The result was

Warning: Can't open index file for source: file:///Users/Kuun_Lan/Andere/Ports Error: Port kipi-plugins not found

Can you help me to find the error ?

Thanks

comment:20 Changed 14 years ago by CBraun@…

Ok i found one error. I executed portindex in the wrong dir

now the result is ;(

Total number of ports parsed: 1 Ports successfully parsed: 0 Ports failed: 1 Up-to-date ports skipped: 0

comment:21 Changed 14 years ago by CBraun@…

Here is the complete text ..

macmini:Ports Kuun_Lan$ portindex Creating port index in /Users/Kuun_Lan/Andere/Ports Failed to parse file kde/kipi-plugins/Portfile: invalid command name "universal_setup"

Total number of ports parsed: 1 Ports successfully parsed: 0 Ports failed: 1 Up-to-date ports skipped: 0

comment:22 Changed 14 years ago by jgosmann (Jan Gosmann)

"I put theAttached Portfile-kipi-plugins.diff from Ticket #27349 into my local port directory. (But his File seems to be only a Patch. Do i have to put the original file aswell into the folder. Where can i get it)"

Yes, it is only a patch. First, you need the Portfile. You can find it his way: Go to www.macports.org and click "Available Ports". Then search for the port and click the link. At the bottom of that page you will find a link called "Original format" click that at save the file in the right subdirectory of your local repository. After doing that, you have to put the patch file (which ends with diff) in the same folder. Open the terminal and change to that directory. The type "patch -p0 < Portfile-kipi-plugins.diff". The last step is changing back to the root directory of your local repository and executing portindex.

Hope that helps ...

comment:23 Changed 14 years ago by CBraun@…

Thanks it finally worked. I still can`t believe it !

One last hint. When i download the portfile, the .txt muste be removed, otherwise portindex won`t work.

comment:24 Changed 14 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Marking as duplicate since the update in #27349 fixes this.

comment:25 Changed 14 years ago by nospam420@…

I'm not sure if I should reopen this or file a new bug, my situation is slightly different, for now I'll just note it here and in #27349. Forgive me if I'm leaving out any essential information, I'm new to OSX and macports. I can attach my complete log file if that would be helpful.

I'm getting a similar error as what was originally reported here, but in this case I believe all of the digikam dependencies (including kipi-plugins) have already been satisfied, and it's the install of digikam itself that's failing:

--->  Fetching digikam
--->  Attempting to fetch digikam-1.2.0.tar.bz2 from http://cdnetworks-us-2.dl.sourceforge.net/digikam
--->  Verifying checksum(s) for digikam
--->  Extracting digikam
Error: ######################################################
Error: A copy of phonon could not be found. Please install  
Error: qt4-mac to provide this. If you have already done this 
Error: your Qt installation is missing the phonon backend.  
Error: Please reinstall Qt4 with phonon support.            
Error: ######################################################
--->  Configuring digikam
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Log for digikam is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

And, it looks like I have kipi-plugins 1.6.0, which is what #27349 is supplying if I understand things correctly:

bash-3.2$ sudo port installed phonon
Password:
The following ports are currently installed:
  phonon @4.4.2_3 (active)
bash-3.2$ sudo port installed kipi-plugins
The following ports are currently installed:
  kipi-plugins @1.6.0_0 (active)
bash-3.2$ sudo port installed qt4-mac
Password:
The following ports are currently installed:
  qt4-mac @4.7.1_0+quartz (active)
bash-3.2$ 

So while I have not tried to yet follow the instructions to patch my portfile, my understanding is that I shouldn't have to, because I am already up to date.

Any suggestions?

comment:26 Changed 14 years ago by julien@…

It seems that you have a digikam portfile for 1.2.0 and kipi-plugins 1.6.0 you should run port selfupdate again to get digikam 1.6.0.

Julien

comment:27 Changed 14 years ago by nospam420@…

Cc: nospam420@… added

Cc Me!

comment:28 in reply to:  26 Changed 14 years ago by nospam420@…

Replying to julien@…:

It seems that you have a digikam portfile for 1.2.0 and kipi-plugins 1.6.0 you should run port selfupdate again to get digikam 1.6.0.

Thanks. Indeed, that did the trick. digikam did now allegedly successfully built. Although I can't seem to find a functioning binary, but I should probably file that as a separate bug if I really conclude something is wrong (right now I'm not positive and am trying to figure out if it might be an error on my part).

comment:29 Changed 14 years ago by jgosmann (Jan Gosmann)

The application bundle should be located in /Applications/MacPorts/KDE4/digikam.app

Note: See TracTickets for help on using tickets.