Bug 192957 - devel/gsoap fails to compile
Summary: devel/gsoap fails to compile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-23 23:39 UTC by Peter Jeremy
Modified: 2014-08-24 20:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Jeremy freebsd_committer freebsd_triage 2014-08-23 23:39:44 UTC
When I try to compile devel/gsoap as myself, it fails as follows:
server% make  
===>  License GPLv2 accepted by the user
===>  Found saved configuration for gsoap-2.8.10
===>   gsoap-2.8.17_3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by gsoap-2.8.17_3 for building
===>  Extracting for gsoap-2.8.17_3
=> SHA256 Checksum OK for gsoap_2.8.17.zip.
...
===>  Staging for gsoap-2.8.17_3
===>   Generating temporary packing list
Making install in gsoap
/usr/bin/make  install-recursive
Making install in .
test -z "/usr/local/lib" || /bin/mkdir -p "/tank/obj/usr/ports/devel/gsoap/work/stage/usr/local/lib"
 install   -m 444 'libgsoap.a' '/tank/obj/usr/ports/devel/gsoap/work/stage/usr/local/lib/libgsoap.a'
 install   -m 444 'libgsoap++.a' '/tank/obj/usr/ports/devel/gsoap/work/stage/usr/local/lib/libgsoap++.a'
 install   -m 444 'libgsoapck.a' '/tank/obj/usr/ports/devel/gsoap/work/stage/usr/local/lib/libgsoapck.a'
 install   -m 444 'libgsoapck++.a' '/tank/obj/usr/ports/devel/gsoap/work/stage/usr/local/lib/libgsoapck++.a'
 install   -m 444 'libgsoapssl.a' '/tank/obj/usr/ports/devel/gsoap/work/stage/usr/local/lib/libgsoapssl.a'
 install   -m 444 'libgsoapssl++.a' '/tank/obj/usr/ports/devel/gsoap/work/stage/usr/local/lib/libgsoapssl++.a'
 ranlib '/tank/obj/usr/ports/devel/gsoap/work/stage/usr/local/lib/libgsoap.a'
ranlib: unable to copy file '/tank/obj/usr/ports/devel/gsoap/work/stage/usr/local/lib/libgsoap.a'; reason: Permission denied
*** Error code 1

Stop.
make[6]: stopped in /tank/obj/usr/ports/devel/gsoap/work/gsoap-2.8/gsoap
*** Error code 1
...
server% ls -l /tank/obj/usr/ports/devel/gsoap/work/stage/usr/local/lib
total 1028
drwxr-xr-x  4 peter  wheel       4 24 Aug 09:37 X11
-r--r--r--  1 peter  wheel  268964 24 Aug 09:37 libgsoap++.a
-r--r--r--  1 peter  wheel  236840 24 Aug 09:37 libgsoap.a
-r--r--r--  1 peter  wheel  283766 24 Aug 09:37 libgsoapck++.a
-r--r--r--  1 peter  wheel  251644 24 Aug 09:37 libgsoapck.a
-r--r--r--  1 peter  wheel  274070 24 Aug 09:37 libgsoapssl++.a
-r--r--r--  1 peter  wheel  241930 24 Aug 09:37 libgsoapssl.a
Comment 1 John Marino freebsd_committer freebsd_triage 2014-08-24 08:41:55 UTC
According to portsmon, it's building everywhere:
http://portsmon.freebsd.org/portoverview.py?category=devel&portname=gsoap&wildcard=

That implies it's a local issue (iow works4me)

There's also no maintainer for the port, so there's no one I can assign the PR to.  I can open the PR but it will probably just die.
Comment 2 John Marino freebsd_committer freebsd_triage 2014-08-24 20:07:17 UTC
nox@ points out that the issue is build as non-root.  

I still don't know what to do with the PR now that that is cleared up.
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-08-24 20:10:27 UTC
A commit references this bug:

Author: antoine
Date: Sun Aug 24 20:09:56 UTC 2014
New revision: 366011
URL: http://svnweb.freebsd.org/changeset/ports/366011

Log:
  Allow staging as a regular user

  PR:		ports/192957

Changes:
  head/devel/gsoap/Makefile
Comment 4 Antoine Brodin freebsd_committer freebsd_triage 2014-08-24 20:10:38 UTC
Fixed in r366011