Opened 14 years ago
Closed 14 years ago
#28741 closed defect (invalid)
kdelibs4 failed to build
Reported by: | mkae (Marko Käning) | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | sharky@…, michaelld (Michael Dickens) | |
Port: | kdelibs4 |
Description
Build fails due to patch problems
:debug:patch patch phase started at Fri Mar 11 23:09:00 CET 2011 :debug:patch Executing org.macports.patch (kdelibs4) :msg:patch ---> Applying patches to kdelibs4 :info:patch ---> Applying /opt/macports-test/var/macports/sources/rsync.macports.org/release/ports/kde/kdelibs4/files/add-bundles-to-path.patch :debug:patch Environment: CPATH='/opt/macports-test/include' CC_PRINT_OPTIONS_FILE='/opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/macports-test/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' :debug:patch Assembled command: 'cd "/opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.6.1" && /usr/bin/patch -p1' :info:patch patching file kdecore/CMakeLists.txt :info:patch Reversed (or previously applied) patch detected! Assume -R? [n] :info:patch Apply anyway? [n] :info:patch Skipping patch. :info:patch 1 out of 1 hunk ignored -- saving rejects to file kdecore/CMakeLists.txt.rej :info:patch patching file kdecore/kernel/kstandarddirs.cpp :info:patch Reversed (or previously applied) patch detected! Assume -R? [n] :info:patch Apply anyway? [n] :info:patch Skipping patch. :info:patch 1 out of 1 hunk ignored -- saving rejects to file kdecore/kernel/kstandarddirs.cpp.rej :info:patch shell command " cd "/opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.6.1" && /usr/bin/patch -p1 < '/opt/macports-test/var/macports/sources/rsync.macports.org/release/ports/kde/kdelibs4/files/add-bundles-to-path.patch'" returned error 1 :error:patch Target org.macports.patch returned: shell command failed (see log for details) :debug:patch Backtrace: shell command failed (see log for details) while executing "command_exec patch "" "< '$patch'"" (procedure "portpatch::patch_main" line 35) invoked from within "$procedure $targetname" :info:patch Warning: the following items did not execute (for kdelibs4): org.macports.destroot org.macports.patch org.macports.configure org.macports.build :notice:patch Log for kdelibs4 is at: /opt/macports-test/var/macports/logs/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/main.log
Attachments (1)
Change History (6)
comment:1 Changed 14 years ago by mkae (Marko Käning)
Changed 14 years ago by mkae (Marko Käning)
Attachment: | Portfile-kdelibs4.diff added |
---|
Portfile diff excluding add-bundles-to-path.patch from path list
comment:2 Changed 14 years ago by mkae (Marko Käning)
Well, at least it built without a problem here!
I just didn't have a chance to perform an install and go on with tests of kdepimlibs4 and other stuff.
I didn't want to commit the above changes to the port in SVN, since I guess this is up to snc or the other maintainers, just in case there are other issues hidden which I am perhaps still unaware of.
But I am quite confident the diff fixes this issue.
comment:3 Changed 14 years ago by mkae (Marko Käning)
Yep, I proved now that it does fix the issue. kdepimlibs4 and kmymoney4-devel (r76893) build and run fine, as far as I can see.
comment:4 Changed 14 years ago by nerdling (Jeremy Lavergne)
I can't reproduce your error. Have you tried cleaning and doing it again?
comment:5 Changed 14 years ago by mkae (Marko Käning)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Hi snc,
now that I tried it on another installation it worked without removing said patch. :-( Looks like you are right and I still had some old sources in the directory, which is why the patch failed initially. Thanks for the hint. I guess this ticket can be closed then.
Skipping the patch add-bundles-to-path.patch from the list of patches seems to solves this issue.