Opened 14 years ago

Closed 14 years ago

#28048 closed defect (worksforme)

pstoedit fails to compile with libpng 1.4.5

Reported by: alexander.zimmermann@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: png Cc:
Port: pstoedit

Description

:info:build grep: /opt/local/lib/libpng12.la: No such file or directory
:info:build /opt/local/bin/gsed: kann /opt/local/lib/libpng12.la nicht lesen: No such file or directory
:info:build libtool: link: `/opt/local/lib/libpng12.la' is not a valid libtool archive
:info:build make[1]: *** [libpstoedit.la] Error 1
:info:build make: *** [all-recursive] Error 1
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_pstoedit/work/pstoedit-3.45" && /usr/bin/make all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for pstoedit): org.macports.destroot org.macports.build
:notice:build Log for pstoedit is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_pstoedit/main.log

Attachments (1)

search-libpng12.sh (397 bytes) - added by jmroot (Joshua Root) 14 years ago.

Download all attachments as: .zip

Change History (5)

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

Keywords: png added

Works for me. Have you selfupdated recently and upgraded all your outdated ports? If pstoedit doesn't build after doing that and cleaning, please run this script to check for ports referencing libpng12.

Changed 14 years ago by jmroot (Joshua Root)

Attachment: search-libpng12.sh added

comment:2 Changed 14 years ago by alexander.zimmermann@…

The problem was that "ghostscript"... I don't why ghostscript wasn't rebuild.

alexander@miami:~$ ptu
Password:
--->  Updating the ports tree
--->  Updating MacPorts base sources using rsync
MacPorts base version 1.9.2 installed,
MacPorts base version 1.9.2 downloaded.
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
alexander@miami:~$ pto
The following installed ports are outdated:
gtk-chtheme                    0.3.1_0 < 0.3.1_1         
gtk2                           2.22.1_0 < 2.22.1_1       
gtk2-aurora                    1.5.1_0 < 1.5.1_1         
pango                          1.28.3_0 < 1.28.3_1       
pstoedit                       3.45_4 < 3.45_5           
wireshark                      1.4.3_0 < 1.4.3_1  
alexander@miami:~/Desktop$ ./search-libpng12.sh 

cairo
gd2
gdk-pixbuf2
ghostscript
gnuplot
gtk-chtheme
gtk2
gtk2-aurora
pango
pstoedit
wireshark
alexander@miami:~/Desktop$ sudo  port upgrade --force  -nfu ghostscript
--->  Computing dependencies for ghostscript
--->  Fetching ghostscript
--->  Verifying checksum(s) for ghostscript
--->  Extracting ghostscript
--->  Applying patches to ghostscript
--->  Configuring ghostscript
--->  Building ghostscript
--->  Staging ghostscript into destroot
--->  Unable to uninstall ghostscript 9.00_5, the following ports depend on it:
--->      pstoedit
--->      xfig
--->      pstotext
--->      xfig
--->      ImageMagick
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating ghostscript @9.00_5
--->  Uninstalling ghostscript @9.00_5
--->  Computing dependencies for ghostscript
--->  Installing ghostscript @9.00_5
--->  Activating ghostscript @9.00_5
--->  Cleaning ghostscript
alexander@miami:~/Desktop$ xfig
alexander@miami:~/Desktop$ sudo  port upgrade --force  -nfu pstoedit
Password:
--->  Computing dependencies for pstoedit
--->  Fetching pstoedit
--->  Verifying checksum(s) for pstoedit
--->  Extracting pstoedit
--->  Applying patches to pstoedit
--->  Configuring pstoedit
--->  Building pstoedit
--->  Staging pstoedit into destroot
--->  Computing dependencies for pstoedit
--->  Installing pstoedit @3.45_5
--->  Deactivating pstoedit @3.45_4
--->  Activating pstoedit @3.45_5
--->  Cleaning pstoedit
--->  Uninstalling pstoedit @3.45_4
alexander@miami:~/Desktop$ 

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Hmm, why are you trying to force an upgrade? It should not require forcing; the revision bumps we've been doing should be sufficient. Also, single-letter (global) flags (i.e. "-nfu") have no effect unless you put them immediately after the word "port".

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

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.