#993 closed defect (fixed)
news/pan2 port does not build. Fails on gtk2 dependency.
Reported by: | darwin@… | Owned by: | mij@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
While attempting to install pan2, I have run into a problem. The dependencies all downloaded and built properly. The pan2 port fails during its configuration stage. The error presented is:
Error: Target com.apple.configure returned: configure failure: shell command "cd "/usr/dports/ news/pan2/work/pan-0.14.2" && CPPFLAGS="-no-cpp-precomp" LDFLAGS="-bind_at_load" ./ configure --prefix=/opt/local" returned error 1 Command output: checking for gtk+-2.0 >= 2.0.5... yes
It looks like a complaint about gtk2. According to my receipts folder, I have gtk2-2.2.3 installed. I'm not sure if this is a missing dependency or something else getting botched. Any help is appreciated.
Attachments (1)
Change History (5)
Changed 21 years ago by mij@…
comment:1 Changed 21 years ago by darwin@…
Just to be sure the way I did this was right:
I pasted the contents of the attachment into a new file usr/dports/news/pan2/patch and then:
# cd /usr/dports/news/pan2 # patch -p1 < patch # port install pan2
I get some new errors now:
Portfile changed since last build; discarding previous state. ---> Fetching pan2 ---> Attempting to fetch patch-Makefile.in from http://pan.rebelbase.com/download/releases/ 0.14.2/SOURCE/ Error: Unable to fetch:: shell command "cd "/opt/local/var/db/dports/distfiles" && curl -f -L -o patch-Makefile.in.TMP http://pan.rebelbase.com/download/releases/0.14.2/SOURCE/patch- Makefile.in" returned error 22 Command output: curl: (22) The requested file was not found
---> Attempting to fetch patch-Makefile.in from http://pan.rebelbase.com/download/obsolete/ 0.14.2/SOURCE/ Error: Unable to fetch:: shell command "cd "/opt/local/var/db/dports/distfiles" && curl -f -L -o patch-Makefile.in.TMP http://pan.rebelbase.com/download/obsolete/0.14.2/SOURCE/patch- Makefile.in" returned error 22 Command output: curl: (22) The requested file was not found
Error: Target com.apple.fetch returned: fetch failed
I think something else changed...
comment:2 Changed 21 years ago by mij@…
It looks like your files directory has gone missing. It definitely shouldn't be trying to fetch the patches. The only thing the diff attached to this bug did was add:
configure.env CPPFLAGS="-I${prefix}/include -no-cpp-precomp" \
LDFLAGS="-L${prefix}/lib -bind_at_load"
You can just try adding that to the Portfile if you'd like.
- jim
comment:3 Changed 21 years ago by mij@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
I just went ahead and committed this change, so you can get it by updating your ports tree. Please let me know if it does or does not fix the problem.
Thanks,
- jim
Portfile patch