Opened 15 years ago

Closed 15 years ago

#24647 closed defect (duplicate)

Unable to upgrade. Blocked on libpaper

Reported by: kimberley.r.scott@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: paul.russell@…
Port: libpaper

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hiya,
Ok. Did a sudo port selfupdate.
All good at this point.
Tried sudo port upgrade outdated.
Kablooey.

--->  Computing dependencies for libpaper
--->  Applying patches to libpaper
Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_libpaper/work/libpaper_1.1.23+nmu2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/print/libpaper/files/patch-paper.c.diff'" returned error 1
Command output: sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_libpaper/work/libpaper_1.1.23+nmu2: No such file or directory

Error: Problem while installing libpaper
Before reporting a bug, first run the command again with the -d flag to get complete output.

I tried uninstalling libpaper, reinstalling, and various other options.
Nothing worked.
Regardless of whether libpaper is installed or not, the upgrade outdated fails with the same error.
Used the -d flag, but the output is not helpful other than to confirm what the original upgrade command output shows.

What's curious is that the folder : /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_libpaper/work/libpaper_1.1.23+nmu2 does exist.
Could this be a quoting issue?
(I'm going to fiddle with the script to try to get around this issue.)

This is a complete blocker as I am no longer able to run an upgrade.

Environment: iMac OS-X 10.6.3

Kimbo.

Change History (7)

comment:1 Changed 15 years ago by kimberley.r.scott@…

Ah ha! It's an underscore vs a dash issue. I cd'd into the folder and did this: sudo mv 'libpaper-1.1.23+nmu2/' 'libpaper_1.1.23+nmu2/' And the sudo port upgrade outdated now works.

comment:2 Changed 15 years ago by kimberley.r.scott@…

Sigh.
Next problem:

bandit:~ kim$ sudo port upgrade outdated
--->  Computing dependencies for netpbm
--->  Building netpbm
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64" && /usr/bin/gnumake  messages=yes " returned error 2
Command output: /usr/bin/gnumake -C lib/ -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64//lib/Makefile \
            SRCDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64 BUILDDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64 all 
/usr/bin/gnumake -C util/ -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64/lib/util/Makefile \
                SRCDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64 BUILDDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64 shhopt.o 
gnumake[2]: `shhopt.o' is up to date.
/usr/bin/gnumake -C util/ -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64/lib/util/Makefile \
                SRCDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64 BUILDDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64 nstring.o 
gnumake[2]: `nstring.o' is up to date.
/usr/bin/gnumake -C converter/ -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64//converter/Makefile \
            SRCDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64 BUILDDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64 all 
/usr/bin/gnumake -C pbm/ -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64/converter/pbm/Makefile \
            SRCDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64 BUILDDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64 all 
/usr/bin/gnumake -C pbmtoppa/ -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64/converter/pbm/pbmtoppa/Makefile \
            SRCDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64 BUILDDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64 all 
/usr/bin/gcc-4.2 -L/opt/local/lib -arch x86_64 -o pbmtoppa pbmtoppa.o ppa.o pbm.o cutswath.o \
          -lm `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64/buildtools/libopt /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64/lib/libnetpbm.dylib`   \
           
libopt results: ' -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.64/lib -lnetpbm'
ld: warning: in /opt/local/lib/libnetpbm.dylib, file is not of required architecture
Undefined symbols:
  "_pbm_init", referenced from:
      _main in pbmtoppa.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gnumake[3]: *** [pbmtoppa] Error 1
gnumake[2]: *** [pbmtoppa/all] Error 2
gnumake[1]: *** [pbm/all] Error 2
gnumake: *** [converter/all] Error 2

Error: Unable to upgrade port: 1

Not quite sure how to approach this.
Sounds line 32 vs 64 bit.

Kimbo.

comment:3 Changed 15 years ago by paul.russell@…

I've also had the same issue this afternoon, and fixed it in the same way - by renaming the libpaper folder. Just wanted to corroborate, just in case this is believed to be an isolated incident :)

comment:4 Changed 15 years ago by paul.russell@…

Cc: paul.russell@… added

Cc Me!

comment:5 Changed 15 years ago by paul.russell@…

FYI: #24650, #24647 and #24644 are all dups of one another.

comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: libpaper added
Status: newassigned

Please use WikiFormatting.

comment:7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: assignedclosed

The libpaper issue is a duplicate of #24644.

The netpbm issue is unrelated and probably not a bug but a problem in your local setup. Please write to macports-users for additional help.

Note: See TracTickets for help on using tickets.